Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

antigravityRelease.ts

83 lines3.1 KB

1const ANTIGRAVITY_RELEASE_VERSION = "agy_acp_server_1.1.1";
2​
3export interface AntigravityReleaseAsset {
4 readonly version: string;
5 readonly url: string;
6 readonly sha256: string;
7 readonly archiveBytes: number;
8 readonly executable: {
9 readonly name: string;
10 readonly bytes: number;
11 };
12 readonly harness: {
13 readonly name: string;
14 readonly bytes: number;
15 };
17​
18// URLs come from the official registry. Hashes and sizes were checked on 2026-09-03.
19// https://github.com/agentclientprotocol/registry/blob/81bf71b55e15f630c4fb8a86d20d3088071d2071/antigravity-acp/agent.json
20const releaseAssets = new Map<string, AntigravityReleaseAsset>([
21 [
22 "darwin-arm64",
23 {
24 version: ANTIGRAVITY_RELEASE_VERSION,
25 url: "https://dl.google.com/agy-extensions/releases/macos/agy-acp-server-agy_acp_server_1.1.1-darwin-arm64.zip",
26 sha256: "fdfa915652cdb7ba8085cc8fffed072cbe009251aa2c951aabdda07a8c28a189",
27 archiveBytes: 316_014_828,
28 executable: { name: "agy_acp_server.par", bytes: 802_163_856 },
29 harness: { name: "localharness_external", bytes: 116_766_704 },
30 },
31 ],
32 [
33 "linux-x64",
34 {
35 version: ANTIGRAVITY_RELEASE_VERSION,
36 url: "https://dl.google.com/agy-extensions/releases/linux/agy-acp-server-agy_acp_server_1.1.1-linux-x86_64.zip",
37 sha256: "38f62d01b32deb0907b3d39a71ec301fd36369f6ffd1cf262d4af385177f79df",
38 archiveBytes: 681_969_407,
39 executable: { name: "agy_acp_server.par", bytes: 1_880_360_328 },
40 harness: { name: "localharness_external", bytes: 128_966_920 },
41 },
42 ],
43 [
44 "linux-arm64",
45 {
46 version: ANTIGRAVITY_RELEASE_VERSION,
47 url: "https://dl.google.com/agy-extensions/releases/linux/agy-acp-server-agy_acp_server_1.1.1-linux-arm64.zip",
48 sha256: "ed69e64b308fcb123ab54bf3277bf9cb0d651064f885ea5aab0ff520c7175398",
49 archiveBytes: 656_572_786,
50 executable: { name: "agy_acp_server.par", bytes: 1_862_073_131 },
51 harness: { name: "localharness_external", bytes: 122_158_704 },
52 },
53 ],
54 [
55 "win32-x64",
56 {
57 version: ANTIGRAVITY_RELEASE_VERSION,
58 url: "https://dl.google.com/agy-extensions/releases/windows/agy-acp-server-agy_acp_server_1.1.1-windows-x86_64.zip",
59 sha256: "47cb50eef14f0a4655d78cfcfda869bcea7aaee5f9787e936bc2935ea612c3b8",
60 archiveBytes: 468_238_392,
61 executable: { name: "agy_acp_server.exe", bytes: 430_801_616 },
62 harness: { name: "localharness_external.exe", bytes: 130_971_800 },
63 },
64 ],
65 [
66 "win32-arm64",
67 {
68 version: ANTIGRAVITY_RELEASE_VERSION,
69 url: "https://dl.google.com/agy-extensions/releases/windows/agy-acp-server-agy_acp_server_1.1.1-windows-arm64.zip",
70 sha256: "35f4b1f47ba6a3fea7b0a3e30010df5ea73a64b4f0e7cf991cddc673ddfbcafc",
71 archiveBytes: 468_521_191,
72 executable: { name: "agy_acp_server.exe", bytes: 435_075_816 },
73 harness: { name: "localharness_external.exe", bytes: 122_455_704 },
74 },
75 ],
76]);
77​
78export function resolveAntigravityReleaseAsset(
79 platform: NodeJS.Platform,
80 arch: string,
81): AntigravityReleaseAsset | null {
82 return releaseAssets.get(`${platform}-${arch}`) ?? null;