Commit graph

4 commits

Author SHA1 Message Date
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
David Kong
13a2ec6581 initial commit 2026-07-24 12:36:57 +10:00
David Kong
3f7ccd0f34 Move docs into main/ subdirectory 2026-07-24 12:27:47 +10:00
David Kong
cd51baa2c1 Initial commit: extension docs and design plan 2026-07-24 12:16:00 +10:00