Skip to content

TurnForegroundCompletedParams

turn/foregroundCompleted params: the turn’s foreground work is done and named background reminder checks hold the turn open. Explicitly non-terminal: the turn ends only at turn/completed / turn/unqueued.

  • blockingAgents
  • sessionId
  • sourceRange
  • turnId
  • viewCursor
Source

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

{
"description": "`turn/foregroundCompleted` params: the turn's foreground\nwork is done and named background reminder checks hold the turn open.\nExplicitly non-terminal: the turn ends only at `turn/completed` /\n`turn/unqueued`.",
"properties": {
"blockingAgents": {
"description": "`reminderAgentId`s of the firing's blocking set, never empty; agent\nids, never display names. Live-best-effort: reads, resume, and\nreplay may narrow it to the linked subset.",
"items": {
"type": "string"
},
"type": "array"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from, anchored at the first\nblocking link of the firing window."
},
"turnId": {
"description": "The turn whose foreground completed.",
"type": "string"
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"blockingAgents",
"sessionId",
"sourceRange",
"turnId",
"viewCursor"
],
"type": "object"
}