MCPcopy Index your code
hub / github.com/anomalyco/opencode / createEmptySubagentState

Function createEmptySubagentState

packages/opencode/src/cli/cmd/run/footer.ts:113–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111const THEME_REFRESH_DELAYS = [1000, 1000] as const
112
113function createEmptySubagentState(): FooterSubagentState {
114 return {
115 tabs: [],
116 details: {},
117 permissions: [],
118 questions: [],
119 }
120}
121
122function eventPatch(next: FooterEvent): FooterPatch | undefined {
123 if (next.type === "queue") {

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected