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

Function startShell

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

Source from the content-addressed store, hash-verified

688}
689
690function startShell(callID: string, command: string): SessionCommit {
691 return shellCommit(
692 {
693 callID,
694 command,
695 },
696 {
697 text: "running shell",
698 phase: "start",
699 toolState: "running",
700 },
701 )
702}
703
704function doneShell(callID: string, command: string, output: string): SessionCommit {
705 return shellCommit(

Callers 1

reduceSessionDataFunction · 0.70

Calls 1

shellCommitFunction · 0.85

Tested by

no test coverage detected