Skip to content
Developer Preview

TurnUnqueuedParams

turn/unqueued params: a queued submit’s reclaim durably won; its pre-minted turn never runs. Carries the reclaimed turnId and the commandId of the turn/start that queued it, so a client can restore the submission’s text exactly as for turn/retracted. No turn/started/turn/completed is ever emitted for this turnId. sourceRange cites the SESSION stream’s reclaim record — a reclaimed turn never had a run stream.

  • commandId
  • sessionId
  • sourceRange
  • turnId
  • viewCursor
Source

schema/msp/experimental/msp.schema.json#/types/TurnUnqueuedParams

{
"description": "`turn/unqueued` params: a queued submit's reclaim\ndurably won; its pre-minted turn never runs. Carries the reclaimed\n`turnId` and the `commandId` of the `turn/start` that queued it, so a\nclient can restore the submission's text exactly as for\n`turn/retracted`. No `turn/started`/`turn/completed` is ever emitted for\nthis `turnId`.\n`sourceRange` cites the SESSION stream's reclaim record — a reclaimed\nturn never had a run stream.",
"properties": {
"commandId": {
"description": "The `commandId` of the `turn/start` that queued the reclaimed turn.",
"type": "string"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from (the session stream's\nreclaim record)."
},
"turnId": {
"description": "The reclaimed turn: pre-minted at admission, never launched.",
"type": "string"
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"commandId",
"sessionId",
"sourceRange",
"turnId",
"viewCursor"
],
"type": "object"
}