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

Compare

+4 −4 in 2 places
Lines 115–123 at 318 (were 115–123 at 37)
115115 assert.deepEqual(
116116 diffLines(
117117 a,
118− a.map((s) => s + "!"),
118+ a.map((s) => `${s}!`),
119119 ),
120− [{ start: 0, end: 2100, lines: a.map((s) => s + "!") }],
120+ [{ start: 0, end: 2100, lines: a.map((s) => `${s}!`) }],
121121 );
122122 });
123123
Lines 192–199 at 318 (were 192–199 at 37)
192192 const base = Array.from({ length: 6 + rnd(10) }, (_, k) => `l${k}`);
193193 // ours edits the first half, theirs the second, with a gap between.
194194 const cut = Math.floor(base.length / 2);
195− const ours = base.map((l, k) => (k < cut - 1 && rnd(3) === 0 ? l + "o" : l));
196− const theirs = base.map((l, k) => (k > cut && rnd(3) === 0 ? l + "t" : l));
195+ const ours = base.map((l, k) => (k < cut - 1 && rnd(3) === 0 ? `${l}o` : l));
196+ const theirs = base.map((l, k) => (k > cut && rnd(3) === 0 ? `${l}t` : l));
197197 const expected = base.map((l, k) => (ours[k] !== l ? ours[k] : theirs[k]));
198198 const got = mergeLines(base, ours, theirs);
199199 if (got.conflicts === 0) assert.deepEqual(got.lines, expected, `seed ${seed}`);
MCP
compare on this site's /mcp
CLI
abso diff 37 318 src/engine/test/text.test.ts --json
JSON
/christopher/abso-core/compare/37..318?file=src%2Fengine%2Ftest%2Ftext.test.ts&format=json