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

33 minutes ago

更新日志(中文)

[1.4.0] - 2026-11-15

修复

  • Codex API 服务:WebSocket 长会话续接时用更小的分段预载历史,并减少重复上传。遇到额度拦截且有兼容账号可用时可恢复,预载结果未知时不会自动重放。
  • 深色模式可读性:提高账号分组、搜索提示、标题、订阅和配额标签、Codex 导入错误及 API 统计和计价状态、多开和唤醒状态、中转站密钥输入提示的对比度。
  • 弹框与页面交互:将中转站密钥删除和 MFA 导入错误提示从浏览器原生弹窗替换为应用内确认弹框与内联错误提示,密钥删除失败时保留弹框并在框内提示;修复部分遮罩误关闭问题与加载图标边框伪影;移除账号子弹框重复的返回关闭按钮;修复 Codex 本地访问成员行和普通平台应用多开列表的横向溢出问题。
  • Codex 会话备份:会话修复和历史清理会保留历次备份。
  • 对齐账号配额空态及授权提示中的图标和文字。
  • Codex 会话修复:启动前会话维护和手动历史索引修复取消固定时长、记录数和文件大小上限。写入失败时仍会回滚。
  • Codex 本地项目:本地项目修复取消记录数、文件大小和处理时长限制,实例启动时也会完成本地项目修复。
  • Codex API 服务:「添加至 API 服务」弹框在较矮的窗口中也能滚动查看全部账号和分页,取消与保存按钮始终可见。
  • Windows 上的 Codex API 服务:原生网关停止后,子进程不会继续占用服务端口。 #2850
  • Codex API 服务:选中的用量时间范围页签随当前主题配色。 #2115
  • Antigravity 账号授权:添加或授权同一账号时可重建缺失的账号文件,并保留原账号 ID。 #2854
  • Codex API 服务:按套餐排序调度时,将已过期的 OAuth 订阅按免费套餐处理。 #2174
  • Codex API Key:保存密钥时保留供应商协议和 WebSocket 支持设置。 #1980
  • 经典侧栏:收起时导航图标保持居中,展开时长标签不会挤压图标。 #2384
  • Codex API 服务:OpenCode 请求携带会话标识且未明确指定身份或续聊时,原生 HTTP 网关可保持同一会话。 #3046
  • Codex API 服务:检测无响应的网络连接并重新连接,让后续请求可以继续。 #3106
  • Codex SSH:切号后恢复目标账号的自动连接设置,并刷新匹配的远程会话。 #3097
  • Claude:正确区分 Pro 和 Max 套餐,并显示对应的额度窗口。 #3031
  • CodeBuddy CN:在账号摘要中显示剩余积分和资源包到期信息。 #3023
  • Codex 供应商配置:模板提供默认值时,保留明确设置的模型上下文窗口和压缩阈值。 #3091
  • Codex API 服务:在受影响的 Codex 路由上,重复内联图片以未压缩方式发送,保留完整请求内容。 #3084
  • Codex 供应商切换:快捷切换弹框位于最上层且未提交切换时,可按 Escape 关闭。 #2111
  • 智谱 Coding Plan:兼容新版积分额度与旧版 Token 额度响应,显示对应的额度窗口。 #3126
  • Codex API 服务:菜单栏和托盘汇总 5 小时额度时,排除周额度已耗尽账号的剩余额度。 #3112
  • MiniMax Code:共用账号的凭据由客户端续期,Cockpit 读取并保存新凭据,避免客户端登录失效。 #3092
  • Codex 会话用量:汇总、增量统计和单会话 Token 计数均支持压缩会话日志。 #3079

新增

  • WorkBuddy AI 国际版:支持浏览器授权、账号导入、自动刷新积分和一键切换桌面客户端账号。
  • Antigravity:从账号或多开实例启动时,可选择 Antigravity、Antigravity IDE 或 Antigravity CLI。两个入口共用上次选择的客户端,显示启动路径,并支持补填桌面路径后重试。快捷设置可分别编辑两个桌面客户端的路径。旧版 IDE 尚未初始化时,账号页和多开实例会引导先启动一次,并说明初始化后可切号、绑定账号或使用已绑定账号。桌面客户端可选择对应的实例,CLI 可指定工作目录。
  • CodeBuddy 和 CodeBuddy CN:均可从各自的账号总览启动官方 CLI,并在对应版本的「应用多开」中管理 CLI 实例。每个实例保留绑定账号、工作目录和独立配置。CodeBuddy CN 记住上次选择的桌面版或 CLI。
  • Codex 代理:可按代理来源设置 DNS 覆写和 IPv6,自定义 DNS 服务器,保存后已绑定代理的新连接会使用新设置。
  • Codex 供应商额度:查询 OpenCode Go 的 5 小时、周和月额度,以及兼容 codex-proxy-rs 服务的日、周预算。 #1938 · #3019
  • 供应商预设:Codex 新增 UberLLM。Codex、Claude Code 和 Claude Desktop 新增 Runcrate。 #3075 · #2952
  • MiniMax 预设:Codex、Claude Code 和 Claude Desktop 可选择 MiniMax-M3.1-Flash。 #2865
  • Antigravity 自动切号:可在通用设置和平台快捷设置中分别设定 5 小时及周额度的切号阈值。 #3101
  • 模型探测:WorkBuddy 和 CodeBuddy CN 支持按账号与模型组合批量探测,逐项查看结果,也可从单个账号卡片发起。 #3096 · #3064

变更

  • Codex 重置卡:可开启「积分优先」。周额度达到阈值后,确认积分不可用才自动用卡;临期规则独立生效。
  • 客户端启动:桌面版或 CLI 缺少启动路径时,可在当前流程中配置并继续。账号已经切换时只重试启动客户端。WorkBuddy AI 国际版使用独立的桌面启动路径。
  • 平台布局:支持通过拖拽预览或键盘调整平台、分组和组内条目的顺序。在列表外松手会取消本次拖拽。
  • CLI 启动:Codex、Antigravity 和 CodeBuddy 使用更宽的启动弹框和更高的命令区域,集中显示账号、工作目录、终端和自定义命令。Antigravity 记住上次使用的目录,CodeBuddy 按账号或命名实例记忆。
  • Codex CLI:从账号页首次启动时,仅继承默认实例的配置,不再复制桌面会话历史。
  • Antigravity:Antigravity 和 Antigravity IDE 重启时立即发送关闭信号,确认旧进程退出后继续启动。
  • Codex 设置:通用设置和快捷设置都在下一步预测开关旁说明额外 API 用量、重启时机和保持 Cockpit Tools 运行的要求。
  • 界面控件与弹框体验:将 Codex、应用多开、唤醒测试/任务、悬浮卡片、MFA 及最近使用等页面的原生下拉框与文本排序箭头统一替换为定制下拉组件与矢量图标;为下拉菜单补充焦点恢复与顶层 Esc 关闭逻辑,键盘导航会跳过禁用选项;约束弹框高度并支持内容区滚动与固定底部操作栏,确保矮窗口下按钮始终可达;优化平台布局恢复默认与删除分组的确认提示文案。
  • 双主题与页面布局优化:完善 Codex 账号卡、Codex API 服务弹框、Aurora 风格账号页、中转站密钥模型标签、唤醒验证筛选徽章、悬浮卡片浅色主题与使用说明悬停态的主题适配;优化侧边栏与仪表盘筛选换行、通用设置与快捷设置控件对齐;将 Codex API 日志次要筛选、Codex 启动预览维护诊断工具及多平台 Token/JSON 导入示例收纳为可折叠区块;统一多平台卡片与表格视图(Antigravity 紧凑模式套餐标识、Qoder/Claude/CodeBuddy 套件列展示与操作按钮、对齐各平台工具栏归属页签)。

文档

  • 新增韩文 README,并更新巴西葡萄牙语 README 的支持平台列表。 #2681 · #2610

Changelog (English)

[1.4.0] - 2026-11-15

Fixed

  • Codex API Service: Resume long WebSocket conversations with smaller history preloads and less repeated history, recover when a compatible account is available after a quota block, and avoid replaying a preload whose outcome is unknown.
  • Dark mode readability: Improved contrast for account groups, search hints, headings, subscription and quota labels, Codex import errors and API statistics and pricing states, multi-instance and wakeup statuses, and relay key input hints.
  • Modal & dialog interactions: Replaced browser alert()/confirm() calls in MFA import error handling and API Key Fun key deletion with inline error banners and in-app confirmation dialogs. Failed key deletions keep the dialog open with an error. Removed unintended overlay click-to-close regressions, fixed spinner icon border artifacts, removed duplicate back/close buttons in account sub-modals, and fixed horizontal overflow in Codex Local Access rows and Multi-Instance table layout.
  • Align icons with text in shared account quota empty states and authorization messages.
  • Codex session backups: Session repair and history cleanup preserve previous backups across runs.
  • Codex session repair: Startup maintenance and manual history index repair process large histories without fixed time, record count or file size cutoffs. Failed writes still roll back.
  • Codex local projects: Project recovery processes records and state files without fixed count, file size or time limits, including when started as part of instance launch.
  • Codex API Service: The Add to API Service dialog scrolls through all account rows and pagination in short windows, while Cancel and Save stay visible.
  • Codex API Service on Windows: Child processes no longer keep the service port occupied after the native gateway stops. #2850
  • Codex API Service: Apply the selected theme to the active usage range tab. #2115
  • Antigravity account authorization: Recreate a missing account file when adding or authorizing the same account, preserving its account ID. #2854
  • Codex API Service: Rank expired OAuth subscriptions as Free for plan-based routing. #2174
  • Codex API keys: Preserve provider protocol and WebSocket support when saving a key. #1980
  • Classic sidebar: Keep navigation icons centered and prevent them from shrinking next to long labels. #2384
  • Codex API Service: Keep OpenCode requests in the same conversation when OpenCode sends a session label and the request has no explicit identity or continuation. #3046
  • Codex API Service: Detect stalled network connections and reconnect so subsequent requests can continue. #3106
  • Codex SSH: Restore the selected account’s automatic connection preferences and refresh the matched remote session after switching. #3097
  • Claude: Preserve Pro and Max plan classification and display quota from the matching usage scopes. #3031
  • CodeBuddy CN: Show remaining credits and grant expiry information in the account summary. #3023
  • Codex provider profiles: Keep an explicitly configured context window and compaction threshold when a provider template supplies its own defaults. #3091
  • Codex API Service: Send repeated inline images without zstd compression on the affected Codex route, preserving the full request. #3084
  • Codex provider switching: Press Escape to close the quick-switch dialog when it is the topmost dialog and no switch is in progress. #2111
  • Zhipu Coding Plan: Read quota windows from both the new credit limit and legacy token limit responses. #3126
  • Codex API Service: The menu bar and tray pool totals exclude 5-hour quota from accounts whose weekly allowance is exhausted. #3112
  • MiniMax Code: Preserve the desktop client's login by adopting refreshed shared credentials and leaving refresh-token rotation to the client for shared accounts. #3092
  • Codex session usage: Include compressed session logs in usage totals, checkpoints and per-session Token counts. #3079

Added

  • WorkBuddy AI: Manage international accounts with browser sign-in, account import, automatic credit refresh, and one-click desktop switching.
  • Antigravity: Choose Antigravity, Antigravity IDE, or Antigravity CLI when launching from an account or instance. Both entry points remember the last selected client, show its launch path, and let you fix a missing desktop path and retry. Quick settings can edit each desktop client’s path separately. On older IDE installations, the launch dialog guides the first startup and explains how to switch, bind, or use an account after initialization. Launch any configured desktop instance for the chosen client, or open the CLI in a selected working directory.
  • Codex proxy: Set DNS overrides and IPv6 per proxy source. Save custom DNS servers and apply the settings to new connections through bound proxies.
  • CodeBuddy and CodeBuddy CN: Launch the official CLI from either account overview and manage named CLI instances under the matching version’s Multi-Instance tab. Each instance keeps its account, working directory, and separate CLI configuration. CodeBuddy CN remembers the last choice between desktop and CLI.
  • Codex provider quotas: Read 5-hour, weekly and monthly quota from OpenCode Go and daily and weekly budgets from compatible codex-proxy-rs servers. #1938 · #3019
  • Provider presets: Add UberLLM for Codex and Runcrate for Codex, Claude Code and Claude Desktop. #3075 · #2952
  • MiniMax presets: Offer MiniMax-M3.1-Flash in Codex, Claude Code and Claude Desktop. #2865
  • Antigravity automatic account switching: Set separate 5-hour and weekly quota thresholds in General Settings or the platform quick settings. #3101
  • Model probes: Run an account-by-model probe matrix from WorkBuddy and CodeBuddy CN, view individual results, and open a probe from a specific account card. #3096 · #3064

Changed

  • Codex reset cards: An optional setting waits until usage credits are confirmed unavailable before automatically using a card at the weekly quota threshold. Expiry rules still apply independently.
  • Client launch: Configure a missing desktop or CLI path from the launch flow and retry the same operation. If the account already switched, retry only the client launch. WorkBuddy AI has its own desktop path.
  • Platform layout: Reorder platforms, groups, and group members with a drag preview or the keyboard. A pointer drop outside the list cancels the move.
  • CLI launch: Codex, Antigravity and CodeBuddy show the account, working directory, terminal and custom command in a wider dialog with a taller command field. Antigravity remembers the last working directory, and CodeBuddy remembers it for each account or named instance.
  • Codex CLI: Starting a new CLI profile from an account inherits the default configuration without copying desktop session history.
  • Antigravity: Antigravity and Antigravity IDE send the close signal immediately when restarting and continue once the old processes exit.
  • Codex settings: The next-step prediction switch explains additional API usage, when to restart Codex, and the need to keep Cockpit Tools running in both settings views.
  • UI controls & modals: Replaced remaining native select menus and text sort arrows with custom dropdowns and icons across Codex, Multi-Instance, Wakeup, Floating Card, MFA, and account last-used controls; added focus restoration and Escape layering for dropdowns, and skip disabled choices during keyboard navigation; constrained modal heights with scrollable bodies and sticky footers so actions remain reachable in short windows; unified custom checkboxes and platform layout reset/delete confirmation prompts.
  • Theme & layout polish: Improved dark/light theme consistency across Codex account cards, Codex API Service dialogs, Aurora account pages, API Key Fun model chips, Wakeup Verification badges, Floating Card window, and Manual headers; refined SideNav and Dashboard filter wrapping, General vs Quick Settings control alignment, Codex API Service log filters and Launch Preview maintenance sections into collapsible panels, and multi-platform card/table views (Antigravity compact tier badges, Qoder/Claude/CodeBuddy suite columns and actions, collapsible Token/JSON import examples).

Documentation

  • Add a Korean README and update the list of supported platforms in the Brazilian Portuguese README. #2681 · #2610

Don't miss a new cockpit-tools release

NewReleases is sending notifications on new releases.