pub struct SessionLine {
pub began: Seq,
pub start: SessionStart,
pub runs: u64,
pub last: Seq,
pub at: TimeMs,
pub name: Option<String>,
pub model: Option<String>,
pub effort: Option<Effort>,
pub workspace: Option<String>,
pub preview: Option<String>,
}Expand description
One stretch of a room, each field read off a line the Ledger files under the room’s address.
Fields§
§began: SeqThe stretch’s first line: its session_opened, or the room’s first
run_started when dispatching opened the room.
start: SessionStart§runs: u64The runs started in this stretch.
last: SeqThe last line of this stretch filed under the room’s address, and
its time: the room’s slice ends there (crates/storage/Spec.lean §8-24).
at: TimeMs§name: Option<String>The name the last session_named for this stretch gave it; None
when it has none, and a page shows the room’s address.
model: Option<String>The model the stretch’s last run called.
effort: Option<Effort>The effort the stretch’s last run froze; None when it left the
provider to choose, and on lines written before the key existed.
workspace: Option<String>The worktree the stretch’s last run was lent.
preview: Option<String>The start of the stretch’s last reply, at most
SESSION_PREVIEW_MAX characters.