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

Compare

+4 −4 in 4 places
Lines 99–105 at 17 (were 99–105 at 16)
9999const NAME = /^[A-Za-z0-9][A-Za-z0-9._-]{0,62}$/;
100100
101101function isLocal(path: string): boolean {
102− return path === ".avcs" || path.startsWith(".avcs/") || path.startsWith("./.avcs/");
102+ return path === ".abso" || path.startsWith(".abso/") || path.startsWith("./.abso/");
103103}
104104
105105async function readBody(req: IncomingMessage): Promise<Buffer> {
Lines 295–301 at 17 (were 295–301 at 16)
295295 if (!files || typeof files !== "object") return send(res, 400, { error: "init needs {files: {path: text}}" });
296296 if (hosted) return send(res, 409, { error: "the project already exists" });
297297 const bad = Object.keys(files).find(isLocal);
298− if (bad) return send(res, 400, { error: `${bad} is under .avcs/, which stays in the agent's folder` });
298+ if (bad) return send(res, 400, { error: `${bad} is under .abso/, which stays in the agent's folder` });
299299 const store = new MemoryStore();
300300 const blobs = pendingBlobs(name);
301301 waiting.delete(name);
Lines 498–504 at 17 (were 498–504 at 16)
498498 if (typeof body.file !== "string")
499499 return send(res, 400, { error: "edit needs {file, old, new}, {file, content} or {file, edits}" });
500500 if (isLocal(body.file))
501− return send(res, 400, { error: `${body.file} is under .avcs/, which stays in the agent's folder` });
501+ return send(res, 400, { error: `${body.file} is under .abso/, which stays in the agent's folder` });
502502 return send(res, 200, project.edit(agent, body as unknown as Parameters<Project["edit"]>[1], Date.now()));
503503 }
504504 if (op === "record") {
Lines 506–512 at 17 (were 506–512 at 16)
506506 if (!files || typeof files !== "object")
507507 return send(res, 400, { error: "record needs {files: {path: text or null}}" });
508508 const bad = Object.keys(files).find(isLocal);
509− if (bad) return send(res, 400, { error: `${bad} is under .avcs/, which stays in the agent's folder` });
509+ if (bad) return send(res, 400, { error: `${bad} is under .abso/, which stays in the agent's folder` });
510510 const meta = {
511511 ...(typeof body.session === "string" ? { session: body.session } : {}),
512512 ...(typeof body.subagent === "string" ? { subagent: body.subagent } : {}),
MCP
compare on this site's /mcp
CLI
abso diff 16 17 client/test/fake-server.ts --json
JSON
/christopher/abso-core/compare/16..17?file=client%2Ftest%2Ffake-server.ts&format=json