@fungi.computer/computer 0.16.6 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +21 -4
- package/container/computer-init.mjs +28 -0
- package/container/computer-start.sh +8 -1
- package/container/fungi-services +2 -0
- package/container/fungi-services.mjs +190 -0
- package/container/package.json +2 -1
- package/container/pnpm-lock.yaml +8 -0
- package/container/services-render.mjs +126 -0
- package/container/terminal-assets/global-tools.sh +4 -0
- package/container/terminal-server.mjs +55 -16
- package/container/tools/cli.mjs +55 -0
- package/container/tools/fungi-tools +14 -0
- package/container/tools/install.mjs +310 -0
- package/container/tools/manifest.mjs +111 -0
- package/container/tools/pi/package.json +8 -0
- package/container/tools/pi/pnpm-lock.yaml +1174 -0
- package/container/tools/pi/pnpm-workspace.yaml +4 -0
- package/dist/fleet/wire.d.ts +14 -0
- package/dist/fleet/wire.js +7 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +150 -25
- package/dist/port-failure.d.ts +10 -2
- package/dist/port-failure.js +25 -5
- package/dist/port-ownership.d.ts +16 -0
- package/dist/port-ownership.js +36 -0
- package/dist/preview-wait.d.ts +24 -0
- package/dist/preview-wait.js +47 -0
- package/dist/process-inventory.js +7 -21
- package/dist/services-apply.d.ts +54 -0
- package/dist/services-apply.js +66 -0
- package/dist/services-tools.d.ts +30 -0
- package/dist/services-tools.js +91 -0
- package/dist/services.d.ts +38 -0
- package/dist/services.js +123 -0
- package/dist/team-candidate-builder.mjs +29 -12
- package/package.json +17 -8
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import process from "node:process";
|
|
2
|
+
import { installTool, ToolsInstallError } from "./install.mjs";
|
|
3
|
+
import { toolCatalog } from "./manifest.mjs";
|
|
4
|
+
|
|
5
|
+
// Created per Computer by computer-start.sh outside the synced /workspace home.
|
|
6
|
+
// It survives nothing across a wake; Agent CLIs are reinstalled from pins.
|
|
7
|
+
const cache = "/var/cache/fungi-tools";
|
|
8
|
+
|
|
9
|
+
const controller = new globalThis.AbortController();
|
|
10
|
+
for (const signal of ["SIGTERM", "SIGINT"])
|
|
11
|
+
process.once(signal, () => controller.abort());
|
|
12
|
+
|
|
13
|
+
/** Run one install; resolve to the process exit status. */
|
|
14
|
+
async function main() {
|
|
15
|
+
try {
|
|
16
|
+
const [operation, tool, ...extra] = process.argv.slice(2);
|
|
17
|
+
if (operation !== "install" || !tool || extra.length !== 0)
|
|
18
|
+
throw new ToolsInstallError(
|
|
19
|
+
"unsupported",
|
|
20
|
+
`Usage: fungi-tools install <${Object.keys(toolCatalog).join("|")}>`,
|
|
21
|
+
);
|
|
22
|
+
if (process.platform !== "linux" || process.arch !== "x64")
|
|
23
|
+
throw new ToolsInstallError(
|
|
24
|
+
"unsupported",
|
|
25
|
+
"This image supports Linux x64 tools only",
|
|
26
|
+
);
|
|
27
|
+
if (!process.env.HOME || process.getuid() === 0)
|
|
28
|
+
throw new ToolsInstallError(
|
|
29
|
+
"unsupported",
|
|
30
|
+
"Run as the Computer user with its durable HOME, not root",
|
|
31
|
+
);
|
|
32
|
+
const result = await installTool(tool, {
|
|
33
|
+
home: process.env.HOME,
|
|
34
|
+
cache,
|
|
35
|
+
catalog: toolCatalog,
|
|
36
|
+
signal: controller.signal,
|
|
37
|
+
notify: (line) => process.stderr.write(`${line}\n`),
|
|
38
|
+
});
|
|
39
|
+
process.stdout.write(
|
|
40
|
+
`fungi-tools: ${result.tool} ${result.version}: ${result.status}\n`,
|
|
41
|
+
);
|
|
42
|
+
return { exitCode: 0 };
|
|
43
|
+
} catch (cause) {
|
|
44
|
+
const code =
|
|
45
|
+
cause instanceof ToolsInstallError ? cause.code : "storage_failed";
|
|
46
|
+
const message =
|
|
47
|
+
cause instanceof ToolsInstallError
|
|
48
|
+
? cause.message
|
|
49
|
+
: "Installation could not finish; check writable home and free space, then retry";
|
|
50
|
+
process.stderr.write(`fungi-tools: ${code}: ${message}\n`);
|
|
51
|
+
return { failure: code, exitCode: 1 };
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
process.exitCode = (await main()).exitCode;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
set -u
|
|
3
|
+
# Locks are runtime scratch, not durable leases. flock releases the lock on
|
|
4
|
+
# exit or cancellation; all downloads and installed tools belong to HOME.
|
|
5
|
+
# The runtime already gives each Computer its own UID and /tmp. Keep the
|
|
6
|
+
# lock file private and stable across competing installer processes.
|
|
7
|
+
umask 077
|
|
8
|
+
flock --nonblock --conflict-exit-code 75 "/tmp/fungi-tools-$UID.lock" \
|
|
9
|
+
node /opt/fungi/tools/cli.mjs "$@"
|
|
10
|
+
status=$?
|
|
11
|
+
if [[ $status == 75 ]]; then
|
|
12
|
+
printf '%s\n' 'fungi-tools: busy: another install is running; retry after it finishes.' >&2
|
|
13
|
+
fi
|
|
14
|
+
exit "$status"
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
import { createHash } from "node:crypto";
|
|
2
|
+
import { execFile } from "node:child_process";
|
|
3
|
+
import { constants, createWriteStream } from "node:fs";
|
|
4
|
+
import {
|
|
5
|
+
access,
|
|
6
|
+
copyFile,
|
|
7
|
+
mkdir,
|
|
8
|
+
mkdtemp,
|
|
9
|
+
readFile,
|
|
10
|
+
rename,
|
|
11
|
+
rm,
|
|
12
|
+
symlink,
|
|
13
|
+
writeFile,
|
|
14
|
+
} from "node:fs/promises";
|
|
15
|
+
import { join } from "node:path";
|
|
16
|
+
import { URL } from "node:url";
|
|
17
|
+
import { tmpdir } from "node:os";
|
|
18
|
+
import { Transform } from "node:stream";
|
|
19
|
+
import { pipeline } from "node:stream/promises";
|
|
20
|
+
import { promisify } from "node:util";
|
|
21
|
+
|
|
22
|
+
const run = promisify(execFile);
|
|
23
|
+
|
|
24
|
+
/** Failures printed by fungi-tools without changing Computer's exec protocol. */
|
|
25
|
+
export class ToolsInstallError extends Error {
|
|
26
|
+
constructor(code, message, cause) {
|
|
27
|
+
super(message, { cause });
|
|
28
|
+
this.name = "ToolsInstallError";
|
|
29
|
+
this.code = code;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// The pinned catalog contains individual archives below this ceiling. Bound
|
|
34
|
+
// transfers even when a server omits or lies about Content-Length.
|
|
35
|
+
const maximumArchiveBytes = 1024 * 1024 * 1024;
|
|
36
|
+
|
|
37
|
+
async function download(archive, destination, signal) {
|
|
38
|
+
const hash = createHash(archive.algorithm);
|
|
39
|
+
let bytes = 0;
|
|
40
|
+
const response = await globalThis.fetch(archive.url, {
|
|
41
|
+
signal,
|
|
42
|
+
});
|
|
43
|
+
if (!response.ok || response.body === null)
|
|
44
|
+
throw new ToolsInstallError("download_failed", "Artifact download failed");
|
|
45
|
+
await pipeline(
|
|
46
|
+
response.body,
|
|
47
|
+
new Transform({
|
|
48
|
+
transform(chunk, _encoding, next) {
|
|
49
|
+
bytes += chunk.length;
|
|
50
|
+
if (bytes > maximumArchiveBytes)
|
|
51
|
+
return next(
|
|
52
|
+
new ToolsInstallError(
|
|
53
|
+
"download_failed",
|
|
54
|
+
"Artifact exceeds download limit",
|
|
55
|
+
),
|
|
56
|
+
);
|
|
57
|
+
hash.update(chunk);
|
|
58
|
+
next(null, chunk);
|
|
59
|
+
},
|
|
60
|
+
}),
|
|
61
|
+
createWriteStream(destination, { flags: "wx", mode: 0o600 }),
|
|
62
|
+
{ signal },
|
|
63
|
+
);
|
|
64
|
+
if (hash.digest("hex") !== archive.digest)
|
|
65
|
+
throw new ToolsInstallError(
|
|
66
|
+
"verification_failed",
|
|
67
|
+
"Artifact checksum did not match",
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
const quote = (value) => `'${value.replaceAll("'", `'\\''`)}'`;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Install a catalog selection. `persistence: "home"` tools (Go, Rust) live in
|
|
75
|
+
* the synced durable home. `persistence: "cache"` tools (Agent CLIs, whose
|
|
76
|
+
* binaries exceed the synced home's per-file bound) live in the non-synced
|
|
77
|
+
* per-Computer cache; home keeps only a small record and wrapper that
|
|
78
|
+
* reinstalls the same pinned, digest-verified artifact after a wake.
|
|
79
|
+
*/
|
|
80
|
+
export async function installTool(
|
|
81
|
+
name,
|
|
82
|
+
{
|
|
83
|
+
home,
|
|
84
|
+
cache,
|
|
85
|
+
catalog,
|
|
86
|
+
signal: cancellation,
|
|
87
|
+
installer = "/usr/local/bin/fungi-tools",
|
|
88
|
+
notify,
|
|
89
|
+
},
|
|
90
|
+
) {
|
|
91
|
+
const signal = globalThis.AbortSignal.any([
|
|
92
|
+
globalThis.AbortSignal.timeout(600_000),
|
|
93
|
+
...(cancellation ? [cancellation] : []),
|
|
94
|
+
]);
|
|
95
|
+
const tool = Object.hasOwn(catalog, name) ? catalog[name] : undefined;
|
|
96
|
+
if (!tool)
|
|
97
|
+
throw new ToolsInstallError("unsupported", `Unknown tool: ${name}`);
|
|
98
|
+
const cached = tool.persistence === "cache";
|
|
99
|
+
const record = join(home, ".local/share/fungi-tools", name);
|
|
100
|
+
const parent = cached ? join(cache, name) : record;
|
|
101
|
+
await mkdir(parent, { recursive: true });
|
|
102
|
+
const destination = join(parent, `${tool.version}-linux-x64`);
|
|
103
|
+
const fingerprint = createHash("sha256").update(JSON.stringify(tool));
|
|
104
|
+
if (tool.recipe === "pnpm")
|
|
105
|
+
fingerprint.update(
|
|
106
|
+
await readFile(new URL("./pi/pnpm-lock.yaml", import.meta.url)),
|
|
107
|
+
);
|
|
108
|
+
const identity = fingerprint.digest("hex");
|
|
109
|
+
const marker = join(destination, ".complete");
|
|
110
|
+
const expose = () =>
|
|
111
|
+
cached
|
|
112
|
+
? writeRecord(record, tool.version).then(() =>
|
|
113
|
+
writeWrappers(home, destination, name, tool.bins, installer),
|
|
114
|
+
)
|
|
115
|
+
: linkBins(home, destination, tool.bins);
|
|
116
|
+
try {
|
|
117
|
+
if ((await readFile(marker, "utf8")) !== identity)
|
|
118
|
+
throw new ToolsInstallError(
|
|
119
|
+
"verification_failed",
|
|
120
|
+
`Installed ${name} does not match this image's pin`,
|
|
121
|
+
);
|
|
122
|
+
for (const bin of Object.values(tool.bins))
|
|
123
|
+
await access(join(destination, bin), constants.X_OK);
|
|
124
|
+
await expose();
|
|
125
|
+
return { status: "already_installed", tool: name, version: tool.version };
|
|
126
|
+
} catch (cause) {
|
|
127
|
+
if (cause.code !== "ENOENT") throw cause;
|
|
128
|
+
}
|
|
129
|
+
if (cached) {
|
|
130
|
+
try {
|
|
131
|
+
await access(join(record, "cache-record"));
|
|
132
|
+
notify?.(`installing ${tool.title} (one-time after wake)`);
|
|
133
|
+
} catch (cause) {
|
|
134
|
+
if (cause.code !== "ENOENT") throw cause;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
const staging = await mkdtemp(join(parent, ".install-"));
|
|
138
|
+
let downloads;
|
|
139
|
+
try {
|
|
140
|
+
downloads = await mkdtemp(join(tmpdir(), "fungi-tools-"));
|
|
141
|
+
for (const [index, archive] of tool.archives.entries()) {
|
|
142
|
+
try {
|
|
143
|
+
await download(archive, join(downloads, `download-${index}`), signal);
|
|
144
|
+
} catch (cause) {
|
|
145
|
+
if (cause instanceof ToolsInstallError) throw cause;
|
|
146
|
+
const code = ["ENOSPC", "EACCES", "EROFS", "EDQUOT"].includes(
|
|
147
|
+
cause.code,
|
|
148
|
+
)
|
|
149
|
+
? "storage_failed"
|
|
150
|
+
: cause.name === "TimeoutError"
|
|
151
|
+
? "timeout"
|
|
152
|
+
: "download_failed";
|
|
153
|
+
throw new ToolsInstallError(
|
|
154
|
+
code,
|
|
155
|
+
`Cannot download ${name}; retry the install when network and storage are available`,
|
|
156
|
+
cause,
|
|
157
|
+
);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
const payload = join(staging, "payload");
|
|
161
|
+
await mkdir(payload);
|
|
162
|
+
for (const [index, archive] of tool.archives.entries()) {
|
|
163
|
+
const extracted =
|
|
164
|
+
tool.recipe === "rust"
|
|
165
|
+
? join(downloads, `component-${index}`)
|
|
166
|
+
: payload;
|
|
167
|
+
await mkdir(extracted, { recursive: true });
|
|
168
|
+
await run(
|
|
169
|
+
"tar",
|
|
170
|
+
[
|
|
171
|
+
"-xf",
|
|
172
|
+
join(downloads, `download-${index}`),
|
|
173
|
+
"-C",
|
|
174
|
+
extracted,
|
|
175
|
+
`--strip-components=${archive.strip}`,
|
|
176
|
+
"--no-same-owner",
|
|
177
|
+
],
|
|
178
|
+
{ timeout: 300_000, signal },
|
|
179
|
+
);
|
|
180
|
+
if (tool.recipe === "rust")
|
|
181
|
+
await run(
|
|
182
|
+
"sh",
|
|
183
|
+
[
|
|
184
|
+
join(extracted, "install.sh"),
|
|
185
|
+
`--prefix=${payload}`,
|
|
186
|
+
"--disable-ldconfig",
|
|
187
|
+
],
|
|
188
|
+
{ timeout: 300_000, signal },
|
|
189
|
+
);
|
|
190
|
+
}
|
|
191
|
+
if (tool.recipe === "pnpm") {
|
|
192
|
+
for (const file of [
|
|
193
|
+
"package.json",
|
|
194
|
+
"pnpm-lock.yaml",
|
|
195
|
+
"pnpm-workspace.yaml",
|
|
196
|
+
])
|
|
197
|
+
await copyFile(
|
|
198
|
+
new URL(`./pi/${file}`, import.meta.url),
|
|
199
|
+
join(payload, file),
|
|
200
|
+
);
|
|
201
|
+
try {
|
|
202
|
+
await run(
|
|
203
|
+
"pnpm",
|
|
204
|
+
[
|
|
205
|
+
"install",
|
|
206
|
+
"--frozen-lockfile",
|
|
207
|
+
"--prod",
|
|
208
|
+
"--ignore-scripts",
|
|
209
|
+
"--config.node-linker=hoisted",
|
|
210
|
+
`--store-dir=${join(downloads, "store")}`,
|
|
211
|
+
],
|
|
212
|
+
{
|
|
213
|
+
cwd: payload,
|
|
214
|
+
timeout: 300_000,
|
|
215
|
+
signal,
|
|
216
|
+
maxBuffer: 1024 * 1024,
|
|
217
|
+
},
|
|
218
|
+
);
|
|
219
|
+
} catch (cause) {
|
|
220
|
+
throw new ToolsInstallError(
|
|
221
|
+
"download_failed",
|
|
222
|
+
"Pinned pi dependencies could not be installed; check network and storage, then retry",
|
|
223
|
+
cause,
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
for (const bin of Object.values(tool.bins))
|
|
228
|
+
await access(join(payload, bin), constants.X_OK);
|
|
229
|
+
await writeFile(join(payload, ".complete"), identity);
|
|
230
|
+
await rename(payload, destination);
|
|
231
|
+
await expose();
|
|
232
|
+
return { status: "installed", tool: name, version: tool.version };
|
|
233
|
+
} catch (cause) {
|
|
234
|
+
if (signal.aborted)
|
|
235
|
+
throw new ToolsInstallError(
|
|
236
|
+
cancellation?.aborted ? "cancelled" : "timeout",
|
|
237
|
+
"Installation stopped before completion; retry explicitly",
|
|
238
|
+
cause,
|
|
239
|
+
);
|
|
240
|
+
if (cause instanceof ToolsInstallError) throw cause;
|
|
241
|
+
throw new ToolsInstallError(
|
|
242
|
+
"storage_failed",
|
|
243
|
+
`Cannot prepare ${name}; check the artifact, writable home and free space, then retry`,
|
|
244
|
+
cause,
|
|
245
|
+
);
|
|
246
|
+
} finally {
|
|
247
|
+
await rm(staging, { recursive: true, force: true });
|
|
248
|
+
if (downloads) await rm(downloads, { recursive: true, force: true });
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
async function linkBins(home, destination, bins) {
|
|
253
|
+
const directory = join(home, ".local/bin");
|
|
254
|
+
await mkdir(directory, { recursive: true });
|
|
255
|
+
const staging = await mkdtemp(join(directory, ".links-"));
|
|
256
|
+
try {
|
|
257
|
+
for (const [name, path] of Object.entries(bins)) {
|
|
258
|
+
const link = join(staging, name);
|
|
259
|
+
await symlink(join(destination, path), link);
|
|
260
|
+
await rename(link, join(directory, name));
|
|
261
|
+
}
|
|
262
|
+
} finally {
|
|
263
|
+
await rm(staging, { recursive: true, force: true });
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Remember in the synced home that this Agent CLI was installed, so the next
|
|
269
|
+
* wake's reinstall can say so. The cache is another filesystem: stage the
|
|
270
|
+
* record beside its final name and rename within home.
|
|
271
|
+
*/
|
|
272
|
+
async function writeRecord(record, version) {
|
|
273
|
+
await mkdir(record, { recursive: true });
|
|
274
|
+
const staging = await mkdtemp(join(record, ".record-"));
|
|
275
|
+
try {
|
|
276
|
+
const pending = join(staging, "cache-record");
|
|
277
|
+
await writeFile(pending, `${version}\n`);
|
|
278
|
+
await rename(pending, join(record, "cache-record"));
|
|
279
|
+
} finally {
|
|
280
|
+
await rm(staging, { recursive: true, force: true });
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/** Small synced wrappers: run the cached CLI, or reinstall it first after a wake. */
|
|
285
|
+
async function writeWrappers(home, destination, name, bins, installer) {
|
|
286
|
+
const directory = join(home, ".local/bin");
|
|
287
|
+
await mkdir(directory, { recursive: true });
|
|
288
|
+
const staging = await mkdtemp(join(directory, ".links-"));
|
|
289
|
+
try {
|
|
290
|
+
for (const [bin, path] of Object.entries(bins)) {
|
|
291
|
+
const wrapper = join(staging, bin);
|
|
292
|
+
const target = join(destination, path);
|
|
293
|
+
await writeFile(
|
|
294
|
+
wrapper,
|
|
295
|
+
`#!/bin/sh
|
|
296
|
+
# fungi-tools wrapper: the pinned CLI lives in the non-synced Computer cache.
|
|
297
|
+
target=${quote(target)}
|
|
298
|
+
if [ ! -x "$target" ]; then
|
|
299
|
+
${quote(installer)} install ${quote(name)} >&2 || exit $?
|
|
300
|
+
fi
|
|
301
|
+
exec "$target" "$@"
|
|
302
|
+
`,
|
|
303
|
+
{ mode: 0o755 },
|
|
304
|
+
);
|
|
305
|
+
await rename(wrapper, join(directory, bin));
|
|
306
|
+
}
|
|
307
|
+
} finally {
|
|
308
|
+
await rm(staging, { recursive: true, force: true });
|
|
309
|
+
}
|
|
310
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// Reviewed Linux x64 artifacts from #951. Downloads are never selected by
|
|
2
|
+
// caller-supplied URLs or a mutable "latest" endpoint.
|
|
3
|
+
export const toolCatalog = {
|
|
4
|
+
go: {
|
|
5
|
+
title: "Go",
|
|
6
|
+
persistence: "home",
|
|
7
|
+
version: "1.27.4",
|
|
8
|
+
archives: [
|
|
9
|
+
{
|
|
10
|
+
url: "https://go.dev/dl/go1.27.4.linux-amd64.tar.gz",
|
|
11
|
+
algorithm: "sha256",
|
|
12
|
+
digest:
|
|
13
|
+
"7226736c2339719cda28fbf3a54d71aa63bcefe376e98cef00034268dab24840",
|
|
14
|
+
strip: 1,
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
bins: { go: "bin/go", gofmt: "bin/gofmt" },
|
|
18
|
+
},
|
|
19
|
+
rust: {
|
|
20
|
+
title: "Rust",
|
|
21
|
+
persistence: "home",
|
|
22
|
+
version: "1.100.0",
|
|
23
|
+
recipe: "rust",
|
|
24
|
+
archives: [
|
|
25
|
+
{
|
|
26
|
+
url: "https://static.rust-lang.org/dist/2026-11-12/rustc-1.100.0-x86_64-unknown-linux-gnu.tar.xz",
|
|
27
|
+
algorithm: "sha256",
|
|
28
|
+
digest:
|
|
29
|
+
"f1d0b1dec81dab6f523cd098507763487b0d4bd7fd2c87582f154128719be03b",
|
|
30
|
+
strip: 1,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
url: "https://static.rust-lang.org/dist/2026-11-12/cargo-1.100.0-x86_64-unknown-linux-gnu.tar.xz",
|
|
34
|
+
algorithm: "sha256",
|
|
35
|
+
digest:
|
|
36
|
+
"7e29ce07d7c6e92d1826870575ba27d57fff6cb3e754aa57d99099cb88fab35d",
|
|
37
|
+
strip: 1,
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
url: "https://static.rust-lang.org/dist/2026-11-12/rust-std-1.100.0-x86_64-unknown-linux-gnu.tar.xz",
|
|
41
|
+
algorithm: "sha256",
|
|
42
|
+
digest:
|
|
43
|
+
"4591b6486594ded52ecd6135db95bf9355bbd3ca7a380888b141528bbcf9a5d4",
|
|
44
|
+
strip: 1,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
bins: { rustc: "bin/rustc", rustdoc: "bin/rustdoc", cargo: "bin/cargo" },
|
|
48
|
+
},
|
|
49
|
+
claude: {
|
|
50
|
+
title: "Claude Code",
|
|
51
|
+
persistence: "cache",
|
|
52
|
+
version: "2.1.325",
|
|
53
|
+
archives: [
|
|
54
|
+
{
|
|
55
|
+
url: "https://registry.npmjs.org/@anthropic-ai/claude-code-linux-x64/-/claude-code-linux-x64-2.1.325.tgz",
|
|
56
|
+
algorithm: "sha512",
|
|
57
|
+
digest:
|
|
58
|
+
"06a67332f3ffce02cb2f7e12fbb3b36c6f9cca8169ee0c161d4e64a15c2cc8c953033fb4cd90266d8f94933bed376457c69e8070c7a76d8223409c685df518df",
|
|
59
|
+
strip: 1,
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
bins: { claude: "claude" },
|
|
63
|
+
},
|
|
64
|
+
codex: {
|
|
65
|
+
title: "Codex",
|
|
66
|
+
persistence: "cache",
|
|
67
|
+
version: "0.169.0",
|
|
68
|
+
archives: [
|
|
69
|
+
{
|
|
70
|
+
url: "https://registry.npmjs.org/@openai/codex/-/codex-0.169.0-linux-x64.tgz",
|
|
71
|
+
algorithm: "sha512",
|
|
72
|
+
digest:
|
|
73
|
+
"a34e4dc803820f28123d1a35ca29f3c6f91149d9ac672043f44ee66e99a345a9d27ccf25ca9a96b50804a385df364c21b82476685bbc9a518eb101855d56d5c3",
|
|
74
|
+
strip: 1,
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
url: "https://registry.npmjs.org/@openai/codex/-/codex-0.169.0.tgz",
|
|
78
|
+
algorithm: "sha512",
|
|
79
|
+
digest:
|
|
80
|
+
"2a1cd896428fc6836cb11f02126e39223aa71569fb52d945e02883ded3893de6b9d7106cecc687cb45101bd1926c2aa4e8bae39f941d243574403d7f1605a51b",
|
|
81
|
+
strip: 1,
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
bins: { codex: "bin/codex.js" },
|
|
85
|
+
},
|
|
86
|
+
opencode: {
|
|
87
|
+
title: "OpenCode",
|
|
88
|
+
persistence: "cache",
|
|
89
|
+
version: "2.3.0",
|
|
90
|
+
archives: [
|
|
91
|
+
{
|
|
92
|
+
url: "https://registry.npmjs.org/@opencode/cli-linux-x64-baseline/-/cli-linux-x64-baseline-2.3.0.tgz",
|
|
93
|
+
algorithm: "sha512",
|
|
94
|
+
digest:
|
|
95
|
+
"c08328f5a9d42485659c126518cd2507b9fe8e614cb2d4708cde8bc3cfacd21a7e1e903de0b9953030e44e0fa242acdcb1ab6525a1eb7b7f6ff31fa319012b45",
|
|
96
|
+
strip: 1,
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
bins: { opencode: "bin/opencode" },
|
|
100
|
+
},
|
|
101
|
+
pi: {
|
|
102
|
+
title: "pi",
|
|
103
|
+
persistence: "cache",
|
|
104
|
+
version: "1.5.2",
|
|
105
|
+
recipe: "pnpm",
|
|
106
|
+
archives: [],
|
|
107
|
+
bins: {
|
|
108
|
+
pi: "node_modules/@earendil-works/pi-coding-agent/dist/bundle/cli.js",
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
};
|