pub struct CodexAgent;Trait Implementations§
Source§impl AgentAdapter for CodexAgent
impl AgentAdapter for CodexAgent
Source§fn extra_env(&self) -> Vec<(String, String)>
fn extra_env(&self) -> Vec<(String, String)>
The sandbox has no route to the operator’s signing agent, so signed
commits/tags fail headless (ssh-keygen -Y sign → passphrase error).
Disable signing via env, scoped to this agent’s process tree only.
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.
Auto Trait Implementations§
impl Freeze for CodexAgent
impl RefUnwindSafe for CodexAgent
impl Send for CodexAgent
impl Sync for CodexAgent
impl Unpin for CodexAgent
impl UnsafeUnpin for CodexAgent
impl UnwindSafe for CodexAgent
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