Skip to content
Developer Preview

TurnRetractedParams

turn/retracted params: an interrupt-paired retract was durably accepted. The retracted user-message item is re-emitted via item/updated with retracted: true.

  • commandId
  • sessionId
  • sourceRange
  • turnId
  • viewCursor
Source

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

{
"description": "`turn/retracted` params: an interrupt-paired retract was\ndurably accepted. The retracted user-message item is re-emitted via\n`item/updated` with `retracted: true`.",
"properties": {
"commandId": {
"description": "The retracted submission's command id.",
"type": "string"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from."
},
"turnId": {
"description": "The turn whose submission was retracted.",
"type": "string"
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"commandId",
"sessionId",
"sourceRange",
"turnId",
"viewCursor"
],
"type": "object"
}