#[non_exhaustive]pub struct SessionResumeResult {
pub session: Session,
pub view_cursor: String,
pub history: SessionHistory,
pub pending_requests: Vec<PendingRequestPointer>,
pub last_turn: Option<LastTurn>,
pub tightened_axes: Option<Vec<String>>,
pub blocked_prompt: Option<BlockedPrompt>,
pub abnormal_end: Option<AbnormalEnd>,
}Expand description
session/resume result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session: SessionThe loaded session.
view_cursor: StringThe session view head; the connection is subscribed after it. A
still-loaded session a prior view/unsubscribe detached is RE-ATTACHED
by this resume: live delivery resumes from this head. Explicit-cursor
re-attach with (after, head] engine replay stays view/subscribe.
history: SessionHistoryThe served history.
pending_requests: Vec<PendingRequestPointer>The late-joiner pointer set; empty when nothing is pending.
last_turn: Option<LastTurn>How the last folded turn ended. Additive-optional; absence is a non-assertion.
tightened_axes: Option<Vec<String>>The axes this resume tightened: when the stored choice exceeds the
restarted host’s narrower ceiling, the resume clamps to fit, carries the
tightened currentLimits on the session, and names each tightened axis
here. Experimental, same-user socket only
(session/resume.tightenedAxes; stripped per-connection for unopted
callers). Absent when nothing tightened — never an empty array.
blocked_prompt: Option<BlockedPrompt>The recallable blocked prompt’s refill text. Additive-optional;
absence means no blocked prompt to recall (an unblocked session, or a
pre-feature host). Data only, never a rendered row: clients seed cold
recall from it (C-p refills text) and MUST NOT display it as history.
abnormal_end: Option<AbnormalEnd>The previous run’s abnormal end this resume’s own load adopted.
Experimental (session/resume.abnormalEnd; stripped for unopted
connections); absence asserts nothing (an attach to a loaded session, a
clean prior end, or an older host). Clients may show a one-time notice
from it.