* 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>
Use the empty country default in content preservation assertions and configure residency explicitly in routing header coverage.
Co-authored-by: Codex <noreply@openai.com>
Initialize configuration and settings revisions after test migrations so functional assertions remain independent of migration revision increments.
Co-authored-by: Codex <noreply@openai.com>
Use the empty country policy and leave residency and account routing unset.
Migrate existing follow-location policies and us residency values while
preserving custom settings and advancing the settings revision.
Update the settings UI, existing contract tests, and deployment guidance.
Co-authored-by: Codex <noreply@openai.com>
Recognize known Claude and Gemini signature envelopes without wrapping
response signatures. Remove foreign thinking history while preserving
compatible or unknown signatures, ordinary text, and tool history.
Integrate cleanup into request field editing and reuse unchanged history.
Keep counting and unknown model families untouched, without session caches.
Cover native JSON/SSE, escaped fields, malformed envelopes, and model
switches; document recognition and account compatibility boundaries.
Co-authored-by: Codex <noreply@openai.com>
Use the existing queue timeout for cancellation confirmations so normal peer backpressure does not terminate healthy sessions. Cover delayed acknowledgements and bounded cleanup of unresponsive peers.
Co-authored-by: Codex <noreply@openai.com>
Pair uniquely named calls and results in adjacent model/user turns before
sending native Claude requests. Preserve existing IDs and raw business
fields, avoid ID collisions, and leave ambiguous history unchanged.
Cover JSON/SSE transport, partial IDs, replay stability, and scope limits.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Match the sha2 package without pinning its patch version so dev and test builds retain the intended optimization after lockfile updates. Keep multipart concurrency assertions and timeouts unchanged.
Co-authored-by: Codex <noreply@openai.com>
Start the confirmation deadline after the cancellation frame is written. Arbitrate acknowledgements and expiry in the reader and commit failures under the call table lock. Cover queued cancellation under backpressure and recovery at the default in-flight limit.
Co-authored-by: Codex <noreply@openai.com>
Align the Grok 1.0.92 transport profile, retain only continuation routing metadata, and filter downstream environment headers at provider boundaries.
Co-authored-by: Codex <noreply@openai.com>
Reuse unchanged catalog TOAST values during refresh. Remove unused analytics source versions and duplicate artifact version storage, retire the covered charge-event index, and index artifact configuration cleanup.
Co-authored-by: Codex <noreply@openai.com>
Store icon choices per account and display them across the admin views. Refine account form controls and simplify the API key setup dialog. Pin the UI library to v0.14.0.
Co-authored-by: Codex <noreply@openai.com>
Preserve upstream model descriptors in the AGY GenAI catalog. Follow upstream chat ordering and keep declared image models discoverable without exposing internal helpers in the model menu.
Co-authored-by: Codex <noreply@openai.com>
Reuse HTTP and WebSocket decoding when middleware leaves the body and headers unchanged. Bound zstd compression concurrency and cancel queued work when the request is dropped.
Co-authored-by: Codex <noreply@openai.com>
Combine request settings, WebSocket pool settings, and the residency default into migration 0048. Preserve published migrations and refresh the checksum manifest.
Co-authored-by: Codex <noreply@openai.com>
Persist the always-on WebSocket pool settings in runtime snapshots.
Apply per-turn timeouts and opening limits without replacing the shared
pool, while existing connections retain their original lifetime settings.
Default residency to us and initialize unset values during migration while
preserving explicit clearing. Expand setting help and move input units to
suffixes throughout settings forms.
BREAKING CHANGE: Deployment openai.ws_pool configuration is removed.
Settings API and SDK updates must include the complete connection pool
object. Existing custom pool values must be saved in platform settings.
Co-authored-by: Codex <noreply@openai.com>
Prepend the configured prompt while retaining client rules, tool instructions, and system instruction metadata across generation and token counting.
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Persist request country, OAuth review model, residency, and account routing
as one runtime settings object. Migrate existing country and review values,
and apply routing headers from request snapshots and background policies.
Combine country and routing controls in the OpenAI platform settings page.
Remove residency and account routing from deployment configuration.
BREAKING CHANGE: Settings API and SDK callers must use openaiRequestSettings.
Existing residency and account routing values in YAML must be saved through
platform settings because deployment configuration no longer supplies them.
Co-authored-by: Codex <noreply@openai.com>
* fix(antigravity): show subscription tier labels
Co-authored-by: OpenAI <support@openai.com>
* fix(accounts): keep model IDs visible on one line
Co-authored-by: OpenAI <support@openai.com>
* fix(accounts): separate tunnel latency from the address
Co-authored-by: OpenAI <support@openai.com>
* fix(antigravity): display the subscription description from Google
Align account plan labels with Antigravity Desktop and preserve raw tier IDs for scheduling. Keep the existing model column and tunnel field layouts.
Co-authored-by: Codex <noreply@openai.com>
---------
Co-authored-by: OpenAI <support@openai.com>
Co-authored-by: Zyy <zyycn@users.noreply.github.com>
Co-authored-by: Codex <noreply@openai.com>
Keep HTTP-origin compaction on HTTP unless an explicit WebSocket preference or connection requirement applies. Cover transport selection, account policy, routing tokens, and ordinary requests, and document the behavior.
Co-authored-by: Codex <noreply@openai.com>
Expose authorized executable model metadata from Core and project Antigravity visibility, names, and ordering in the API layer. Cover menu pagination and mixed-provider protocol isolation.
Validation: 1,408 targeted tests and 18 architecture tests passed; workspace Rustfmt and strict Clippy passed.
Co-authored-by: Codex <noreply@openai.com>
Use the upstream agent menu for Antigravity and preserve the union of authorized models for generic clients. Select protocol-specific entries from eligible account catalogs before deduplicating model IDs.
Co-authored-by: Codex <noreply@openai.com>