fix(server): distinguish the Antigravity CLI from the missing ACP runtime #10932
ClosedMarve10s(GitHub profile, opens in a new tab)wants to merge 3 commits into
main fromrefs/pull/10932/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- apps/server/src/provider/AntigravityInstallation.ts line 407OutdatedResolvedby Marve10s(GitHub profile, opens in a new tab)@@ -400,3 +400,8 @@400400 .map((directory) => path.resolve(directory, binary));401401 };402402403+ const cliOnPath = Effect.fn("AntigravityInstallation.cliOnPath")(function* (404+ processEnvironment?: NodeJS.ProcessEnv,405+ ) {406+ for (const name of platform === "win32" ? ["agy.exe", "agy.cmd"] : ["agy"]) {407+ for (const candidate of pathCandidates(name, processEnvironment)) {
- apps/server/src/provider/AntigravityInstallation.ts line 406OutdatedResolvedby Marve10s(GitHub profile, opens in a new tab)@@ -400,3 +400,7 @@400400 .map((directory) => path.resolve(directory, binary));401401 };402402403+ const cliOnPath = Effect.fn("AntigravityInstallation.cliOnPath")(function* (404+ processEnvironment?: NodeJS.ProcessEnv,405+ ) {406+ for (const name of platform === "win32" ? ["agy.exe", "agy.cmd"] : ["agy"]) {apps/server/src/provider/AntigravityInstallation.ts line 438Resolvedby Marve10s(GitHub profile, opens in a new tab)@@ -427,3 +438,4 @@427438 const selected = yield* fromExternal(candidate, "path");428439 if (selected) return selected;429440 }441+ if (releaseAsset && (yield* cliOnPath(processEnvironment))) {
- @@ -427,3 +435,7 @@427435 const selected = yield* fromExternal(candidate, "path");428436 if (selected) return selected;429437 }438+ if (releaseAsset && (yield* cliOnPath(processEnvironment))) {439+ return yield* installationError(440+ "resolve",441+ "The Antigravity CLI is installed, but T3 Code runs the separate Antigravity ACP agent. Install it in this environment or set a custom executable path.",
juliusmarminge closed this
Sign in to join this conversation.
Bugbot is paused — on-demand spend limit reached
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.