pub trait AgentAvailabilityProbe: Send + Sync {
// Required method
fn available_agent_kinds(&self) -> Vec<AgentKind>;
// Provided method
fn available_agent_clis(&self) -> Vec<AgentCliInfo> { ... }
}Expand description
Detects which provider CLIs are locally runnable on the current machine.
Required Methods§
Sourcefn available_agent_kinds(&self) -> Vec<AgentKind>
fn available_agent_kinds(&self) -> Vec<AgentKind>
Returns the agent kinds whose backing CLI executable is available.
Provided Methods§
Sourcefn available_agent_clis(&self) -> Vec<AgentCliInfo>
fn available_agent_clis(&self) -> Vec<AgentCliInfo>
Returns available agent CLI executables and their refreshed versions.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".