Share Chat request validation and derive routing capabilities only from
declared protocol fields. Reject unsupported custom tool formats instead
of dropping their constraints, and retain safe error codes and parameters
through provider, core and HTTP boundaries.
Remove unused search adapters, duplicate state and unreachable branches.
Align module names and document supported platforms.
Validation: workspace formatting and strict Clippy; 4,736 tests passed,
0 skipped. All 24 live checks passed across OpenAI, Antigravity, xAI and
DeepSeek Messages compatibility.
Co-authored-by: Codex <noreply@openai.com>
Merge duplicate Chat codec and native response cases into their owning suites.
Keep distinct authorization, wire fidelity, terminal and resource lifecycle
checks while removing obsolete provider fixtures and repeated input variants.
Validation: 2,534 related tests passed; final native fixture recheck passed.
Workspace formatting and strict Clippy for the five affected crates passed.
Co-authored-by: Codex <noreply@openai.com>
Route native requests only to providers that support their wire protocol.
Convert Chat Completions directly to Responses, Messages or GenAI while
preserving the shared request lifecycle and native continuation ownership.
Remove provider-side cross-protocol adaptation outside compat modules and
update protocol, provider, routing and delivery regression coverage.
Validation: workspace fmt and strict Clippy; 4,741 tests passed, none skipped.
Live-tested native Codex, AGY and Grok harnesses plus Chat JSON/SSE and tools.
BREAKING CHANGE: Built-in cross-protocol conversion is available only through
Chat Completions. Native callers must use a matching provider protocol.
Co-authored-by: Codex <noreply@openai.com>
Build GenAI requests directly from Responses input and preserve multimodal tool results. Select unary or streaming generation from the client transport and derive session IDs from isolated affinity keys.
Honor account credit preferences in generation and scheduling, and scope connection and SSE limits to Antigravity.
Co-authored-by: Codex <noreply@openai.com>
Complete root prewarms after routing without selecting an account or sending a model request. Preserve the audit record and exclude prewarms from inference usage and continuation recovery.
Cover queued requests arriving between output deltas, response ordering, and idle connection closure.
Co-authored-by: Codex <noreply@openai.com>
Request full-input replay after completed Antigravity turns. Drain queued requests before reconnecting and keep the delivery hint separate from native OpenAI session state.
Co-authored-by: Codex <noreply@openai.com>
Preserve function tools on coding requests with optional web search. Route required live searches to the authorized account search model and return grounded citations in JSON and streaming responses.
Co-authored-by: Codex <noreply@openai.com>
Project reasoning variants, descriptions, image support, and context windows from the models available to each client key. Apply output limits to the selected model and account.
Co-authored-by: Codex <noreply@openai.com>
Let the downstream endpoint select keepalive behavior before the first frame and during delivery. Preserve HTTP error status when native Gemini generation fails before producing output.
Refs #777
Co-authored-by: Codex <noreply@openai.com>
Resolve declared model groups to concrete variants before account and model-policy checks. Preserve explicit model IDs and native request bodies, and expose only accessible groups in the catalog.
Co-authored-by: Codex <noreply@openai.com>
Aggregate local usage over today and the previous six days in the deployment timezone. Keep the local usage period independent from grouped quota reset windows and preserve it when usage is empty.
Co-authored-by: Codex <noreply@openai.com>
Use macOS 27.2.1 for Desktop and CLI defaults. Select the TUI entry and Apple_Terminal/488.9 in the macOS CLI preset while preserving saved identity choices.
Co-authored-by: Codex <noreply@openai.com>
Apply global client profiles to OAuth, token refresh and account background operations across OpenAI, xAI and Antigravity. Preserve Client Key overrides for model requests.
Co-authored-by: Codex <noreply@openai.com>
Bind workspace aliases to the account identity used by request isolation,
preserving same-account retries and rotating on account or session changes.
Shuffle characters from the project name and retain numeric suffixes.
Synchronize the generated SDK privacy action contract to fix the CI failure.
Co-authored-by: Codex <noreply@openai.com>
Derive stable client-scoped session aliases with two numbers from 1 to 1000,
remove workspace Git remotes and commit metadata, and preserve execution paths.
Expose the action through the privacy preset, editor, and preview controls.
Cover metadata carriers, session isolation, rollback, HTTP, and WebSocket reuse.
Co-authored-by: Codex <noreply@openai.com>
Distinguish a dropped upstream owner from an unbound control channel so idle clients receive the existing replay reconnect notification after terminal delivery.
Co-authored-by: Codex <noreply@openai.com>
Wait for a committed reset batch under lock contention and verify the injected cursor-write error before checking rollback.
Co-authored-by: Codex <noreply@openai.com>
Check the bound parent against the authorized direct-model candidates before switching a descendant review. Keep the original model when the parent is outside that scope.
Co-authored-by: Codex <noreply@openai.com>
Keep the last quota observation when the upstream identity is unchanged. Include disabled OAuth accounts in quota maintenance while keeping them out of request selection.
Co-authored-by: Codex <noreply@openai.com>
Use the optional name from account settings and default unnamed key accounts to 密钥账号. Keep connection fields independent of naming.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Upgrade jsonwebtoken to 12.0.0 and adapt the xAI OIDC test fixture
to the fallible HMAC key constructor.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Update the backend dependency group, migrate the stale-lock fixture to
std::fs::set_times, and lock url 2.5.9 to resolve RUSTSEC-2026-0592.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
The idle expiry test reads a real TCP socket with a Tokio timeout while
the clock is paused. Auto-advance can reach the read deadline while the
socket is still waiting for readiness.
Follow the adjacent connection lifecycle test and pause only for the
60-minute jump. Use a running clock for the handshake and frame read.
Keep the exact limit error and zero-execution assertions.
Co-authored-by: Codex <noreply@openai.com>
Preserve the incoming request country on API key routes. Show quota refresh only for supported accounts and keep peer discovery in the account menu.
Clarify the policy scope in settings and tighten shared help icon spacing.
Refs #758
Use provider profile maps, saved proxy IDs, and structured dashboard metrics across the admin API and UI. Require the quota reset mode on full settings updates.
Migrate existing Redis freezes atomically with cooldown writes and reuse validated OpenAI credentials during runtime decoding.
Co-authored-by: Codex <noreply@openai.com>
Plugins and admin HTTP clients must send both OpenAI settings on every replacement. Reject incomplete writes before changing the stored revision.
Co-authored-by: Codex <noreply@openai.com>