pub struct ClaudeAgent;Trait Implementations§
Source§impl AgentAdapter for ClaudeAgent
impl AgentAdapter for ClaudeAgent
Source§fn exec_command(
&self,
_phase: u32,
prompt: &str,
_extra_writable_roots: &[PathBuf],
) -> (&'static str, Vec<String>)
fn exec_command( &self, _phase: u32, prompt: &str, _extra_writable_roots: &[PathBuf], ) -> (&'static str, Vec<String>)
Build the command and arguments to launch this agent headless with the
given
prompt for phase. Returns (program, args). Read moreSource§fn completion_signal_detected(&self, _output: &str) -> bool
fn completion_signal_detected(&self, _output: &str) -> bool
Detect an agent-specific completion signal in captured output.
Source§fn extra_env(&self) -> Vec<(String, String)>
fn extra_env(&self) -> Vec<(String, String)>
Extra environment variables for the agent process tree. Codex uses
this to disable commit/tag signing inside its sandbox: the operator’s
signing agent (ssh-agent/gpg-agent) is unreachable there, so signed
commits fail headless with a passphrase error (13-06 dogfood finding
— same rationale as the unsigned VersionBump tags).
GIT_CONFIG_*
env scoping keeps the override out of every repo/global config.Auto Trait Implementations§
impl Freeze for ClaudeAgent
impl RefUnwindSafe for ClaudeAgent
impl Send for ClaudeAgent
impl Sync for ClaudeAgent
impl Unpin for ClaudeAgent
impl UnsafeUnpin for ClaudeAgent
impl UnwindSafe for ClaudeAgent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more