Skip to content

SessionStartedParams

session/started params: a session became newly loaded on this host via session/start, session/fork, or session/sideChat, broadcast to every initialized connection.

The one member is the same $defs/Session object the session/start/session/fork results carry, so the broadcast and the result describe one fact through one type — the host builds the broadcast payload as a $defs/Session — the fresh-start arm reuses the result’s session member, the start-replay arm builds the live attach snapshot — and the emission is parity-gated against this type at the producer (session-server prod-assembly capture) and over the committed transcript corpus (conformance session_lifecycle_enrollment).

  • session
Source

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

{
"description": "`session/started` params: a session\nbecame newly loaded on this host via `session/start`, `session/fork`, or\n`session/sideChat`,\nbroadcast to every initialized connection.\n\nThe one member is the same `$defs/Session` object the\n`session/start`/`session/fork` results carry, so the broadcast and the\nresult describe one fact through one type — the host builds the broadcast\npayload as a `$defs/Session` — the fresh-start arm reuses the result's\n`session` member, the start-replay arm builds the live attach snapshot —\nand the emission is\nparity-gated against this type at the producer\n(`session-server` prod-assembly capture) and over the committed\ntranscript corpus (conformance `session_lifecycle_enrollment`).",
"properties": {
"session": {
"$ref": "#/$defs/Session",
"description": "The newly loaded session, as of the start/fork fold."
}
},
"required": [
"session"
],
"type": "object"
}