session/viewHealthChanged
A loaded session’s live view stream became unavailable, and why: a command-plane push delivered independent of the view subscription set when the materialized projection fails closed.
Parameters
Section titled “Parameters”Type: SessionViewHealthChangedParams
session/viewHealthChanged params: the named
session’s live view stream became unavailable, and why.
Best-effort: ordered after already-queued view frames and may be dropped
(for example when the connection is closing), so a client MUST NOT assume a
guaranteed push and still reads history.noneReason on its next
resume/read.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
health |
SessionViewHealth | required | The new view-health state. In v1 the host emits only Unavailable. |
|
noneReason |
HistoryNoneReason | optional | Why the view is unavailable — the SAME typed HistoryNoneReason vocabulary the pull path stamps on history.noneReason, so a client reuses one handler for push and pull. projectionUnavailable in v1; present only when health is Unavailable. Open on the client side: an unknown reason decodes conservatively and renders generically. |
|
sessionId |
string |
required | The session whose live view health changed. |
Source
schema/msp/experimental/msp.schema.json#/notifications/session~2FviewHealthChanged
{ "description": "A loaded session's live view stream became unavailable, and why: a command-plane push delivered independent of the view subscription set when the materialized projection fails closed.", "params": { "$ref": "#/$defs/SessionViewHealthChangedParams" }}