Frank Song
|
93b7d35bfa
|
Issue #2057 Slice 2: Add worktree remove action
Backend:
- POST /api/session/worktree/remove — removes a session's git worktree
- Guards: stream/terminal lock, dirty/untracked without force
- remove_worktree_for_session() in api/worktrees.py
Frontend:
- 'Remove Worktree' context menu item + confirm modal
- i18n keys for all 11 locales
Tests:
- 5 tests: clean remove, missing worktree, no-path, route success, 404
|
2026-05-13 09:11:55 +08:00 |
|