@devries-cameron20 / t3code-1 / commits / 0058a4abb3
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(server): Antigravity finds the agy CLI on PATH when no binary path is set (#37916)

Julius Marminge committed Nov 16, 2026 at 20:54 UTC 0058a4abb3adda91313c8e22d9a183cac0c4b8d5
2 files changed +10 -3
apps/server/src/provider/AntigravityInstallation.test.ts
+5
@@ -1032,6 +1032,11 @@ it.layer(Layer.mergeAll(NodeServices.layer, NodeCrypto.layer))("Antigravity inst
1032 executablePath: alias,
1033 harnessPath: null,
1034 });
1035 + expect(yield* installation.resolve(undefined, { PATH: cliDirectory })).toMatchObject({
1036 + executablePath: alias,
1037 + harnessPath: null,
1038 + source: "path",
1039 + });
1040 expect(yield* installation.resolve(other).pipe(Effect.flip)).toMatchObject({
1041 operation: "resolve",
1042 });
apps/server/src/provider/AntigravityInstallation.ts
+5 -3
@@ -401,9 +401,11 @@ export const makeAntigravityInstallation = Effect.fn("AntigravityInstallation.ma
401 );
402 return installed;
403 }
404 - for (const candidate of yield* commandCandidates(names.executable, processEnvironment)) {
405 - const selected = yield* fromExternal(candidate, "path");
406 - if (selected) return selected;
404 + for (const command of [names.executable, "agy"]) {
405 + for (const candidate of yield* commandCandidates(command, processEnvironment)) {
406 + const selected = yield* fromExternal(candidate, "path");
407 + if (selected) return selected;
408 + }
409 }
410 return yield* installationError(
411 "resolve",