Releases: dev2k6/command-code-proxy-server
Releases · dev2k6/command-code-proxy-server
v1.0.8
v1.0.8
Highlights
- Deduplication of tool calls: Completely resolved duplicate tool call issues within a single assistant message where coding tools (such as Claude Code) simultaneously send tool execution information in both the
contentarray and thetool_callsfield. - Standardization to
tool-call: Uniformly reformatted all tool calls inside assistant (assistant) messages and their corresponding execution results (toolmessages) to match the CommandCode API specification:
{
"type": "tool-call",
"toolCallId": "...",
"toolName": "...",
"input": {...}
}v1.0.7
v1.0.7
Highlights
- Completely fixed the
ModelMessage[] schemastructure error when coding tools continue conversations after executing tool calls. - Perfect compatibility with Claude Code, Codex, Kilo Code, and Open Code when running complex tasks that require executing multiple tool calls sequentially.
- Rebuilt and compiled binary files for Windows, Linux AMD64, and Linux ARM64.
Fixes
- Converted the format of tool results sent to the API from the old format:
{
"role": "tool",
"content": [
{
"type": "tool_result",
"tool_use_id": "...",
"content": "..."
}
]
}v1.0.6
CommandCode Proxy Server v1.0.6
Highlights
- Fixed CommandCode
ModelMessage[]schema error when continuing conversations after tool execution. - Improved compatibility with coding tools such as Claude Code, Codex, Kilo Code, and other OpenAI-compatible clients.
- Rebuilt Windows, Linux AMD64, and Linux ARM64 binaries.
Fixes
- Fixed converted OpenAI tool result messages to use CommandCode
role: "tool"instead ofrole: "user".
Previous converted shape:
{
"role": "user",
"content": [
{
"type": "tool_result",
"tool_use_id": "...",
"content": "..."
}
]
}v1.0.5
CommandCode Proxy Server v1.0.5
Highlights
- Fixed CommandCode tool result message schema for coding tools.
- Improved compatibility for Claude Code, Codex, Kilo Code, and other OpenAI-compatible coding clients when continuing after tool execution.
- Rebuilt Windows, Linux AMD64, and Linux ARM64 binaries.
Fixes
- Changed converted tool result content from the old shape:
{
"type": "tool-result",
"toolCallId": "...",
"toolName": "...",
"text": "..."
}v1.0.4
CommandCode Proxy Server v1.0.4
Highlights
- Improved compatibility with OpenAI-style coding clients such as Claude Code, Codex, Kilo Code, and other tools that rely on chat completions, tool calls, and streaming responses.
- Added broader OpenAI request/response handling for tool use, multimodal-style content arrays, and common client fields.
- Added a minimal
/v1/responsescompatibility endpoint. - Added
/chat/completionsas an alias for/v1/chat/completions. - Added debug logging toggle in
main.gofor inspecting client requests and CommandCode upstream stream events during troubleshooting.
Changes
- Added support for additional OpenAI-compatible request fields:
stream_optionstool_choiceparallel_tool_callsresponse_formatstoptop_ppresence_penaltyfrequency_penaltyuser
- Added support for OpenAI Responses-style input through
POST /v1/responses. - Improved conversion of OpenAI tool definitions into CommandCode tool schema.
- Improved conversion of assistant tool calls and tool result messages into CommandCode-compatible message content.
- Added handling for CommandCode tool stream events:
tool-usetool-deltatool-input-starttool-input-deltatool-call
- Normalized CommandCode finish reasons such as
tool-callsinto OpenAI-compatibletool_calls. - Improved support for non-streaming tool-call responses with OpenAI-compatible
tool_calls. - Improved handling of OpenAI multimodal/content array message formats.
- Converted image content parts into text placeholders for better upstream compatibility.
- Added OpenAI-style JSON error responses.
- Improved upstream error status forwarding for CommandCode 4xx responses.
- Added debug logging helpers with output truncation to avoid excessive log size.
- Updated project version to
v1.0.4.
Endpoints
Available endpoints:
POST /v1/chat/completions
POST /chat/completions
POST /v1/responses
GET /v1/models
GET /health
v1.0.3
What's Changed
- Fix tool call and tool result message conversion for CommandCode API
- Fix tool call streaming response (tool-use, tool-delta events)
- Fix non-streaming response finish_reason for tool calls
- Pass client tools to CommandCode API
- Always send stream: true to CommandCode API
v1.0.2
v1.0.1
v1.0.0
v1.0.0
Initial release of CommandCode Proxy Server.
Highlights
- Added an OpenAI-compatible proxy server for CommandCode API.
- Supports
/v1/chat/completions,/v1/models, and/health. - Supports both streaming and non-streaming chat completion responses.
- Added configurable CLI options for host, port, API key, and version output.
- Added model alias mapping for supported CommandCode models.
- Added GitHub tag-based update checking.
- Added automatic CommandCode CLI version lookup from npm registry for upstream headers.
- Added project documentation and ignore rules.
CLI
command-code-proxy -host 127.0.0.1 -port 55990