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

Function shellPartID

packages/opencode/src/cli/cmd/run/session-data.ts:637–639  ·  view source on GitHub ↗
(callID: string)

Source from the content-addressed store, hash-verified

635}
636
637function shellPartID(callID: string): string {
638 return `shell:${callID}`
639}
640
641function claimShell(data: SessionData, callID: string, source: ShellCall["source"], command?: string): ShellCall {
642 const current = data.shell.get(callID)

Callers 2

shellCommitFunction · 0.85
reduceSessionDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected