pub async fn handle_tool_call_with_runtime_detailed(
runtime: &dyn ShellRuntime,
bash_state: &Arc<Mutex<Option<BashState>>>,
command: BashCommand,
) -> Result<BashCommandResult>Expand description
Execute a BashCommand while preserving the runtime-owned typed state.