OmniProxy v1.2.5
v1.2.5 - Codex login and quota reset credits / Codex 登录与额度刷新卡
This stable release consolidates the v1.2.5 beta line. It improves Codex App account setup, adds browser-based Codex login, and brings quota reset-credit availability, history, expiry, and confirmed redemption into each account card.
本正式版整合 v1.2.5 beta 系列改动,完善 Codex App 账号接入,新增 Codex 浏览器登录,并在各账号卡片内提供额度刷新卡数量、记录、到期时间和确认使用入口。
Features / 新特性
- Codex browser login: Account Management can open the OpenAI authorization page, complete a PKCE flow through a loopback-only callback, and automatically add or update the matching OpenAI
auth.jsonaccount.- Codex 浏览器登录:账号管理页可打开 OpenAI 授权页,通过仅本机可访问的回调完成 PKCE 流程,并自动新增或更新对应 OpenAI
auth.json账号。
- Codex 浏览器登录:账号管理页可打开 OpenAI 授权页,通过仅本机可访问的回调完成 PKCE 流程,并自动新增或更新对应 OpenAI
- Codex App account setup: One-click setup prefers a usable ChatGPT account identity and automatically falls back to local API login when the auth pool has no suitable
auth.jsonaccount.- Codex App 账号接入:一键配置优先使用可用的 ChatGPT 账号身份;auth 池没有合适的
auth.json账号时,自动回退到本地 API 登录。
- Codex App 账号接入:一键配置优先使用可用的 ChatGPT 账号身份;auth 池没有合适的
- Backend account scheduling: The client login identity does not pin requests to one account. OmniProxy continues to select and inject the real backend credential for each request.
- 后端账号调度:客户端登录身份不会将请求固定到单个账号;每次请求仍由 OmniProxy 选择并注入真实后端凭据。
- Quota reset credits: Codex quota cards show available reset-credit count and nearest expiry, with account-local history for grant, expiry, redemption time, and current status.
- 额度刷新卡:Codex 额度卡片展示可用刷新卡数量和最近到期时间,并在所属账号内展示发放、到期、使用时间和当前状态记录。
- Confirmed redemption: Consuming a reset credit requires explicit confirmation, uses an idempotent redemption request ID, and refreshes the five-hour quota and credit details afterwards.
- 确认后使用:使用刷新卡前需要明确确认,请求采用幂等兑换 ID,成功后自动刷新 5 小时额度和刷新卡详情。
Bug Fixes / 问题修复
- Account-local reset-credit history: The View records action now expands and collapses history inside the corresponding Codex account card instead of rendering it below the entire quota page.
- 账号内展开刷新卡记录:「查看记录」现在会在对应 Codex 账号卡片内展开或收起记录,不再显示到整个额度页底部。
- Empty auth-pool setup: Codex one-click setup no longer stops with an error when no usable
auth.jsonaccount is available.- 空 auth 池配置:没有可用
auth.json账号时,Codex 一键配置不再报错中止。
- 空 auth 池配置:没有可用
- Windows CI cleanup stability: Proxy tests now flush delayed token persistence before temporary directories are removed, avoiding intermittent cleanup failures on Windows runners.
- Windows CI 清理稳定性:代理测试会在删除临时目录前刷新延迟 Token 持久化,避免 Windows Runner 偶发清理失败。
Breaking Changes / 不兼容更新
- None / 无
Refactor & Performance / 重构与优化
- Reset-credit detail caching: Detailed credit records are cached briefly and invalidated immediately after redemption, avoiding an extra upstream request on every quota refresh.
- 刷新卡详情缓存:详细记录会短时缓存,并在使用后立即失效,避免每次额度刷新都额外请求上游。
- Stable release cleanup: Publishing a stable version now removes GitHub Release entries and assets for its matching beta line while preserving beta Git tags and release notes under
docs/releases/.- 正式版发布清理:正式版发布后会清理同版本线的 Beta GitHub Release 及附件,同时保留 Beta Git 标签和
docs/releases/下的发布说明。
- 正式版发布清理:正式版发布后会清理同版本线的 Beta GitHub Release 及附件,同时保留 Beta Git 标签和
Validation / 验证
cd OmniProxyBackend && go test ./...cd frontend && npm testcd frontend && npm run buildnode scripts/check-lines.mjsgit diff --check
Full Changelog / 完整更新日志: v1.2.4...v1.2.5