feat: add native Antigravity (agy) integration - #731
Merged
Conversation
installState determines Supacode-hook presence before checking the feature toggles, so a user's pre-existing ~/.gemini/config/hooks.json with no Supacode hooks reads as not installed and is never auto-installed over without consent. Drift detection compares managed commands per event rather than as a flattened set, so a removed event that shares its command with another (Pre* use busy, Post* use idle) is correctly reported outdated. installState also validates the event shapes it reports on, so a config that install and uninstall would reject is not shown as installed. install and uninstall reject a non-object supacode-hooks namespace and scalar event entries instead of overwriting or retaining data Supacode does not own. A failed hooks.json delete during uninstall is surfaced rather than swallowed, and the installer logs its error paths through SupaLogger like the sibling installers. AgentBadgeView mirrors each asset's catalog template intent. Adds tests for the consent case, per-event and cross-event drift, legacy hook migration, corrupt files, and malformed-shape rejection.
sbertix
enabled auto-merge (squash)
July 29, 2026 21:36
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.
Closes #711
Summary
Adds native integration for the Google Antigravity (
agy) coding agent:gemini/config/hooks.json
and install thesupacode-cliskill into~/.gemini/antigravity-cli/skills/supacode-cli/SKILL.md. - **Sidebar & UI**: Integrates Antigravity intoDeveloperSettingsView,AgentAvatarGroupView, and updatesCodingAgentsSidebarCardView's re-engagement cutoff date for the launch. - **Testing**: Includes full unit test coverage inAntigravitySettingsInstallerTests,SkillAgentTests,AgentPresenceOSCTests, andCodingAgentsSidebarCardModeTests`.Type of change
ready)How was this tested?
make checkpasses (format + lint)make testpassesAI tool disclosure (optional)
Checklist
Closes #above.ready.