Commit Graph
1981 Commits
Author SHA1 Message Date
ZyyandCodex 24fed4ba3a test(gateway): consolidate redundant protocol coverage
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>
2026-11-26 22:50:23 +08:00
ZyyandCodex daa8292860 refactor(gateway)!: isolate Chat conversion from native protocols
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>
2026-11-26 22:37:09 +08:00
ZyyandCodex 9961ffeeb9 fix(antigravity): align Gemini request translation and transport
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>
2026-11-26 18:55:27 +08:00
ZyyandCodex 8bee00c139 fix(antigravity): acknowledge Responses WebSocket prewarm locally
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>
2026-11-26 17:01:27 +08:00
ZyyandCodex 2c6d4a8eb6 fix(responses): recover stateless Antigravity WebSocket continuations
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>
2026-11-26 17:01:14 +08:00
ZyyandCodex 88da31137b fix(protocol): preserve semantics across provider translations
Centralize Responses web search selection across protocol and provider adapters. Map GenAI generation settings directly from Responses while sharing content, tool, and signature conversion.

Preserve translator error sources and cover request parameters, search selection, and failure propagation.

Validation: 292 scoped tests, cargo fmt, and scoped Clippy.

Co-authored-by: Codex <noreply@openai.com>
2026-11-26 14:21:29 +08:00
github-actions[bot] 3da3338908 chore(release): update release channels to 3.55.3 2026-11-26 06:01:30 +00:00
ZyyandCodex ef45165d8d chore: bump version to 3.55.3
Co-authored-by: Codex <noreply@openai.com>
v3.55.3
2026-11-26 13:42:00 +08:00
ZyyandCodex 75c51b9955 fix(antigravity): honor Responses web search tool choices
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>
2026-11-26 13:40:25 +08:00
ZyyandCodex 319b3be0f8 feat(antigravity): expose scoped model groups in the Codex catalog
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>
2026-11-26 12:53:37 +08:00
ZyyandCodex 6de36f4b54 fix(genai): keep native SSE streams silent between frames
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>
2026-11-26 11:54:26 +08:00
ZyyandCodex 74ac905abf test(openai): borrow quota window attribution in assertions
Co-authored-by: Codex <noreply@openai.com>
2026-11-26 11:54:18 +08:00
ZyyandCodex a6bdeb17f2 fix(accounts): attribute Antigravity window usage by model group
Co-authored-by: Codex <noreply@openai.com>
2026-11-26 11:30:57 +08:00
ZyyandCodex ce966d3d04 fix(antigravity): refresh stale quota after account activity
Co-authored-by: Codex <noreply@openai.com>
2026-11-26 11:30:47 +08:00
ZyyandCodex 20d04ae57a fix(ui): rebalance model and usage table column widths
Co-authored-by: Codex <noreply@openai.com>
2026-11-26 00:57:19 +08:00
github-actions[bot] 3141bb1a9e chore(release): update release channels to 3.55.2 2026-11-25 16:29:03 +00:00
ZyyandCodex add1f9f40f chore: bump version to 3.55.2
Co-authored-by: Codex <noreply@openai.com>
v3.55.2
2026-11-25 23:42:36 +08:00
ZyyandCodex 080d3867f1 fix(antigravity): resolve native model groups by thinking level
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>
2026-11-25 23:39:26 +08:00
ZyyandCodex 0bf3c8daaf feat(accounts): show recent week usage for Antigravity
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>
2026-11-25 23:34:29 +08:00
ZyyandCodex 9d3d7ef223 refactor(privacy): remove combined workspace action
Use independent workspace privacy steps and widen the processing method column.

Co-authored-by: Codex <noreply@openai.com>
2026-11-25 22:43:44 +08:00
github-actions[bot] c843a4d380 chore(release): update release channels to 3.55.1 2026-11-25 14:21:08 +00:00
ZyyandCodex 05c3457ca7 chore: bump version to 3.55.1
Co-authored-by: Codex <noreply@openai.com>
v3.55.1
2026-11-25 21:59:09 +08:00
ZyyandCodex d7761910bb fix(plugin): synchronize privacy action service contract
Co-authored-by: Codex <noreply@openai.com>
2026-11-25 21:51:09 +08:00
ZyyandCodex 866e812ce0 feat(ui): organize settings by provider and reuse selectors
Co-authored-by: Codex <noreply@openai.com>
2026-11-25 21:51:09 +08:00
ZyyandCodex 23a4fa42c4 feat(privacy): split workspace anonymization into editable steps
Co-authored-by: Codex <noreply@openai.com>
2026-11-25 21:33:40 +08:00
ZyyandCodex f8a7a45b34 chore(deps): update UI to v0.13.2
Co-authored-by: Codex <noreply@openai.com>
2026-11-25 21:14:28 +08:00
ZyyandCodex d777945c93 fix(openai): refresh macOS client identity presets
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>
2026-11-25 21:05:27 +08:00
ZyyandCodex 3e747cb233 fix(providers): use global identity for background operations
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>
2026-11-25 21:02:04 +08:00
github-actions[bot] ee5f42ee8e chore(release): update release channels to 3.55.0 2026-11-25 12:08:56 +00:00
ZyyandCodex 9469260dba chore: bump version to 3.55.0
Co-authored-by: Codex <noreply@openai.com>
v3.55.0
2026-11-25 19:50:12 +08:00
ZyyandCodex 7712093dac refactor(db): consolidate unreleased account migrations
Co-authored-by: Codex <noreply@openai.com>
2026-11-25 19:49:25 +08:00
ZyyandCodex a6acb7cb9a feat(privacy): scope shuffled workspace aliases to accounts
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>
2026-11-25 19:29:01 +08:00
ZyyandCodex fb188e7688 feat(privacy): anonymize Codex workspace metadata per session
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>
2026-11-25 18:51:23 +08:00
ZyyandCodex 7e32ba5dc0 test(openai): prevent proxy port reuse in parallel tests
Co-authored-by: Codex <noreply@openai.com>
2026-11-25 16:36:43 +08:00
ZyyandCodex be6aa130d2 feat(gateway): integrate Antigravity and reorganize architecture
Preserve main quota, Guardian, and WebSocket fixes alongside the new provider and module organization.

Co-authored-by: Codex <noreply@openai.com>
2026-11-25 16:03:37 +08:00
ZyyandCodex 242929983a fix(websocket): report expired upstream control bindings
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>
2026-11-25 11:50:29 +08:00
Zyy 21622eeacd fix(quota): confirm recovery despite drifting reset times 2026-11-24 13:44:47 +08:00
ZyyandCodex 98724da968 fix(openai): retain the exhausted window from quota errors
Co-authored-by: Codex <noreply@openai.com>
2026-11-24 13:19:41 +08:00
ZyyandCodex a515d54136 fix(openai): recover quota at unmatched usage limit resets
Co-authored-by: Codex <noreply@openai.com>
2026-11-24 12:48:56 +08:00
github-actions[bot] f5d040efa1 chore(release): update release channels to 3.54.5 2026-11-24 04:12:16 +00:00
ZyyandCodex 45a4d580c7 chore: bump version to 3.54.5
Co-authored-by: Codex <noreply@openai.com>
v3.54.5
2026-11-24 11:51:08 +08:00
ZyyandCodex 8075487f57 fix(openai): align spend limits and WebSocket logging with Codex 0.172
Co-authored-by: Codex <noreply@openai.com>
2026-11-24 11:49:02 +08:00
ZyyandCodex 037cbcd605 fix(deps): upgrade cookie to 0.18.3
Raise the OpenAI provider dependency floor and lock the patched release for RUSTSEC-2026-0594.

Co-authored-by: Codex <noreply@openai.com>
2026-11-23 18:12:40 +08:00
ZyyandCodex 89362e54b2 test(store): allow idle rounds while verifying analytics reset progress
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>
2026-11-23 18:09:33 +08:00
ZyyandCodex f46fe43bf3 fix(openai): honor parent account affinity for Guardian review models
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>
2026-11-23 18:09:33 +08:00
ZyyandCodex 000107597e fix(accounts): preserve quota across OAuth reauthorization
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>
2026-11-23 17:08:45 +08:00
github-actions[bot] a2c46e0dc7 chore(release): update release channels to 3.54.4 2026-11-23 04:37:46 +00:00
ZyyandCodex c99bf1ac35 chore: bump version to 3.54.4
Co-authored-by: Codex <noreply@openai.com>
v3.54.4
2026-11-23 12:19:49 +08:00
e41fdfc1c5 fix(accounts): set API key account names once during import (#770)
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>
2026-11-23 12:16:40 +08:00
5fced665bf fix(openai): preserve session bindings during image account fallback (#769)
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-11-23 11:53:40 +08:00