feat(03-02): install simple-git and create WorktreeManager adapter with CRUD

- Install simple-git dependency for git operations
- Create SimpleGitWorktreeManager class implementing WorktreeManager port
- Implement create(), remove(), list(), get() methods
- EventBus optional dependency injection for emitting worktree events
- Worktrees stored in .cw-worktrees directory
This commit is contained in:
Lukas May
2026-01-30 19:27:35 +01:00
parent b70c07caf2
commit 0cf2849993
4 changed files with 435 additions and 10 deletions

View File

@@ -30,6 +30,8 @@
"commander": "^12.1.0",
"drizzle-orm": "^0.45.1",
"execa": "^9.5.2",
"nanoid": "^5.1.6",
"simple-git": "^3.30.0",
"zod": "^4.3.6"
},
"devDependencies": {