- Add loading indicator with spinner animation during API calls
- Implement retry logic with exponential backoff (1s, 2s, 4s)
- Add dynamic task count adjustment when API calls fail
- Improve error handling with detailed error messages
- Add interactive user options when all retries are exhausted
- Optimize token allocation based on PRD size
- Add comprehensive validation of API responses
- Improve error recovery strategies for various failure scenarios
- Update parsePRD function to properly handle errors from callClaude
This commit includes several important improvements:
1. Add support for updating multiple tasks at once with comma-separated IDs
- Modify setTaskStatus to handle lists like id=1,1.1,1.2
- Fix subtask handling to properly update subtask statuses
- Add in-progress as a valid status option
2. Fix initialization script issues
- Add debugging information to help diagnose npx execution problems
- Improve error handling and readline interface management
- Remove conditional check that prevented script from running in some environments
- Add troubleshooting section to README.md
3. Improve package preparation
- Make scripts executable during package preparation
- Update version to 1.0.7
These changes make the package more robust and user-friendly, particularly
for first-time users and those managing complex task hierarchies.
- Update to ES modules syntax throughout the codebase
- Add fileURLToPath and dirname imports to handle __dirname in ES modules
- Upgrade Anthropic SDK from 0.10.0 to 0.39.0
- Fix JSON parsing to handle responses wrapped in Markdown code blocks
- Improve documentation with clearer installation instructions
- Add important notes about ES modules and SDK requirements
- Update environment examples with API key format and model recommendations
- Include index.js in package files list
- Bump version to 1.0.2