English | 中文
Auto-click Retry buttons for AI coding agents. Zero-babysitting automation.
👤 About Me
Henry Chao
- 🐙 GitHub: henrychao24
🤖 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
- Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) - Run
Antigravity Auto Retry: Start - First time: Follow setup dialog to copy the patch command to enable CDP
- Restart IDE
- Run
Antigravity Auto Retry: Startagain → 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:
- Ensure the executable path inside
Antigravity.vbsmatches your installation (default isC:\Soft\tools\Antigravity\Antigravity.exe). - Double-click the
Antigravity.vbsscript (or create a desktop shortcut to it). - This will silently launch the IDE with
--remote-debugging-port=31905in 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