(input: Partial<StreamCommit> & Pick<StreamCommit, "kind" | "text" | "phase" | "source">)
| 4 | import type { StreamCommit, ToolSnapshot } from "@/cli/cmd/run/types" |
| 5 | |
| 6 | function commit(input: Partial<StreamCommit> & Pick<StreamCommit, "kind" | "text" | "phase" | "source">): StreamCommit { |
| 7 | return input |
| 8 | } |
| 9 | |
| 10 | function toolPart(tool: string, state: ToolPart["state"], id = `${tool}-1`, messageID = `msg-${tool}`): ToolPart { |
| 11 | return { |
no outgoing calls
no test coverage detected