Skip to content

turn/foregroundCompleted

The turn’s foreground work is done while named background reminder checks hold the turn open; explicitly non-terminal.

Type: 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.

Field Type Stability Presence Description
blockingAgents string[] required reminderAgentIds of the firing’s blocking set, never empty; agent ids, never display names. Live-best-effort: reads, resume, and replay may narrow it to the linked subset.
sessionId string required The owning session.
sourceRange SourceRange required The durable records this event folded from, anchored at the first blocking link of the firing window.
turnId string required The turn whose foreground completed.
viewCursor string required Opaque, strictly monotonic view cursor.
Source

schema/msp/experimental/msp.schema.json#/notifications/turn~2FforegroundCompleted

{
"description": "The turn's foreground work is done while named background reminder checks hold the turn open; explicitly non-terminal.",
"params": {
"$ref": "#/$defs/TurnForegroundCompletedParams"
}
}