pub struct Agent {
pub id: String,
pub name: String,
pub workspace: String,
pub status: AgentStatus,
pub started_at: String,
pub isolated: bool,
pub interactive: bool,
pub session_dir: PathBuf,
}Expand description
Prospero’s view of a single agent (projected from a caliban AgentRecord).
Fields§
§id: StringOpaque caliban agent id.
name: StringHuman-readable label.
workspace: StringOwning workspace name (Prospero registry key).
status: AgentStatusCurrent lifecycle state.
started_at: StringRFC-3339 timestamp when the agent was registered.
isolated: boolTrue if the agent runs in an isolated git worktree.
interactive: boolTrue if the agent was spawned in interactive mode (accepts operator input).
session_dir: PathBufPath to the agent’s session directory on disk.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Agent
impl<'de> Deserialize<'de> for Agent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Agent
impl StructuralPartialEq for Agent
Auto Trait Implementations§
impl Freeze for Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnsafeUnpin for Agent
impl UnwindSafe for Agent
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