Antigravity Cleaner
Clean your Antigravity brain cache with a single click! See exactly what you're cleaning with a detailed folder view.
Features
- 📊 Detailed Cache View: See total cache size and number of folders at a glance
- 📁 Folder List: View all folders in your brain cache with individual sizes
- 🖱️ Click to Open: Click any folder to open it in Finder (macOS) or Explorer (Windows)
- 🗑️ One-Click Cleaning: Clean the entire cache with confirmation dialog
- 🔄 Refresh Button: Update the view to see current cache status
- 💡 Smart UI: Shows empty state when cache is clean
- 🔍 Tooltips: Hover over folders to see full path and size
Usage
The New Unified Interface
The extension now provides a single, clean panel "Brain Cache" in the sidebar that combines:
- Clean Cache Button: Large, persistent blue button at the top
- Folder List: Direct list of cache folders below
View Cache Contents
- Click the broom icon 🧹 in the activity bar (left sidebar)
- See the "Brain Cache" panel
- Click any folder to open it in Finder/Explorer
Clean Cache
Method 1: Clean All (Recommended)
- Click the big blue "Clean Cache" button at the top
- Confirm the dialog
Method 2: Delete Individual Folder
- Hover over any folder in the list
- Click the trash icon 🗑️ next to it
- Confirm deletion
What Gets Cleaned?
The extension cleans the folder: ~/.gemini/antigravity/brain
This is where Antigravity stores its brain cache data. Each subfolder represents a different cache session.
Screenshots
- Shows cache size (e.g., "Cache: 964.9 KB (3 folders)")
- Lists all folders with individual sizes
- Click folders to open in file manager
- Clean and refresh buttons in title bar
Installation
From VSIX
- Download the
.vsix file
- Open VSCode
- Go to Extensions view (Ctrl+Shift+X / Cmd+Shift+X)
- Click the "..." menu at the top
- Select "Install from VSIX..."
- Choose the downloaded
.vsix file
From Source
- Clone this repository
- Run
npm install
- Run
npm run compile
- Press F5 to open a new VSCode window with the extension loaded
Building
npm install
npm run compile
To package the extension:
npx @vscode/vsce package
- ✅ macOS: Opens folders in Finder
- ✅ Windows: Opens folders in Explorer
- ✅ Linux: Opens folders in default file manager (xdg-open)
Requirements
- VSCode 1.75.0 or higher
- Antigravity IDE with brain cache at
~/.gemini/antigravity/brain
Commands
- Clean Antigravity Brain Cache: Clean the entire cache
- Refresh Cache View: Refresh the folder list
- Open Folder in Finder/Explorer: Open selected folder (click on folder)
Author
VNED.PRO
License
MIT License - see LICENSE file for details
Support
If you encounter any issues or have suggestions, please visit https://vned.pro
Changelog
See CHANGELOG.md for version history.
Made with ❤️ by VNED.PRO