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_directory: Option<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_directory: Option<Uri>The default working directory URI for this session. Individual chats
MAY override via {@link ChatSummary.workingDirectory | their own
workingDirectory}; this field acts as the fallback for any chat that
does not.
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 moreSource§impl Debug for PartialSessionSummary
impl Debug for PartialSessionSummary
Source§impl Default for PartialSessionSummary
impl Default for PartialSessionSummary
Source§fn default() -> PartialSessionSummary
fn default() -> PartialSessionSummary
Source§impl<'de> Deserialize<'de> for PartialSessionSummary
impl<'de> Deserialize<'de> for PartialSessionSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for PartialSessionSummary
impl PartialEq for PartialSessionSummary
Source§fn eq(&self, other: &PartialSessionSummary) -> bool
fn eq(&self, other: &PartialSessionSummary) -> bool
self and other values to be equal, and is used by ==.