(input)
| 502 | return isEnvTruthy(process.env.CLAUDE_CODE_BASH_SANDBOX_SHOW_INDICATOR) && shouldUseSandbox(input) ? 'SandboxedBash' : 'Bash'; |
| 503 | }, |
| 504 | getToolUseSummary(input) { |
| 505 | if (!input?.command) { |
| 506 | return null; |
| 507 | } |
| 508 | const { |
| 509 | command, |
| 510 | description |
| 511 | } = input; |
| 512 | if (description) { |
| 513 | return description; |
| 514 | } |
| 515 | return truncate(command, TOOL_SUMMARY_MAX_LENGTH); |
| 516 | }, |
| 517 | getActivityDescription(input) { |
| 518 | if (!input?.command) { |
| 519 | return 'Running command'; |
nothing calls this directly
no test coverage detected