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

Function clearSubagent

packages/opencode/src/cli/cmd/run/demo.ts:164–174  ·  view source on GitHub ↗
(footer: FooterApi)

Source from the content-addressed store, hash-verified

162}
163
164function clearSubagent(footer: FooterApi): void {
165 footer.event({
166 type: "stream.subagent",
167 state: {
168 tabs: [],
169 details: {},
170 permissions: [],
171 questions: [],
172 },
173 })
174}
175
176function showSubagent(
177 state: State,

Callers 1

promptFunction · 0.85

Calls 1

eventMethod · 0.45

Tested by

no test coverage detected