Skip to content

nextcortex/antigravity-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Antigravity Dashboard

Version License Platform Engine Telemetry

Website Donate

100% local & secure quota monitor for Antigravity IDE with real-time dashboard, usage analytics, cache management, and intelligent auto-accept.

Zero network calls. Zero telemetry. Everything stays on your machine.

Antigravity Dashboard


Features

πŸ“Š Real-Time Quota Dashboard

  • Live circular gauge showing remaining credits vs. daily limit
  • Credit breakdown by model group (Pro, Flash, Balanced, Legacy)
  • Color-coded usage indicators (green β†’ yellow β†’ red)
  • Auto-refresh every 90 seconds or manual refresh on-demand

πŸ“ˆ Usage History

  • SVG sparkline showing credits remaining over time
  • Separate lines for Prompt (blue) and Flow (purple) credits
  • Session consumption summary with credits used
  • Smart flat-line detection β€” shows values when no changes occur

πŸš€ Intelligent Auto-Accept

Three-layer system for fully hands-free agent operation:

Layer Method What it does
Commands 8 VS Code commands (800ms polling) Accepts agent steps, terminal commands, completions
Settings Gemini yolo mode + auto-execution policies Configures persistent approval settings
UI Automation Native OS automation Clicks "Run"/"Accept" buttons automatically

Platform-specific behavior:

Platform Auto-clicker method Requirements
Windows Native UI Automation (PowerShell) None β€” works out of the box
macOS CDP via WebSocket Launch with --remote-debugging-port=9000
Linux CDP via WebSocket Launch with --remote-debugging-port=9000

πŸ’Ύ Cache Manager

  • View cache size and entry count at a glance
  • One-click cache clear
  • Automatic cache invalidation on data changes

πŸ”’ Security First

  • Local-only β€” All communication restricted to 127.0.0.1
  • No telemetry β€” Zero external network calls, ever
  • CSP nonce β€” Webview content secured against injection attacks
  • Input sanitization β€” All user inputs validated and escaped
  • No data leaves your machine β€” Quota reads from local language server only

πŸ’Ώ Installation

From GitHub Releases

  1. Download the latest .vsix from the Releases page
  2. In Antigravity/VS Code: Extensions β†’ ... β†’ Install from VSIX...
  3. Restart the editor

From Open VSX / Marketplace

  1. Open the Extensions view (Ctrl+Shift+X)
  2. Search for "Antigravity Dashboard"
  3. Click Install

From Command Line

antigravity --install-extension nextcortex-antigravity-dashboard-*.vsix --force

Build from Source

git clone https://github.com/nextcortex/antigravity-dashboard.git
cd antigravity-dashboard
npm install
npm run build
npx @vscode/vsce package --no-dependencies
antigravity --install-extension antigravity-dashboard-*.vsix --force

⚑ Quick Start

  1. Install the extension (see above)
  2. Reload the editor β€” Ctrl+Shift+P β†’ Developer: Reload Window
  3. Look for the Antigravity Dashboard icon in the Activity Bar (left sidebar)
  4. Click it to open the dashboard
  5. (Optional) Enable Auto-Accept from the sidebar toggle

Auto-Accept: Windows

Works immediately. Toggle Auto-Accept ON in the sidebar. The extension spawns a background PowerShell process that uses Windows UI Automation to find and click Accept/Run buttons natively. No additional setup required.

Auto-Accept: macOS / Linux

Launch Antigravity with the Chrome DevTools Protocol flag:

antigravity --remote-debugging-port=9000

Then toggle Auto-Accept ON. The extension connects via WebSocket to the renderer and clicks Accept/Run buttons using CDP mouse events. If the flag is missing, you'll see a one-time warning with instructions.


βš™οΈ Configuration

All settings are under the agd.* namespace:

Setting Type Default Description
agd.dashboard.refreshRate number 90 Quota poll interval in seconds (min: 30)
agd.dashboard.historyRange number 90 Usage history range in minutes
agd.dashboard.gaugeStyle string semi-arc Gauge display style
agd.system.autoAccept boolean false Enable auto-accept on startup
agd.system.autoAcceptInterval number 800 Auto-accept tick interval in ms (min: 200)

🎯 Commands

Open the Command Palette (Ctrl+Shift+P) and type Antigravity Dashboard:

Command Description
Antigravity Dashboard: Toggle Auto-Accept Enable or disable auto-accept
Antigravity Dashboard: Refresh Quota Force an immediate quota refresh
Antigravity Dashboard: Clear Cache Clear all cached quota data

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚             Antigravity Dashboard               β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Quota   β”‚  Cache    β”‚    Auto-Accept        β”‚
β”‚  Fetcher β”‚  Manager  β”‚    Service            β”‚
β”‚          β”‚           β”‚    β”œβ”€β”€ VS Code Cmds   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€    β”œβ”€β”€ Settings API   β”‚
β”‚  Process Finder      β”‚    └── UIA / CDP      β”‚
β”‚  (127.0.0.1 only)    β”‚        Clicker        β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Sidebar Webview (CSP + Nonce secured)       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Status Bar Β· Logger Β· Config Manager        β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ›‘οΈ Privacy

This extension is designed with privacy as a core principle:

  • βœ… All communication is local-only (127.0.0.1)
  • βœ… Quota data is read from the local Antigravity language server
  • βœ… Cache is stored in VS Code's local globalState
  • ❌ No analytics
  • ❌ No tracking
  • ❌ No telemetry
  • ❌ No external API calls
  • ❌ No data collection of any kind

πŸ”§ Troubleshooting

Auto-accept is ON but commands still ask for confirmation

  • Windows: Check the Output Channel (Ctrl+Shift+U β†’ select "Antigravity Dashboard") for UIA auto-clicker ready. If missing, the PowerShell worker may have failed to start.
  • macOS/Linux: Ensure Antigravity was launched with --remote-debugging-port=9000. Check the Output Channel for CDP auto-clicker started.

Quota shows "No data" or doesn't update

  1. Ensure the Antigravity language server is running (check the status bar)
  2. Try Ctrl+Shift+P β†’ Antigravity Dashboard: Refresh Quota
  3. Check the Output Channel for connection errors

Extension doesn't appear in the Activity Bar

  1. Right-click the Activity Bar β†’ ensure "Antigravity Dashboard" is checked
  2. Try Ctrl+Shift+P β†’ Developer: Reload Window

πŸ“‹ Requirements

Requirement Version
Antigravity IDE v1.0+
VS Code Engine β‰₯ 1.90.0
Node.js 18+ (bundled with Antigravity)
OS Windows 10+ Β· macOS 12+ Β· Linux (glibc 2.31+)

Acknowledgments

Inspired by and built upon patterns from:


⚠️ Disclaimer

This project is not affiliated with, endorsed by, or associated with Google or Antigravity in any way. It is an independent, community-driven tool created for personal use. Use at your own risk.


πŸ“„ License

This project is licensed under the MIT License. See LICENSE for details.


Antigravity Dashboard Icon

About

100% local & secure quota monitor for Antigravity IDE with real-time dashboard, usage analytics, cache management, and intelligent auto-accept.

Resources

License

Stars

Watchers

Forks

Contributors