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 77 to 78

Compare

+2 −2 in 1 place
Lines 192–201 at 78 (were 192–201 at 77)
192192test("past the move limit only the longest blocks move: a rewrite of many single lines still publishes, and a block moved whole keeps someone's edit (abso issue 137)", () => {
193193 const keys = Array.from({ length: 200 }, (_, i) => ` "k${i}": ${i},`);
194194 const block = [" // block", ' "b1": "one",', ' "b2": "two",', ' "b3": "three",', " // end block"];
195− const before = ["{", ...block, ...keys, "}"].join("\n") + "\n";
195+ const before = `${["{", ...block, ...keys, "}"].join("\n")}\n`;
196196 // The draft reverses the keys with a new line between each, so every one is its own one-line match.
197197 const rewritten = keys.toReversed().flatMap((k, i) => [k, ` "n${i}": 0,`]);
198− const after = ["{", ...rewritten, ...block, "}"].join("\n") + "\n";
198+ const after = `${["{", ...rewritten, ...block, "}"].join("\n")}\n`;
199199 const store = new MemoryStore();
200200 const project = new Project(store);
201201 project.init({ "f.json": before }, 0);
MCP
compare on this site's /mcp
CLI
abso diff 77 78 worker/project/test/moves.test.ts --json
JSON
/christopher/abso-core/compare/77..78?file=worker%2Fproject%2Ftest%2Fmoves.test.ts&format=json