Skip to main content

Module bash_command

Module bash_command 

Source
Expand description

Implementation of the BashCommand tool with WCGW parity.

This module provides the implementation for the BashCommand tool, which is used to execute shell commands, check command status, and interact with the shell. Matches the behavior of wcgw Python implementation 1:1.

Re-exports§

pub use super::background_shell::BackgroundShellManager;
pub use super::background_shell::ExitedShellInfo;

Functions§

handle_tool_call
Handles the BashCommand tool call with WCGW parity
handle_tool_call_with_runtime
Execute a BashCommand through the selected shell runtime.