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

5 hours ago

更新日志(中文)

[0.15.1] - 2026-03-16

变更

  • Codex 自动切号与配额预警现已全链路支持 primary_window/secondary_window 双阈值:后端配置归一、候选账号筛选、冷却键计算与刷新后检查现统一按双阈值判断;当存在更优账号时会优先自动切号再决定是否预警。
  • Codex 快捷设置新增双窗口阈值控制项:自动切号与配额预警均可分别设置 primary_windowsecondary_window 百分比阈值,并在界面中展示 OR 触发条件与弹窗阈值文本。
  • Codex 刷新调度在启用自动切号或预警时新增 60 秒当前账号刷新:在不改变原有全量刷新周期的前提下,提高触发判断的及时性。
  • 切号触发的默认实例启动现会透传 Antigravity 与 Codex 已保存的启动参数:切号链路与 Codex 默认实例启动路径都会复用配置中的 extra_args,不再静默丢失。
  • Codex 刷新后状态同步补齐当前账号:手动刷新与批量刷新后都会同步更新账号列表与当前账号,保证界面状态一致。
  • Windows 主窗口默认宽度调整为 1250:为账号页与快捷设置内容提供更充足横向空间。

Changelog (English)

[0.15.1] - 2026-03-16

Changed

  • Codex auto-switch and quota alerts now support independent primary_window/secondary_window thresholds end-to-end: backend config normalization, candidate selection, cooldown keys, and post-refresh checks now evaluate dual thresholds and can switch accounts before alerting when a better candidate exists.
  • Codex Quick Settings now expose dual-window controls for auto-switch and quota alerts: added dedicated percentage inputs for primary_window and secondary_window, plus combined OR-condition hints and modal threshold display.
  • Codex quota refresh scheduling now includes a 60-second current-account refresh when auto-switch or quota alerts are enabled: improves trigger timeliness without changing existing full-refresh interval behavior.
  • Default-instance launches triggered by switching now pass saved extra args for Antigravity and Codex: switch flows and the default Codex instance start path now reuse configured extra_args instead of dropping them.
  • Codex refresh flows now always update current-account state after refresh: manual and batch refresh paths now hydrate both account list and current account for consistent UI state.
  • Windows main window default width increased to 1250: provides more horizontal space for account and quick-settings content.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.