pub struct SessionDescriptor {
pub locator: SessionLocator,
pub cwd: Option<PathBuf>,
pub title: Option<String>,
pub preview_candidates: Vec<SessionPreviewCandidate>,
pub latest_message_candidates: Vec<SessionPreviewCandidate>,
pub updated_at_ms: Option<u64>,
pub message_count: Option<usize>,
pub model: Option<String>,
}Expand description
Lightweight metadata returned by catalog discovery.
Fields§
§locator: SessionLocatorDurable address accepted by HarnessCatalog::load and
HarnessCatalog::follow.
cwd: Option<PathBuf>Working directory recorded by the harness.
title: Option<String>Harness-provided title, when cheaply available.
preview_candidates: Vec<SessionPreviewCandidate>Oldest-first bounded conversation messages for a fallback topic when the harness does not publish a useful title. These are read only for the returned page and interpreted by the same presentation projection as an opened conversation.
latest_message_candidates: Vec<SessionPreviewCandidate>Newest-first bounded conversation messages for compact list previews. These are read only for the returned page, never for the entire catalog, and are interpreted by the same presentation projection as an opened conversation.
updated_at_ms: Option<u64>Last update time as Unix epoch milliseconds.
message_count: Option<usize>Harness message-record count, when available without loading the session.
model: Option<String>Model recorded in lightweight session metadata.
Trait Implementations§
Source§impl Clone for SessionDescriptor
impl Clone for SessionDescriptor
Source§fn clone(&self) -> SessionDescriptor
fn clone(&self) -> SessionDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more