All notable changes to the ClaudeCoder project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Multi-Provider AI Support: Added OpenRouter as an alternative to AWS Bedrock
- OpenRouter client with full API integration (
openrouter-api-keyinput) - Support for free OpenRouter models (Kimi K2, Gemini 2.0 Flash, DeepSeek, etc.)
- Automatic provider detection based on model selection
- OpenRouter client with full API integration (
- Intelligent Model Selection System: Priority-based model selection with fallback support
modelsinput parameter for comma-separated model priority lists- ModelSelector class for parsing and managing model priorities
- Auto-detection of provider (AWS/OpenRouter) based on model names
- Support for mixing different model types with intelligent routing
- Enhanced Configuration Options:
ai-providerinput for explicit provider selection (aws,openrouter,auto)- Improved model-specific defaults (Kimi K2 Free for OpenRouter, Claude 3.7 Sonnet for AWS)
- Better error handling and retry logic for both providers
- Cost Flexibility: Users can now choose between free OpenRouter models and premium AWS Bedrock models
- Breaking: Default behavior now uses only Kimi K2 Free model when no configuration provided (no mixed providers)
- Updated all documentation to reflect multi-provider capabilities
- Enhanced README with comprehensive setup guides for both providers
- Improved error messages with provider-specific context
- Updated package.json description to reflect multi-provider support
- Fixed undefined display names for default models in model selection
- Improved token limit handling for different model context sizes
- Enhanced API error handling with provider-specific retry logic
- Added
openrouter-client.jswith full OpenRouter API v1 compatibility - Added
ai-provider.jsfactory pattern for provider management - Added
model-selector.jsfor intelligent model parsing and selection - Updated
bedrock-client.jsto accept configurable model parameters - Enhanced
index.jswith multi-provider orchestration logic
- Support for configurable parameters through GitHub Action inputs:
max-tokens: Maximum number of tokens for Claude to generate (default: 64000)enable-thinking: Enable Claude's extended thinking capability (default: true)thinking-budget: Token budget for Claude's thinking process (default: 1024)extended-output: Enable 128K extended output capability (default: true)request-timeout: API request timeout in milliseconds (default: 3600000)max-requests: Maximum number of requests to make to AWS Bedrock (default: 10)required-label: Label required on PR for processing (default: claudecoder)
- Upgraded to Claude 3.7 Sonnet model from AWS Bedrock
- Increased default max tokens from 4000 to 64000
- Implemented extended thinking capability with a default budget of 1024 tokens
- Enabled extended output length (128K tokens) by default
- Enhanced response processing to handle thinking blocks
- Improved error handling for token validation errors
- Updated all documentation to consistently reference "Claude 3.7 Sonnet"
- Increased API timeout to 60 minutes (3600000 ms) as recommended in AWS documentation
- Improved error handling for validation exceptions
- Better handling of API timeouts for large responses
- Updated model ID format to use the inference profile ID required for AWS Bedrock cross-region inference (
us.anthropic.claude-3-7-sonnet-20250219-v1:0)
- PRs now require a label (default: 'claudecoder') to be processed by the action
- Existing workflows will need to be updated to add labels to PRs that should be processed
- Workflow triggers should be updated to include the 'labeled' event type for optimal performance
- Comprehensive test suite with Jest
- Integration tests with mocked external dependencies
- GitHub Actions workflow for testing
- Enhanced error handling and retry mechanism
- Improved repository content retrieval with better file filtering
- Various bug fixes and code improvements
- Support for handling multi-part responses
- Image attachment processing capability
- Improved PR processing logic
- Better error handling
- Initial release of ClaudeCoder
- Basic functionality to process pull requests with Claude
- GitHub Action integration
- Repository content analysis
- Automated code suggestions