A concise, human-readable summary of a tool call's arguments for progress * lines (e.g. a file path or shell command), instead of the full JSON blob.
(name: string, args: unknown)
| 257 | /** A concise, human-readable summary of a tool call's arguments for progress |
| 258 | * lines (e.g. a file path or shell command), instead of the full JSON blob. */ |
| 259 | function toolArgSummary(name: string, args: unknown): string { |
| 260 | if (args === undefined || args === null) return ''; |
| 261 | const arg = typeof args === 'string' ? args : JSON.stringify(args); |
| 262 | return toolSummary(name, arg); |
| 263 | } |
| 264 | |
| 265 | function projectSubagentProgress( |
| 266 | state: SessionState, |
no test coverage detected