(input: Partial<PowerShellToolInput> | undefined)
| 340 | return truncate(command, TOOL_SUMMARY_MAX_LENGTH); |
| 341 | }, |
| 342 | getActivityDescription(input: Partial<PowerShellToolInput> | undefined): string { |
| 343 | if (!input?.command) { |
| 344 | return 'Running command'; |
| 345 | } |
| 346 | const desc = input.description ?? truncate(input.command, TOOL_SUMMARY_MAX_LENGTH); |
| 347 | return `Running ${desc}`; |
| 348 | }, |
| 349 | isEnabled(): boolean { |
| 350 | return true; |
| 351 | }, |
nothing calls this directly
no test coverage detected