Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed

Versions 280 to 281

Compare

+15 −4 in 3 places
Lines 517–534 at 281 (were 517–523 at 280)
517517 readonly current: string;
518518}
519519
520−/** `avcs --version`: this client, and the mods installed on this machine, compared with this client's. */
520+/**
521+ * The command that runs one of this client's installers (client/install-mod.ts or install-view.ts), by its full
522+ * path. They are .ts files, which Node runs itself from 22.18, so on an older Node it says which one it needs.
523+ */
524+export function installerCommand(installer: string): string {
525+ const command = `node ${join(CLIENT_DIR, installer)}`;
526+ return (process.features as { typescript?: unknown }).typescript
527+ ? command
528+ : `${command} (with Node 22.18 or later, which runs .ts files; this is Node ${process.versions.node})`;
529+}
531+/** `abso --version`: this client, and the mods installed on this machine, compared with this client's. */
521532export function versionReport(env: Readonly<Record<string, string | undefined>>): {
522533 text: string;
523534 json: Record<string, unknown>;
Lines 565–578 at 281 (were 554–567 at 280)
554565 mods.push(m);
555566 // A built copy has no mod files to compare with or install from: it reports what is installed.
556567 if (m.version === undefined) {
557− lines.push(`the ${m.name} mod: not installed${builtCopy() ? "" : ` (node client/${installer})`}`);
568+ lines.push(`the ${m.name} mod: not installed${builtCopy() ? "" : ` (${installerCommand(installer)})`}`);
558569 continue;
559570 }
560571 const when = m.at ? `, installed ${m.at.slice(0, 16).replace("T", " ")} UTC` : "";
561572 const behind =
562573 builtCopy() || m.version === m.current
563574 ? ""
564− : `; this client has ${m.current}: node client/${installer} installs it`;
575+ : `; this client has ${m.current}: ${installerCommand(installer)} installs it`;
565576 lines.push(`the ${m.name} mod: ${m.version} in ${m.folder}${when}${behind}`);
566577 }
567578 return { text: lines.join("\n"), json: { client, folder: CLIENT_DIR, mods } };
Lines 590–595 at 281 (were 579–584 at 280)
579590 .filter((m) => m.version?.includes("+") && /\+[0-9a-f]{7}$/.test(m.current) && m.version !== m.current)
580591 .map(
581592 (m) =>
582− `The ${m.name} mod installed on this machine is ${m.version}, and this client has ${m.current}: node client/${installers[m.name]} installs it (new chats load it).`,
593+ `The ${m.name} mod installed on this machine is ${m.version}, and this client has ${m.current}: ${installerCommand(installers[m.name]!)} installs it (new chats load it).`,
583594 );
584595}
MCP
compare on this site's /mcp
CLI
abso diff 280 281 client/src/install.ts --json
JSON
/christopher/abso-core/compare/280..281?file=client%2Fsrc%2Finstall.ts&format=json