English | 中文
Zero-config auto-accept for Antigravity IDE. Automatically handles approval prompts, terminal commands, file edits, and permission requests — so you can focus on building.
No telemetry. No network calls. Everything runs locally.
- Recognizes all agent action buttons: Accept, Accept All, Run, Allow, Retry, and more
- Word-boundary matching with priority ordering — always clicks the right button
- Icon-only button support (codicon checkmarks)
- Command filtering — Blocklist/allowlist with word-boundary matching
- Git conflict protection — Never clicks Accept in merge/diff editors
- Circuit breaker — Stops auto-retry after 3 consecutive recovery clicks
- Cooldown system — Prevents rapid duplicate clicks
- Accept delay — 2-second review window before accepting file changes
- Event-driven — MutationObserver reacts to DOM changes instantly, no polling waste
- Worker thread isolation — CDP connection runs in a separate thread, never blocks UI
- Fallback layers — Expand detection + keyboard shortcut backup for edge cases
- Hard stop — OFF button fully disconnects CDP, guaranteed to stop all automation
- Status bar toggle — one click ON/OFF
- Live click counter
- CDP health indicator (connected / reconnecting / disconnected)
- Zero configuration required — works out of the box
- Download the latest
.vsixfrom Releases - In Antigravity:
Extensions→...→Install from VSIX... - Done — no restart required
git clone https://github.com/neo1027144-creator/xept-auto-accept.git
cd xept-auto-accept
npm install
npm run build
npx @vscode/vsce package --no-dependencies- Install the extension
- Launch Antigravity with CDP enabled:
antigravity --remote-debugging-port=9222- Look for the ✅ Xept indicator in the bottom-right status bar
- That's it — auto-accept is running
All settings under xept.* in VS Code settings:
| Setting | Type | Default | Description |
|---|---|---|---|
xept.autoAllow |
boolean |
true |
Auto-accept permission prompts |
xept.autoRun |
boolean |
true |
Auto-click Run for terminal commands |
xept.autoAcceptFileEdits |
boolean |
true |
Auto-accept file changes |
xept.autoRetryEnabled |
boolean |
true |
Auto-retry on errors |
xept.cdpPort |
number |
9222 |
CDP debugging port |
xept.blockedCommands |
string[] |
[] |
Commands to never auto-run |
xept.allowedCommands |
string[] |
[] |
Only auto-run these commands (empty = all) |
| Command | Description |
|---|---|
Xept: Toggle Auto-Accept |
Enable or disable auto-accept |
Xept: Restore Shortcuts |
Generate CDP launcher shortcut |
┌─────────────────────────────────────┐
│ Xept Auto-Accept │
├──────────────┬──────────────────────┤
│ Extension │ CDP Worker Thread │
│ (controls) │ (DOM automation) │
│ ├── Toggle │ ├── MutationObserver│
│ ├── Config │ ├── Button Finder │
│ ├── Health │ ├── Safety Filter │
│ └── Status │ └── Click Handler │
├──────────────┴──────────────────────┤
│ Status Bar (click count + health) │
└─────────────────────────────────────┘
- Extension connects to Antigravity via CDP WebSocket
- Injects a DOM observer script into the agent panel
- MutationObserver watches for new buttons in real-time
- Matching buttons are clicked after safety checks pass
- ✅ 100% local — All communication on
127.0.0.1 - ✅ No telemetry — Zero external network calls
- ✅ No data collection — Nothing leaves your machine
- ✅ Open source — Full transparency
This project is not affiliated with, endorsed by, or associated with Google or Antigravity in any way. It is an independent tool. Use at your own risk.
Apache License 2.0. See LICENSE for details.