Skip to content

recap/completed

A recap request settled exactly once — completed (with
text plus optional title), failed (providerFailed),
cancelled, or timedOut — delivered to the requesting
connection outside the view stream.

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

Field Type Stability Presence Description
commandId string required The request’s id — the correlation key.
outcome RecapOutcome required How the request settled.
reason RecapFailureReason optional Why the side-call failed (on failed).
sessionId string required The recapped session.
text string optional The recap text verbatim (on completed).
title string optional The model-produced short title (on completed, when produced).
Source

schema/msp/experimental/msp.schema.json#/notifications/recap~2Fcompleted

{
"description": "A recap request settled exactly once — `completed` (with \\\n `text` plus optional `title`), `failed` (`providerFailed`), \\\n `cancelled`, or `timedOut` — delivered to the requesting \\\n connection outside the view stream.",
"params": {
"$ref": "#/$defs/RecapCompletedParams"
}
}