Understand the project structure
mainThe project is organized into several key directories:
src/: Contains the core implementation, including the provider factory (claude-code-provider.ts), the language model implementation (claude-code-language-model.ts), and utilities for message conversion, JSON extraction, and error handling.examples/: Provides a wide range of usage scripts, from basic text generation to complex scenarios like tool management, streaming, and session management.docs/: Contains comprehensive guides and troubleshooting information.run-all-examples.sh: A shell script available to execute all provided examples at once.