pub fn run_coding_agent_command( config: &str, out: Option<String>, permit_json: Option<String>, ) -> Result<String>