| 12 | |
| 13 | export class BashTool extends Tool<z.infer<typeof ArgsSchema>> { |
| 14 | name = 'shell'; |
| 15 | description = 'Run a shell command in the current working directory. Output is captured (stdout+stderr), truncated to ~60KB. Some patterns auto-approve (npm test, git status, ls, etc.) — risky patterns are auto-denied. Anything else asks the user. Use timeout_seconds for long-running operations.'; |
| 16 | isReadOnly = false; |
| 17 | isDestructive = true; |
nothing calls this directly
no outgoing calls
no test coverage detected