plugins/tools/bash/cfg
Bash tool configuration. Env vars override TOML values, which override these defaults.
Values
pub fn clear_env() -> Bool
Whether to clear environment variables before running commands.
pub fn detect_background_wrappers() -> Bool
Whether to detect background wrapper patterns (nohup, disown, &).
pub fn env_passthrough() -> String
Comma-separated list of env vars to pass through when clear_env is true.
pub fn foreground_max_seconds() -> Int
Maximum seconds for a foreground command before timeout.
pub fn interpret_exit_codes() -> Bool
Whether to interpret exit codes (e.g. grep=1 is not an error).
pub fn max_output_chars() -> Int
Maximum characters of bash output returned to the LLM.
pub fn require_approval() -> Bool
Whether bash commands require approval before execution.