Skip to content

v0.2.1 — Streaming fixes for full CLI tool compatibility

Choose a tag to compare

@Oaklight Oaklight released this 20 Mar 14:40
· 1617 commits to master since this release

Fixed

  • OpenAI Responses streaming tool calls: Fixed missing item_id → call_id mapping, argument accumulation across dual StreamContexts, and event ordering for full Codex CLI compatibility (#56)
  • OpenAI Chat streaming tool calls: Fixed missing index field in streamed tool_calls delta chunks (#57)
  • stream_options leak into Responses API: Removed Chat-only stream_options from Responses converter, fixing Kilo/OpenCode proxying (#58)
  • Google REST-format tool definitions ignored: Added fallback to top-level tools/tool_config fields (#59)
  • Google camelCase tool definitions not parsed: Handle both functionDeclarations and function_declarations, extract all declarations — fixes Gemini CLI tool calling (#61)
  • Google streaming tool calls split into two chunks: Defer tool_call_start and emit complete function_call in a single chunk — fixes @google/genai SDK parsing (#62)

Validated

All 5 major AI coding CLI tools work through the gateway:

CLI Tool API Format Status
Codex CLI OpenAI Responses ✅
Kilo Code OpenAI Chat ✅
OpenCode OpenAI Chat ✅
Claude Code Anthropic Messages ✅
Gemini CLI Google GenAI ✅

44/44 integration tests passing across all 4 converter pipelines.

Full changelog: v0.2.0...v0.2.1