pub struct AgentFingerprint {
pub id: &'static str,
pub binary_names: &'static [&'static str],
pub version_args: &'static [&'static str],
pub capabilities: AgentCapabilities,
pub invocation: InvocationTemplate,
}Expand description
A static description of one known agent family. The discovery pass
tries each binary_names entry on $PATH; the first hit is probed
and the result becomes a DiscoveredBinary.
Fields§
§id: &'static strCanonical id used by the registry (e.g. "aider").
binary_names: &'static [&'static str]Candidate binary names, in priority order.
version_args: &'static [&'static str]Args passed to the binary to extract a version banner. Reused as
the default version_args on the resulting delegate.
capabilities: AgentCapabilitiesDefault capabilities attached to a discovered agent. The registry is free to override these from config.
invocation: InvocationTemplateDefault invocation shape used when the registry constructs a runnable delegate from this fingerprint.
Trait Implementations§
Source§impl Clone for AgentFingerprint
impl Clone for AgentFingerprint
Auto Trait Implementations§
impl Freeze for AgentFingerprint
impl RefUnwindSafe for AgentFingerprint
impl Send for AgentFingerprint
impl Sync for AgentFingerprint
impl Unpin for AgentFingerprint
impl UnsafeUnpin for AgentFingerprint
impl UnwindSafe for AgentFingerprint
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