pi-worktrees/.pi/extensions
David Kong 618288aa79 Create extension file structure with tool scaffolding
- Add .pi/extensions/pi-worktree.ts with correct imports and default export
- Define WorktreeEntry, WorktreeListResult, WorktreeError types
- Register 4 tools: create, list, switch, remove (stubs)
- Register /worktree command (stub)
- Add helper function stubs: parseWorktreeList, pathExists, resolveWorktreeTarget
- Uses defineTool() and Type from pi SDK for type-safe registration
2026-07-24 18:16:00 +10:00
..
pi-worktree.ts Create extension file structure with tool scaffolding 2026-07-24 18:16:00 +10:00