更新日志(中文)
[1.3.36] - 2026-09-02
新增
- 启动时自动恢复 Codex 代理接管:启用后,Cockpit Tools 启动时会恢复上次生效的 Codex 代理接管和可见模型配置,并可在设置中单独控制该行为。
修复
- 修复保存 Codex 可见模型、模型路由或复制实例时删除已有上下文配置的问题:仅修改模型目录或路由时会保留
config.toml中已有的model_context_window与model_auto_compact_token_limit;原本未配置的用户仍保持默认状态,失败回滚也会恢复原值。 - 修复 Provider Gateway 清理误伤其他模型目录和默认模型的问题:只有存在 Provider 所有权记录或明确的旧 Provider 目录时才执行清理;路由关闭、正常退出、启动失败回滚或 watchdog 回退后会重新应用已启用的实验模型目录。启用实验模型时也会先记录原
model状态,关闭后精确恢复原值或“未配置”状态。
升级说明
- 如果受影响版本已经删除了上述两个字段,Cockpit Tools 无法判断删除前使用的是
1M/900K、516K/460K还是自定义值,因此不会自动猜测恢复。请按原设置手动恢复config.toml,或者前往「Codex 设置 → 可见模型 → 管理」,为需要的模型重新选择上下文与压缩预设或自定义值,然后重启 Codex 并新建任务验证。
Changelog (English)
[1.3.36] - 2026-09-02
Added
- Automatic Codex takeover restoration on startup: when enabled, Cockpit Tools restores the last active Codex proxy takeover and visible-model configuration during launch, with a Settings switch to control the behavior.
Fixed
- Fixed existing Codex context settings being removed when saving visible models, model routing, or a copied instance: catalog-only and routing saves now preserve existing
model_context_windowandmodel_auto_compact_token_limitvalues inconfig.toml; profiles that did not configure them remain on the default behavior, and failed transactions restore the previous values. - Fixed Provider Gateway cleanup affecting model catalogs and default models it did not own: cleanup now runs only when Provider ownership state or an explicit legacy Provider catalog is present; enabled experimental catalogs are reapplied after routing is disabled, normal exit cleanup, startup rollback, or watchdog fallback. Enabling an experimental default also records the original
modelstate first so disabling restores the prior value or the original unset state.
Upgrade Notes
- If an affected version already removed these fields, Cockpit Tools cannot determine whether the previous values were
1M/900K,516K/460K, or custom values and will not guess. Restore the original values inconfig.toml, or open Codex Settings → Visible Models → Manage and reselect the context and compaction preset or custom values for the affected models, then restart Codex and verify with a new task.