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 58 to 59

Compare

+6 −3 in 2 places
Lines 45–51 at 59 (were 45–51 at 58)
4545} from "node:fs";
4646import { homedir, tmpdir } from "node:os";
4747import { dirname, join, resolve } from "node:path";
48−import { CLIENT_DIR, clientPlace, clientVersion, headCommit } from "./client-version.ts";
48+import { builtCopy, CLIENT_DIR, clientPlace, clientVersion, headCommit } from "./client-version.ts";
4949
5050export interface ModSpec {
5151 /** The mod's name, as its plugin.json has it. */
Lines 552–567 at 59 (were 552–564 at 58)
552552 })(),
553553 };
554554 mods.push(m);
555+ // A built copy has no mod files to compare with or install from: it reports what is installed.
555556 if (m.version === undefined) {
556− lines.push(`the ${m.name} mod: not installed (node client/${installer})`);
557+ lines.push(`the ${m.name} mod: not installed${builtCopy() ? "" : ` (node client/${installer})`}`);
557558 continue;
558559 }
559560 const when = m.at ? `, installed ${m.at.slice(0, 16).replace("T", " ")} UTC` : "";
560561 const behind =
561− m.version === m.current ? "" : `; this client has ${m.current}: node client/${installer} installs it`;
562+ builtCopy() || m.version === m.current
563+ ? ""
564+ : `; this client has ${m.current}: node client/${installer} installs it`;
562565 lines.push(`the ${m.name} mod: ${m.version} in ${m.folder}${when}${behind}`);
563566 }
564567 return { text: lines.join("\n"), json: { client, folder: CLIENT_DIR, mods } };
MCP
compare on this site's /mcp
CLI
abso diff 58 59 client/src/install.ts --json
JSON
/christopher/abso-core/compare/58..59?file=client%2Fsrc%2Finstall.ts&format=json