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 159 to 160

Compare

+5 −2 in 4 places
Lines 4–10 at 160 (were 4–10 at 159)
44import { type AtomId, buildAtom, type Graph, type ReadView } from "../../src/engine/index.ts";
55import type { Pair } from "./collisions.ts";
66import { definedTwice } from "./definitions.ts";
7−import { keptOf, lostLines } from "./markers.ts";
7+import { heldMessage, keptOf, lostLines } from "./markers.ts";
88import { clip } from "./news.ts";
99import { ProjectError } from "./project-error.ts";
1010import { projectFileIn } from "./project-helpers.ts";
Lines 49–55 at 160 (were 49–54 at 159)
4949 time: number,
5050 collisions: Collision[],
5151 entries: Entry[],
52+ message?: string,
5253 ): { ok: false; collisions: Collision[] };
5354 currentChange(agent: AgentState, time: number): number | undefined;
5455 nextAt(): number;
Lines 150–156 at 160 (were 149–155 at 159)
149150 });
150151 }
151152 }
152− if (collisions.length > 0) return host.refuse(agent, space, "publish", time, collisions, entries);
153+ if (collisions.length > 0) return host.refuse(agent, space, "publish", time, collisions, entries, message);
153154 }
154155 const view = host.agentView(agent);
155156 const settled: Settled[] = agent.marked
Lines 158–170 at 160 (were 157–167 at 159)
157158 .map((r) => {
158159 const lines = view.hasFile(r.file) ? view.lines(r.file).map((l) => l.text) : [];
159160 const lost = lostLines(lines, r);
161+ const held = heldMessage(agent, r.file);
160162 return {
161163 file: r.file,
162164 kept: keptOf(lines, r),
163165 theirs: { agent: r.agent, version: r.version },
164166 ...(lost.length > 0 ? { lost } : {}),
167+ ...(held ? { held } : {}),
165168 };
166169 });
167170 const id = host.queuedId() + 1;
MCP
compare on this site's /mcp
CLI
abso diff 159 160 worker/project/queue.ts --json
JSON
/christopher/abso-core/compare/159..160?file=worker%2Fproject%2Fqueue.ts&format=json