Replace Gemini CLI support with Antigravity CLI#30
Open
myavalka wants to merge 2 commits into
Open
Conversation
Google deprecated Gemini CLI in favor of Antigravity CLI (June 2026). This migrates the plugin to the new platform: renamed manifests (plugin.json, ANTIGRAVITY.md, hooks/antigravity-hooks.json), unified PreToolUse hook event, .agents/ settings directory, and updated install commands (agy plugin install). Version bumped to 1.7.0. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Antigravity CLI inherits Gemini's variable names: ${extensionPath} for
hook commands (not ${pluginPath}) and GEMINI_PROJECT_DIR for the project
directory env var. Also corrects hooks copy instruction — agy plugin
install auto-discovers hooks.json at the plugin root.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gemini-extension.json→plugin.json,GEMINI.md→ANTIGRAVITY.md,hooks/gemini-hooks.json→hooks/antigravity-hooks.jsonPreToolUseacross all three platforms (wasBeforeToolon Gemini), matcher torun_command, and uses Antigravity's named-group hook format.gemini/to.agents/; SDK header fromgemini-cli-extensiontoantigravity-cli-plugincheck-token.sh— all platforms now use the samepermissionDecision/updatedInputoutput formatContext: Google deprecated Gemini CLI in favor of Antigravity CLI as of June 18, 2026.
Test plan
agy plugin installand verify skills load (/skills list)/configureon Antigravity CLI and complete OAuth flowhooks/antigravity-hooks.jsonto.agents/hooks.json)geminireferences outside CHANGELOG.md historical entries🤖 Generated with Claude Code