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

5 hours ago

更新日志(中文)

[0.22.8] - 2026-04-22

新增

  • Codex 本地 API 服务现已新增“速度”选择(标准 / 快速)并支持持久化默认值:账号页 API 服务弹框可保存默认速度;网关转发 /v1/responses(含 chat/completions 转译链路)时在“快速”模式注入 service_tier: "fast",标准模式则不携带该字段。
  • Codex 切号与 API 服务激活后现可联动重启指定宿主应用:设置页与快捷设置新增“切换 Codex 时重启指定应用”开关及路径选择/输入,切号或激活 API 服务后会按配置路径执行重启。

变更

  • 本地 API 服务上游重试策略现已支持按重试提示执行并带总预算控制:对 429/5xx/timeout 等瞬时状态会优先读取 Retry-After(HTTP 头或上游提示)并结合抖动退避重试,不再仅依赖固定的单账号状态重试。

Changelog (English)

[0.22.8] - 2026-04-22

Added

  • Codex Local API Service now supports a Speed selector (Standard / Fast) with persisted defaults: the account-page API Service modal can save the default tier, and gateway request rewriting now injects service_tier: "fast" for /v1/responses (including chat-completions translated requests), while standard mode keeps the field unset.
  • Codex switching now supports restarting a user-specified host app after switch/activate: Settings and Quick Settings add the Restart specified app when switching Codex toggle plus path picker/input controls, and backend runtime restarts the configured app path after account switch or API Service activation.

Changed

  • Local API Service upstream retry now honors retry hints with bounded jitter backoff: transient 429/5xx/timeout statuses can retry using Retry-After (HTTP header or upstream hint parser) under a total retry budget, instead of fixed single-account status retries.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.