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

8 hours ago

更新日志(中文)

[0.22.18] - 2026-05-04

新增

  • Codex 本地 API 服务现已支持官方生图 API 路径:本地网关会暴露 gpt-image-2,支持 /v1/images/generations/v1/images/edits,并将图片请求映射为 Codex Responses 的 image_generation 工具;普通 Responses/chat 会话也会注入生图工具,让 Codex 官方 imagegen skill 能通过同一个本地 API 服务使用。

变更

  • Codex API/账号切换现会自动修复会话可见性:在 OAuth 账号、API Key 账号与本地 API 服务之间切换时,会展示检测到的来源与目标凭据类型,并在弹框内自动执行可见性修复、展示修复结果,不再需要单独手动点击修复。
  • Codex 额度刷新错误现避免误导为账号异常:临时额度刷新失败时,会说明只是未能获取最新额度且账号状态不受影响。

修复

  • Codex 会话可见性修复与同步不再因无效 state 数据库失败:遇到无法读取、损坏或结构不完整的 state_5.sqlite 时会跳过并在修复摘要中说明,其他有效的 rollout 与 SQLite 记录仍会继续修复或同步。

Changelog (English)

[0.22.18] - 2026-05-04

Added

  • Codex Local API Service now supports the official image-generation API path: the local gateway exposes gpt-image-2, accepts /v1/images/generations and /v1/images/edits, maps image requests to Codex Responses image_generation, and injects the image-generation tool into regular Responses/chat sessions so Codex's official imagegen skill can use the same local API service.

Changed

  • Codex API/account switching now repairs session visibility automatically: switches between OAuth accounts, API Key accounts, and the local API Service show the detected source and target credential types, run visibility repair in the dialog automatically, and show the repair result without requiring a separate manual repair click.
  • Codex quota refresh errors now avoid implying account damage: transient quota refresh failures now say that the latest quota could not be fetched and the account status is unaffected.

Fixed

  • Codex session visibility repair and sync no longer fail on invalid state databases: unreadable, corrupted, or incomplete state_5.sqlite files are skipped with a clear repair summary, while valid rollout and SQLite records continue to be repaired or synchronized.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.