(input: Partial<PowerShellToolInput> | undefined)
| 327 | return 'PowerShell'; |
| 328 | }, |
| 329 | getToolUseSummary(input: Partial<PowerShellToolInput> | undefined): string | null { |
| 330 | if (!input?.command) { |
| 331 | return null; |
| 332 | } |
| 333 | const { |
| 334 | command, |
| 335 | description |
| 336 | } = input; |
| 337 | if (description) { |
| 338 | return description; |
| 339 | } |
| 340 | return truncate(command, TOOL_SUMMARY_MAX_LENGTH); |
| 341 | }, |
| 342 | getActivityDescription(input: Partial<PowerShellToolInput> | undefined): string { |
| 343 | if (!input?.command) { |
| 344 | return 'Running command'; |
nothing calls this directly
no test coverage detected