VS Code Extensions
Antigravity Auto Retry

Antigravity Auto Retry

by henrychao24

Auto-click Retry buttons for AI coding agents. Zero-babysitting automation via CDP.

Downloads

132

Rating

5.0 / 5 (1)

Version

1.1.0

Last updated

Apr 20, 2026

License: MIT

English | 中文

Auto-click Retry buttons for AI coding agents. Zero-babysitting automation.


👤 About Me

Henry Chao


🤖 Auto Retry

Automatically click Retry buttons when AI agents encounter errors, and optionally auto-click Run buttons for terminal commands. Zero-babysitting automation!

How It Works

Uses Chrome DevTools Protocol (CDP) to inject a script that monitors the IDE webview and auto-clicks approval buttons.

Quick Start

  1. Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Run Antigravity Auto Retry: Start
  3. First time: Follow setup dialog to copy the patch command to enable CDP
  4. Restart IDE
  5. Run Antigravity Auto Retry: Start again → Active! ✅

Supported IDEs

  • ✅ Antigravity
  • ✅ Cursor
  • ✅ VS Code
  • ✅ Other Electron-based IDEs

Platform Support

Platform Status
macOS ✅ Full support
Windows ✅ Full support
Linux ✅ Full support

💡 Windows Background Startup Tip

For Windows users who want to launch the IDE (e.g., Antigravity IDE) with the CDP port enabled, without a lingering command prompt window, you can use the provided Antigravity.vbs script:

  1. Ensure the executable path inside Antigravity.vbs matches your installation (default is C:\Soft\tools\Antigravity\Antigravity.exe).
  2. Double-click the Antigravity.vbs script (or create a desktop shortcut to it).
  3. This will silently launch the IDE with --remote-debugging-port=31905 in the background!

Commands

Command Description
Antigravity Auto Retry: Start Start auto-retry loop
Antigravity Auto Retry: Stop Stop auto-retry loop
Antigravity Auto Retry: Toggle Toggle auto-retry loop
Antigravity Auto Retry: Show Log Show detailed logs in Output channel

Configuration

Setting Default Description
antigravitySync.autoStartRetry false Automatically start Auto Retry when IDE launches
antigravitySync.autoRunEnabled false Auto-click "Run" button for AI agent terminal commands
antigravitySync.cdpPort 31905 CDP remote debugging port for auto-accept
antigravitySync.autoRetryInterval 3 Interval in seconds between retry checks
antigravitySync.autoRetryMaxRetries 50 Maximum number of auto-retries before stopping

Development

git clone https://github.com/henrychao24/antigravity-sync.git
cd antigravity-sync
npm install
npm run build

# Run extension (dev mode)
agy . && press F5

Contributing

License

MIT © Henry Chao

Related extensions