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 236 to 237

Compare

+2 −14 in 2 places
Lines 58–64 at 237 (were 58–63 at 236)
5858 type Pair,
5959 pairsIn,
6060 strandedFiles,
61+ touchedBeyond,
6162 touchedFiles,
6263} from "./collisions.ts";
6364import { type DefinitionCollision, DefinitionRule } from "./definition-rule.ts";
Lines 2749–2755 at 237 (were 2748–2767 at 236)
27482749 // view holds beyond its base is the draft and whatever the draft depends on that the base lacks (the view's
27492750 // set is closed): each of those can change a file, so all of them count.
27502751 const mine = agent.mine;
2751− view.shareFiles(base, () => {
2752− const graph = this.#graph;
2753− const below = base.set;
2754− const beyond = new Set<AtomId>();
2755− const stack = [...mine];
2756− while (stack.length) {
2757− const id = stack.pop()!;
2758− if (beyond.has(id) || below.has(id)) continue;
2759− beyond.add(id);
2760− for (const dep of graph.atom(id).deps) if (!beyond.has(dep) && !below.has(dep)) stack.push(dep);
2761− }
2762− for (const id of beyond) if ((graph.atom(id).moves?.length ?? 0) > 0) return undefined;
2763− return this.#touchedFiles(beyond, [base, view]);
2764− });
2752+ view.shareFiles(base, () => touchedBeyond(this.#graph, base.set, mine, [base, view]));
27652753 }
27662754 }
27672755 return view;
MCP
compare on this site's /mcp
CLI
abso diff 236 237 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/236..237?file=worker%2Fproject%2Fproject.ts&format=json