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 210 to 211

Compare

+4 −0 in 2 places
Lines 3–9 at 211 (were 3–8 at 210)
33
44import { type AtomId, buildAtom, type Hunk, joinLines, type ReadView } from "../../src/engine/index.ts";
55import { differenceSet, unionOverlay } from "../../src/engine/state-source.ts";
6+import { autoSettledOf } from "./autosettle.ts";
67import type { Pair } from "./collisions.ts";
78import type { DefinitionCollision } from "./definition-rule.ts";
89import { heldMessage, keptOf, lostLines, settleLines } from "./markers.ts";
Lines 170–190 at 211 (were 169–186 at 210)
169170 .map((p) => ({ version: p.version, agent: p.agent, message: p.message }));
170171 // What each marked collision kept, judged from the file as published (#11).
171172 const view = host.agentView(agent);
173+ const auto = autoSettledOf(message);
172174 const settled: Settled[] = agent.marked
173175 .filter((r) => r.space === space.name)
174176 .map((r) => {
175177 const lines = view.hasFile(r.file) ? view.lines(r.file).map((l) => l.text) : [];
176178 const lost = lostLines(lines, r);
177179 const held = heldMessage(agent, r.file);
180+ const by = auto.get(r.file);
178181 return {
179182 file: r.file,
180183 kept: keptOf(lines, r),
181184 theirs: { agent: r.agent, version: r.version },
182185 ...(lost.length > 0 ? { lost } : {}),
183186 ...(held ? { held } : {}),
187+ ...(by ? { auto: by } : {}),
184188 };
185189 });
186190 entries.push({
MCP
compare on this site's /mcp
CLI
abso diff 210 211 worker/project/publish.ts --json
JSON
/christopher/abso-core/compare/210..211?file=worker%2Fproject%2Fpublish.ts&format=json