Skip to content
Developer Preview

SessionNameChangedParams

session/nameChanged params: the fold of ANY durable session-name record — the FIRST-NAMING automatic allocate as well as an accepted session/rename (or the same in-process runtime command). Replace-wholesale like every sibling.

  • name
  • sessionId
  • sourceRange
  • viewCursor
Source

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

{
"description": "`session/nameChanged` params: the fold of ANY\ndurable session-name record — the FIRST-NAMING automatic allocate as well\nas an accepted `session/rename` (or the same in-process runtime command).\nReplace-wholesale like every sibling.",
"properties": {
"name": {
"description": "The new canonical name now in effect.",
"type": "string"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from."
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"name",
"sessionId",
"sourceRange",
"viewCursor"
],
"type": "object"
}