Skip to content
Developer Preview

SessionCompactResult

session/compact result. Failures after admission (summarizer_failed, install_rejected, cancelled) are not wire errors — they arrive as the compaction’s terminal view event.

  • commandId
  • reason
  • status
Source

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

{
"description": "`session/compact` result. Failures *after* admission\n(`summarizer_failed`, `install_rejected`, `cancelled`) are not wire errors\n— they arrive as the compaction's terminal view event.",
"properties": {
"commandId": {
"description": "Echoes the client's id.",
"type": "string"
},
"reason": {
"description": "Why the command was a noop, e.g. `no_compactable_history`. Present on\na `noop` status.",
"type": "string"
},
"status": {
"$ref": "#/$defs/CompactStatus",
"description": "Admission status, or `noop`."
}
},
"required": [
"commandId",
"status"
],
"type": "object"
}