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

Function openTab

packages/opencode/src/cli/cmd/run/footer.view.tsx:331–334  ·  view source on GitHub ↗
(sessionID: string)

Source from the content-addressed store, hash-verified

329 }
330
331 const openTab = (sessionID: string) => {
332 setRoute({ type: "subagent", sessionID })
333 props.onSubagentSelect?.(sessionID)
334 }
335
336 const closeTab = () => {
337 setRoute({ type: "composer" })

Callers 3

cycleTabFunction · 0.85
helpers.test.tsFile · 0.85
SessionSidePanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected