Antigravity Auto Retry + Auto Allow
Automatically clicks the "Retry" button when an Antigravity IDE agent session fails due to a transient error, and optionally auto-approves command permission dialogs so the agent can run without manual intervention.
How it works
This extension silently monitors the Antigravity IDE using Windows UI Automation and handles two types of interruptions:
🔄 Auto Retry (Error Recovery)
When the agent encounters a transient error (rate limits, server errors), the extension automatically clicks the Retry button to keep your session flowing.
✅ Auto Allow (Permission Approval)
When the agent requests permission to run a command, read a file, or write to a path, the IDE shows a dialog with:
- "Yes, allow this time" — temporary one-time approval
- "Yes, and always allow" — permanent approval for that command pattern
With Auto Allow enabled, the extension clicks your chosen option automatically so the agent never gets stuck waiting for approval.
Features
- Native Integration: Directly triggers actions via UI Automation — no keyboard macros.
- Non-intrusive: Never steals your mouse or window focus.
- Smart Backoff: Uses exponential backoff if retries keep failing.
- Configurable Allow Mode: Choose between one-time or permanent approval.
- Status Indicator: Shows a spinning icon in the status bar when active.
Installation
- Open VS Code or Antigravity IDE.
- Go to the Extensions view (
Ctrl+Shift+X).
- Search for Novastore Antigravity Auto Retry.
- Click Install.
- The auto-retry monitor will start automatically!
Requirements
- Windows OS: The underlying mechanism uses Windows UI Automation (
UIAutomationClient).
Extension Settings
This extension contributes the following settings:
| Setting |
Default |
Description |
antigravityAutoRetry.enabled |
true |
Enable or disable the auto-retry monitor |
antigravityAutoRetry.intervalMilliseconds |
100 |
Check interval in milliseconds |
antigravityAutoRetry.autoAllowCommands |
false |
Auto-approve permission dialogs ⚠️ |
antigravityAutoRetry.autoAllowMode |
allow_once |
allow_once or always_allow |
Quick Setup for Auto Allow
- Open Settings (
Ctrl+,)
- Search for "Antigravity Auto Retry"
- Check "Auto Allow Commands"
- Choose your mode:
- allow_once — clicks "Yes, allow this time" (safer, temporary)
- always_allow — clicks "Yes, and always allow" (permanent, less interruptions)
⚠️ Warning: Auto Allow lets the agent execute commands without your review. Use at your own risk.
Commands
Open the Command Palette (Ctrl+Shift+P) and type:
- Antigravity Auto Retry: Start
- Antigravity Auto Retry: Stop
- Antigravity Auto Retry: Toggle (Also available from the status bar)
- Antigravity Auto Retry: Open Settings
- Antigravity Auto Retry: Test Retry (Mock Window)
Viewing Logs
- Go to View → Output (
Ctrl+Shift+U).
- In the dropdown, select Antigravity Auto Retry.
- You'll see logs like:
[PS] Auto Retry started — scanning has begun
[PS] Auto-Allow is ENABLED (mode: allow_once) — auto-allow is active
[EXT] Auto-clicked permission dialog approval. — a permission was auto-approved
[EXT] Received retry signal. — an error retry was triggered
Support Development
This tool is provided by NOVASTORE (PTY) LTD.
Disclaimer
This is a community-created tool and is not officially affiliated with Google or the Antigravity team.