(name?: string)
| 1279 | } |
| 1280 | |
| 1281 | export function toolView(name?: string): ToolView { |
| 1282 | return ( |
| 1283 | rule(name)?.view ?? { |
| 1284 | output: true, |
| 1285 | final: true, |
| 1286 | } |
| 1287 | ) |
| 1288 | } |
| 1289 | |
| 1290 | export function toolStructuredFinal(commit: StreamCommit): boolean { |
| 1291 | const state = commit.toolState ?? commit.part?.state.status |
no test coverage detected