Commit Graph
2126 Commits
Author SHA1 Message Date
ZyyandCodex 0bdaa29907 fix(ui): clarify update actions and align dashboard empty state
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 21:13:07 +08:00
github-actions[bot] cc798e33a1 chore(release): update release channels to 3.61.1-rc.3 2026-12-03 18:48:31 +08:00
ZyyandCodex 6eabda047c chore: bump version to 3.61.1-rc.3
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 18:48:31 +08:00
ZyyandCodex 3c560b9276 fix(ui): unify account subscription badges
Use compact badges in the dashboard and switch account rows to a stacked layout when the card is narrow.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 17:59:10 +08:00
ZyyandCodex 77c42cea98 fix(antigravity): publish verified client profiles
Derive changelists from official client artifacts and publish them with the
matching version only after verification. Restore profiles from the shared
cache at startup and check release metadata hourly.

Filter gateway fingerprint status from OAuth requests and recognize structured
workspace policy denials without changing unrelated request data.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 17:44:09 +08:00
ZyyandCodex dd234c3619 fix(antigravity): preserve structured Google denials
Preserve RPC status, ErrorInfo reasons and retry hints across generation,
token counting and resource queries. Isolate confirmed account denials,
keep verification links in diagnostics, and preserve access state during
token refresh.

Cover in-band and streaming failures, background query suppression and
stale credential feedback with regression tests.

Refs #836

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 16:07:12 +08:00
ZyyandCodex b5e691c63d fix(dashboard): animate incremental data updates
Preserve chart state across updates and animate capacity, status distribution, and account reordering. Keep metric transition values synchronized when reduced motion is enabled.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 14:50:05 +08:00
Zyy 2d0a52096a fix(workers): prioritize shutdown during background tasks 2026-12-03 13:56:18 +08:00
github-actions[bot] 47620e217a chore(release): update release channels to 3.61.1-rc.2 2026-12-03 05:16:01 +00:00
ZyyandCodex 48aeccd0e0 chore: bump version to 3.61.1-rc.2
Co-authored-by: Codex <noreply@openai.com>
v3.61.1-rc.2
2026-12-03 12:54:43 +08:00
bdc618701b feat(system): add confirmed manual service restart (#832)
* feat(system): add confirmed manual service restart

Co-authored-by: Codex <noreply@openai.com>

* fix(system): preserve restart for legacy update responses

Co-authored-by: Codex <noreply@openai.com>

* fix(system): require explicit restart support

Co-authored-by: Codex <noreply@openai.com>

* docs(deploy): drop legacy restart notes

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 12:48:52 +08:00
ZyyandCodex acd76a09dc fix(ui): keep loading feedback with the active action
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 12:35:57 +08:00
ZyyandCodex 808387442b docs: strengthen frontend interaction verification
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 12:35:57 +08:00
5bc4e3e5c8 fix(routing): scope Fast policy to the selected account (#829)
* fix(gateway): resolve fast policy from the account's hit group

Bound-group fast policies were merged once per API key at snapshot
compile time, so a disabled or forced group on the same key leaked its
policy onto accounts that only belong to other enabled groups. Keep the
per-group policies frozen on the account scope, skip disabled groups
when merging, and resolve the effective fast mode from the account the
request actually hit, falling back to the key-level merged value only
when the account matches no enabled bound group.

* ci: retrigger checks

* style(gateway): rustfmt the account-scoped fast mode helper

* fix(routing): scope Fast policy to selected eligible groups

Co-authored-by: Codex <noreply@openai.com>

* fix(routing): preserve explicit default Fast overrides

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 11:39:33 +08:00
7e98130cac fix(openai): re-anchor bucket warmup after early quota reset (#830)
* fix(openai): re-anchor bucket warmup after upstream early quota reset

* fix(openai): record initial usage for early reset warmup

Co-authored-by: Codex <noreply@openai.com>

* fix(openai): preserve precise bucket reset boundaries

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 11:36:44 +08:00
2821a5e3bd fix(protocol): handle empty Chat history and nullable fields (#831)
* fix(protocol): accept null-content system/developer chat messages

Codex 客户端偶尔会发送 content 为 null 的 system 消息,公共校验按空内容拒绝并报
Parameter messages[N].content has an invalid value。允许 system/developer 消息
内容为空,genai 与 messages 转换跳过空内容,responses 目标已自然忽略。

fixes #824

* fix(protocol): normalize empty Chat history and nullable fields

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 11:36:44 +08:00
ZyyandCodex 6a6a167d41 perf(openai): trim SSE history after privacy processing
Match privacy-processed SSE requests against the existing WebSocket history prefix. Keep full input on a mismatch and resume trimming after a matching completed turn.

Record body receipt, authentication, decompression, decoding and execution preparation timings to distinguish ingress delays from upstream latency.

Cover metadata, body and header privacy across reuse, mismatch and resumed reuse.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 11:36:44 +08:00
ZyyandCodex cffb6b35d2 fix(protocol): handle empty Chat history and nullable request fields
Treat explicit null text as empty in Chat content blocks and preserve user input, tool results, and cache breakpoints during conversion. Resolve nullable format and reasoning controls consistently with routing, and forward stop sequences to Messages and GenAI.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 10:28:00 +08:00
ZyyandCodex 17e50df06f fix(accounts): hide zero token usage in the account list
Co-authored-by: Codex <noreply@openai.com>
2026-12-03 10:28:00 +08:00
ZyyandCodex f2d95cc3fa fix(errors): clarify account selection and upstream failures
Report WebSocket transport constraints separately from exhausted account quota, including mixed account pools. Clarify routing, concurrency, authentication, permission, transport and protocol failure messages while preserving upstream error details.

Update HTTP and WebSocket regression coverage and document the client error contract. Validate 2,620 tests, workspace Clippy, formatting and architecture checks.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 10:28:00 +08:00
ZyyandCodex e4f6e1d4e3 fix(protocol): align response request IDs with Codex
Share the four Codex request ID headers across HTTP, WebSocket, diagnostics, and continuation failures. Preserve current-failure IDs and the model execution ID fallback, and remove unsupported aliases.

Update regression coverage and the public API contract.

Co-authored-by: Codex <noreply@openai.com>
2026-12-03 10:28:00 +08:00
github-actions[bot] 66f650f097 chore(release): update release channels to 3.61.1-rc.1 2026-12-02 13:47:28 +00:00
ZyyandCodex ca4d02068a chore: bump version to 3.61.1-rc.1
Co-authored-by: Codex <noreply@openai.com>
v3.61.1-rc.1
2026-12-02 21:33:34 +08:00
Zyy d185a639a9 perf(openai): send incremental SSE history over pooled WebSockets 2026-12-02 21:09:28 +08:00
github-actions[bot] 3078dd9993 chore(release): update release channels to 3.61.0 2026-12-01 13:39:52 +00:00
ZyyandCodex cad1a9245e chore: bump version to 3.61.0
Co-authored-by: Codex <noreply@openai.com>
v3.61.0
2026-12-01 21:10:22 +08:00
ZyyandCodex d4d1114e73 fix(scheduling): score recent model load alongside concurrency
Include recent request pressure in Smart load scores before near-best
selection, keeping the concurrency penalty independent. Remove the
separate recent-count filter and share the score with diagnostics and
queue selection.

Co-authored-by: Codex <noreply@openai.com>
2026-12-01 19:20:04 +08:00
9e8a5a9b61 feat(scheduling): balance accounts using recent model load (#820)
Prefer accounts with fewer recent requests among near-best Smart candidates
while preserving affinity and existing eligibility constraints. Save recent
load snapshots asynchronously to Redis and restore live buckets on startup.

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 18:40:09 +08:00
ZyyandCodex 9a5bf55bdf fix(release): validate release branches and recover latest promotion
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 17:17:35 +08:00
ZyyandCodex f57a375407 feat(frontend): show compact release channel badges in the sidebar
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 17:17:35 +08:00
ZyyandCodex 82cb91e1af fix(updater): report the published version for the selected channel
Return an unknown version when discovery fails and preserve local update capability during rate limits. Keep release notes tied to the selected channel and require a higher version for installation.

Co-authored-by: Codex <noreply@openai.com>
2026-12-01 16:22:13 +08:00
ZyyandCodex 441c012613 fix(accounts): show token usage for the displayed quota window
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 16:21:43 +08:00
ZyyandCodex 983eca5fe7 fix(frontend): stabilize select text and hide empty token values
Hide empty token values while preserving their labels and layout. Align the UI dependency, lockfile, and submodule with the select font-weight fix.

Co-authored-by: Codex <noreply@openai.com>
2026-12-01 16:05:44 +08:00
ZyyandCodex e0b0ab14da fix(openai): preserve quota observation timestamps
Keep header and stream quota facts tied to their collection time so delayed responses cannot replace a newer refresh. Filter stale observations again on merge conflicts and retain timestamps through failure and warmup paths.

Co-authored-by: Codex <noreply@openai.com>
2026-12-01 15:27:03 +08:00
b4bb97d1dc feat(accounts): add xAI and Antigravity API key upstreams (#816)
* feat(accounts): add xAI and Antigravity API key upstreams

Support native Responses and GenAI API key accounts with custom upstream URLs.
Reuse account management and isolate credentials, catalogs, and runtime connections by revision.

Refs #814

Co-authored-by: Codex <noreply@openai.com>

* refactor(antigravity): simplify API key account names

Use name consistently in API key account documents and verify the exported contract before reimport.

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 15:07:11 +08:00
ZyyandCodex 9f979110d2 fix(gateway): forward upstream retry headers regardless of error kind
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 13:33:10 +08:00
github-actions[bot] a5cddfe4a5 chore(release): update release channels to 3.60.5 2026-12-01 05:12:39 +00:00
ZyyandCodex 914c4c24d3 chore: bump version to 3.60.5
Co-authored-by: Codex <noreply@openai.com>
v3.60.5
2026-12-01 12:52:44 +08:00
ZyyandCodex 7251546c75 fix(gateway): preserve upstream retry headers across capacity rotation
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 12:52:24 +08:00
ZyyandCodex 3c38925716 docs(skills): clarify frontend tooltip and list loading guidance
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 12:33:02 +08:00
ZyyandCodex 43ca35b027 fix(antigravity): explain Google account connection test failures
Refs #805

Co-authored-by: Codex <noreply@openai.com>
2026-12-01 12:18:47 +08:00
ZyyandCodex 95d545a7d8 perf(admin): show request error popovers without fetching details
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 12:17:35 +08:00
ZyyandCodex db3324f90a fix(admin): show upstream errors and retry waits in request popovers
Localize interrupted requests, align quota badges, and update the icon picker to the responsive UI revision.

Co-authored-by: Codex <noreply@openai.com>
2026-12-01 11:56:13 +08:00
ZyyandCodex 30bcff3419 test(store): verify display names for accounts sharing an email
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 11:56:13 +08:00
329503d967 fix(admin): use account display names in sorting and usage (#815)
* fix(admin): use account display names in sorting and usage

Co-authored-by: Codex <noreply@openai.com>

* fix(ui): remove native tooltips from usage identity cells

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 11:10:24 +08:00
eae19e211e fix(openai): start weekly bucket warmup after reset-credit consume (#813)
* fix(openai): start weekly bucket warmup after reset-credit consume

After a successful reset or already_redeemed consume, refresh quota and
advance an already-enabled bucket warmup to the actual reset time. Pull
an early reset's registered future boundary back so due() is not blocked
until the original window ends. Keep the five-minute recheck and skip
warmup when the new round already has usage.

* fix(openai): make credit-triggered weekly warmup idempotent

Register confirmed redemptions with bucket progress and recheck usage in the warmup worker. Preserve precise usage evidence and keep rolling quota deadlines separate from confirmed resets.

Co-authored-by: Codex <noreply@openai.com>

* refactor(openai): keep only the latest warmup redemption

Reuse account warmup progress to recognize retries of the latest credit. Remove the receipt table and keep the existing storage contract.

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
2026-12-01 10:56:06 +08:00
github-actions[bot] 294e9c8bd8 chore(release): update release channels to 3.60.4 2026-11-30 16:44:00 +00:00
ZyyandCodex 1b92c552b9 chore: bump version to 3.60.4
Co-authored-by: Codex <noreply@openai.com>
v3.60.4
2026-11-30 23:53:30 +08:00
ZyyandCodex c9fb2ac465 test(openai): align request fixtures with empty defaults
Use the empty country default in content preservation assertions and configure residency explicitly in routing header coverage.

Co-authored-by: Codex <noreply@openai.com>
2026-11-30 23:48:12 +08:00
ZyyandCodex 6bf109e784 test(store): initialize configuration revision baseline
Initialize configuration and settings revisions after test migrations so functional assertions remain independent of migration revision increments.

Co-authored-by: Codex <noreply@openai.com>
2026-11-30 23:25:46 +08:00