github jlcodes99/cockpit-tools v1.5.6
Cockpit Tools v1.5.6

one hour ago

更新日志(中文)

[1.5.6] - 2026-12-03

新增

  • Gemini 桌面版作为 macOS 专属账号平台,使用官方应用图标,支持独立账号库、Gemini OAuth 授权、基于 Gemini 原生 GetUsageInfo 的 5 小时/每周已用额度与剩余 AI 点数展示、macOS 多 userAlias 真实落盘切号与启动,并接入仪表盘、浮窗、托盘、macOS 原生菜单卡片、账号级代理、分组、自动刷新与回收站。
  • Gemini 桌面版账号备注与 Antigravity 共用编辑弹框,支持六个备注字段、动态验证码、邮件验证码查询,以及备注 JSON 导入和导出。
  • 账号代理在「代理管理 → 账号配置」中覆盖 16 个平台,macOS 还支持 Gemini 桌面版。ZCode 和 MiniMax Code 支持国际区账号。点击账号卡片上的代理入口会定位到对应账号,可在页面中更改出口绑定。
  • 平台代理支持为 Codex、Antigravity、Claude、Cursor、Devin、Kiro 和 Zed 单独配置地址或跟随默认代理。各平台设置和「代理管理」均可修改。
  • T3 Code 支持将关联的 Antigravity 供应商流量路由至所绑定 Antigravity 账号的 Cockpit 托管代理出口,且不影响其他供应商或非代理环境变量。 #3410
  • T3 Code Token 用量在 T3 Code 页面新增独立「Token 用量」页签,通过本地 RPC 只读拉取 T3 Code server.getUsageSummary 多平台统计并提供离线快照缓存,支持 24h / 7d / 30d / 90d、费用/Token、提供方与「仅 T3 目录」数据范围筛选,并在平台尚未授权时提示前往 T3 Code 开启。
  • CLI 自动化为 cockpit-cli 新增 codebuddy_cn_cli 账号目标(支持 account list、account quota、account switch),可查询 CodeBuddy CN 积分与已观察限流恢复信息,或按所选账号启动 CodeBuddy Code CLI。 #3403
  • 模型供应商为 Codex、Claude Code 和 Claude Desktop 添加 Morse 预设。 #3409

变更

  • Antigravity 额度刷新通过官方 agy CLI 查询,复用 Cockpit 已保存的账号登录态。CLI 缺失或版本过旧时提供官方安装指南,已有额度继续显示。
  • Codex 手动重置在确认框明确显示将使用的卡片。默认选最早到期的可用卡,也可手动换卡。所选卡失效后须重新选择并确认。
  • Codex 模型供应商允许多个供应商使用相同的 Base URL,各自保存 Key 和模型配置,账号按选中的供应商绑定。
  • 授权链接可在 Devin 授权和 Codex 设备授权弹框中复制。
  • 平台授权对齐 MiniMax Code 与 Cursor 的新版轮询。Claude Code 可打开官方登录并查询 CLI 状态。Kiro 的外部身份提供商可通过单独入口登录并导入。
  • 经典侧边栏最多显示六个已固定的平台入口。在「平台布局」的连续列表中拖动即可调整顺序和侧边栏显示。
  • 用量统计视觉翻新Codex 可从账号总览打开会话用量,Antigravity Token 用量与 Codex 会话用量统一采用浅/深双主题适配的极简编辑风统计组件体系(去嵌套框线与大留白排版、无基准线下冲的单调三次样条趋势曲线、按类型与模型展示的灰阶分段占比条,以及极细水平线明细表)。 #3418
  • 代理管理迁到侧栏,集中管理共用资源、Codex 与 Antigravity 账号绑定、平台规则和默认代理。默认代理使用紧凑表单,可限定到选定平台。
  • Antigravity 客户端启动时同时为界面和后台请求配置受管账号代理,与 Codex 一样使用 SOCKS5 和 HTTP CONNECT。
  • Antigravity 配额刷新按账号使用已保存的代理,刷新所需的 Token 续期也走同一出口。保存后下次刷新生效。
  • Antigravity 账号卡片和列表的代理入口移至备注旁边,与 Codex 一致。
  • 窄窗口布局保留主要账号操作、筛选状态和用量入口。次要操作收进菜单,用量摘要保留合计和详情入口。
  • 代理选择器简化 Codex 与 Antigravity 共用的账号代理选择器,默认直接展示「订阅分组 + 节点/成员」,并将其他中间策略折叠到支持键盘操作的「高级策略」展开区。 #3411
  • WorkBuddy 与 CodeBuddy CN 为账号单向同步操作新增应用内确认弹窗(标明「来源 → 目标」、默认聚焦「取消」并支持 Esc 关闭)。 #3402
  • Antigravity 配额展示将 CDP 观察到的当前桌面端配额变动回写同步到 Cockpit(不新增后台轮询),并在卡片、排序、托盘、macOS 菜单栏与自动切号中按重置时间本地恢复已过期的配额窗口,同时尊重未过期的周额度耗尽拦截、禁用/封禁与陈旧快照状态。 #3387 · #3388
  • Antigravity Token 费用估算更新 Claude 5.5、Gemini 4(Argon、Carbon、Neon、Hydrogen、Orchestrator)、Gemini 3.8 Flash 与 GPT-OSS 120B 的参考 API 单价,并区分 Gemini 4 Neon 与 Hydrogen 标准单价。 #3407 · #3384 · #3408
  • Trae 账号总览在卡片和表格中直接显示积分制账号的剩余积分。 #3389
  • Antigravity 常用设置在账号工具栏下方使用紧凑的灰底控件。

修复

  • Codex API 服务在 WebSocket 长会话生成前遇到额度耗尽时,可用已验证的完整历史换到合格备号继续。增量续聊会保留与子任务消息和其他工具结果交错的迟到 exec 完成通知。没有可用备号时,本轮结束并提示已知的额度恢复时间。 #3430 · #3381
  • Antigravity 批量操作只处理当前筛选下的已选账号,同一筛选内仍可跨页勾选。 #3429
  • Antigravity 账号代理在代理目录加载缓慢或失败时,仍可切回「跟随平台代理」。 #3432
  • Windows Codex 取消默认或多开实例的桌面启动时,撤销本次写入的受管代理,保留用户在 .env 中的其他设置。 #3435
  • WorkBuddy 积分查询失败时保留上次查到的余额。确认账号凭据已失效后会提示重新授权,后台停止重试该凭据。
  • 网络设置正确显示 WebSocket 默认端口,去掉了多余的花括号。
  • Antigravity 会话用量在默认汇总中保留 CLI 的实际用量与逐轮明细,单目录视图排除只属于另一客户端的会话摘要。 #3419
  • Windows Codex 代理取消独立代理后立即更新对应实例的 .env,用户直接重开客户端即可生效。 #3420
  • Codex 手动重置优先使用最早到期的可用重置卡,同一次兑换重试沿用已选的卡。 #3425 · #3426
  • Codex API 服务收到只含设置和零用量的空输出握手后,遇到上游满载仍可尝试其他可用账号。 #3415
  • Windows 启动最小化在托盘图标可用时隐藏主窗口,用户可从托盘恢复。 #3422
  • Windows Codex 桌面端在 .env 变化后会重新应用所选代理,保留其他设置(包括 Windows 路径),并支持同一个实例使用超过 128 个账号。出口国家检查仅跟踪当前账号及出口,配置无法读取时可在代理管理备份并重设。
  • 账号页工具栏按剩余宽度逐项收起次要操作,保留可直接使用的筛选和排序。各平台工具栏的次要按钮统一为灰底样式,T3 Code 的常用设置移入工具栏。
  • 额度趋势和用量筛选统一使用紧凑的灰底下拉,筛选项随空间换行。Antigravity 和 Cursor 的额度趋势并排显示账号、周期和指标,账号选择器同时显示套餐。多开实例、模型供应商和日志工具栏也会利用可用空间。
  • Devin 登录改用官网显示的授权码。完成浏览器授权后,将授权码粘贴回 Cockpit 即可添加账号。
  • Antigravity 账号卡片在时间下方右对齐显示查看详情、编辑标签、导出和移入回收站等操作,可直接点击。
  • Codex 账号卡片的切换时间与速度选项在底部同行显示。Antigravity 和 Codex 唤醒任务失败时弹框展示任务与错误详情。
  • Codex API 服务在上游模型满载且请求可安全重发时,会依次尝试支持该模型的可用账号,直到成功或候选用尽。此类换号不受「重试账号数」限制。
  • Codex API 服务自动冷却并跳过已确认额度耗尽的生图账号。生图开始前遇到模型满载或短期限流,可依次尝试所有可用备号。已开始生图的请求不会重发。
  • Codex API 服务接管默认 Codex 配置时,保存速度档位会同步写入 ~/.codex/config.toml。 #3394
  • Codex 桌面端切号并启动时,若官方客户端确认本地 Guardian 弹性预算总额无效,会将出错的预算组恢复为固定预算,复验通过后继续打开原对话,并保留审核设置。
  • Codex 启动时停止扫描旧 .jsonl 会话日志,减少大量历史记录带来的内存和磁盘开销。SQLite 历史兼容迁移继续按原有进度执行。 #3395
  • 代理订阅导入修复 ImportPreview 字段序列化为 camelCase,确保导入预览正常展示解析节点且导入按钮可点击。 #3396 · #3397
  • Antigravity 自动切号、账号保存与用量统计消除阈值边界反复切号、避免整份回退的陈旧额度快照驱动自动切号或本地恢复、加锁合并异步账号写回以防覆盖并发更新、修复非 ASCII 工作区路径扫描 panic,并在筛选用量时保留会话级步骤数语义。 #3408
  • Antigravity 独立唤醒会话在独立官方 Language Server 进程中除 --gemini_dir 外同步隔离 GEMINI_HOME,并清除继承的 GCP 项目环境变量(GOOGLE_CLOUD_PROJECT、GOOGLE_CLOUD_QUOTA_PROJECT、AGY_ACP_CCPA_PROJECT)。 #3351
  • WorkBuddy 切号与多开进程管理将本地会话与空间迁移限定为仅搬移来源账号、清理 WorkBuddy 5.12+ 孤儿 space_id 引用避免「空间可见但对话丢失」,并在启动、检测与关闭链路按显式 --user-data-dir 隔离多开实例(兼容单实例手工启动关闭)。 #3386
  • T3 Code 修复内置 Codex 供应商继承默认 ~/.codex 目录时额度胶囊未采集网关额度的问题,支持解析 Antigravity Orchestrator(Neon/Carbon/Argon 及规划器标签)对应配额池,并在短回复与快速流式输出时正常展示首字延迟与 Token 速度。 #3391 · #3406
  • CodeBuddy 5.0 开启切号共享本地会话后,切换后会话列表与已共享的正文保持一致。 #3412
  • 账号列表可在 SQLite 索引版本号缺失时恢复读取,保留已保存的账号和迁移进度。

Changelog (English)

[1.5.6] - 2026-12-03

Added

  • Gemini desktop is a macOS-only account platform using the official app icon, with its own account store, Gemini OAuth sign-in, native Gemini GetUsageInfo 5-hour/weekly usage limits and remaining AI credits, real macOS multi-userAlias account switching and launch, plus dashboard, floating card, tray, macOS native menu cards, account proxy, groups, auto-refresh, and recycle bin integration.
  • Gemini desktop account notes use the Antigravity editor with six fields, one-time codes, mail code lookup, and notes-only JSON import and export.
  • Account proxy settings cover 16 platforms in Proxy Management, plus Gemini desktop on macOS. ZCode and MiniMax Code support international accounts. Account card shortcuts select the corresponding account in Proxy Management, where you can edit its binding.
  • Platform proxy settings let Codex, Antigravity, Claude, Cursor, Devin, Kiro, and Zed each use their own proxy or inherit the default. The same settings are available in platform settings and Proxy Management.
  • T3 Code routes linked Antigravity providers through the bound Antigravity account's Cockpit-managed egress proxy without affecting unrelated providers or non-proxy environment entries. #3410
  • T3 Code Token Usage adds an independent Token Usage tab on the T3 Code page that reads live multi-provider usage summaries via T3 Code's local server.getUsageSummary RPC with offline snapshot caching, range (24h / 7d / 30d / 90d), Cost/Tokens, provider, and T3 Dir Only source-scope filters, plus guidance when providers still need permission inside T3 Code.
  • CLI automation adds the codebuddy_cn_cli target to cockpit-cli (account list, account quota, and account switch) to query CodeBuddy CN credits and observed rate-limit resets or launch CodeBuddy Code CLI with the chosen account. #3403
  • Model providers add Morse presets for Codex, Claude Code, and Claude Desktop. #3409

Changed

  • Antigravity quota refresh queries the official agy CLI using the account credentials already saved in Cockpit. Previous quota stays visible when the CLI is missing or outdated, with a link to the official installation guide.

  • Codex manual resets show exactly which card will be used. The earliest-expiring available card is preselected, and a different card can be chosen before confirming. If the selected card becomes unavailable, choose a card and confirm again.

  • Codex model providers can share a Base URL. Each provider keeps its own Key and model settings, and account bindings follow the selected provider.

  • Sign-in links can be copied from the Devin authorization and Codex device authorization dialogs.

  • Platform sign-in uses the current MiniMax and Cursor polling protocols. Claude Code opens its official sign-in and reports the CLI status. Kiro offers a separate browser sign-in and import entry for external identity providers.

  • Classic sidebar shows up to six pinned platform entries. Drag entries in the continuous Platform Layout list to change their order and sidebar visibility.

  • Token Usage visual refresh updates Antigravity Token Usage and Codex Session Usage with a shared frameless monochrome-editorial visual system across light and dark themes (single-canvas whitespace hierarchy, monotone cubic spline curves without baseline overshoot, grayscale segmented share bars for token types and models, and hairline breakdown tables). Codex session usage is also reachable from the account overview. #3418

  • Proxy Management is a shared sidebar page for proxy resources, Codex and Antigravity account bindings, platform rules, and the default proxy. The default proxy has a compact form and can be limited to selected platforms.

  • Antigravity desktop launches with managed account proxies configured for both the Electron interface and background requests, using the same SOCKS5 and HTTP CONNECT setup as Codex.

  • Antigravity quota refresh uses the proxy saved for each account, including for token renewal during refresh. A saved change takes effect on the next refresh.

  • Antigravity places the account proxy control next to Notes in both card and list views, matching Codex.

  • Narrow windows keep key account actions, filters, and usage controls visible. Secondary actions move into menus and usage summaries retain the total and a direct path to details.

  • Proxy picker simplifies the shared Codex and Antigravity account proxy selector to Group + Node/member by default while keeping secondary selectors accessible under a keyboard-operable Advanced policies disclosure. #3411

  • WorkBuddy and CodeBuddy CN add an in-app confirmation dialog before one-way account sync (showing source → target, defaulting focus to Cancel, and supporting Escape). #3402

  • Antigravity quota views sync observed CDP quota updates back to Cockpit without extra background polling and locally restore expired reset windows across cards, sorting, tray, macOS menu bar, and auto-switch checks while respecting active exhausted weekly caps, disabled/forbidden accounts, and stale snapshots. #3387 · #3388

  • Antigravity token cost estimates update reference API rates for Claude 5.5, Gemini 4 (Argon, Carbon, Neon, Hydrogen, Orchestrator), Gemini 3.8 Flash, and GPT-OSS 120B, separating Gemini 4 Neon and Hydrogen standard rates. #3407 · #3384 · #3408

  • Trae accounts show remaining credits directly in account cards and tables for credit-based plans. #3389

  • Antigravity Common Settings uses compact gray controls below the account toolbar.

Fixed

  • Codex API Service continues long WebSocket conversations on an eligible backup account when the current account runs out of quota before generation and the full history can be safely rebuilt. Incremental continuations preserve late exec completion notices interleaved with subtask messages and other tool results. If no eligible account remains, Codex ends the turn and shows the known reset time. #3430 · #3381

  • Antigravity bulk actions apply only to selected accounts that match the current filters and still support selection across pages. #3429

  • Antigravity account proxies can return to the platform proxy while the proxy catalog is loading or unavailable. #3432

  • Codex on Windows removes the managed proxy from cancelled desktop launches for default and additional instances, preserving other .env settings. #3435

  • WorkBuddy reports credit refresh failures and keeps the last successful balance visible. When WorkBuddy confirms that an account's credentials are no longer usable, the account offers reauthorization and stops retrying those credentials in the background.

  • Network settings shows the default WebSocket port without extra braces.

  • Antigravity session usage keeps actual CLI usage and turn details in combined reports and excludes summaries that belong only to the other client from single-directory reports. #3419

  • Windows Codex proxy settings update the affected profiles’ .env when an independent proxy is removed. The change takes effect the next time the user opens Codex. #3420

  • Codex manual resets use the earliest-expiring available credit first and keep the same credit when retrying a redemption. #3425 · #3426

  • Codex API Service can try another eligible account after an overload follows an empty handshake containing only settings and zero usage. #3415

  • Windows startup minimization hides the main window when it can be restored from the tray. #3422

  • Windows Codex Desktop reapplies the selected proxy after .env changes, preserves unrelated entries (including Windows paths), and supports more than 128 accounts per profile. Exit country checks track the selected account and route, and unreadable settings can be backed up and reset from Proxy Management.

  • Account toolbars move secondary actions into More as space runs out, keep filters and sorting visible, and use consistent gray secondary controls across platforms. T3 Code’s Common Settings sits in the toolbar.

  • Quota and usage controls use compact gray selectors, keep filters visible as they wrap, and group quota-history dates and controls. Account selectors in Antigravity and Cursor quota history show each account’s plan. Instance, provider, and log tools use the available space more effectively.

  • Devin sign-in uses the authorization code shown on the official sign-in page to add an account.

  • Antigravity account cards show details, tags, export, and recycle bin actions directly in a right-aligned row beneath the switch time.

  • Codex account cards keep the switch time and speed selector on the same row. Failed Antigravity and Codex wakeup tasks open an alert with the task and error details.

  • Codex API Service tries all eligible accounts for the requested model when upstream reports model capacity and the request can be safely replayed. The retry account limit does not cap this failover.

  • Codex API Service cools down accounts whose image quota is confirmed exhausted and skips them. Image requests rejected before generation by model capacity or short-term rate limits can try all eligible backup accounts. Once generation starts, the request is never replayed.

  • Codex API Service syncs the saved speed tier to ~/.codex/config.toml when the service manages the default Codex configuration. #3394

  • Codex Desktop uses fixed review budgets for any locally configured Guardian budget group that fails validation when switching accounts and starting the client. It checks the repaired configuration before reopening the conversation and keeps Guardian review enabled as configured.

  • Codex startup no longer scans old .jsonl session logs, reducing memory and disk usage for large histories. SQLite history compatibility migration continues from its saved progress. #3395

  • Proxy subscription import serializes ImportPreview fields in camelCase so imported nodes display properly and the Import button becomes enabled. #3396 · #3397

  • Antigravity auto-switch, account storage, and token usage eliminates threshold-boundary ping-pong switching, prevents stale fallback quota snapshots from driving auto-switch or local reset restoration, merges async account write-backs under lock so concurrent updates are not overwritten, fixes a UTF-8 slicing panic on non-ASCII workspace paths, and preserves session-level step counts when filtering usage. #3408

  • Antigravity standalone wakeup sessions isolate GEMINI_HOME alongside --gemini_dir and clear inherited GCP project environment variables (GOOGLE_CLOUD_PROJECT, GOOGLE_CLOUD_QUOTA_PROJECT, AGY_ACP_CCPA_PROJECT) for each standalone Language Server session. #3351

  • WorkBuddy switching and multi-instance management scopes session and workspace remapping to the source account, clears orphan space_id references so moved conversations stay visible in WorkBuddy 5.12+, and isolates explicit --user-data-dir processes during launch, detection, and closing without affecting unrelated multi-instance windows or single-instance manual launches. #3386

  • T3 Code collects Codex API Service gateway quota when the built-in Codex provider inherits the default ~/.codex home, resolves Antigravity Orchestrator models (Neon, Carbon, Argon, and planner labels) to their quota pools, and reports Antigravity first-response timing and token speeds on short replies and fast streams. #3391 · #3406

  • CodeBuddy 5.0 keeps the conversation list in sync with the local history shared during an account switch. #3412

  • Account lists can reopen an existing SQLite index when its schema version is missing, preserving saved accounts and migration progress.

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.