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

Function doneShell

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

Source from the content-addressed store, hash-verified

702}
703
704function doneShell(callID: string, command: string, output: string): SessionCommit {
705 return shellCommit(
706 {
707 callID,
708 command,
709 },
710 {
711 text: output,
712 phase: "progress",
713 toolState: "completed",
714 },
715 )
716}
717
718function startTool(part: ToolPart): SessionCommit {
719 return toolCommit(part, {

Callers 1

reduceSessionDataFunction · 0.85

Calls 1

shellCommitFunction · 0.85

Tested by

no test coverage detected