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 127 to 128

Compare

+10 −4 in 1 place
Lines 376–391 at 128 (were 376–385 at 127)
376376 const priority = (a: number, b: number) => graph.lamportOfSeq(a) - graph.lamportOfSeq(b) || a - b;
377377 while (stack.length > 0) {
378378 const n = stack.pop()!;
379− const deleters = graph.deleterSeqsOf(n);
380− const by = deleters.length === 0 ? NONE : deleters.filter((d) => this.#has(d));
381− if (by.length > 0) {
382− if (complete) deletedBy.set(seq.length, by.length > 1 ? [...by].sort(priority) : by);
379+ let deleted = false;
380+ const by: number[] = [];
381+ for (const deleter of graph.eachDeleterSeqOf(n)) {
382+ if (!this.#has(deleter)) continue;
383+ deleted = true;
384+ if (!complete) break;
385+ by.push(deleter);
386+ }
387+ if (deleted) {
388+ if (complete) deletedBy.set(seq.length, by.length > 1 ? by.sort(priority) : by);
383389 } else vis.push(n);
384390 if (complete) seq.push(n);
385391 pushChildren(n);
MCP
compare on this site's /mcp
CLI
abso diff 127 128 src/engine/view.ts --json
JSON
/christopher/abso-core/compare/127..128?file=src%2Fengine%2Fview.ts&format=json