更新日志(中文)
[0.23.9] - 2026-05-17
新增
- Codex Token 导入现支持仅 accessToken 与 Sub2API 导出格式:Codex 导入可读取原始 JWT access token、
accessToken/access_token字段、camelCase token JSON、逐行 Token 输入,以及 Sub2API 导出 JSON 中的 OpenAI OAuth 账号。 - macOS 菜单栏图标样式现可配置:设置页可在系统单色状态图标和原彩色 App 图标之间切换;保存设置或导入用户配置变化后,会即时应用所选样式。
变更
- Codex API Key 切号现写入官方运行时 provider 状态:API Key 账号会将所选供应商写入受管
codex_local_accessprovider,并把 bearer token 写入config.toml,同时保留供应商身份配置并避免残留openai_base_url状态。 - Codex OAuth 导入现从 access token 保留更多身份元数据:仅 accessToken 导入会在 claim 可用时提取邮箱、用户 ID、套餐、账号 ID、组织 ID 与订阅到期时间。
修复
- macOS 打包版本现可正常显示单色菜单栏图标:使用前会将 template 托盘图标规范化到菜单栏尺寸,并在托盘创建后再次应用 template 标记。
- Codex 切回内置 OpenAI 时现会清理受管 API Key 运行时 provider 状态:切回内置路径会移除 Cockpit 管理的 provider/token 条目,同时保留无关的手动 provider。
- Cursor 额度徽标在 70%+ 用量时现使用预期的中档样式:额度指示不再在达到临界范围前提前使用警告样式。
Changelog (English)
[0.23.9] - 2026-05-17
Added
- Codex token import now accepts accessToken-only and Sub2API export formats: Codex imports can read raw JWT access tokens,
accessToken/access_tokenfields, camelCase token JSON, line-delimited token input, and OpenAI OAuth accounts from Sub2API export JSON. - macOS menu bar icon style is now configurable: Settings can switch between the system template status icon and the original color app icon, and the selected style is applied immediately when settings or imported user config change.
Changed
- Codex API Key account switching now writes the official runtime provider state: API Key accounts write the selected provider as a managed
codex_local_accessprovider with the bearer token inconfig.toml, preserving the configured provider identity while avoiding staleopenai_base_urlstate. - Codex OAuth imports now preserve more identity metadata from access tokens: accessToken-only imports derive email, user ID, plan, account ID, organization ID, and subscription expiry when those claims are available.
Fixed
- macOS packaged builds now keep the template menu bar icon visible: the template tray asset is normalized to menu-bar size before use and the template flag is applied again after tray creation.
- Codex built-in OpenAI switching now clears managed API Key runtime provider state: switching back to the built-in path removes Cockpit-managed provider/token entries while preserving unrelated manual providers.
- Cursor quota badges now use the intended mid-level style for 70%+ usage: quota indicators no longer use the warning style before reaching the critical range.