Skip to content

SessionWorktree

Experimental

The Session worktree member: path and origin only — the branch stays in the existing branch member.

  • origin — Experimental
  • path — Experimental
Source

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

{
"description": "The Session `worktree` member: path and origin only —\nthe branch stays in the existing `branch` member.",
"properties": {
"origin": {
"$ref": "#/$defs/WorktreeOrigin",
"description": "Whether the host created or attached it."
},
"path": {
"description": "Canonical worktree path the session runs in.",
"type": "string"
}
},
"required": [
"origin",
"path"
],
"type": "object",
"x-msp-descriptor": "Session.worktree",
"x-msp-stability": "experimental"
}