pub struct CodexAdapter;Expand description
Placeholder Codex adapter for the (currently dormant) HookAdapter trait.
Codex capture does NOT go through this trait — the live path stamps the
agent via commands::stream::stamp_agent (tool=“codex”, protocol v2) and
reads the rollout with the shared read_new_transcript_lines. This type
exists so DetectedTool::Codex::adapter() reports the correct tool_name
(“codex”) rather than borrowing the Claude adapter’s “claude-code” label,
mirroring the CursorAdapter stub. The parse methods are intentionally
unimplemented here.
Trait Implementations§
Source§impl HookAdapter for CodexAdapter
impl HookAdapter for CodexAdapter
Auto Trait Implementations§
impl Forget for CodexAdapter
impl Freeze for CodexAdapter
impl RefUnwindSafe for CodexAdapter
impl Send for CodexAdapter
impl Sync for CodexAdapter
impl Unpin for CodexAdapter
impl UnsafeUnpin for CodexAdapter
impl UnwindSafe for CodexAdapter
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