Ben Vargas b62cb1bbe7 feat: make @anthropic-ai/claude-code an optional dependency
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.
2025-06-20 16:25:22 +03:00
..
2025-05-24 17:21:15 +02:00
2025-04-09 00:16:43 +02:00

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

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.