pub async fn handle_tool_call( bash_state_arc: &Arc<Mutex<Option<BashState>>>, file_write_or_edit: FileWriteOrEdit, ) -> Result<String>