Skip to content

ai-dev-2024/AUTO-ALL-AntiGravity

Repository files navigation

auto-all-Antigravity

auto-all-Antigravity Logo

auto-all-Antigravity

🚀 Unleash Your AI Agents. Zero Interruptions.

Open VSX Version GitHub Release License Support on Ko-fi ZAI Community

GitHubOpen VSXInstall☕ Support


✨ What is auto-all-Antigravity?

auto-all-Antigravity transforms your AI coding workflow by eliminating every repetitive approval prompt. It automatically accepts file edits, executes terminal commands, expands collapsed approval steps, and recovers stuck agents — letting your AI work continuously and autonomously without any manual intervention.

✅ 100% Free. No Paywalls. All Features Unlocked.


🔥 Key Features

Feature Description
🔄 Auto-Accept File Edits Instantly applies AI-suggested code changes without clicking "Accept"
💻 Auto-Execute Commands Runs terminal commands automatically — no more "Run" button clicks
📂 Auto-Expand Steps Automatically expands collapsed "N Steps Require Input" sections to reveal hidden approval buttons
🔁 Auto-Recover Agents Detects and retries when AI agents get stuck or fail
Single & Multi-Tab Modes Choose between focused single-tab or parallel multi-tab monitoring
🛡️ Safety Blocklist Prevents dangerous commands like rm -rf / from executing
🎯 Smart Click Scoping Only clicks buttons inside the agent panel — never touches sidebar, file explorer, or editor
📊 Impact Dashboard Visual stats on time saved, clicks automated, and sessions recovered
🔄 Auto-CDP Recovery Detects when CDP connection is lost and prompts to restore it
⚙️ Configurable Patterns Customize which button types get auto-accepted via the dashboard

☕ Support This Project

Support on Ko-fi

If auto-all-Antigravity saves you time, consider buying me a coffee!
100% free and open-source — your support keeps development going. ❤️


⚡ Status Bar Modes

The extension lives in your status bar with clear, intuitive controls:

Icon Mode Description
$(zap) OFF Disabled Extension is off. Click to enable.
⚡ ON Single Tab Monitors the active AI agent tab only.
⚡ Multi Multi-Tab Monitors ALL agent tabs simultaneously.

Click the icon to cycle through modes: OFF → ON → Multi → OFF

Mode Best For
⚡ ON Single agent workflows. Light on resources.
⚡ Multi Running multiple concurrent agents. All tabs monitored in parallel.

📸 Dashboard

Impact Dashboard

The Impact Dashboard tracks your productivity gains in real-time:

  • Clicks Saved — Total manual approvals automated
  • Time Saved — Minutes recovered from interruptions
  • Sessions — Active AI sessions monitored
  • Blocked — Dangerous commands prevented

🛡️ Safety First

Automation doesn't mean reckless execution. The built-in Safety Rules system blocks dangerous patterns:

rm -rf /          # Recursive root deletion
rm -rf ~          # Home directory wipe
format c:         # Windows drive format
del /f /s /q      # Force delete all files
:(){ :|:& };:     # Fork bomb
dd if=             # Disk overwrite
chmod -R 777 /    # Unrestricted permissions

✏️ Fully customizable — add regex or literal patterns via the dashboard.

Safety Rules


📥 Installation

From Open VSX (Recommended)

  1. Open Antigravity, VS Code, or Cursor
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for auto-all-antigravity
  4. Click Install

From VSIX File

Download the latest .vsix from GitHub Releases, then:

# Antigravity
antigravity --install-extension auto-all-antigravity-1.0.28.vsix

# VS Code
code --install-extension auto-all-antigravity-1.0.28.vsix

# Cursor
cursor --install-extension auto-all-antigravity-1.0.28.vsix

Verify Installation

Look for ⚡ ON or $(zap) OFF in your status bar after restarting.


🎮 Usage

Status Bar Controls

  • Left-click: Cycle through modes (OFF → ON → Multi → OFF)
  • Hover: See current state + access settings

Command Palette

Press Ctrl+Shift+P and search for:

Command Description
auto-all-Antigravity: Toggle ON/OFF Enable/disable automation
auto-all-Antigravity: Cycle State Cycle OFF → Single → Multi → OFF
auto-all-Antigravity: Toggle Multi-Tab Mode Switch between Single and Multi mode
auto-all-Antigravity: Settings Open the Impact Dashboard

🔧 Supported Environments

IDE Status
Antigravity Fully Tested
VS Code Fully Tested
Cursor Fully Tested

Requirements: VS Code engine ≥ 1.75.0


📅 Version Compatibility

Extension Version Date Key Changes
v1.0.28 (Latest) Feb 2026 3x faster response, fixed Always Run re-clicking, fixed auto-expand and auto-accept completely
v1.0.27 Feb 2026 Fixed auto-accept not clicking buttons due to text contamination
v1.0.26 Feb 2026 Sponsor button, enhanced Ko-Fi visibility, richer marketplace metadata
v1.0.25 Feb 2026 Fixed auto-expand for steps requiring input, scoped clicking to agent panel only
v1.0.23 Feb 2026 Added auto-expand for collapsed sections
v1.0.17 Feb 2026 Configurable button patterns dashboard
v1.0.14 Jan 2026 Auto-CDP setup on first activation
v1.0.10 Jan 2026 Multi-Tab mode, Impact Dashboard, Safety blocklist

Note: Antigravity updates may change the UI. If auto-accept stops working after an update, check for a newer extension version or open an issue.


🔗 Antigravity Manager Integration

If you use Antigravity Manager to switch between accounts, the extension works seamlessly. For best results, ensure your Manager config includes the CDP debugging flag:

{
  "antigravity_args": ["--remote-debugging-port=9000"]
}

The Manager can also auto-install this extension before launching Antigravity — enable this in the Manager's Settings under "Auto-install Extension".

CDP Lost? If Antigravity restarts without the debugging flag, the extension detects this and prompts you to relaunch with CDP enabled.


🚀 CI/CD & Releases

Releases are fully automated via GitHub Actions:

  1. Bump version in package.json

  2. Update CHANGELOG.md

  3. Commit and push a version tag:

    git tag v1.0.28
    git push origin v1.0.28
  4. GitHub Actions automatically:

    • Builds and packages the extension
    • Publishes to Open VSX
    • Creates a GitHub Release with the VSIX attached

🏗️ Architecture

auto-all-antigravity/
├── extension.js              # Main entry point (activation, status bar, commands)
├── settings-panel.js         # Impact Dashboard WebView UI
├── main_scripts/
│   ├── cdp-handler.js        # CDP connection management (WebSocket to browser)
│   ├── full_cdp_script.js    # Injected DOM script (button detection, clicking, expand)
│   ├── relauncher.js         # Auto-relaunch with CDP flag
│   ├── auto_accept.js        # Accept button logic
│   ├── overlay.js            # Multi-tab progress overlay
│   └── analytics/            # Click tracking and ROI statistics
├── media/                    # Icons and screenshots
├── .github/workflows/        # CI/CD pipeline
└── package.json              # Extension manifest

How It Works

  1. CDP Connection: On activation, the extension connects to Antigravity's Chrome DevTools Protocol (CDP) via WebSocket
  2. Script Injection: Injects full_cdp_script.js into the browser page
  3. Smart Detection: The injected script scans for accept/run buttons using configurable patterns
  4. Scoped Clicking: isInConversationArea() ensures only buttons inside the agent panel are clicked — sidebar, editor, and toolbar are excluded
  5. Auto-Expand: expandCollapsedSections() finds "N Steps Require Input" messages and clicks nearby expand buttons
  6. Safety Check: Before executing commands, checks against the banned commands list (supports regex patterns)
  7. Analytics: Tracks clicks, time saved, and blocked commands for the Impact Dashboard

🤝 Support the Project

This is a free, open-source project. If it saves you time, consider supporting development:

Buy Me a Coffee

🙏 Acknowledgements

This project is a refined fork of auto-accept-agent by MunKhin. Full credit to the original author for the foundational work.


📜 License

MIT License — Open and free forever.

Made with ❤️ for the AI community

About

Automated accept workflow for AntiGravity. All Pro features unlocked. Inspired by auto-accept-agent.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors