pub struct AgentStatus {
pub name: String,
pub display: String,
pub linked: bool,
pub canonical: bool,
pub internal_skills: Vec<String>,
pub internal_others: Vec<String>,
pub pending_backup: Option<BackupStatus>,
}Expand description
Link status of one agent (used by agent --status).
Fields§
§name: StringAgent identifier (as used on the CLI).
display: StringAgent display name.
linked: boolWhether the agent’s skills dir is linked to the canonical dir.
canonical: boolWhether the agent natively uses the canonical dir (no link involved).
internal_skills: Vec<String>Skills inside the agent’s own skills dir: real subdirs and dir-targeting
symlinks — the same classification link and migrate use. Only populated
for unlinked, non-canonical agents; empty for linked/canonical agents
(they share the canonical dir, shown by list).
internal_others: Vec<String>Non-skill entries (files, symlinks to non-directories) inside the agent’s
own skills dir. Same population rules as AgentStatus::internal_skills.
pending_backup: Option<BackupStatus>Backup slot with parked content waiting for unlink to restore, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentStatus
impl RefUnwindSafe for AgentStatus
impl Send for AgentStatus
impl Sync for AgentStatus
impl Unpin for AgentStatus
impl UnsafeUnpin for AgentStatus
impl UnwindSafe for AgentStatus
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