Fix: route Antigravity editor link to v1 (antigravity-ide://) after v2 release#214
Open
chogyejin wants to merge 1 commit into
Open
Fix: route Antigravity editor link to v1 (antigravity-ide://) after v2 release#214chogyejin wants to merge 1 commit into
chogyejin wants to merge 1 commit into
Conversation
|
@chogyejin is attempting to deploy a commit to the Michael Musil's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Problem
After Google released Antigravity v2 (an agent-first platform), the existing LocatorJS
"Antigravity" editor link stopped working as expected — clicking a component now opens v2 instead of
v1 (the IDE). v2 is not a code editor, so files don't open.
Root cause
Antigravity v1 and v2 are separate apps registering different URL schemes on macOS:
Antigravity IDE.app(v1)com.google.antigravity-ideantigravity-ide://Antigravity.app(v2)com.google.antigravityantigravity://LocatorJS was using
antigravity://, which is now handled by v2.Fix
Change the editor link in
packages/shared/src/index.tsfromantigravity://toantigravity-ide://:antigravity: { - url: "antigravity://file/${projectPath}${filePath}:${line}:${column}", - label: "Antigravity", + url: "antigravity-ide://file/${projectPath}${filePath}:${line}:${column}", + label: "Antigravity IDE", },Verification
pnpm buildapps/extension/build/production_chromeas unpacked inchrome://extensions/