ApprovalUpdatedParams
approval/updated params: the refreshed pending view plus one change.
Fields and variants
Section titled “Fields and variants”approvalIdavailableChoiceschangecurrentRequirementIdsessionIdsourceRangesubagentOriginsubjectviewCursor
Source
schema/msp/experimental/msp.schema.json#/types/ApprovalUpdatedParams
{ "description": "`approval/updated` params: the refreshed pending view plus one change.", "properties": { "approvalId": { "description": "The approval that changed.", "type": "string" }, "availableChoices": { "description": "The refreshed choices for the current requirement.", "items": { "$ref": "#/$defs/ApprovalChoice" }, "type": "array" }, "change": { "$ref": "#/$defs/ApprovalChange", "description": "What changed; `change.kind` names the kind of change." }, "currentRequirementId": { "$ref": "#/$defs/ApprovalRequirementRef", "description": "The requirement the next decision must target after this change; send it\nas `requirementId` in `approval/decide`." }, "sessionId": { "description": "The owning session.", "type": "string" }, "sourceRange": { "$ref": "#/$defs/SourceRange", "description": "The stored records this event was folded from: an opaque token clients\nmust not interpret." }, "subagentOrigin": { "$ref": "#/$defs/ApprovalSubagentOrigin", "description": "Present only for a child (native subagent) approval projected onto\nthe parent session's plane (ADR 36182); parent-own approvals omit it." }, "subject": { "$ref": "#/$defs/ApprovalSubject", "description": "The approval's subject, with `stages` refreshed for this change." }, "viewCursor": { "description": "This event's view cursor: opaque, and strictly increasing within the\nsession.", "type": "string" } }, "required": [ "approvalId", "availableChoices", "change", "currentRequirementId", "sessionId", "sourceRange", "subject", "viewCursor" ], "type": "object"}