|
|
dd2202f54c
|
Milestone 1.2: Register all four worktree tools (#15)
## Summary
Register all four git worktree tools with correct TypeBox schemas and placeholder implementations.
## Changes
- Added `.pi/extensions/pi-worktree.ts` with four tool registrations:
- `git_worktree_list` — no params, lists linked worktrees
- `git_worktree_create` — path, branch?, create_branch? params
- `git_worktree_switch` — target param for switching cwd
- `git_worktree_remove` — path param for removing worktrees
- Each tool returns "Not implemented yet." placeholder response
## Testing
- [x] All four tools registered with correct TypeBox schemas
- [x] Calling each tool returns a response (placeholder)
- [ ] Extension loads without errors when pi starts (manual verification needed)
## Checklist
- [ ] Self-reviewed the diff
- [ ] Code follows project conventions
- [ ] Descriptive naming (no single-character variables)
Co-authored-by: David Kong <davkon@gmail.com>
Reviewed-on: #15
|
2026-07-24 12:31:29 +00:00 |
|