Skip to content

Replace Gemini CLI support with Antigravity CLI#30

Open
myavalka wants to merge 2 commits into
mainfrom
mihiry/antigravity-migration
Open

Replace Gemini CLI support with Antigravity CLI#30
myavalka wants to merge 2 commits into
mainfrom
mihiry/antigravity-migration

Conversation

@myavalka

@myavalka myavalka commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Migrates plugin from deprecated Gemini CLI to Google's Antigravity CLI platform
  • Renames manifests: gemini-extension.jsonplugin.json, GEMINI.mdANTIGRAVITY.md, hooks/gemini-hooks.jsonhooks/antigravity-hooks.json
  • Unifies hook event to PreToolUse across all three platforms (was BeforeTool on Gemini), matcher to run_command, and uses Antigravity's named-group hook format
  • Settings directory changed from .gemini/ to .agents/; SDK header from gemini-cli-extension to antigravity-cli-plugin
  • Simplifies check-token.sh — all platforms now use the same permissionDecision/updatedInput output format
  • Version bumped to 1.7.0 across all three manifests

Context: Google deprecated Gemini CLI in favor of Antigravity CLI as of June 18, 2026.

Test plan

  • Install plugin on Antigravity CLI via agy plugin install and verify skills load (/skills list)
  • Run /configure on Antigravity CLI and complete OAuth flow
  • Verify token auto-refresh hook fires on Antigravity (copy hooks/antigravity-hooks.json to .agents/hooks.json)
  • Confirm Claude Code and Codex plugin install/functionality is unchanged
  • Verify no remaining gemini references outside CHANGELOG.md historical entries

🤖 Generated with Claude Code

myavalka and others added 2 commits July 3, 2026 14:59
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>
@myavalka myavalka marked this pull request as ready for review July 3, 2026 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant