Releases: Ritel-T/copilot-api
Releases · Ritel-T/copilot-api
v0.16.0
🚀 Features
- Add adjustInputTokens option to provider configuration and implement token adjustment logic - by @caozhiyuan (49e48)
- Implement trace ID middleware and context management for request tracing - by @caozhiyuan (2b098)
- Ensure that compaction message is tracked as agent initiated, consistent with github copilot extension and opencode - by @caozhiyuan (97b11)
- Add gpt-5.4-mini to extraPrompts and modelReasoningEfforts in defaultConfig - by @caozhiyuan (9756b)
- Add usage tip for --claude-code flag in runServer function - by @caozhiyuan (e9466)
- Enhance user ID parsing with JSON support and legacy fallback - by @caozhiyuan (9d1c2)
- Enhance user ID parsing with JSON support and legacy fallback - by @caozhiyuan (dc4c6)
- Use Anthropic API for accurate Claude token counting - by Gideon Zenz (53dfb)
- Refactor countTokensViaAnthropic to accept payload as parameter - by @caozhiyuan (40169)
- Handle end of streaming response in provider messages - by @caozhiyuan (665bf)
- Update state model logic and claude code env - by @caozhiyuan (b654b)
- Enhance error handling for HTTP 429 responses by forwarding retry headers - by @caozhiyuan (ddd99)
- Update User-Agent version in getOpencodeOauthHeaders - by @caozhiyuan (ced82)
- Add support for web search tool configuration in Responses API - by @caozhiyuan (2829f)
- Make Claude token count multiplier configurable via config.json - by @inprealpha (a12d8)
- Pass through opencode userAgent - by @caozhiyuan (3645b)
- Add VSCode device ID management - by @caozhiyuan (8b4d3)
- Enhance Copilot API integration with dynamic API URL handling - by @caozhiyuan (91e53)
- plugin:
- Add SessionStart hook to auto-inject proxy rules - by @plmmedia79 (e0a01)
- Enhance session start rules and add user prompt submit reminder - by @caozhiyuan (95745)
🐞 Bug Fixes
- Normalize tool schema missing properties for OpenAI API - by hongdongjian (ad570)
- Update GitHub Enterprise API URL format - by @caozhiyuan (a6498)
- Update GitHub Enterprise API URL format - by @caozhiyuan (8d1c0)
- Strip cache_control from payload before sending to Copilot Messages API - by @nicktogo (c4c78)
- Strip cache_control from payload before sending to Copilot Messages API - by @caozhiyuan (ce822)
View changes on GitHub
v1.3.10
🐞 Bug Fixes
- console: Correct web/dist path resolution - by Sisyphus Agent (d9144)
View changes on GitHub
v1.3.9
🐞 Bug Fixes
- docker: Default to console mode for multi-account management - by Sisyphus Agent (99381)
View changes on GitHub
v1.3.8
🚀 Features
- Enhance output type for function call and add content conversion utility - by @caozhiyuan (87899)
- Add signature and reasoning handling to responses translation and state management - by @caozhiyuan (505f6)
- Add signature to thinking messages and enhance reasoning structure in translation tests - by @caozhiyuan (9477b)
- Enhance streaming response handling with ping mechanism - by @caozhiyuan (708ae)
- Responses translation add cache_read_input_tokens - by @caozhiyuan (47fb3)
- Enhance response event handling with event types and improved parsing and allign with vscode-copilot-chat extractThinkingData, otherwise it will cause miss cache occasionally - by @caozhiyuan (2800e)
- Improve event log and enhance reasoning content handling by adding signature check and update prompt - by @caozhiyuan (619d4)
- Compatible with Claude code JSONL file usage error scenarios, delay closeBlockIfOpen and map responses api to anthropic support tool_use and fix spelling errors 4.feat: add configuration management with extra prompt handling and ensure config file creation - by @caozhiyuan (5c6e4)
- Add model reasoning efforts configuration and integrate into message translation - by @caozhiyuan (9051a)
- Consola file logger for handler.ts - by @caozhiyuan (3f69f)
- Add verbose logging configuration to enhance log detail level - by @caozhiyuan (1ec12)
- Support copilot reasoning_opaque and reasoning_text - by @caozhiyuan (29668)
- Add signature field to AnthropicThinkingBlock - by @caozhiyuan (a2467)
- Add idleTimeout configuration for bun server - by @caozhiyuan (58f7a)
- Enhance reasoning handling in tool calls and change the thinking order when stream=false and exclude reasoning_opaque from token calculation in calculateMessageTokens - by @caozhiyuan (3fa55)
- Conditionally handle reasoningOpaque in handleFinish based on tool block state - by @caozhiyuan (dfb40)
- Simplify copilotBaseUrl logic for individual account type - by @caozhiyuan (b4b4c)
- Support claude model thinking block - by @caozhiyuan (7f818)
- Enhance thinking budget calculation and rename variables for clarity - by @caozhiyuan (cbe12)
- Update Copilot version and API version in api-config; adjust fallback VSCode version - by @caozhiyuan (ebcac)
- Update Copilot version to 0.35.0 and fallback VSCode version to 1.107.0 - by @caozhiyuan (0d6f7)
- Log full non-streaming response from Copilot - by @caozhiyuan (8d510)
- Interleaved thinking support - by @caozhiyuan (51752)
- Enhance system prompt handling for interleaved thinking with thinking budget integration - by @caozhiyuan (dd80c)
- Compatible with copilot API returning content->reasoning_text->reasoning_opaque in different deltas - by @caozhiyuan (e45c6)
- Enforce interleaved thinking protocol in message handling - by @caozhiyuan (67b35)
- Support messages-api - by @caozhiyuan (7e16a)
- Add compact model usage configuration and detection - by @caozhiyuan (de424)
- Filter valid thinking blocks for Claude models in Messages API - by @caozhiyuan (de08e)
- Remove web_search tool in responses payload as it's not supported by copilot - by @caozhiyuan (3c12f)
- Update package name and version, enhance description, and correct repository links - by @caozhiyuan (f055a)
- Update version to 1.0.2 and add license information in package.json - by @caozhiyuan (1b946)
- Update version to 1.0.3 in package.json - by @caozhiyuan (18d5d)
- Update vscode and copilot versions, and refine anthropic-beta header handling - by @caozhiyuan (f64c2)
- Bump version to 1.0.4 in package.json - by @caozhiyuan (59703)
- Bump version to 1.0.5 in package.json - by @caozhiyuan (57b61)
- Opus4.6 thinking adaptive - by @caozhiyuan (e2c43)
- Bump version to 1.0.6 in package.json - by @caozhiyuan (7666e)
- Enhance model capabilities with adaptive thinking support and update API handling - by @caozhiyuan (d0fb0)
- Bump version to 1.0.7 in package.json - by @caozhiyuan (b935d)
- Bump version to 1.0.8 in package.json - by @caozhiyuan (ea1e3)
- Update vscode and copilot version - by @caozhiyuan (4bcbf)
- Bum version to 1.0.9 - by @caozhiyuan (e369e)
- Bump version to 1.1.0 - by @caozhiyuan (73abb)
- Enhance response translation with assistant phase handling - by @caozhiyuan (7c29b)
- Enhance response translation with assistant phase handling - by @caozhiyuan (5c146)
- Update release yml node.js version to 24 and bump package version to 1.1.2 - by @caozhiyuan (aabbc)
- Bump version to 1.1.3 and add repository information in package.json - by @caozhiyuan (c9af2)
- Update fallback version for VSCode and increment Copilot version - by @caozhiyuan (0eb8e)
- Bump version to 1.1.4 in package.json - by @caozhiyuan (182e6)
- Implement subagent marker integration and update related handlers - by @caozhiyuan (5b488)
- Bump version to 1.1.5 in package.json - by @caozhiyuan (0257c)
- Bump version to 1.1.6 in package.json - by @caozhiyuan (ee19e)
- Implement claude-plugin for SubagentStart marker injection and update documentation - by @caozhiyuan (383ab)
- Support custom app directory via COPILOT_API_HOME env - by @caozhiyuan (cc36e)
- Implement Copilot token refresh loop with abort controller and retry logic - by @caozhiyuan (46e24)
- Enhance anthropic beta header handling in createMessages function - by @caozhiyuan (b2dbf)
- Enhance phase...
v0.15.5
What's Changed
Bug Fixes
- Fix package.json missing description field (lint error)
- Fix anthropic-request.test.ts thinking blocks tests (add signature field, check reasoning_text)
- Fix quota-based account selection logic with proper validation
- Add updateQuotaCache() for cache updates after requests
Improvements
- Refactor device-id.ts with Promise-based initialization
- Refactor diagnostics.ts into smaller functions, remove any types
- Fix test files: @ts-ignore -> @ts-expect-error, empty catch blocks
Docker
- Built and pushed ghcr.io/ritel-t/copilot-api:v0.15.5
- Updated ghcr.io/ritel-t/copilot-api:latest
v0.15.4
🐞 Bug Fixes
- Prevent black screen when free account logs in - by Sisyphus Agent (15409)
View changes on GitHub
v0.15.3
🐞 Bug Fixes
- Diagnose option syntax error in start.ts - by Sisyphus Agent (d47f1)
View changes on GitHub
v0.15.2
🐞 Bug Fixes
- Diagnose option syntax error in start.ts - by Sisyphus Agent (d47f1)
View changes on GitHub
v0.15.1
🐞 Bug Fixes
- Diagnose option syntax error in start.ts - by Sisyphus Agent (d47f1)
View changes on GitHub
v0.15.0
🐞 Bug Fixes
- Save usage to cache in batch query route - by Sisyphus Agent (e78c8)
- Add missing USAGE_CACHE_PATH and save cache in batch query - by Sisyphus Agent (86c6e)