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