pub struct PiAgent;Expand description
pi (pi.dev).
Reads session_id from the JSON piped in by the bundled pi extension at
extensions/pi.ts, which subscribes to pi’s session, tool, and agent
lifecycle events. See the bridge file for the full subscription list.
Trait Implementations§
Source§impl Agent for PiAgent
impl Agent for PiAgent
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 PiAgent
impl RefUnwindSafe for PiAgent
impl Send for PiAgent
impl Sync for PiAgent
impl Unpin for PiAgent
impl UnsafeUnpin for PiAgent
impl UnwindSafe for PiAgent
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