Environment:
- OS: Ubuntu 24.04
- IDE: Google Antigravity
Description:
When the Antigravity AI Agent attempts to use the run_command tool to execute terminal commands, the step execution fails immediately with the error: unexpected user interaction type: not permission. It seems the internal handler fails to process the permission prompt correctly, blocking the agent from running any automated terminal commands.
Steps to Reproduce:
- Open the Antigravity IDE on an Ubuntu 24.04 machine.
- Ask the agent to run a simple command in the terminal (e.g.,
python -c "print('hello world')"). - The agent attempts to make the tool call to execute the command.
- The tool call fails and returns the following error output to the agent:
Encountered error in step execution: unexpected user interaction type: not permission
Troubleshooting Attempted (Did not resolve the issue):
- Cleared the daemon logs (
~/.gemini/antigravity/daemon/*.log). - Cleared the context state (
~/.gemini/antigravity/context_state/*) and prompting cache. - Restarted the IDE using
Developer: Reload Window. - The issue completely persists despite starting a fresh session and clearing the cache.
Expected Behavior:
The IDE should correctly prompt the user for execution permission (Approve/Reject) or auto-run the command if marked as safe, rather than failing with an unhandled interaction type error.