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.
Fields and variants
Section titled “Fields and variants”itemsrevisionsessionIdsourceRangesourceToolviewCursor
Source
schema/msp/experimental/msp.schema.json#/types/SessionTodoListChangedParams
{ "description": "`session/todoListChanged` params: a `TodoSnapshotUpdated`\nrecord landed. Replace the whole list on every event; an empty `items`\narray is a cleared list, not a no-op.", "properties": { "items": { "description": "The full todo list, replaced wholesale.", "items": { "$ref": "#/$defs/TodoItem" }, "type": "array" }, "revision": { "description": "The snapshot revision. Diagnostics only, never an ordering guard —\n`viewCursor` orders.", "type": "integer" }, "sessionId": { "description": "The owning session.", "type": "string" }, "sourceRange": { "$ref": "#/$defs/SourceRange", "description": "The durable records this event folded from." }, "sourceTool": { "description": "The tool that produced the snapshot, verbatim.", "type": "string" }, "viewCursor": { "description": "Opaque, strictly monotonic view cursor.", "type": "string" } }, "required": [ "items", "revision", "sessionId", "sourceRange", "sourceTool", "viewCursor" ], "type": "object"}