pub struct ChatSummary {
pub resource: Uri,
pub title: String,
pub status: u32,
pub activity: Option<String>,
pub modified_at: String,
pub origin: Option<ChatOrigin>,
pub interactivity: Option<ChatInteractivity>,
pub working_directory: Option<Uri>,
}Expand description
Lightweight catalog entry for a chat, carried in
{@link SessionState.chats | SessionState.chats}. The full conversation
lives in {@link ChatState}, which inlines (denormalizes) every field below.
Fields§
§resource: UriChat URI
title: StringChat title
status: u32Current chat status (reuses SessionStatus shape)
activity: Option<String>Human-readable description of what the chat is currently doing
modified_at: StringLast modification timestamp (ISO 8601, e.g. "2025-03-10T18:42:03.123Z")
origin: Option<ChatOrigin>How this chat came into existence
interactivity: Option<ChatInteractivity>How the user can interact with this chat. See {@link ChatInteractivity}.
Supports agent-team patterns where worker chats are read-only or hidden. Absence defaults to {@link ChatInteractivity.Full} for backward compatibility.
working_directory: Option<Uri>Optional per-chat working directory.
If absent, the chat inherits {@link SessionSummary.workingDirectory | the session’s working directory}. See {@link ChatState.workingDirectory} for usage notes.
Trait Implementations§
Source§impl Clone for ChatSummary
impl Clone for ChatSummary
Source§fn clone(&self) -> ChatSummary
fn clone(&self) -> ChatSummary
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 ChatSummary
impl Debug for ChatSummary
Source§impl<'de> Deserialize<'de> for ChatSummary
impl<'de> Deserialize<'de> for ChatSummary
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 ChatSummary
impl PartialEq for ChatSummary
Source§fn eq(&self, other: &ChatSummary) -> bool
fn eq(&self, other: &ChatSummary) -> bool
self and other values to be equal, and is used by ==.