Summary
The worktree base path is currently hardcoded to ~/.21st/worktrees/ in src/main/lib/git/worktree.ts:
const worktreesDir = join(homedir(), ".21st", "worktrees");
It would be useful to make this configurable via a setting in the UI or a config file (e.g. ~/.21st/config.json), so users can store worktrees alongside their projects, on a different volume, or co-located with other project-specific tooling.
Proposed Behavior
- Default remains
~/.21st/worktrees — fully backward compatible
- User can optionally override the base path via settings or config file