pub struct AgentStatusEntry {
pub agent_id: String,
pub cli: String,
pub status: String,
pub last_seen_seconds: u64,
pub summary: String,
pub last_seen: Instant,
pub phase: Option<String>,
}Expand description
JSON-serializable snapshot of an agent’s status for the /status endpoint
and the dashboard TUI.
Fields§
§agent_id: StringAgent identifier (slugified branch name).
cli: StringCLI name running in this agent’s pane (e.g. “claude”).
status: StringCurrent status label (e.g. “working”, “done”, “blocked”).
last_seen_seconds: u64Seconds since the agent was last seen.
summary: StringOne-line summary from the last message.
last_seen: InstantWhen the agent was last seen (for age calculations in the dashboard).
phase: Option<String>Most recently published payload.phase on an agent.status, if any.
The dashboard prefers this label over the message-type-derived
status_label() when rendering the agent’s row.
Trait Implementations§
Source§impl Clone for AgentStatusEntry
impl Clone for AgentStatusEntry
Source§fn clone(&self) -> AgentStatusEntry
fn clone(&self) -> AgentStatusEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentStatusEntry
impl Debug for AgentStatusEntry
Auto Trait Implementations§
impl Freeze for AgentStatusEntry
impl RefUnwindSafe for AgentStatusEntry
impl Send for AgentStatusEntry
impl Sync for AgentStatusEntry
impl Unpin for AgentStatusEntry
impl UnsafeUnpin for AgentStatusEntry
impl UnwindSafe for AgentStatusEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more