Repository navigation
Conversation
Google sunset the free-tier Gemini CLI on 2026-06-18 in favor of the Antigravity CLI, a single Go binary named agy. Swap the preconfigured agent: install via mise's github backend, launch with --dangerously-skip-permissions and a positional prompt, and migrate existing installs by replacing the stub and moving a gemini default to agy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Replaces the retired Gemini CLI integration with Antigravity (agy) across installation, selection, launching, migration, menus, and tests.
Changes:
- Installs and launches Antigravity with its required package and flags.
- Migrates Gemini defaults and wrappers to
agy. - Updates menus and shell tests for Antigravity.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 5 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
bin/omarchy-agent |
Launches agy with unattended permissions. |
bin/omarchy-default-agent |
Adds Antigravity selection and installation. |
bin/omarchy-remove-preinstalls |
Replaces Gemini stub cleanup with agy. |
default/omarchy/omarchy-menu.jsonc |
Adds the Antigravity menu entry. |
install/user/mise.sh |
Preinstalls the agy lazy stub. |
migrations/1786610161.sh |
Migrates Gemini installations and defaults. |
test/shell.d/default-agent-test.sh |
Tests installation, migration, selection, and launching. |
test/shell.d/menu-test.sh |
Tests Antigravity menu metadata and ordering. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
A user who removed the preinstalls and then explicitly chose Gemini would have their default rewritten to agy without the wrapper being installed, so the next launch failed. Install the agy stub in that case despite the opt-out marker. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 8 changed files in this pull request and generated no new comments.
Suppressed comments (1)
migrations/1786610161.sh:7
- Add a migration test that places a non-Omarchy executable at
~/.local/bin/geminiand verifies it survives. The current test covers only deletion of the generated mise wrapper, so the safety condition that prevents this migration from deleting a user's customgeminicommand can regress unnoticed.
if [[ -f $HOME/.local/bin/gemini ]] && grep -Fq 'mise use -g "gemini"' "$HOME/.local/bin/gemini"; then
|
Closing — this landed upstream independently as #6900, and that version is the better one: it aliases Migration |
Google sunset the free/Pro-tier Gemini CLI on 2026-06-18 in favor of the Antigravity CLI, a single Go binary named
agy. Anyone picking Gemini as their preconfigured agent now gets a dead tool.This swaps the preconfigured Gemini agent for Antigravity:
install/user/mise.shinstallsgithub:google-antigravity/antigravity-clias theagylazy stub (same two-arg pattern as oh-my-pi), andomarchy-remove-preinstallscleans it upomarchy-default-agentacceptsantigravity | agy, stores theagyslug, and installs from the GitHub release package; thegemini/gemini-clinames are removedomarchy-agentlaunchesagy --dangerously-skip-permissions, passing an initial prompt as a positional argument (agy's replacement for--yolo --prompt-interactive)geminidefault toagyTests updated in
default-agent-test.sh(lazy stub, migration behaviors, opt-out, launch flags) andmenu-test.sh(entry, glyph, alphabetical order — with an optionalcheckedslug since the menu key isantigravitybut the stored slug isagy).Related but non-overlapping: #6472 (usage-bar provider) and #5954 (Antigravity IDE as editor); neither touches the agent stack.
🤖 Generated with Claude Code