⚡ GravityPulse — Antigravity Multi-Model Quota (AGQ) Battery
🔋 Real-time, multi-model battery status bar monitor for Google Antigravity IDE with exact point-to-point decimal precision, model pinning, dedicated hover cards, and 4-tier warning color coding.
🔋 4-Tier Live Battery Indicator
| Level |
Capacity Range |
Warning Color |
Battery State |
| 🟢 |
70% – 100% |
#34A853 (Green) |
Optimal Capacity |
| 🟡 |
40% – 70% |
#9ACD32 (Lime) |
Good Charge |
| 🟠 |
20% – 40% |
#FB8C00 (Orange) |
Moderate Warning |
| 🔴 |
Below 20% |
#EA4335 (Red) |
Critical Alert |
🌟 Highlights
Unlike traditional quota extensions that round remaining usage into 5% chunks or use artificial mock tokens, GravityPulse connects directly to your local running Antigravity Language Server to give you 100% genuine server quota, exact point-to-point decimal tracking, persistent multi-model status bar pinning, and server-side auto-refill countdowns.
✨ Features
📱 Status Bar Styles
Customize how your battery levels look in VS Code settings (gravitypulse.displayStyle):
| Style |
Preview Example |
Description |
| Battery Bar (Default) |
$(zap) G3.6F(M) [███████░] 83.4% |
Unicode segmented charge bar with model & percentage |
| Zap Percent |
$(zap) G3.6F(M): 83.4% |
Carbon energy zap icon with model abbreviation & decimal percentage |
| Activity Percent |
$(activity) Claude: 100.0% |
Carbon pulse activity wave icon |
| Minimalist |
83.4% $(zap) |
Clean text-first minimalist badge |
| Detailed |
$(zap) G3.6F(M): 83.4% [███████░] |
Model label, decimal percentage, and full progress bar |
Click any status bar item or press Ctrl+Shift+P → GravityPulse: Open Quota Battery Dashboard:
⚡ GravityPulse — Antigravity Quota
Click a model to toggle its visibility in the status bar
✓ $(zap) Gemini 3.6 Flash (Medium) ▓▓▓▓▓▓▓░░░ 83.4% Auto-refills in 3h 50m
○ $(zap) Gemini 3.7 Flash (High) ▓▓▓▓▓▓▓░░░ 83.4% Auto-refills in 3h 50m
○ $(zap) Claude Sonnet 4.6 (Thinking) ▓▓▓▓▓▓▓▓▓▓ 100.0% Auto-refills in 4h 58m
○ $(zap) Claude Opus 4.6 (Thinking) ▓▓▓▓▓▓▓▓▓▓ 100.0% Auto-refills in 4h 58m
○ $(zap) GPT-OSS 120B (Medium) ▓▓▓▓▓▓▓▓▓▓ 100.0% Auto-refills in 4h 58m
--- Quick Controls ---
$(sync) Force Refresh Live Quota
$(symbol-color) Change Status Bar Display Style
$(symbol-numeric) Change Percentage Precision
$(settings-gear) Open Extension Settings
⚙️ Extension Settings
| Setting |
Default |
Description |
gravitypulse.pinnedModels |
["Gemini 3.6 Flash (Medium)"] |
Array of AI models to display simultaneously in the status bar (Defaults to Gemini 3.6 Flash Medium on install). |
gravitypulse.displayStyle |
"zap-percent" |
Display format (zap-percent, activity-percent, battery-bar, minimal, detailed). |
gravitypulse.precision |
"single-decimal" |
Percentage precision: single-decimal (83.4%) or integer (83%). |
gravitypulse.pollingIntervalSeconds |
30 |
Interval in seconds to query local Antigravity Language Server for latest quota. |
gravitypulse.warningThreshold |
20 |
Battery percentage below which status bar turns Amber/Yellow. |
gravitypulse.criticalThreshold |
10 |
Battery percentage below which status bar turns Red with warning alerts. |
gravitypulse.showToastOnLowBattery |
true |
Show a notification toast when a pinned model drops below critical levels. |
🚀 Commands
| Command |
Identifier |
Description |
| Open Quota Dashboard |
gravitypulse.showDashboard |
Opens the interactive model toggle and quota management menu. |
| Switch Model |
gravitypulse.switchModel |
Quick command to toggle pinned models. |
| Refresh Live Quota |
gravitypulse.syncAntigravityLogs |
Manually triggers an instant query to the Antigravity Language Server. |
📥 Installation
From Open VSX Registry (Antigravity IDE / VSCodium):
- Open the Extensions view (Ctrl+Shift+X).
- Search for
GravityPulse or akhilninja.gravity-pulse.
- Click Install.
Manual VSIX Installation:
- Download the latest
.vsix from Releases.
- Press Ctrl+Shift+P →
Extensions: Install from VSIX....
- Select
gravity-pulse-1.0.2.vsix.
🛠️ Development & Building
# Clone repository
git clone https://github.com/Akhil-Prajapati/GravityPulse.git
cd GravityPulse
# Install dependencies
npm install
# Run unit tests
npm test
# Compile TypeScript
npm run compile
# Package as marketplace VSIX
npm run package
📄 License
MIT © Akhil Prajapati