effectify Worktree service with Effect layer and facades

Migrate Worktree from direct Instance ALS reads to the Effect service
pattern: define Interface, Service, layer (yielding InstanceContext),
and promise facades using runPromiseInstance. Wire into instances.ts.
This commit is contained in:
Kit Langton
2026-03-19 21:23:30 -04:00
parent 52a7a04ad8
commit b3023f0fa0
3 changed files with 416 additions and 330 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ Still open and likely worth migrating:
- [ ] `Plugin`
- [ ] `ToolRegistry`
- [ ] `Pty`
- [ ] `Worktree`
- [x] `Worktree`
- [ ] `Installation`
- [ ] `Bus`
- [ ] `Command`