Skip to content

Cockpit Tools v1.3.38

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Sep 17:29
· 3 commits to main since this release

更新日志(中文)

[1.3.38] - 2026-09-05

新增

  • 支持卸载 Claude Desktop 登录组件:Claude 账号弹框现在可以删除本地下载的 Electron 登录 runtime 和未完成登录的临时 profile,释放磁盘空间,同时保留已保存的 Claude 账号。
  • 适配 GPT-6 Astra 模型:在 API Service、账号切换、可见模型目录、唤醒预设和 Provider sidecar 中支持官方 gpt-6-astra 模型 ID 与 GPT-6 Astra 显示名称,并将它排在这些模型列表的第一位;同时补齐 105 万上下文、max 推理强度、Fast 档元数据和本地成本估算。仅增加可选模型,不改变默认模型。

变更

  • 优化 Claude 登录组件缓存管理展示:卸载区域改为独立的缓存卡片,显示实际占用空间并将说明、确认操作与按钮分层排列;空间统计在后台读取,不阻塞账号弹框打开。
  • 关闭可见模型目录后恢复官方模型可见性:保存为关闭状态时会移除当前生效的 model_catalog_json 覆盖和 Cockpit 受管目录状态,但保留用户自己的目录文件;之后由官方 Codex 客户端根据账号权限决定可用模型。
  • 生成过验证码的 2FA 秘钥会自动保留到查询历史:在 2FA 管理器或账号备注弹框输入有效秘钥后,只要能生成一次性验证码就立即加入近期查询,即使未保存账号备注直接关闭也可找回;查询历史不再自动淘汰超过 50 条的旧记录。

修复

  • 修复 Claude Gateway 映射中的 1M 上下文复选框导致弹框错位的问题:为自定义复选框建立独立的定位上下文,点击或勾选 1M 上下文后映射行和弹框内容保持稳定。(#2229
  • 修复混合模型路由被内部 __provider_gateway__ 标识拒绝的问题:不再把 Provider Gateway 内部绑定标识当作用户可配置的路由命名空间或账号 ID,使合法的 OAuth 订阅绑定和 API Key 路由可以正常保存并启动。(#2222
  • 修复 CodeBuddy 导入账号切换后的官方会话与国际版额度请求问题:国际版 CodeBuddy 的计费请求补齐必要的 User-Agent,CodeBuddy、CodeBuddy CN 与 WorkBuddy 的 JSON 导入账号现在会保留 expires_at,避免切换到官方客户端后会话立即失效。(#2194
  • 修复 API Key 上游的 Responses Lite 请求兼容性:规范化 API Service 发往 API Key 上游的 Responses Lite 请求头和工具调用参数,减少多轮请求被上游拒绝的情况。(#2169
  • 修复 Windows 工具栏按钮被拖拽层遮挡的问题:窗口滚动后,顶部工具栏按钮仍可完整点击。(#2187
  • 修复 Codex API Service 在上游网络传输失败时错误冷却账号的问题:DNS 失败、断网和连接被拒绝时仍可重试,不再修改账号或模型的冷却状态。

Changelog (English)

[1.3.38] - 2026-09-05

Added

  • Claude Desktop login component uninstall: the Claude account dialog can now remove the locally downloaded Electron sign-in runtime and unfinished login profiles to free disk space without deleting saved Claude accounts.
  • GPT-6 Astra model compatibility: exposes the official gpt-6-astra model ID and GPT-6 Astra display name across the API Service, account switching, visible-model catalog, wakeup presets, and provider sidecars; it is listed first in those model lists, with the 1.05M context window, max reasoning effort, Fast-tier metadata, and local cost estimation. It remains opt-in at selection time and does not change the default model.

Changed

  • Improved Claude sign-in component cache management: the uninstall area is now a dedicated cache card that shows actual disk usage and separates the description, confirmation actions, and button layout; storage calculation runs in the background without blocking the account dialog.
  • Disabling the visible-model catalog now restores official model visibility: saving the setting off removes the active model_catalog_json override and Cockpit-managed catalog state, while leaving any user-owned catalog file untouched; the official Codex client then determines model availability from its own account permissions.
  • Generated 2FA codes are retained in query history automatically: entering a valid 2FA secret in the 2FA manager or an account-note dialog now adds it to recent queries as soon as a one-time code can be generated, even if the account note is closed without saving; query history is no longer automatically evicted after 50 entries.

Fixed

  • Fixed Claude Gateway mapping dialogs becoming misaligned when toggling the 1M context checkbox: the custom checkbox now has its own positioning context, keeping mapping rows and dialog content stable when the 1M option is clicked or enabled. (#2229)
  • Fixed mixed model routing configurations being rejected by the internal __provider_gateway__ identifier: internal Provider Gateway binding markers are no longer treated as user-facing route namespaces or account IDs, allowing valid OAuth subscription bindings and API Key routes to be saved and launched successfully. (#2222)
  • Fixed official-session and international quota-request issues for imported CodeBuddy accounts: international CodeBuddy billing requests now include the required User-Agent, and JSON-imported CodeBuddy, CodeBuddy CN, and WorkBuddy accounts preserve expires_at so switching to the official client does not immediately invalidate the session. (#2194)
  • Fixed Responses Lite compatibility for API Key upstreams: API Service now normalizes the Responses Lite request headers and tool-call parameters sent to API Key upstreams, reducing upstream rejections in multi-turn requests. (#2169)
  • Fixed Windows toolbar controls being covered by the drag layer: toolbar buttons remain fully clickable after the window is scrolled. (#2187)
  • Codex API Service no longer cools accounts for upstream transport failures: DNS failures, offline connections, and connection-refused errors remain retryable without changing account or model cooldown state.