pub struct ClaudeDesktopAdapter;Expand description
The Claude Desktop adapter: same JSONL format as Claude Code
(~/.claude/projects/<slug>/*.jsonl), so it reuses the same tailer and
parser. The only difference is the AgentKind reported to the session row
(claude-desktop vs claude-code), so hh list distinguishes them.
Trait Implementations§
Source§impl Adapter for ClaudeDesktopAdapter
impl Adapter for ClaudeDesktopAdapter
Source§fn agent_kind(&self) -> AgentKind
fn agent_kind(&self) -> AgentKind
The agent kind this adapter reports for the session row.
Source§fn spawn(self: Box<Self>, ctx: AdapterContext) -> Result<AdapterHandle>
fn spawn(self: Box<Self>, ctx: AdapterContext) -> Result<AdapterHandle>
Spawn the tailer thread, returning the event stream + outcome handle. Read more
Source§impl Clone for ClaudeDesktopAdapter
impl Clone for ClaudeDesktopAdapter
Source§fn clone(&self) -> ClaudeDesktopAdapter
fn clone(&self) -> ClaudeDesktopAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClaudeDesktopAdapter
impl RefUnwindSafe for ClaudeDesktopAdapter
impl Send for ClaudeDesktopAdapter
impl Sync for ClaudeDesktopAdapter
impl Unpin for ClaudeDesktopAdapter
impl UnsafeUnpin for ClaudeDesktopAdapter
impl UnwindSafe for ClaudeDesktopAdapter
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