(callID: string, command: string, output: string)
| 702 | } |
| 703 | |
| 704 | function 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 | |
| 718 | function startTool(part: ToolPart): SessionCommit { |
| 719 | return toolCommit(part, { |
no test coverage detected