[English]
A VS Code extension that automatically accepts Antigravity execution prompts by simulating a physical Alt+Enter keystroke.
- Auto-Accept: Automatically clicks the blue
Run Alt+Enterbutton in the Antigravity Chat. - OS Idle Protection: Waits for 12 seconds of complete OS-level idle time (no keyboard or mouse interaction) before triggering, ensuring your typing is never interrupted.
- Live Countdown: Displays a real-time countdown (e.g.,
wait 12s) in the bottom-right status bar, resetting instantly if you touch the mouse or keyboard. - Visual Settings Panel: Click the Antigravity lightning icon (⚡️) in the left Activity Bar to easily configure the auto-accept countdown duration via a visual slider.
- Quick Toggle: Click the status bar item to toggle the auto-accept engine ON or OFF.
- Windows OS Only: Relies on PowerShell and
user32.dllto read global idle time.
- Search for
Auto-Accept for Antigravityin the VS Code Extensions Marketplace and install it. - Ensure
AutoAccept: ONorwait 12sis visible in the bottom-right status bar. - Trigger an Antigravity manual-approval prompt.
- Stop moving the mouse or keyboard. The status bar will count down from 12s.
- At
0s, the extension automatically focuses the chat panel and pressesAlt+Enter.
[中文]
一款通过模拟物理 Alt+Enter 按键,全自动确认 Antigravity 执行弹窗的 VS Code 插件。
- 自动确认:全自动点掉 Antigravity 聊天框中的蓝色
Run Alt+Enter运行弹窗。 - 防误触保护:严格检测系统底层的闲置时间,只有当鼠标和键盘完全停止操作长达 12 秒后才会触发,彻底杜绝打断打字。
- 实时倒计时:右下角状态栏实时显示触发倒计时(如
wait 12s),一旦您敲击键盘或轻扫鼠标,倒数瞬间重置以保护输入安全。 - 可视化设置面板:点击左侧活动栏的 Antigravity 专属闪电图标 (⚡️),即可通过滑动条直观地调整自动放行前的等待时间,设置立即生效。
- 一键开关:直接点击右下角状态栏图标,即可随时开启或暂停自动执行引擎。
- 仅限 Windows 系统:底层强依赖 PowerShell 及
user32.dll以读取全局空闲状态,Mac/Linux 无法运行。
- 在 VS Code 插件市场(Extensions Marketplace)中搜索
Auto-Accept for Antigravity并一键安装。 - 观察 VS Code 右下角状态栏,确保显示为
AutoAccept: ON(或倒计时的时钟)。 - 触发任何需要点击的 Antigravity 确认蓝框。
- 倒数结束,插件会自动锁定聊天面板,并帮您模拟物理按下
Alt+Enter放行指令。
- HANGUANGWU.