RecapCompletedParams
recap/completed params: the settlement, delivered
to the requesting connection outside the view stream — no
viewCursor, no sourceRange. text is required on completed; reason is required on failed;
neither rides cancelled/timedOut. The struct marks the
conditional members optional; the SS prose pins the per-outcome
rule, the turn/completed usage/error convention.
Fields and variants
Section titled “Fields and variants”commandIdoutcomereasonsessionIdtexttitle
Source
schema/msp/experimental/msp.schema.json#/types/RecapCompletedParams
{ "description": "`recap/completed` params: the settlement, delivered\nto the requesting connection outside the view stream — no\n`viewCursor`, no `sourceRange`. `text` is required on `completed`; `reason` is required on `failed`;\nneither rides `cancelled`/`timedOut`. The struct marks the\nconditional members optional; the SS prose pins the per-outcome\nrule, the `turn/completed` usage/error convention.", "properties": { "commandId": { "description": "The request's id — the correlation key.", "type": "string" }, "outcome": { "$ref": "#/$defs/RecapOutcome", "description": "How the request settled." }, "reason": { "$ref": "#/$defs/RecapFailureReason", "description": "Why the side-call failed (on `failed`)." }, "sessionId": { "description": "The recapped session.", "type": "string" }, "text": { "description": "The recap text verbatim (on `completed`).", "type": "string" }, "title": { "description": "The model-produced short title (on `completed`, when produced).", "type": "string" } }, "required": [ "commandId", "outcome", "sessionId" ], "type": "object"}