Skip to main content

Module bash

Module bash 

Source
Expand description

Bash tool — execute shell commands with streaming output, background process management, activity-based dual timeout, security checks, and smart truncation.

Structs§

BashTool
Tool for executing shell commands with full lifecycle management.

Functions§

is_dangerous_command
Check if a command matches known dangerous patterns (e.g., rm -rf /, git push --force).