mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-06 08:06:19 +00:00
Export authoritative budget access flags and keep monetary fields display-only for peer consumers. Use the official usage_limit_reached error type for budget exhaustion while preserving ordinary rate-limit cooldowns. Apply fresh quota facts atomically with peer snapshots through the shared quota writer, retaining connection, claim, and observation-time guards. Reuse the existing sync worker and document the recovery contract. Validated with 234 selected tests, strict workspace Clippy, and Rustfmt. Co-authored-by: Codex <noreply@openai.com>