Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions apps/server/src/provider/forkAntigravityQuota.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import * as Effect from "effect/Effect";
import * as FileSystem from "effect/FileSystem";
import * as Path from "effect/Path";
import { HttpClient, HttpClientResponse } from "effect/http";
import { resolveAntigravityReleaseAsset } from "./antigravityRelease.ts";
import { makeAntigravityUsageProbe } from "./antigravityUsageLimits.ts";

const fixture = Effect.fn("ForkAntigravityQuotaTest.fixture")(function* (
Expand Down Expand Up @@ -51,9 +52,10 @@ const fixture = Effect.fn("ForkAntigravityQuotaTest.fixture")(function* (
userAgents.push(request.headers["user-agent"]);
if (options.failure === "http") return json({ error: "Unavailable" }, 503);
if (options.failure === "schema") return json({ groups: "invalid" });
const pinnedVersion = resolveAntigravityReleaseAsset("darwin", "arm64")?.version ?? "1.0.0";
const correctIdentity =
request.headers["user-agent"] ===
`antigravity/acp/${options.unknownVersion ? "1.4.5" : version} (aidev_client; os_type=darwin; arch=arm64)`;
`antigravity/acp/${options.unknownVersion ? pinnedVersion : version} (aidev_client; os_type=darwin; arch=arm64)`;
const buckets = options.empty
? []
: [
Expand Down Expand Up @@ -147,11 +149,12 @@ it.effect("uses the pinned ACP identity when a custom executable has no recorded
Effect.gen(function* () {
const { probe, userAgents } = yield* fixture({ unknownVersion: true });
const limits = yield* probe;
const pinnedVersion = resolveAntigravityReleaseAsset("darwin", "arm64")?.version ?? "1.0.0";
expect(limits.unavailable).toBeUndefined();
expect(limits.windows).toHaveLength(4);
expect(userAgents).toEqual([
"antigravity/acp/1.4.5 (aidev_client; os_type=darwin; arch=arm64)",
"antigravity/acp/1.4.5 (aidev_client; os_type=darwin; arch=arm64)",
`antigravity/acp/${pinnedVersion} (aidev_client; os_type=darwin; arch=arm64)`,
`antigravity/acp/${pinnedVersion} (aidev_client; os_type=darwin; arch=arm64)`,
]);
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),
);
Expand Down
6 changes: 3 additions & 3 deletions docs/user/fork-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,17 @@ this display. OpenAI may delay or withhold a reading even for a supported thread

## Existing Antigravity ACP installations

This fork uses upstream's ACP 1.4.1 runtime and model selection. Updating T3 Code
This fork uses upstream's ACP 1.4.5 runtime and model selection. Updating T3 Code
does not replace an already installed ACP runtime. ACP 1.4.2 through 1.4.4,
including the fork's previous 1.4.3 installation, write
`skills/system/run-workflow/SKILL.md` into session workspaces. The provider refuses
to start these known affected versions and shows an update instruction.

On each environment with one of these versions, open **Settings > Providers** on
web or desktop and choose **Update Antigravity**. Wait for installation to finish
and verify the provider reports 1.4.1 before refreshing models or starting a thread.
and verify the provider reports 1.4.5 before refreshing models or starting a thread.
If **Binary path** is set, replace that executable and its matching
`localharness_external` helper with 1.4.1 yourself, or clear the override to use the
`localharness_external` helper with 1.4.5 yourself, or clear the override to use the
managed installation. See [manual installation](providers-antigravity.md#use-a-manual-installation).

The update keeps Google credentials and thread history. It does not remove files
Expand Down