~/.pi/agent/pi-worktrees-settings.json:
{
"worktrees": {
"**": {
"worktreeRoot": "{{mainWorktree}}-worktrees",
"onCreate": []
}
}
}
Close and reopen pi.
Then type "/worktree settings" and I see the output:
Worktree Settings:
━━━━━━━━━━━━━━━━━━
worktreeRoot: {{mainWorktree}}.worktrees
onCreate: echo "Created {{path}}"
If I do /worktree create test then the test worktree is still created at {{mainWorktree}}.worktrees instead of {{mainWorktree}}-worktrees.
~/.pi/agent/pi-worktrees-settings.json:
{ "worktrees": { "**": { "worktreeRoot": "{{mainWorktree}}-worktrees", "onCreate": [] } } }Close and reopen pi.
Then type "/worktree settings" and I see the output:
Worktree Settings: ━━━━━━━━━━━━━━━━━━ worktreeRoot: {{mainWorktree}}.worktrees onCreate: echo "Created {{path}}"If I do
/worktree create testthen the test worktree is still created at{{mainWorktree}}.worktreesinstead of{{mainWorktree}}-worktrees.