vscode-antigravity-cockpit README

The project's README from github.com/jlcodes99/vscode-antigravity-cockpit. As one markdown file: README.md.

Antigravity Cockpit

English · 简体中文

Version Downloads GitHub stars GitHub issues License

VS Code 扩展,用于监控 Google Antigravity AI 模型配额。

功能:Webview 仪表盘 · QuickPick 模式 · 配额分组 · 自动分组 · 重命名 · 卡片视图 · 拖拽排序 · 状态栏监控 · 阈值通知 · 隐私模式

语言:跟随 VS Code 语言设置,支持 16 种语言

🇺🇸 English · 🇨🇳 简体中文 · 繁體中文 · 🇯🇵 日本語 · 🇩🇪 Deutsch · 🇪🇸 Español · 🇫🇷 Français · 🇮🇹 Italiano · 🇰🇷 한국어 · 🇧🇷 Português · 🇷🇺 Русский · 🇹🇷 Türkçe · 🇵🇱 Polski · 🇨🇿 Čeština · 🇸🇦 العربية · 🇻🇳 Tiếng Việt


功能概览

显示模式

提供两种显示模式,可在设置中切换 (agCockpit.displayMode):

Webview 仪表盘

Dashboard Overview

QuickPick 模式

QuickPick Mode

使用 VS Code 原生 QuickPick API,适用于:

功能:


状态栏

显示当前监控模型的配额状态。支持 6 种格式:

格式 示例
仅图标 🚀
仅状态点 🟢 / 🟡 / 🔴
仅百分比 95%
状态点 + 百分比 🟢 95%
名称 + 百分比 Sonnet: 95%
完整显示 🟢 Sonnet: 95%

配额显示

每个模型 / 分组显示:


配额来源(本地 / 授权)

支持两种配额来源,可在面板右上角随时切换:


模型能力提示

Model Capabilities Tooltip

悬停模型名称查看:


分组功能


设置面板

Settings Modal

通过仪表盘右上角齿轮图标打开,可配置:


用户资料面板

显示:


通知

当模型配额低于警告阈值或耗尽时发送通知。可在设置中禁用。


使用

  1. 打开:

    • 点击状态栏图标
    • 或 Ctrl/Cmd+Shift+Q
    • 或命令面板运行 Antigravity Cockpit: Open Dashboard
  2. 刷新:点击刷新按钮或 Ctrl/Cmd+Shift+R(仪表盘激活时)

  3. 故障排查:

    • "Systems Offline" 时点击 Retry Connection
    • 点击 Open Logs 查看调试日志(授权请求会显示完整 URL 以便区分域名)


自动唤醒 (Auto Wake-up)

NEW 🔥 设置定时任务,提前唤醒 AI 模型,触发配额重置周期。


配置项

配置 默认值 说明
agCockpit.displayMode webview 显示模式:webview / quickpick
agCockpit.refreshInterval 120 刷新间隔(秒,10-3600)
agCockpit.statusBarFormat standard 状态栏格式
agCockpit.groupingEnabled true 启用分组模式
agCockpit.warningThreshold 30 警告阈值(%)
agCockpit.criticalThreshold 10 危险阈值(%)
agCockpit.notificationEnabled true 启用通知
agCockpit.pinnedModels [] 状态栏置顶模型
agCockpit.pinnedGroups [] 状态栏置顶分组

安装

Open VSX 市场

  1. Cmd/Ctrl+Shift+X 打开扩展面板
  2. 搜索 Antigravity Cockpit
  3. 点击安装

VSIX 文件

code --install-extension antigravity-cockpit-x.y.z.vsix

从源码构建

# 克隆仓库
git clone https://github.com/jlcodes99/vscode-antigravity-cockpit.git
cd vscode-antigravity-cockpit

# 安装依赖
npm install

# 编译
npm run compile

# 打包
npm run package

要求:Node.js v18+, npm v9+


更新日志


致谢

感谢以上项目作者的开源贡献!如果这些项目对你有帮助,也请给他们点个 ⭐ Star 支持一下!


支持


💬 交流群

QQ交流群 或者加我微信 拉微信群

QQ 群 微信(个人)

☕ 请作者喝杯咖啡

如果这个插件对你有帮助,欢迎请作者喝杯咖啡!你的支持是我持续更新的最大动力 ❤️

Buy Me A Coffee


Star History

Star History Chart


许可证

MIT


免责声明

本项目仅供个人学习和研究使用。使用本项目即表示您同意:

项目作者对因使用本项目而产生的任何直接或间接损失不承担责任。

vscode-antigravity-cockpit (jlcodes99/vscode-antigravity-cockpit)

Searching Database…

What is this?Antigravity Cockpit is a VS Code extension that monitors AI model quotas for Google Antigravity, showing usage, reset timers, and alerts right inside your editor.
Is this a dashboard panel or just a status bar icon?It's both: a Webview dashboard with card-based grouped quota views, plus an alternative QuickPick mode for keyboard-driven or Webview-restricted environments, and a persistent status bar indicator.
How do I open and use it?Install from the Open VSX marketplace or a VSIX file, then open the dashboard via the status bar icon, Ctrl/Cmd+Shift+Q, or the 'Antigravity Cockpit: Open Dashboard' command.
Does it need the Antigravity client running, or does it work remotely too?It supports two quota sources: local monitoring, which reads the local Antigravity client process and requires it to be running, or authorized remote monitoring, which doesn't need a local client and supports multiple accounts.
Is my account data kept private?Yes, there's a privacy mode that masks sensitive profile data, and auto wake-up credentials are encrypted and stored locally in VS Code's Secret Storage.
Does it support languages other than English and Chinese?Yes, it follows your VS Code language setting and supports 16 languages including Japanese, German, Spanish, French, Korean, Russian, and more.
Which operating systems does it run on?As a VS Code extension it works wherever VS Code runs, including Windows, macOS, and Linux.
What is the Auto Wake-up feature for?It schedules tasks (daily, weekly, interval, or custom Crontab) to proactively wake up AI models so their quota reset cycle can trigger during idle time, like before you start work.
What can I see by hovering over a model name?Hovering shows the model's supported input types (text, image, video, etc.), its context window size, and other capability markers.
How does quota grouping work?Models sharing the same quota pool are automatically or manually grouped together, showing an aggregated quota instead of per-model numbers, and groups can be renamed, reordered, and pinned to the status bar.
What status bar display formats are available?You can choose from six formats, such as icon-only, status dot only, percentage only, dot plus percentage, name plus percentage, or a full display combining status dot, name, and percentage.
Creator
jlcodes99
Size
9.8 MB
Stars
4.9K
Age
10mo
Commits · 90 Days