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

Function openSubagentMenu

packages/opencode/src/cli/cmd/run/footer.view.tsx:312–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310 }
311
312 const openSubagentMenu = () => {
313 if (tabs().length === 0) {
314 return
315 }
316
317 setRoute({ type: "subagent-menu" })
318 props.onSubagentSelect?.(undefined)
319 }
320
321 const openQueuedMenu = () => {
322 if (queuedPrompts().length === 0) return

Callers

nothing calls this directly

Calls 1

tabsFunction · 0.50

Tested by

no test coverage detected