Function
runPlanExit
(p: ToolProps<typeof PlanExitTool>)
Source from the content-addressed store, hash-verified
| 471 | } |
| 472 | |
| 473 | function runPlanExit(p: ToolProps<typeof PlanExitTool>): ToolInline { |
| 474 | return { |
| 475 | icon: "→", |
| 476 | title: text(p.frame.state.title) || "Switching to build agent", |
| 477 | mode: "block", |
| 478 | body: p.frame.status === "completed" ? text(p.frame.state.output) : undefined, |
| 479 | } |
| 480 | } |
| 481 | |
| 482 | type PatchFile = Tool.InferMetadata<typeof ApplyPatchTool>["files"][number] |
| 483 | |
Callers
nothing calls this directly
Tested by
no test coverage detected