mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2025-12-04 19:10:57 +00:00
This change makes the Claude Code SDK package optional, preventing installation failures for users who don't need Claude Code functionality. Changes: - Added @anthropic-ai/claude-code to optionalDependencies in package.json - Implemented lazy loading in language-model.js to only import the SDK when actually used - Updated documentation to explain the optional installation requirement - Applied formatting fixes to ensure code consistency Benefits: - Users without Claude Code subscriptions don't need to install the dependency - Reduces package size for users who don't use Claude Code - Prevents installation failures if the package is unavailable - Provides clear error messages when the package is needed but not installed The implementation uses dynamic imports to load the SDK only when doGenerate() or doStream() is called, ensuring the provider can be instantiated without the package present.
Task Master Documentation
Welcome to the Task Master documentation. Use the links below to navigate to the information you need:
Getting Started
- Configuration Guide - Set up environment variables and customize Task Master
- Tutorial - Step-by-step guide to getting started with Task Master
Reference
- Command Reference - Complete list of all available commands (including research and multi-task viewing)
- Task Structure - Understanding the task format and features
Examples & Licensing
- Example Interactions - Common Cursor AI interaction examples
- Licensing Information - Detailed information about the license
Need More Help?
If you can't find what you're looking for in these docs, please check the main README or visit our GitHub repository.