Skip to content
Developer Preview

session/nameChanged

A durable session-name record landed (rename or first naming): the fold of the session_name record.

Type: 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.

Field Type Stability Presence Description
name string required The new canonical name now in effect.
sessionId string required The owning session.
sourceRange SourceRange required The durable records this event folded from.
viewCursor string required Opaque, strictly monotonic view cursor.
Source

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

{
"description": "A durable session-name record landed (rename or first naming): the fold of the session_name record.",
"params": {
"$ref": "#/$defs/SessionNameChangedParams"
}
}