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

Compare

+7 −4 in 2 places
Lines 49–59 at 318 (were 49–57 at 223)
4949}
5050
5151/**
52− * What a reader may not do. Edits and records (which old edit mods send on
53− * their own) and publishes answer 200 {ok: false, reason}, so a mod only logs
54− * it; the rest are refused outright.
52+ * What a reader may not do: change code. Edits and records (which old edit
53+ * mods send on their own) and publishes answer 200 {ok: false, reason}, so a
54+ * mod only logs it; the rest are refused outright. Talking stays open (abso
55+ * 682, Christopher: "readers need to be able to do asks and news and stuff"):
56+ * announcements, notes on lines, asks and issues all work for a reader.
5557 */
5658const NOT_FOR_READERS: Record<string, "answer" | "refuse"> = {
5759 edit: "answer",
Lines 394–401 at 318 (were 392–398 at 223)
392394 const from = int(q.from);
393395 const to = int(q.to);
394396 if (from === undefined || to === undefined) return fail(400, "compare needs ?from=<number>&to=<number>");
395− return { status: 200, body: history.compare(from, to, draft, who) };
397+ // summary=1: each file's size and SHA-256, not its texts (abso issue 680).
398+ return { status: 200, body: history.compare(from, to, draft, who, q.summary === "1") };
396399 }
397400 const version = Number(q.version);
398401 if (q.version === undefined || !Number.isInteger(version)) return fail(400, "show needs ?version=<number>");
MCP
compare on this site's /mcp
CLI
abso diff 223 318 worker/project/http.ts --json
JSON
/christopher/abso-core/compare/223..318?file=worker%2Fproject%2Fhttp.ts&format=json