You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: show externally-created worktrees in UI (#62)
* feat: show externally-created worktrees in UI and lazy-init on open
Worktrees created via `workmux add` CLI now appear in the sidebar
(dimmed with "closed" label). Clicking opens them with auto-initialized
env/hooks so they work seamlessly without manual setup.
- Extract initWorktreeEnv() from addWorktree() for reuse
- Lazy-init .env.local and Claude hooks in apiOpenWorktree()
- Remove mux === "✓" filter so all worktrees are visible
- Add visual distinction (opacity, labels) for closed/opening states
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: filter out main branch from worktree sidebar
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: do not overwrite pre-existing .env.local fields in initWorktreeEnv
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address PR review feedback
- Filter main working tree in backend (not hard-coded branch name)
- Show alert on open-worktree failure for user feedback
- Let envOverrides take precedence over default PROFILE/AGENT
- Use Set<string> for openingBranches to handle concurrent opens
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments