Skip to content

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
generatedName string optional The latest retained generated short title. Additive-optional: carried at generated-pair publication and at settlement when a pair is already published; omitted when no pair was ever published — absent reads as unpublished, never fabricated. name stays canonical.
name string required The new canonical name now in effect.
nameOrigin SessionNameOrigin optional How the new name was set. Additive-optional: omitted when the emitting fold cannot prove an origin — absent reads as unknown, never fabricated.
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"
}
}