Expand description
agents(): every project’s lead and workers as one row type.
Re-exports§
use std::collections::HashMap;🔒use std::ops::Range;🔒use std::time::SystemTime;🔒use forge_primitives::SessionLifecycleState;🔒use forge_primitives::SessionSlot;🔒use forge_primitives::WorkerLiveness;🔒use forge_workspace::ProjectKey;🔒use forge_workspace::Workspace;🔒use crate::surface::ViewSurface;🔒
Structs§
- Agent
Row - One agent as a view reads it. A lead and a worker are the same row: which project spawned it, and what nests under what, are the view’s business rather than the row’s.
- Agents
- Every project’s agents, in the order
list_projectsreturned the projects.
Enums§
- Pending
Kind - What a session is waiting on a person for. The core’s own kind rather than a second enum of the same two arms, so the row and the read cannot drift apart. What a session is waiting on a person for. The kind a needs-you row names, since “asked you a question” and “a permission prompt is waiting” are different asks with the same mark.
Functions§
- row_for 🔒
- One row, with the two liveness states the slot derivation cannot see: a worker that has not connected yet, and one whose spawn failed.
- short_
path 🔒 pathwith the home directory written as~, the way a project’sdisplay_pathis authored: the seat’s tree should read as the same kind of name its project’s rows do, not as a machine path.