pub struct PartialSessionSummary {
pub provider: Option<String>,
pub title: Option<String>,
pub status: Option<u32>,
pub activity: Option<String>,
pub project: Option<ProjectInfo>,
pub working_directories: Option<Vec<Uri>>,
pub annotations: Option<AnnotationsSummary>,
pub resource: Option<Uri>,
pub created_at: Option<String>,
pub modified_at: Option<String>,
pub changes: Option<ChangesSummary>,
pub meta: Option<JsonObject>,
}Expand description
Partial equivalent of SessionSummary — every field is optional for delta updates.
Fields§
§provider: Option<String>Agent provider ID
title: Option<String>Session title
status: Option<u32>Current session status
activity: Option<String>Human-readable description of what the session is currently doing
project: Option<ProjectInfo>Server-owned project for this session
working_directories: Option<Vec<Uri>>The working directories the session’s agent has tool access to, as
maintained by the session/workingDirectorySet /
session/workingDirectoryRemoved actions. Directories are equal peers
except when the agent advertises
{@link MultipleWorkingDirectoriesCapability.immutablePrimary} (the first
entry is then a fixed process root). Individual chats MAY restrict to a
subset via {@link ChatSummary.workingDirectories | their own
workingDirectories}; a chat that sets none operates against this full
set.
annotations: Option<AnnotationsSummary>Lightweight summary of this session’s inline annotations channel
(ahp-session:/<uuid>/annotations). Surfaced so badge UI can render
annotation / entry counts without subscribing. Absent when the session
does not expose an annotations channel.
resource: Option<Uri>Session URI
created_at: Option<String>Creation timestamp (ISO 8601, e.g. "2025-03-10T18:42:03.123Z")
modified_at: Option<String>Last modification timestamp (ISO 8601, e.g. "2025-03-10T18:42:03.123Z")
changes: Option<ChangesSummary>Aggregate summary of file changes associated with this session. Servers may populate this to give clients a quick at-a-glance view of the session’s footprint (e.g., for list rendering) without requiring the client to subscribe to a changeset.
meta: Option<JsonObject>Lightweight server-defined metadata clients may use for the session presentation. The protocol does not interpret these values; producers SHOULD keep the payload small because summaries appear in session lists and session notifications.
Trait Implementations§
Source§impl Clone for PartialSessionSummary
impl Clone for PartialSessionSummary
Source§fn clone(&self) -> PartialSessionSummary
fn clone(&self) -> PartialSessionSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more