pub enum AgentName {
ClaudeCode,
PiCodingAgent,
Opencode,
}Expand description
CLI-facing enumeration of every registered agent.
Mirrors the Agent trait registry but lives in the type system so the
--agent flag, AgentName::agent dispatch, and the
crate::commands::build_extension match are all compile-time checked.
Wire strings (claude-code, etc.) match each variant’s Agent::name()
return value so on-disk state files and CLI flags use the same identifiers.
Variants§
Implementations§
Trait Implementations§
impl Copy for AgentName
impl Eq for AgentName
impl StructuralPartialEq for AgentName
Auto Trait Implementations§
impl Freeze for AgentName
impl RefUnwindSafe for AgentName
impl Send for AgentName
impl Sync for AgentName
impl Unpin for AgentName
impl UnsafeUnpin for AgentName
impl UnwindSafe for AgentName
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