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

4 hours ago

更新日志(中文)

[0.26.5] - 2026-06-20

新增

  • Codex 模型供应商支持一键批量测试:模型供应商页面可选择已保存供应商,通过本地网关发起真实对话测试,展示测试协议和模型,并可选择失败或无用供应商,连同关联的 Codex API Key 账号一起删除。
  • Codex 模型供应商支持自定义排序:供应商卡片现在可按账号总览同类交互手动调整展示顺序。

变更

  • Codex 模型供应商测试复用真实使用时的本地网关路径:Responses 原生供应商通过普通 API Key 账号池测试,Chat Completions 供应商通过 provider gateway 测试,并会把供应商、Key、模型和运行批次等诊断标识传给兼容的上游服务。
  • Codex 绑定与测试流程统一处理 image_generation 兼容:API Key、API 服务和模型供应商的 OAuth 绑定都可对文本对话禁用 image_generation 工具;API 服务测试和供应商测试也会临时应用同样的文本过滤,但不会删除生图模型。
  • Codex API 服务默认开启会话亲和:新的和迁移后的本地网关配置会优先让同一会话稳定路由到同一账号,减少会话内频繁换号带来的风控触发概率,用户后续仍可手动关闭。

修复

  • Codex sidecar 流式重试在可重试失败后不再过密:bootstrap retry 现在会按退避延迟节流,并更清晰地处理无可用认证状态,减少瞬时故障时的密集重试。感谢 @lcpdeb#1268 中的贡献。
  • 绑定 OAuth 的 Responses 原生 Codex API Key 账号在禁用 image_generation 时会使用 profile 本地网关:官方 Codex profile 的文本对话会先经过 localhost 完成过滤,Chat Completions 账号仍走实例 provider gateway 分支。
  • Codex 本地网关过滤现在会覆盖 payload override:文本对话禁用 image_generation 时,payload 规则不会再把 hosted image 工具重新加回上游请求。
  • Codex 实例绑定变更不再残留旧 profile sidecar:profile 从网关供应商切到普通账号、API 服务或另一个供应商时,会先停止旧 sidecar 再应用新绑定。
  • Codex API Key 卡片内仍保留供应商切换入口:底部重复操作继续移除,但卡片主体里的内联供应商切换入口已恢复,可继续切换已保存供应商。

Changelog (English)

[0.26.5] - 2026-06-20

Added

  • Codex model providers can now be tested in one batch: the model provider page can select saved providers, run real conversation tests through the local gateway, show the tested protocol and model, and select failed or unused providers for deletion together with their linked Codex API Key accounts.
  • Codex model providers now support custom ordering: provider cards can be arranged manually with the same style of ordering controls used by account overviews.

Changed

  • Codex model-provider tests now reuse the same local gateway paths as real use: Responses-native providers test through the regular API Key account pool, Chat Completions providers test through provider gateway, and test requests carry provider, key, model, and run diagnostics to upstream-compatible services.
  • Codex binding and test flows now handle image_generation compatibility consistently: API Key, API Service, and model-provider OAuth binding can disable the image_generation tool for text conversations, while API Service and provider tests temporarily apply the same text-only filter without removing image models.
  • Codex API Service now keeps session affinity enabled by default: new and migrated local gateway configurations prefer stable routing for the same conversation, reducing account-switch churn and the chance of triggering provider risk controls, while still allowing users to turn it off later.

Fixed

  • Codex sidecar streaming retries are less aggressive after retryable failures: bootstrap retries now use throttled backoff delays and clearer unavailable-auth status handling, reducing dense retry bursts during transient failures. Thanks @lcpdeb for the contribution in #1268.
  • Responses-native Codex API Key accounts bound to OAuth now use the profile local gateway when image_generation is disabled: official Codex profiles route text conversations through localhost for filtering, while Chat Completions accounts continue to use the instance provider gateway branch.
  • Codex local gateway filtering now wins after payload overrides: when text conversations disable image_generation, payload rules can no longer re-add the hosted image tool before the upstream request.
  • Codex instance binding changes no longer leave stale profile sidecars running: switching a profile from a gateway-backed provider to a regular account, API Service, or another provider stops the old sidecar before applying the new binding.
  • Codex API Key cards keep provider switching available in the card body: the duplicate bottom action remains removed, but the inline provider switch entry is available again for saved provider changes.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.