SessionResumeParams
session/resume params.
Fields and variants
Section titled “Fields and variants”commandIdconfigcursorexcludeItemshistorypermissionProfilesessionId
Source
schema/msp/experimental/msp.schema.json#/types/SessionResumeParams
{ "description": "`session/resume` params.", "properties": { "commandId": { "description": "The idempotency handle (UUIDv7). A resume that loads a session\nwrites a durable `SessionResumed` record.", "type": "string" }, "config": { "$ref": "#/$defs/SessionConfig", "description": "The same open construction-time extension object as `session/start`." }, "cursor": { "description": "A view cursor previously observed by this client — or an observed\n`summarizedThrough` compaction anchor. When\npresent the server returns only the suffix and `history.mode` is\n`none`. Omitted and explicit `null` both mean \"no\ncursor\".", "type": [ "string", "null" ] }, "excludeItems": { "description": "Return only session metadata and live resume state; page history\nseparately with `view/page`. Default `false`.", "type": "boolean" }, "history": { "$ref": "#/$defs/HistoryPreference", "description": "History mode preference, default `auto`. A PREFERENCE, not a budget\noverride: when the requested mode does not fit the history budget the\nserver downgrades it and `history.mode` reports what was actually\nserved. Ignored when `cursor` or `excludeItems` makes it\nmoot." }, "permissionProfile": { "description": "The launch permission-profile pick: a profile id the host catalog already admits. Select, never\ncreate. Omitted means today's behavior: restore retained authority\nonly, no override. The host restores first, then applies the pick in\nthe same pre-marker step; a pick that fails admission refuses the\nresume `commandRejected` (-32030; `permission_profile_unknown` /\n`permission_profile_unavailable`) before any durable byte. Explicit\n`null` is invalid params (the same closed null-tolerant set as at\nstart).", "type": "string" }, "sessionId": { "description": "The session to load.", "type": "string" } }, "required": [ "commandId", "sessionId" ], "type": "object"}