MCPcopy Create free account
hub / github.com/anomalyco/opencode / snapshotQueues

Function snapshotQueues

packages/opencode/src/cli/cmd/run/subagent-data.ts:678–683  ·  view source on GitHub ↗
(data: SubagentData)

Source from the content-addressed store, hash-verified

676}
677
678function snapshotQueues(data: SubagentData) {
679 return {
680 permissions: listSubagentPermissions(data).sort((a, b) => a.id.localeCompare(b.id)),
681 questions: listSubagentQuestions(data).sort((a, b) => a.id.localeCompare(b.id)),
682 }
683}
684
685function snapshotState(data: SubagentData, details: FooterSubagentState["details"]): FooterSubagentState {
686 return {

Callers 1

snapshotStateFunction · 0.85

Calls 2

listSubagentPermissionsFunction · 0.85
listSubagentQuestionsFunction · 0.85

Tested by

no test coverage detected