From 0a99054207be1c9e8543a3bb42914e4b409ececc Mon Sep 17 00:00:00 2001 From: Wout Stiens <71498452+StiensWout@users.noreply.github.com> Date: Mon, 16 Nov 2026 14:37:58 +0100 Subject: [PATCH 1/4] test(server): Antigravity resolves the agy CLI found on PATH Co-authored-by: Claude Opus 5.5 --- apps/server/src/provider/AntigravityInstallation.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/server/src/provider/AntigravityInstallation.test.ts b/apps/server/src/provider/AntigravityInstallation.test.ts index dcd3e40030093..1a27eda297ff1 100644 --- a/apps/server/src/provider/AntigravityInstallation.test.ts +++ b/apps/server/src/provider/AntigravityInstallation.test.ts @@ -1032,6 +1032,12 @@ it.layer(Layer.mergeAll(NodeServices.layer, NodeCrypto.layer))("Antigravity inst executablePath: alias, harnessPath: null, }); + expect( + yield* installation.resolve(undefined, { PATH: cliDirectory }).pipe(Effect.option), + ).toMatchObject({ + _tag: "Some", + value: { source: "path", harnessPath: null }, + }); expect(yield* installation.resolve(other).pipe(Effect.flip)).toMatchObject({ operation: "resolve", }); From fe6975dde940cfaeb067d525393988727e4d21e7 Mon Sep 17 00:00:00 2001 From: Wout Stiens <71498452+StiensWout@users.noreply.github.com> Date: Mon, 16 Nov 2026 14:38:46 +0100 Subject: [PATCH 2/4] fix(server): Antigravity discovers the agy CLI on PATH Co-authored-by: Claude Opus 5.5 --- apps/server/src/provider/AntigravityInstallation.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/server/src/provider/AntigravityInstallation.ts b/apps/server/src/provider/AntigravityInstallation.ts index feb412867f2e4..79fbb5cb92950 100644 --- a/apps/server/src/provider/AntigravityInstallation.ts +++ b/apps/server/src/provider/AntigravityInstallation.ts @@ -401,9 +401,12 @@ export const makeAntigravityInstallation = Effect.fn("AntigravityInstallation.ma ); return installed; } - for (const candidate of yield* commandCandidates(names.executable, processEnvironment)) { - const selected = yield* fromExternal(candidate, "path"); - if (selected) return selected; + // Only `agy` is looked up on PATH: `antigravity` there is usually the IDE launcher. + for (const command of [names.executable, "agy"]) { + for (const candidate of yield* commandCandidates(command, processEnvironment)) { + const selected = yield* fromExternal(candidate, "path"); + if (selected) return selected; + } } return yield* installationError( "resolve", From 275c2d8246ba6f701b2796f9fcbd501dd02c1a73 Mon Sep 17 00:00:00 2001 From: Wout Stiens <71498452+StiensWout@users.noreply.github.com> Date: Mon, 16 Nov 2026 14:47:13 +0100 Subject: [PATCH 3/4] chore: credit the models that worked on this change Co-authored-by: GPT 6.1 Sol From 800a40091e9eb291ef046cc314f5c18c7ee9ab90 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Mon, 16 Nov 2026 14:27:25 +0000 Subject: [PATCH 4/4] test(server): assert the agy PATH fallback directly and document it Co-Authored-By: Claude Opus 5.5 --- apps/server/src/provider/AntigravityInstallation.test.ts | 9 ++++----- docs/user/providers-antigravity.md | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/server/src/provider/AntigravityInstallation.test.ts b/apps/server/src/provider/AntigravityInstallation.test.ts index 1a27eda297ff1..a9d98adf217ab 100644 --- a/apps/server/src/provider/AntigravityInstallation.test.ts +++ b/apps/server/src/provider/AntigravityInstallation.test.ts @@ -1032,11 +1032,10 @@ it.layer(Layer.mergeAll(NodeServices.layer, NodeCrypto.layer))("Antigravity inst executablePath: alias, harnessPath: null, }); - expect( - yield* installation.resolve(undefined, { PATH: cliDirectory }).pipe(Effect.option), - ).toMatchObject({ - _tag: "Some", - value: { source: "path", harnessPath: null }, + expect(yield* installation.resolve(undefined, { PATH: cliDirectory })).toMatchObject({ + executablePath: alias, + harnessPath: null, + source: "path", }); expect(yield* installation.resolve(other).pipe(Effect.flip)).toMatchObject({ operation: "resolve", diff --git a/docs/user/providers-antigravity.md b/docs/user/providers-antigravity.md index 8a284a11e782e..0aa6392a39b84 100644 --- a/docs/user/providers-antigravity.md +++ b/docs/user/providers-antigravity.md @@ -58,9 +58,9 @@ space for downloading and staging an update. ### Use a manual installation Install [Antigravity CLI](https://antigravity.google/docs/getting-started) on the environment. -Set **Binary path** to its `agy` executable and update it yourself. -Leave the field blank to use the managed runtime, or a compatible executable on -`PATH` if no managed runtime is installed. +With **Binary path** blank, T3 uses the managed runtime, or `agy` on `PATH` if no +managed runtime is installed. Otherwise set **Binary path** to the `agy` +executable. Update a manual installation yourself. ## Update the managed runtime