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 116 to 318

Compare

+9 −2 in 2 places
Lines 83–95 at 318 (were 83–88 at 116)
8383 return ` ${c.id} ${c.agent}, ${titleLine(c.title)}${c.open ? " (still going)" : ""}: ${versionsText(c)}${files}${open > 0 ? `; ${plural(open, "open objection")}` : ""}`;
8484}
8585
86+/** What a settle kept, read from outside: whose lines, not "yours" or "theirs". */
87+function keptText(s: ChangeAnswer["settled"][number], settler: string): string {
88+ if (s.kept === "yours") return `kept ${settler}'s`;
89+ if (s.kept === "theirs") return `kept ${s.theirs.agent}'s`;
90+ return s.kept === "both" ? "kept both" : "rewrote both sides";
91+}
8693/** The change page, as text. */
8794export function changePage(c: ChangeAnswer): string[] {
8895 const out = [
Lines 106–117 at 318 (were 99–110 at 116)
99106 ),
100107 ...(c.settled.length > 0
101108 ? [
102− `Settled: ${c.settled.map((s) => `${s.file} (kept ${s.kept}, against ${s.theirs.agent}'s version ${s.theirs.version})`).join("; ")}.`,
109+ `Settled: ${c.settled.map((s) => `${s.file} (${keptText(s, c.agent)}, against ${s.theirs.agent}'s version ${s.theirs.version})`).join("; ")}.`,
103110 ]
104111 : []),
105112 ...(c.refusals.length > 0
106113 ? [
107− `Refused ${plural(c.refusals.length, "time")} on the way: ${c.refusals.map((r) => `${r.kinds.join(", ")} (${r.files.join(", ")})`).join("; ")}.`,
114+ `Refused ${plural(c.refusals.length, "time")} on the way: ${c.refusals.map((r) => `${r.kinds.join(", ")} (${r.files.join(", ")})${r.message ? `: ${JSON.stringify(r.message)}` : ""}`).join("; ")}.`,
108115 ]
109116 : []),
110117 ...((c.reviewers ?? []).length > 0
MCP
compare on this site's /mcp
CLI
abso diff 116 318 client/src/review.ts --json
JSON
/christopher/abso-core/compare/116..318?file=client%2Fsrc%2Freview.ts&format=json