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

7 hours ago

更新日志(中文)

[0.25.7] - 2026-06-15

新增

  • APIKEY.FUN 现在提供更完整的密钥工作区:保存的密钥会保留最近一次查询的余额,进入页面时会自动载入第一个已保存密钥,展示用量详情,读取当前密钥可用模型列表,并可预填到 Codex 供应商设置中,但不会直接替用户创建目标账号。
  • Codex 会话管理支持定向复制和恢复流程:可将选中会话复制到指定实例、移入废纸篓、后续恢复、跨项目全选会话,并可复制会话 ID;目标实例选择顺序也与实例列表保持一致。
  • Codex 账号导出支持先预览的流程:导出内容可先预览、复制和下载,并支持 sub2api、cpa 等多文档格式。
  • 远端平台可见性现在可以安全隐藏未完成入口:远端配置可从导航、总览、平台切换器和悬浮卡片中隐藏平台入口,同时保留本地账号、登录态和后端数据。

变更

  • Gemini 额度展示改用 quota summary 分桶:Gemini 额度刷新会读取 retrieveUserQuotaSummary,账号页、首页卡片、托盘和原生菜单可更稳定展示 Gemini 与第三方模型的 5 小时、周额度窗口。感谢 @xdd666t
  • Codex 会话可见性修复收敛为单一官方 state DB 路径:自动和手动修复都只校正官方侧边栏依赖的 state_5.sqlite 会话记录,不再扫描或改写 rollout、session_index.jsonl,也不触发官方 app-server 重建。
  • Codex fast service tier 更可靠地映射到 priority:快速档位请求在本地访问、实例启动、Responses payload 转换和 sidecar manifest 链路中会保留预期的 priority 行为。感谢 @lcpdeb
  • 模型供应商用量查询改为 Codex 与 APIKEY.FUN 共用能力:供应商余额和用量检测现在走统一服务路径,刷新时保留缓存用量,并一致识别不支持的 usage 接口。

修复

  • Windows Codex 切号现在会关闭真实运行中的应用:切换默认账号时,也能匹配通过 Store/默认入口启动、使用官方 app data 目录的 Codex 进程。
  • Windows Codex 启动参数处理更稳健:Codex 启动时会更防御性地处理空参数列表和 Windows 命令构造。感谢 @lcpdeb
  • Codex 会话复制和恢复对重复会话更安全:恢复或复制会话时,已存在的同 ID 会话会按幂等结果处理,不会覆盖不同会话,并会让 session index 元数据与恢复后的 rollout 保持一致。
  • Codex API 服务启动失败诊断更清晰:sidecar 会输出启动阶段,桌面端等待 ready 的时间也更合理,启动超时错误更容易定位。

Changelog (English)

[0.25.7] - 2026-06-15

Added

  • APIKEY.FUN now has a fuller key workspace: saved keys can retain the last queried balance, automatically reload the first saved key when the page opens, show usage details, read the current key's available model list, and prefill Codex provider setup without directly creating the target account.
  • Codex session management now supports targeted session copy and recovery workflows: selected sessions can be copied to a target instance, moved to the trash, restored later, selected across all projects, and inspected with copied session IDs while target instance choices follow the same order as the instance list.
  • Codex account export now supports preview-first workflows: exports can be previewed, copied, and downloaded, including multi-document formats such as sub2api and cpa.
  • Remote platform visibility can now hide unfinished entries safely: remote configuration can remove platform entries from navigation, dashboards, platform switchers, and floating cards while preserving local accounts, login state, and backend data.

Changed

  • Gemini quota display now uses quota-summary buckets: Gemini quota refresh reads retrieveUserQuotaSummary so account pages, dashboard cards, tray items, and native menus can show Gemini and third-party 5-hour and weekly quota windows more consistently. Thanks @xdd666t.
  • Codex session visibility repair now uses a single official state DB path: automatic and manual repair both update only the state_5.sqlite session records used by the official sidebar, without scanning or rewriting rollouts, session_index.jsonl, or triggering an official app-server rebuild.
  • Codex fast service tier now maps to priority more reliably: fast-tier requests preserve the intended priority behavior through local access, instance launch, Responses payload conversion, and sidecar manifests. Thanks @lcpdeb.
  • Model-provider usage querying is shared across Codex and APIKEY.FUN: provider balance and usage checks now use a common service path, keep cached usage visible while refreshing, and classify unsupported usage endpoints consistently.

Fixed

  • Windows Codex account switching now closes the real running app: switching the default account also matches Store/default-launched Codex processes that use the official app data directory instead of the managed directory.
  • Windows Codex launch argument handling is more robust: empty argument lists and Windows command construction are handled more defensively during Codex startup. Thanks @lcpdeb.
  • Codex session copy and restore are safer for duplicate sessions: restoring or copying a session now treats an existing identical session as idempotent, avoids overwriting different sessions, and keeps session index metadata aligned with the restored rollout.
  • Codex API Service startup failures now carry better diagnostics: the sidecar reports startup stages and the desktop app waits longer for the ready event, making startup timeout errors easier to diagnose.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.