pub struct Snapshot {
pub agents: Vec<Agent>,
pub captured_at: SystemTime,
pub global_blocked: usize,
pub panes_error: Option<String>,
pub attention: Vec<AttentionEntry>,
}Fields§
§agents: Vec<Agent>§captured_at: SystemTimeCapture time as epoch milliseconds — stable across timezones, easy to diff between snapshots when consumers poll.
global_blocked: usizeTotal blocked sessions in ~/.claude/state/ — not always pane-mappable.
panes_error: Option<String>Non-fatal error from the most recent tmux list-panes call, if any.
Surfaced as a banner so the user doesn’t mistake “tmux is broken” for
“nothing is running.”
attention: Vec<AttentionEntry>Cross-tool attention queue (Claude stop / notification / codex turn
hooks). Newest first. Pre-filtered to the same 1h cutoff
attention-picker.sh uses so the two surfaces agree on what’s pending.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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,
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