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 24 to 25

Compare

+6 −4 in 2 places
Lines 4–10 at 25 (were 4–10 at 24)
44import { type AttrSet, buildBase, canonicalText, type View } from "../../src/engine/index.ts";
55import { checkPath } from "./path-rules.ts";
66import { ProjectError } from "./project-error.ts";
7−import { configProblem } from "./project-helpers.ts";
7+import { configProblem, PROJECT_FILES, projectFileOf } from "./project-helpers.ts";
88import type { Entry, Modes, ProjectOptions } from "./project-types.ts";
99import { clashInPaths } from "./spelling.ts";
1010import { checkModes } from "./view-changes.ts";
Lines 35–47 at 25 (were 35–45 at 24)
3535 if (typeof files !== "object" || files === null) throw new ProjectError("bad-request", "init needs {files}");
3636 const clash = clashInPaths([...new Set([...Object.keys(files), ...Object.keys(blobs)])].toSorted());
3737 if (clash) throw new ProjectError("bad-request", `init: ${clash} (#49)`);
38− const config = typeof files["avcs.json"] === "string" ? configProblem(files["avcs.json"]) : undefined;
39− if (config) throw new ProjectError("bad-request", `init: avcs.json ${config}`);
38+ for (const name of PROJECT_FILES) {
39+ const config = typeof files[name] === "string" ? configProblem(files[name]) : undefined;
40+ if (config) throw new ProjectError("bad-request", `init: ${name} ${config}`);
41+ }
4042 if (host.whole) {
4143 // The project file being created says which paths are whole (#46).
42− const config = typeof files["avcs.json"] === "string" ? files["avcs.json"] : undefined;
44+ const config = projectFileOf(files)?.text;
4345 ({ files, blobs } = host.wholeOut(files, blobs, undefined, config) as {
4446 files: Record<string, string>;
4547 blobs: Record<string, string>;
MCP
compare on this site's /mcp
CLI
abso diff 24 25 worker/project/init.ts --json
JSON
/christopher/abso-core/compare/24..25?file=worker%2Fproject%2Finit.ts&format=json