pub struct OpencodeAgent;Expand description
opencode (opencode.ai).
Reads session_id from the JSON piped in by the bundled opencode plugin at
extensions/opencode.ts, which fires on opencode’s session.idle,
permission.updated, session.created, and session.deleted events.
Trait Implementations§
Source§impl Agent for OpencodeAgent
impl Agent for OpencodeAgent
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable, lowercase, hyphenated identifier (e.g.
"claude-code"). Used for the
--agent CLI flag and the agent field on persisted entries.Auto Trait Implementations§
impl Freeze for OpencodeAgent
impl RefUnwindSafe for OpencodeAgent
impl Send for OpencodeAgent
impl Sync for OpencodeAgent
impl Unpin for OpencodeAgent
impl UnsafeUnpin for OpencodeAgent
impl UnwindSafe for OpencodeAgent
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