Commit History
-
add advanced toolcall runtime package
shinmentakezo07d78ffe8 -
refactor codex websocket request normalization
shinmentakezo07197972f -
refactor codex tool-call response translation
shinmentakezo0781b4356 -
feat(codex): default agent mode for non-stream prompts
shinmentakezo07d7eba7c -
feat(codex): add planner-reviewer agent mode
shinmentakezo07bb8f6a6 -
refactor(stream): harden forwarding and hook composition
shinmentakezo07 +1: Claude Opus 4.6Refactor stream forwarding to centralize option resolution and terminal completion handling, preventing closed error channels from spinning while preserving terminal-error precedence. Add reusable pipeline hook composition/round-tripper adapters and improve Codex provider compatibility by forwarding Codex hint headers and normalizing the reasoning_effort alias. - extracts stream forwarder helpers for keep-alive setup, terminal error draining, and finish behavior - adds regression tests for terminal error precedence/cancel behavior and hook composition utilities - forwards Codex hint headers and maps reasoning_effort to reasoning.effort for request normalization Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>76d784c -
feat(codex): add Redis-backed prompt cache fallback
shinmentakezo07 +1: Claude Opus 4.6Add optional Redis-backed storage for Codex prompt cache IDs so cache keys stay stable across replicas while preserving the existing in-memory path when Redis is unset or unavailable. Wire codex prompt-cache config through YAML and environment overrides, apply the shared cache helper in both HTTP and WebSocket executors, and add tests for config defaults/sanitization, Redis TTL behavior, retention semantics, and explicit prompt_cache_key precedence. - honors explicit prompt_cache_key before retention-based disable logic - preserves short configured/request TTL values (for example 7s) instead of forcing a 1m minimum - uses GET/SETNX/GET winner flow for distributed cache ID creation with local fallback on Redis errors Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>0e6d51f -
refactor codex request normalization and stream event parsing
shinmentakezo0790d1585 -
ein
shinmentakezo07d61c097
-
feat(codex): expose fixed gpt-5.3 reasoning aliases
shinmentakezo07 +1: Claude Opus 4.6Expose gpt-5.3-codex-{medium,high,xhigh} in static model listings and map each alias to gpt-5.3-codex with a fixed reasoning level so /models visibility and request behavior stay consistent. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>ef25018 -
merge: sync upstream release v6.8.27
shinmentakezo07 +1: Claude Opus 4.6Merge upstream tag v6.8.27 to bring in release changes including codex additive device-code login flow, post-auth hook support, responses stream error handling fixes, usage translation fixes, and file-input passthrough updates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>8c834ea -
fix(executor): remove unused import and vertex variable
shinmentakezo07 +1: Claude Opus 4.6Drop an unused fmt import in BaseExecutor and ignore an unused projectID value in Gemini Vertex provider credentials path to satisfy Go compiler checks. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>cab3daa -
fix(executor): restore retryAfter and count-token payload deletes
shinmentakezo07 +1: Claude Opus 4.6Add retryAfter support back to shared statusErr for auth backoff handling and replace missing deleteJSONField calls with direct sjson deletes in antigravity count-token flow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>323ebc6 -
fix(executor): restore shared statusErr type
shinmentakezo07 +1: Claude Opus 4.6Reintroduce the package-level statusErr implementation used across refactored executors so status-bearing failures compile and propagate correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>a9ddcf4 -
fix(executor): restore usageDetail alias for provider parse usage
shinmentakezo07 +1: Claude Opus 4.6Reintroduce the package-level usageDetail alias used by ProviderConfig and provider ParseUsage implementations so executor package builds after the refactor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1125e8d -
refactor(executor): split providers and preserve legacy entrypoints
shinmentakezo07 +1: Claude Opus 4.6Extract provider-specific logic into refactored executors with a shared base flow, keep legacy executor files as thin compatibility wrappers, and apply static safety fixes to reduce duplication and avoid symbol/nil-path regressions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>3e5ab39 -
Merge pull request #1683 from dusty-du/codex/device-login-flow
Unverified signatureAdd additive Codex device-code login flowf8993e7 -
Revert "Merge pull request #1627 from thebtf/fix/reasoning-effort-clamping"
hkfiresd43abb5
-
Merge pull request #1654 from alexey-yanchenko/feature/pass-file-inputs
Unverified signaturePass file input from /chat/completions and /responses to codex and claude62718e4 -
Merge pull request #1643 from alexey-yanchenko/fix/gemini-prompt-tokens
Unverified signatureFix usage convertation from gemini response to openai format279b9e8 -
Merge pull request #1527 from HEUDavid/feat/auth-hook
Unverified signaturefeat(auth): add post-auth hook mechanism8439ea8 -
Add additive Codex device-code login flow
test93b3780
-
Fixed: #1675
Unverified signaturefix(gemini): add model definitions for Gemini 3.1 Pro High and Imagefe7c5cb -
Merge pull request #1522 from soilSpoon/feature/canceled
Unverified signaturefeature(proxy): Adds special handling for client cancellations in proxy error handler47f49b2 -
fix(gemini): update min Thinking value and add Gemini 3.1 Pro Preview model definition
Unverified signature78aef04
-
Merge pull request #1662 from matchch/contribute/cache-user-id
Unverified signaturefeat: add cache-user-id toggle for Claude cloaking4e2ffb7 -
fix(gemini): correct `Created` timestamps for Gemini 3.1 Pro Preview model definitions
Unverified signature7c3258c -
feat(gemini): add Gemini 3.1 Pro Preview model definitions
hkfires9f90a9a -
feat: add cache-user-id toggle for Claude cloaking
matchchDefault to generating a fresh random user_id per request instead of reusing cached IDs. Add cache-user-id config option to opt in to the previous caching behavior. - Add CacheUserID field to CloakConfig - Extract user_id cache logic to dedicated file - Generate fresh user_id by default, cache only when enabled - Add tests for both paths94bf56c
-
Merge pull request #1660 from Grivn/fix/claude-token-url
Unverified signaturefix(claude): use api.anthropic.com for OAuth token exchange9d600d9 -
fix(claude): use api.anthropic.com for OAuth token exchange
console.anthropic.com is now protected by a Cloudflare managed challenge that blocks all non-browser POST requests to /v1/oauth/token, causing `-claude-login` to fail with a 403 error. Switch to api.anthropic.com which hosts the same OAuth token endpoint without the Cloudflare managed challenge. Fixes #1659 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>b9be4f7 -
Merge pull request #1652 from thebtf/fix/claude-translator-arguments
Unverified signaturefix(translator): handle tool call arguments in codex→claude streaming translator3333a56 -
Merge pull request #1644 from possible055/main
Unverified signaturefeat: add Gemini 3.1 Pro Preview model definitionc56d59c -
Pass file input from /chat/completions and /responses to codex and claude
bee6e1b
-
fix: prevent duplicate function call arguments when delta events precede done
Kirill TuranskiyNon-spark codex models (gpt-5.3-codex, gpt-5.2-codex) stream function call arguments via multiple delta events followed by a done event. The done handler unconditionally emitted the full arguments, duplicating what deltas already streamed. This produced invalid double JSON that Claude Code couldn't parse, causing tool calls to fail with missing parameters and infinite retry loops. Add HasReceivedArgumentsDelta flag to track whether delta events were received. The done handler now only emits arguments when no deltas preceded it (spark models), while delta-based streaming continues to work for non-spark models.773800c -
fix: handle response.function_call_arguments.done in codex→claude streaming translator
Kirill TuranskiySome Codex models (e.g. gpt-5.3-codex-spark) send function call arguments in a single "done" event without preceding "delta" events. The streaming translator only handled "delta" events, causing tool call arguments to be lost — resulting in empty tool inputs and infinite retry loops in clients like Claude Code. Emit the full arguments from the "done" event as a single input_json_delta so downstream clients receive the complete tool input.4ff456a
-
Merge branch 'codex/pr-1626' into dev
Unverified signature7239967 -
feat: add passthrough headers configuration
Unverified signature- Introduced `passthrough-headers` option in configuration to control forwarding of upstream response headers. - Updated handlers to respect the passthrough headers setting. - Added tests to verify behavior when passthrough is enabled or disabled.11fa176 -
fix(antigravity): prevent invalid JSON when tool_result has no content
TinyCodersjson.SetRaw with an empty string produces malformed JSON (e.g. "result":}). This happens when a Claude tool_result block has no content field, causing functionResponseResult.Raw to be "". Guard against this by falling back to sjson.Set with an empty string only when .Raw is empty.9397a41 -
feat: add Gemini 3.1 Pro Preview model definition
apparitionUnverified signature054b115 -
Fix usage convertation from gemini response to openai format
3002aae -
fix: ensure connection-scoped headers are filtered in upstream requests
Unverified signature- Added `connectionScopedHeaders` utility to respect "Connection" header directives. - Updated `FilterUpstreamHeaders` to remove connection-scoped headers dynamically. - Refactored and tested upstream header filtering with additional validations. - Adjusted upstream header handling during retries to replace headers safely.0e32196
-
Merge PR #1626 into codex/pr-1626
Unverified signatureb3b7752 -
Merge pull request #1635 from thebtf/fix/openai-translator-tool-streaming
Unverified signaturefix: handle tool call argument streaming in Codex→OpenAI translator3994969 -
Merge pull request #1628 from thebtf/fix/masquerading-headers
Unverified signaturefix: update Claude masquerading headers and configurable defaultsdce94b3 -
Merge pull request #1627 from thebtf/fix/reasoning-effort-clamping
Unverified signaturefix: clamp reasoning_effort to valid OpenAI-format values742518d -
Merge pull request #1625 from thebtf/feat/tool-prefix-config
Unverified signaturefeat: add per-auth tool_prefix_disabled option521d529 -
Merge branch 'pr-1624' into dev
Unverified signature# Conflicts: # internal/runtime/executor/claude_executor.go # internal/runtime/executor/claude_executor_test.gof55e04e -
Merge pull request #1608 from thebtf/fix/tool-reference-proxy-prefix-mainline
Unverified signaturefix: add proxy_ prefix handling for tool_reference content blocks6380e4a -
Merge branch 'tui' into dev
Unverified signaturea5ee100