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

Compare

+3 −3 in 2 places
Lines 21–33 at 318 (were 21–33 at 35)
2121 const out: Record<string, string> = {};
2222 for (const path of [...files.keys()].sort()) {
2323 const lines = files.get(path)!;
24− if (lines.length > 0) out[path] = lines.join("\n") + "\n";
24+ if (lines.length > 0) out[path] = `${lines.join("\n")}\n`;
2525 }
2626 return out;
2727}
2828
2929function textOf(lines: readonly string[]): string {
30− return lines.length === 0 ? "" : lines.join("\n") + "\n";
30+ return lines.length === 0 ? "" : `${lines.join("\n")}\n`;
3131}
3232
3333function occurrences(text: string, needle: string): number {
Lines 247–253 at 318 (were 247–253 at 35)
247247 let old = t.slice(c1, this.rng.range(c1 + 1, t.length));
248248 if (this.rng.chance(0.3) && i + 1 < lines.length) {
249249 const next = lines[i + 1]!;
250− old = t.slice(c1) + "\n" + next.slice(0, this.rng.int(next.length + 1));
250+ old = `${t.slice(c1)}\n${next.slice(0, this.rng.int(next.length + 1))}`;
251251 }
252252 const replacement = this.rng.pick(["", "Z", "q\nr", "\n", "w\n", "yy", "Z\nZ", this.fresh()]);
253253 const text = textOf(lines);
MCP
compare on this site's /mcp
CLI
abso diff 35 318 src/engine/test/gen.ts --json
JSON
/christopher/abso-core/compare/35..318?file=src%2Fengine%2Ftest%2Fgen.ts&format=json