pub struct SessionResumeData {
pub already_in_use: Option<bool>,
pub context: Option<WorkingDirectoryContext>,
pub continue_pending_work: Option<bool>,
pub event_count: f64,
pub reasoning_effort: Option<String>,
pub remote_steerable: Option<bool>,
pub resume_time: String,
pub selected_model: Option<String>,
pub session_was_active: Option<bool>,
}Expand description
Session resume metadata including current context and event count
Fields§
§already_in_use: Option<bool>Whether the session was already in use by another client at resume time
context: Option<WorkingDirectoryContext>Updated working directory and git context at resume time
continue_pending_work: Option<bool>When true, tool calls and permission requests left in flight by the previous session lifetime remain pending after resume and the agentic loop awaits their results. User sends are queued behind the pending work until all such requests reach a terminal state. When false (the default), any such tool calls and permission requests are immediately marked as interrupted on resume.
event_count: f64Total number of persisted events in the session at the time of resume
reasoning_effort: Option<String>Reasoning effort level used for model calls, if applicable (e.g. “low”, “medium”, “high”, “xhigh”)
remote_steerable: Option<bool>Whether this session supports remote steering via Mission Control
resume_time: StringISO 8601 timestamp when the session was resumed
selected_model: Option<String>Model currently selected at resume time
session_was_active: Option<bool>True when this resume attached to a session that the runtime already had running in-memory (for example, an extension joining a session another client was actively driving). False (or omitted) for cold resumes — the runtime had to reconstitute the session from its persisted event log.
Trait Implementations§
Source§impl Clone for SessionResumeData
impl Clone for SessionResumeData
Source§fn clone(&self) -> SessionResumeData
fn clone(&self) -> SessionResumeData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more