github jlcodes99/vscode-antigravity-cockpit v2.1.53

58 minutes ago

中文

新增

  • 配额耗尽预测:历史图表为各配额序列显示预计消耗速率和耗尽时间,支持官方周配额与 5 小时窗口。预测仅使用足够的近期样本,配额重置后停止沿用旧周期,图表投影按可见时间范围显示。
  • 状态栏 Credits 开关:通过 agCockpit.showPromptCredits 控制状态栏及其悬浮提示是否显示 Credits。
  • Gemini 4 Argon (Weekly):单独显示官方 Argon 周配额,模型清单缺少 Argon 时也能显示。本地监控可使用同账号尚未重置的官方配额缓存。

调整

  • Model Quota 展示跟随官方分组:Dashboard、QuickPick、状态栏、账号树、账号总览和配额历史在数据可用时使用官方配额组与窗口。固定分组卡片保留重命名、拖拽排序和状态栏置顶交互。
  • 默认使用本地监控:保留用户已有的配额来源选择。本地模型变体的剩余配额和重置时间相同时合并为一行展示。
  • 打包与发布质量检查:CI 执行扩展和 Webview 类型检查、Lint、测试及生产构建;本地打包也会在构建前检查类型与 Lint。

修复

  • 周配额与 5 小时窗口:授权刷新获取官方配额摘要并写入缓存;摘要缺失时可使用同账号桌面端缓存中的摘要补齐。
  • 配额窗口与账号历史:已知周配额和 5 小时窗口按官方 ID 识别,缺少余额的配额桶不再显示为 0%。历史记录按实际提供配额的账号归档。WSL 从 Windows 用户目录读取桌面端配额缓存。
  • 新模型识别:官方排序表遗漏的模型仍可展示;新发现的模型自动加入自定义可见列表,云端内部、禁用和黑名单模型继续隐藏。
  • 新版本地进程支持:兼容旧语言服务进程与新版 agy hub,进程重启后可重新连接。仅在本次本地请求成功且账号身份匹配时,用本地独有模型补充云端结果。
  • 配额来源设置:本地与授权监控选择在修改设置和重启后均生效。
  • 按账号展示配额和积分:授权模式下,状态栏和积分缓存使用选中的监控账号。切换至 IDE 当前登录账号时刷新配额,授权过期时保留其他已保存账号。Google One AI 积分条目省略金额时按零处理,未获取到的余额显示为未知。
  • Remote SSH 打开 Cockpit Tools:通过本机注册的链接打开桌面应用。
  • README 星标历史与公告链接:更新星标历史图表服务和公告中的作者商店链接。

安全

  • 减少账号同步中的 Token 读取:先使用不含 Token 的账号列表,仅在需要导入远端账号时请求明文 Token。
  • 缓存和设置私密写入:文件采用原子写入,在 POSIX 系统使用仅属主可访问的权限。WebSocket 入站指令拒绝畸形 payload;连接鉴权仍需桌面端配合实现。

移除

  • 旧自定义/自动分组成员管理界面:Dashboard 与 QuickPick 不再手动重映射模型成员或生成自定义分组,当前分组结构由官方配额组提供。

English

Added

  • Quota exhaustion forecasts: History charts show estimated consumption rates and exhaustion times for each quota series, including official weekly and five-hour windows. Forecasts require sufficient recent samples, stop after a quota reset, and extend the chart only to the visible forecast boundary.
  • Status bar Credits setting: agCockpit.showPromptCredits controls whether Credits appear in the status bar and its tooltip.
  • Gemini 4 Argon (Weekly): Shows the official Argon weekly quota separately from the regular Gemini quota, even when the model list omits Argon. Local monitoring can use the same account’s cached official bucket before it resets.

Changed

  • Model Quota display follows official groups: Dashboard, QuickPick, Status Bar, Account Tree, Accounts Overview, and quota history use official quota groups and windows when available. Fixed group cards retain rename, drag-to-reorder, and status-bar pin interactions.
  • Local monitoring is the default: Existing quota source selections are preserved. Local model variants with matching balances and reset times share one display row.
  • Quality checks before packaging and release: Extension and Webview type checks, lint, tests, and production builds run in CI; local packaging also checks types and lint before building.

Fixed

  • Weekly and five-hour quota windows: Authorized refresh retrieves the official quota summary and preserves it in the cache. When missing, a same-account desktop cache can supply the summary.
  • Quota windows and account history: Known weekly and five-hour buckets use their official IDs, and buckets with missing balances no longer show 0%. History follows the account that supplied the quota. WSL reads desktop quota caches from the Windows user profile.
  • New model discovery: Models omitted from the official ordering list remain visible. Newly discovered models join customized visible lists while internal, disabled, and blacklisted cloud models remain hidden.
  • New local process support: Detects both legacy language servers and the newer agy hub process, with reconnection after process restarts. Local-only models supplement cloud results only after a successful local request with a matching account identity.
  • Quota source preferences: Local and authorized monitoring choices are respected across settings changes and restarts.
  • Account-specific quota and Credits: Authorized status bar updates and cached Credits use the selected monitoring account. Switching to the current IDE login refreshes quota, and expired authorization keeps other saved accounts intact. Omitted amounts on Google One AI credit entries are treated as zero, while unavailable balances remain unknown.
  • Cockpit Tools over Remote SSH: The extension opens the desktop app through its registered link on the local computer.
  • README star history and announcement links: Updated the star history chart provider and the author's shop link in the announcement.

Security

  • Reduced token reads during account sync: Token-free account lists are used first; plaintext tokens are requested only when remote accounts need to be imported.
  • Private cache and settings writes: Files are written atomically with owner-only permissions on POSIX systems. Inbound WebSocket commands reject malformed payloads; desktop-side connection authentication remains required.

Removed

  • Legacy custom/auto grouping membership UI: Dashboard and QuickPick no longer remap model membership manually or generate custom groups; official quota groups supply the active grouping structure.

Don't miss a new vscode-antigravity-cockpit release

NewReleases is sending notifications on new releases.