Skip to content

TurnRef

A turn named by the snapshot’s active/queued lists.

  • commandId
  • displayText
  • truncated
  • turnId
Source

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

{
"description": "A turn named by the snapshot's active/queued lists.",
"properties": {
"commandId": {
"description": "The `commandId` of the submit that minted it.",
"type": "string"
},
"displayText": {
"description": "`queuedTurns[]` only: the queued submit's\npresentation text, so a late joiner can render it without waiting for\nlaunch. A current host sets it on every entry it admits; absent means\nan older host (or a pre-feature restored entry). Never set on\n`activeTurn`: the running turn's text is its `userMessage` item.",
"type": "string"
},
"truncated": {
"description": "`queuedTurns[]` only: set when `displayText` was cut to the\ncommitted-surface budget, mirroring `userMessage.truncated`. Absent unless `true`.",
"type": "boolean"
},
"turnId": {
"description": "The turn's id, pre-minted.",
"type": "string"
}
},
"required": [
"commandId",
"turnId"
],
"type": "object"
}