TurnRetractedParams
turn/retracted params: an interrupt-paired retract
durably settled, accepted or declined (ADR 50074 D1). On "accepted"
the retracted user-message item is re-emitted via item/updated with
retracted: true; on "declined" the client folds the legacy declined
rollback instead and no item is re-emitted.
Fields and variants
Section titled “Fields and variants”commandIdoutcomesessionIdsourceRangeturnIdviewCursor
Source
schema/msp/experimental/msp.schema.json#/types/TurnRetractedParams
{ "description": "`turn/retracted` params: an interrupt-paired retract\ndurably settled, accepted or declined (ADR 50074 D1). On `\"accepted\"`\nthe retracted user-message item is re-emitted via `item/updated` with\n`retracted: true`; on `\"declined\"` the client folds the legacy declined\nrollback instead and no item is re-emitted.", "properties": { "commandId": { "description": "The retracted submission's command id.", "type": "string" }, "outcome": { "$ref": "#/$defs/RetractOutcome", "description": "The retract settlement outcome.\nAdditive-optional: absent reads as `\"accepted\"` — pre-feature hosts\nemit the event only for accepted retracts — and so does an\nunrecognized value." }, "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"}