pub struct LocalSessionMetadataValue {
pub client_name: Option<String>,
pub context: Option<SessionContext>,
pub is_detached: Option<bool>,
pub is_remote: bool,
pub mc_task_id: Option<String>,
pub modified_time: String,
pub name: Option<String>,
pub session_id: SessionId,
pub start_time: String,
pub summary: Option<String>,
}Expand description
Schema for the LocalSessionMetadataValue type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§client_name: Option<String>Runtime client name that created/last resumed this session
context: Option<SessionContext>Pre-resolved working-directory context for session startup.
is_detached: Option<bool>True for detached maintenance sessions that should be hidden from normal resume lists.
is_remote: boolAlways false for local sessions.
mc_task_id: Option<String>GitHub task ID, when this local session is bound to one. Only present for local sessions exported to remote control.
modified_time: StringLast-modified time of the session’s persisted state, as ISO 8601
name: Option<String>Optional human-friendly name set via /rename
session_id: SessionIdStable session identifier
start_time: StringSession creation time as an ISO 8601 timestamp
summary: Option<String>Short summary of the session, when one has been derived
Trait Implementations§
Source§impl Clone for LocalSessionMetadataValue
impl Clone for LocalSessionMetadataValue
Source§fn clone(&self) -> LocalSessionMetadataValue
fn clone(&self) -> LocalSessionMetadataValue
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more