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 45 to 318

Compare

+4 −4 in 4 places
Lines 19–25 at 318 (were 19–25 at 45)
1919 return { project, builders };
2020}
2121
22−test("five builders appending to the same file at once all publish on the first try, and nothing is lost", () => {
22+test("five builders appending to the same file at once all push on the first try, and nothing is lost", () => {
2323 const { project, builders } = setup();
2424 builders.forEach((b, i) =>
2525 project.edit(
Lines 36–42 at 318 (were 36–42 at 45)
3636 for (const b of builders) assert.deepEqual(project.sync(b).collisions, [], b);
3737});
3838
39−test("a publish says what it went on top of that the folder did not have yet", () => {
39+test("a push says what it went on top of that the folder did not have yet", () => {
4040 const { project } = setup();
4141 project.edit("b5", { file: "notes/pitches.md", old: "# Pitches\n", new: "# Pitches\nfive\n" }, 1);
4242 project.publish("b5", "Pitch five", 2);
Lines 90–96 at 318 (were 90–96 at 45)
9090 assert.equal(project.publish("b2", "Mine", 3).ok, false);
9191});
9292
93−test("a one-line list both sides added to is merged at sync, told, and publishes; no doubled declaration", () => {
93+test("a one-line list both sides added to is merged at pull, told, and pushes; no doubled declaration", () => {
9494 const { project } = setup({ "src/main.ts": "const SYSTEMS = [input, physics];\nrun(SYSTEMS);\n" });
9595 project.edit("b1", { file: "src/main.ts", old: "[input, physics]", new: "[input, physics, audio]" }, 1);
9696 project.publish("b1", "Audio system", 2);
Lines 110–116 at 318 (were 110–116 at 45)
110110 assert.equal(project.files()["src/main.ts"], "const SYSTEMS = [input, physics, audio, render];\nrun(SYSTEMS);\n");
111111});
112112
113−test("news about a collision is dropped once the agent syncs past it; announcements stay", () => {
113+test("news about a collision is dropped once the agent pulls past it; announcements stay", () => {
114114 const { project } = setup({ "a.ts": "x\n" });
115115 project.edit("b2", { file: "a.ts", old: "x", new: "y" }, 1);
116116 project.edit("b4", { file: "a.ts", old: "x", new: "z" }, 1);
MCP
compare on this site's /mcp
CLI
abso diff 45 318 worker/project/test/appends.test.ts --json
JSON
/christopher/abso-core/compare/45..318?file=worker%2Fproject%2Ftest%2Fappends.test.ts&format=json