mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-11-13 08:06:41 +00:00
* feat(keys): add explicit budget windows with safe retries Add revision-checked daily and weekly windows across admission, settlement and queries. Reuse the existing budget ledger for atomic window updates, latest-operation replay and audit records. Expose typed SDK callbacks while keeping account associations and cycle decisions in plugins. Refs #658 Co-authored-by: Codex <noreply@openai.com> * fix(keys): preserve budget accounting across window changes Keep restored balances when historical charges are unavailable and reject window changes that would require those charges. Honor future start times after release and report actual spending windows to peers. Require an explicit null to release a window through the plugin SDK. Co-authored-by: Codex <noreply@openai.com> * fix(plugins): preserve budget window precision across SDK calls Co-authored-by: Codex <noreply@openai.com> --------- Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>