github jlcodes99/cockpit-tools v0.22.19
Cockpit Tools v0.22.19

4 hours ago

更新日志(中文)

[0.22.19] - 2026-05-05

新增

  • Codex 外部账号导入链接现支持远端导入包import_url 深链参数可拉取 HTTP/HTTPS JSON 导入包、逐个导入账号,并在专用进度弹框展示总数、成功/失败统计与可复制失败项。

变更

  • Codex 账号导入后端现统一刷新 OAuth 额度信息:从本地、JSON 或文件导入后会跳过 API Key 账号并刷新 OAuth 账号配额,再用刷新后的记录更新账号列表与托盘状态。
  • Codex 便携导出格式现归一 Cockpit Tools JSON:Cockpit Tools 导出会输出可移植的 Token/API Key JSON,CPA 文档会保留 Token 刷新时间与过期时间元数据。
  • Codex PRO 档位识别现与 CPA 20x 语义对齐:未显式标记 prolitepro 账号默认展示为 PRO Max/20x,并在本地 API 服务路由排序中按 20x 档位处理。
  • Codex 会话可见性修复备份现按实例保留最近一次:执行新一轮修复前会清理旧的会话可见性修复备份目录,避免备份长期堆积。

修复

  • Codex OAuth 导入不再因 email 只存在于 OpenAI profile claim 中失败:解析 id_token 时会在缺少顶层 email claim 时读取 https://api.openai.com/profile.email
  • 外部导入链接现会执行自动 token 导入请求:带 auto_import=true 的 token/payload 链接会自动提交导入,短时间重复投递的同一导入请求会被忽略。

Changelog (English)

[0.22.19] - 2026-05-05

Added

  • Codex external account-import links now support remote import bundles: the import_url deep-link parameter can fetch an HTTP/HTTPS JSON import bundle, import accounts one by one, and show a dedicated progress dialog with totals, success/failure counts, and copyable failed items.

Changed

  • Codex account imports now refresh OAuth quota data in the backend: local, JSON, and file imports refresh imported OAuth accounts after saving, skip API Key accounts, then update account and tray state from the refreshed records.
  • Codex portable export output now normalizes Cockpit Tools JSON: Cockpit Tools exports produce portable token/API-key JSON, while CPA documents preserve token refresh and expiry metadata.
  • Codex PRO plan handling now aligns bare pro accounts with CPA 20x semantics: accounts without an explicit prolite marker are shown as PRO Max/20x and ranked as the 20x tier by Local API Service routing.
  • Codex session-visibility repair now keeps only the latest repair backup per instance: old session-visibility repair backup directories are pruned before running a new repair to avoid long-term backup buildup.

Fixed

  • Codex OAuth imports no longer fail when email only exists in the OpenAI profile claim: id_token parsing now reads https://api.openai.com/profile.email when the top-level email claim is absent.
  • External import links now honor automatic token import requests: token/payload links with auto_import=true submit automatically, and repeated delivery of the same import request within a short window is ignored.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.