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

antigravityRelease.ts

93 lines3.3 KB

1// 1.4.2 through 1.4.4 write skills/system/run-workflow/SKILL.md into every session workspace.
2const ANTIGRAVITY_RELEASE_VERSION = "1.4.1";
3​
4export interface AntigravityReleaseAsset {
5 readonly version: string;
6 readonly url: string;
7 readonly sha256: string;
8 readonly archiveBytes: number;
9 readonly executable: {
10 readonly name: string;
11 readonly bytes: number;
12 };
13 readonly harness: {
14 readonly name: string;
15 readonly bytes: number;
16 };
18​
19const releaseAssets = new Map<string, AntigravityReleaseAsset>([
20 [
21 "darwin-arm64",
22 {
23 version: ANTIGRAVITY_RELEASE_VERSION,
24 url: "https://dl.google.com/agy-extensions/releases/macos/agy-acp-server-1.4.1-darwin-arm64.zip",
25 sha256: "f9bdd68291ae78c38d2141e63bc86b84e6cc7b9f60f71652c68435a7943deb17",
26 archiveBytes: 112_737_434,
27 executable: { name: "agy_acp_server.par", bytes: 280_996_576 },
28 harness: { name: "localharness_external", bytes: 120_246_928 },
29 },
30 ],
31 [
32 "darwin-x64",
33 {
34 version: ANTIGRAVITY_RELEASE_VERSION,
35 url: "https://dl.google.com/agy-extensions/releases/macos/agy-acp-server-1.4.1-darwin-x86_64.zip",
36 sha256: "27e31f096874704f14167b07ef9e84cc77134615ee41d024f7b1c957add85307",
37 archiveBytes: 118_349_036,
38 executable: { name: "agy_acp_server.par", bytes: 285_186_624 },
39 harness: { name: "localharness_external", bytes: 124_910_048 },
40 },
41 ],
42 [
43 "linux-x64",
44 {
45 version: ANTIGRAVITY_RELEASE_VERSION,
46 url: "https://dl.google.com/agy-extensions/releases/linux/agy-acp-server-1.4.1-linux-x86_64.zip",
47 sha256: "2e37012ceb2a5c7fc7309b6e6596234fb637ee3c62a5199f65d4cbe777871384",
48 archiveBytes: 336_170_339,
49 executable: { name: "agy_acp_server.par", bytes: 930_826_753 },
50 harness: { name: "localharness_external", bytes: 131_187_512 },
51 },
52 ],
53 [
54 "linux-arm64",
55 {
56 version: ANTIGRAVITY_RELEASE_VERSION,
57 url: "https://dl.google.com/agy-extensions/releases/linux/agy-acp-server-1.4.1-linux-arm64.zip",
58 sha256: "609336a1c97545487e3ddd55dbd153dc0f40f4e6534486cc1c5f4c0ebb85c2da",
59 archiveBytes: 321_922_507,
60 executable: { name: "agy_acp_server.par", bytes: 933_416_796 },
61 harness: { name: "localharness_external", bytes: 124_895_000 },
62 },
63 ],
64 [
65 "win32-x64",
66 {
67 version: ANTIGRAVITY_RELEASE_VERSION,
68 url: "https://dl.google.com/agy-extensions/releases/windows/agy-acp-server-1.4.1-windows-x86_64.zip",
69 sha256: "5f5b7d0328df17c128b2be338d4567b0d24e56ace8196e88794fec37d1372554",
70 archiveBytes: 129_599_308,
71 executable: { name: "agy_acp_server.exe", bytes: 86_098_784 },
72 harness: { name: "localharness_external.exe", bytes: 146_036_888 },
73 },
74 ],
75 [
76 "win32-arm64",
77 {
78 version: ANTIGRAVITY_RELEASE_VERSION,
79 url: "https://dl.google.com/agy-extensions/releases/windows/agy-acp-server-1.4.1-windows-arm64.zip",
80 sha256: "24c52bbc12aae20f55eb53d373669412d95a9c44fd59be4ea4e355918b91fbf7",
81 archiveBytes: 132_507_344,
82 executable: { name: "agy_acp_server.exe", bytes: 93_197_744 },
83 harness: { name: "localharness_external.exe", bytes: 136_970_904 },
84 },
85 ],
86]);
87​
88export function resolveAntigravityReleaseAsset(
89 platform: NodeJS.Platform,
90 arch: string,
91): AntigravityReleaseAsset | null {
92 return releaseAssets.get(`${platform}-${arch}`) ?? null;