Skip to content

OmniProxy v1.2.9-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Aug 13:59

v1.2.9-beta.1 - Codex one-click authentication compatibility / Codex 一键配置认证兼容性

This beta fixes Codex CLI startup after one-click configuration when an imported ChatGPT account does not include the plan claim required by newer Codex releases.

本次 beta 修复部分导入的 ChatGPT 账号缺少新版 Codex 所需套餐声明时,一键配置后 Codex CLI 无法启动的问题。

Bug Fixes / 问题修复

  • Codex no longer fails during TUI bootstrap with a missing plan type: One-click configuration now verifies that the selected account's ID token contains chatgpt_plan_type before using ChatGPT login.
    • Codex 不再因缺少套餐类型而在 TUI 启动阶段失败:一键配置现在会先确认所选账号的 ID token 包含 chatgpt_plan_type,再使用 ChatGPT 登录。
  • Incomplete account metadata falls back safely: If the plan claim is absent, OmniProxy writes the local API login instead. Requests continue to use the OmniProxy auth pool and its existing scheduling behavior.
    • 账号元数据不完整时安全回退:缺少套餐声明时,OmniProxy 会改写为本地 API 登录;请求仍继续使用 OmniProxy auth 池及原有调度逻辑。
  • Signed tokens are left untouched: The fallback avoids inserting guessed subscription data into a signed JWT. Accounts with complete plan metadata continue to use ChatGPT login as before.
    • 不修改已签名令牌:回退方案不会向已签名 JWT 写入猜测的套餐信息;套餐元数据完整的账号仍按原方式使用 ChatGPT 登录。
  • Regression coverage: Backend tests cover plan extraction, ChatGPT login for complete accounts, and API fallback for accounts without the required claim.
    • 回归测试覆盖:后端测试覆盖套餐解析、完整账号的 ChatGPT 登录,以及缺少必要声明时的 API 回退。

Upgrade Guidance / 升级说明

  • After installing this beta, run Codex one-click configuration once more so the existing ~/.codex/auth.json and config.toml are rewritten with the compatible login mode.
    • 安装本 beta 后,请重新执行一次 Codex 一键配置,使现有 ~/.codex/auth.jsonconfig.toml 按兼容的登录模式重新写入。
  • No account-pool or local-data migration is required.
    • 无需迁移账号池或本地数据。

Breaking Changes / 不兼容更新

  • None / 无

Validation / 验证

  • cd OmniProxyBackend && go test ./...
  • cd OmniProxyBackend && go vet ./...
  • cd frontend && npm test (67 tests)
  • cd frontend && npm run build
  • node scripts/check-lines.mjs
  • cd OmniProxyBackend && wails build -clean -ldflags "-X main.appVersion=v1.2.9-beta.1"
  • git diff --check

Full Changelog / 完整更新日志: v1.2.8...v1.2.9-beta.1