(part: ToolPart)
| 724 | } |
| 725 | |
| 726 | function doneTool(part: ToolPart): SessionCommit { |
| 727 | return toolCommit(part, { |
| 728 | text: "", |
| 729 | phase: "final", |
| 730 | toolState: "completed", |
| 731 | }) |
| 732 | } |
| 733 | |
| 734 | function failTool(part: ToolPart, text: string): SessionCommit { |
| 735 | return toolCommit(part, { |
no test coverage detected