Skip to content
Developer Preview

SessionBranchChangedParams

session/branchChanged params: a durable workspace-branch observation landed.

  • branch
  • sessionId
  • sourceRange
  • vcs
  • viewCursor
  • workspaceRoot
Source

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

{
"description": "`session/branchChanged` params: a durable workspace-branch\nobservation landed.",
"properties": {
"branch": {
"description": "The observed branch; `null` on a detached-HEAD observation — a fact,\nnot \"unchanged\".",
"type": "string"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from."
},
"vcs": {
"$ref": "#/$defs/Vcs",
"description": "The detected version-control system; absent when no repository was\ndetected."
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
},
"workspaceRoot": {
"description": "The observed workspace root.",
"type": "string"
}
},
"required": [
"sessionId",
"sourceRange",
"viewCursor",
"workspaceRoot"
],
"type": "object"
}