Skip to content

Fix: route Antigravity editor link to v1 (antigravity-ide://) after v2 release#214

Open
chogyejin wants to merge 1 commit into
infi-pc:masterfrom
chogyejin:fix/antigravity-url
Open

Fix: route Antigravity editor link to v1 (antigravity-ide://) after v2 release#214
chogyejin wants to merge 1 commit into
infi-pc:masterfrom
chogyejin:fix/antigravity-url

Conversation

@chogyejin

Copy link
Copy Markdown

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:

App Bundle ID URL scheme
Antigravity IDE.app (v1) com.google.antigravity-ide antigravity-ide://
Antigravity.app (v2) com.google.antigravity antigravity://

LocatorJS was using antigravity://, which is now handled by v2.

Fix

Change the editor link in packages/shared/src/index.ts from antigravity:// to
antigravity-ide://:

 antigravity: {
-  url: "antigravity://file/${projectPath}${filePath}:${line}:${column}",
-  label: "Antigravity",
+  url: "antigravity-ide://file/${projectPath}${filePath}:${line}:${column}",
+  label: "Antigravity IDE",
 },

Verification

  1. pnpm build
  2. Load apps/extension/build/production_chrome as unpacked in chrome://extensions/
  3. Click a component → v1 (Antigravity IDE) opens.

@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown

@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.

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