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 164 to 165

Compare

+3 −2 in 3 places
Lines 1–5 at 165 (were 1–4 at 164)
11import type { Graph } from "../graph.ts";
2+import { equalJsonValues } from "../json-value-chunks.ts";
23import { orderedChildKey } from "../ordered-index.ts";
34import { resolveScratchMoves } from "../relocation-scratch.ts";
45import type { GraphStateStorage } from "../state-source.ts";
Lines 113–119 at 165 (were 112–118 at 164)
112113 }
113114 apply(previous: MarkerState, atom: Atom): MarkerState {
114115 this.assertContext(previous);
115− if (JSON.stringify(this.graph.atom(atom.id)) !== JSON.stringify(atom)) throw Error("canonical atom mismatch");
116+ if (!equalJsonValues(this.graph.atom(atom.id), atom)) throw Error("canonical atom mismatch");
116117 if (this.members.get(previous.membership, atom.seq)?.present) return previous;
117118 for (const id of atom.deps)
118119 if (!this.members.get(previous.membership, this.graph.atom(id).seq)?.present) throw Error("missing dependency");
Lines 188–194 at 165 (were 187–193 at 164)
187188 }
188189 removeAtom(previous: MarkerState, atom: Atom): MarkerState {
189190 this.assertContext(previous);
190− if (JSON.stringify(this.graph.atom(atom.id)) !== JSON.stringify(atom)) throw Error("canonical atom mismatch");
191+ if (!equalJsonValues(this.graph.atom(atom.id), atom)) throw Error("canonical atom mismatch");
191192 if (!this.members.get(previous.membership, atom.seq)?.present) return previous;
192193 if (required(this.members.get(previous.membership, atom.seq)).dependents)
193194 throw Error("included dependent prevents removal");
MCP
compare on this site's /mcp
CLI
abso diff 164 165 src/engine/experimental/projection-marker.ts --json
JSON
/christopher/abso-core/compare/164..165?file=src%2Fengine%2Fexperimental%2Fprojection-marker.ts&format=json