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

latest release: v0.12.1
8 hours ago

更新日志(中文)

[0.12.0] - 2026-03-10

新增

  • CodeBuddy 平台前后端全链路接入:新增 CodeBuddy 模型、命令、模块、OAuth 流程,以及前端账号页、服务、store、图标、导航、仪表盘接入和共享平台元信息。
  • CodeBuddy 账号生命周期能力:新增基于浏览器的 OAuth 登录、Token/JSON 导入、配额查询与绑定、周期/资源包/加量包展示、标签编辑、批量操作、账号导出与本地凭证注入切号。
  • CodeBuddy 多开实例管理能力:新增 CodeBuddy 实例 store 与命令,支持独立用户目录、账号绑定、实例创建/编辑/删除、启动/停止、打开窗口与全部关闭。
  • CodeBuddy 配额绑定支持完整 cURL 重放:新增 get-user-resourceCopy as cURL (bash) 流程,按原始请求(方法/请求头/请求体)重放查询,提升绑定准确性并持久化归一后的配额绑定参数。

变更

  • CodeBuddy 已接入共享运行时配置面:新增 CodeBuddy 启动路径探测、自动刷新间隔、配额预警设置、快捷设置、托盘摘要与全局刷新调度接入。
  • Cursor 切号后会尝试自动拉起默认实例:切换 Cursor 账号时会同步更新默认实例绑定账号,并立即尝试启动 Cursor;若缺少启动路径,仍沿用统一的缺路径引导流程。
  • Codex 配额展示改为单列聚合布局:账号页表格会在同一列中展示全部配额窗口,并支持通过偏好设置控制是否显示 Code Review 配额。

修复

  • Codex 切号已支持 CODEX_HOME 环境变量:Codex 登录文件读写现在会遵循自定义 CODEX_HOME(含带引号的环境变量值),并在写入失败时输出包含目标路径的错误信息,便于定位问题。
  • 非主窗口不再继承主窗口的关闭拦截逻辑:非主窗口现在会直接关闭,不再被错误套用托盘最小化/关闭确认流程。
  • Windsurf Safe Storage 密钥查找改为平台专用:macOS 与 Linux 下的凭证处理不再回退到通用 VS Code Safe Storage 条目,减少注入时读取错误密钥的概率。

Changelog (English)

[0.12.0] - 2026-03-10

Added

  • CodeBuddy platform full integration across backend and frontend: Added CodeBuddy models, commands, modules, OAuth flow, account pages, services, stores, icons, navigation, dashboard wiring, and shared platform metadata.
  • CodeBuddy account lifecycle support: Added browser-based OAuth login, Token/JSON import, quota query and binding, cycle/resource/extra-credit presentation, tag editing, bulk actions, account export, and local credential injection for account switching.
  • CodeBuddy multi-instance management: Added CodeBuddy instance store and commands with isolated user-data directories, account binding, instance create/update/delete, start/stop, open-window, and close-all controls.
  • CodeBuddy quota binding supports full cURL replay: Added a full Copy as cURL (bash) workflow for get-user-resource, replaying the original request (method/headers/body) to improve binding accuracy and persist normalized quota binding parameters.

Changed

  • CodeBuddy is now integrated into shared runtime surfaces: Added CodeBuddy app-path detection, auto-refresh interval, quota-alert settings, Quick Settings, tray summaries, and global refresh scheduling.
  • Cursor switch now attempts to launch the default instance after injection: switching a Cursor account now updates the default-instance binding and tries to start Cursor immediately, while still emitting unified path-missing guidance when the app path is unavailable.
  • Codex quota presentation is now consolidated into one flexible column: the Accounts table now renders all quota windows in a single area, and Code Review quota visibility can be toggled from preferences.

Fixed

  • Codex account switching now respects CODEX_HOME: Codex auth file read/write now honors custom CODEX_HOME (including quoted env values), and auth write errors now include explicit target paths for troubleshooting.
  • Secondary windows no longer inherit main-window close interception: non-main windows now close directly instead of being incorrectly blocked by the tray/minimize confirmation flow.
  • Windsurf safe-storage key lookup is now provider-specific: macOS and Linux credential handling no longer falls back to generic VS Code safe-storage entries, reducing wrong-key reads during injection.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.