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

Function callKey

packages/opencode/src/cli/cmd/run/subagent-data.ts:190–196  ·  view source on GitHub ↗
(messageID: string | undefined, callID: string | undefined)

Source from the content-addressed store, hash-verified

188}
189
190function callKey(messageID: string | undefined, callID: string | undefined): string | undefined {
191 if (!messageID || !callID) {
192 return undefined
193 }
194
195 return `${messageID}:${callID}`
196}
197
198function compactToolState(part: ToolPart): ToolPart["state"] {
199 if (part.state.status === "pending") {

Callers 1

compactCallMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected