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 17 to 18

Compare

+4 −2 in 1 place
Lines 66–77 at 18 (were 66–75 at 17)
6666};
6767
6868/** A path the project won't hold: .avcs/ is each folder's own settings. */
69+/** A path under a folder's state folder (.abso/, or .avcs/ from before the rename), which never leaves it. */
6970function localPath(paths: string[]): string | undefined {
70− return paths.find((p) => p === ".avcs" || p.startsWith(".avcs/") || p.startsWith("./.avcs/"));
71+ return paths.find((p) => [".abso", ".avcs"].some((d) => p === d || p.startsWith(`${d}/`) || p.startsWith(`./${d}/`)));
7172}
72−const LOCAL = (p: string) => fail(400, `${p} is under .avcs/, which stays in the agent's folder`);
73+const LOCAL = (p: string) =>
74+ fail(400, `${p} is under ${p.replace(/^\.\//, "").split("/")[0]}/, which stays in the agent's folder`);
7375
7476/**
7577 * The reader rules (#37, Reporter), for one agent call: the answer to
MCP
compare on this site's /mcp
CLI
abso diff 17 18 worker/project/http.ts --json
JSON
/christopher/abso-core/compare/17..18?file=worker%2Fproject%2Fhttp.ts&format=json