feat(FN-692): add setupScript setting for automatic worktree initialization

- Add `setupScript` property to ProjectSettings to reference a named script
- Execute the referenced setup script after worktreeInitCommand on fresh worktrees
- Log success/failure of setup script execution; warn and skip if script name not found
- Skip setup script for pooled/recycled worktrees (fresh only)
- Add changeset (minor) for the new setting
This commit is contained in:
gsxdsm
2026-04-01 09:26:20 -07:00
parent 805e15eb8a
commit faaef56ce3
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": minor
---
Add `setupScript` setting to run a designated script automatically when worktrees are created.