Critical fixes: - Normalize path comparison with path.resolve() (Task 001) - Add validation guards for malformed lines in parser (Task 002) Major fixes: - Extract tool definitions to factory functions (Task 003) - Use WorktreeListResult interface with enriched metadata (Tasks 004, 010) - Add unit tests for parseWorktreeList — 12 tests covering edge cases (Task 005) - Return warning message when zero worktrees found (Task 006) Minor fixes: - Apply consistent JSDoc to all functions including factories (Task 007) - Replace em-dash with ASCII separator for encoding safety (Task 008) - Add section comments between tool factories and command registration (Task 009) Suggestions implemented: - Export parseWorktreeList in separate testable module (Task 011)
8 lines
142 B
JSON
8 lines
142 B
JSON
{
|
|
"name": "pi-worktrees",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "bun test .pi/extensions/*.test.ts"
|
|
},
|
|
"devDependencies": {}
|
|
}
|