Skip to content
Developer Preview

session/todoListChanged

The todo list was replaced wholesale; empty items is a cleared list.

Type: SessionTodoListChangedParams

session/todoListChanged params: a TodoSnapshotUpdated record landed. Replace the whole list on every event; an empty items array is a cleared list, not a no-op.

Field Type Stability Presence Description
items TodoItem[] required The full todo list, replaced wholesale.
revision integer required The snapshot revision. Diagnostics only, never an ordering guard — viewCursor orders.
sessionId string required The owning session.
sourceRange SourceRange required The durable records this event folded from.
sourceTool string required The tool that produced the snapshot, verbatim.
viewCursor string required Opaque, strictly monotonic view cursor.
Source

schema/msp/experimental/msp.schema.json#/notifications/session~2FtodoListChanged

{
"description": "The todo list was replaced wholesale; empty items is a cleared list.",
"params": {
"$ref": "#/$defs/SessionTodoListChangedParams"
}
}