pub enum AgentCli {
ClaudeCode,
Codex,
Grok,
Gemini,
}Expand description
An agent CLI recall-echo can extract with, capture from, or serve over MCP.
Variants§
Implementations§
Source§impl AgentCli
impl AgentCli
Sourcepub const ALL: [AgentCli; 4]
pub const ALL: [AgentCli; 4]
Every known CLI, in preference order: the first installed one is the fallback default when nothing better identifies itself.
Sourcepub fn capture_source(self) -> Option<Source>
pub fn capture_source(self) -> Option<Source>
The transcript adapter that reads this CLI’s sessions, if one exists.
Gemini has none yet: it can extract and it can query memory over MCP, but its own sessions are not captured.
Sourcepub fn command(self) -> String
pub fn command(self) -> String
The binary to look for and to run, honouring the preset’s *_BIN
environment override.
Sourcepub fn binary_path(self) -> Option<PathBuf>
pub fn binary_path(self) -> Option<PathBuf>
Where this CLI’s binary lives, if it is on this machine.
Sourcepub fn is_installed(self) -> bool
pub fn is_installed(self) -> bool
True when this CLI’s binary resolves.
Trait Implementations§
impl Copy for AgentCli
impl Eq for AgentCli
Source§impl Ord for AgentCli
impl Ord for AgentCli
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AgentCli
impl PartialOrd for AgentCli
impl StructuralPartialEq for AgentCli
Auto Trait Implementations§
impl Freeze for AgentCli
impl RefUnwindSafe for AgentCli
impl Send for AgentCli
impl Sync for AgentCli
impl Unpin for AgentCli
impl UnsafeUnpin for AgentCli
impl UnwindSafe for AgentCli
Blanket Implementations§
impl<T> AsyncFriendly for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestimpl<T> NeighborPriorityQueueIdType for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read moreSource§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.