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>,
pub parent_session_id: Option<String>,
pub child_session_count: usize,
}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.
parent_session_id: Option<String>Direct parent session for a harness-native child rollout. Ordinary conversation lists exclude these children, while tree/fidelity callers can request them explicitly without losing the native relationship.
child_session_count: usizeNumber of proven harness-native descendants represented by this root. Child identities remain behind the trusted catalog boundary until a caller explicitly requests this session family.
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