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

Function statusMap

packages/opencode/test/cli/run/stream.transport.test.ts:181–187  ·  view source on GitHub ↗
(busy: boolean)

Source from the content-addressed store, hash-verified

179}
180
181function statusMap(busy: boolean): SessionStatusMap {
182 if (busy) {
183 return { "session-1": { type: "busy" } }
184 }
185
186 return {}
187}
188
189function assistantMessage(input: { sessionID: string; id: string; parts: SessionMessage["parts"] }): SessionMessage {
190 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected