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 39 to 40

Compare

+9 −9 in 4 places
Lines 1–9 at 40 (were 1–9 at 39)
1−// avcs-view: what abso knows about this chat's folder, at a glance (#12).
1+// abso-view: what abso knows about this chat's folder, at a glance (#12).
22//
33// A status line entry, kept current: the space the folder is in, how many
44// files the draft changes, how far shared has moved on, who else has
55// unpublished changes in the same files, and news not yet looked at.
6−// `/avcs-view` opens a pane with the whole picture.
6+// `/abso-view` opens a pane with the whole picture.
77//
88// Outside an abso folder it costs one folder lookup at session start and
99// nothing after. Inside one, it asks the server for /status and /where at
Lines 15–32 at 40 (were 15–32 at 39)
1515import type { AvcsView } from "../types";
1616import { STAMP } from "./stamp.ts";
1717
18−const PANE = "avcs-view";
19−const COMMAND = "avcs-view";
18+const PANE = "abso-view";
19+const COMMAND = "abso-view";
2020const TICK_MS = 3_000;
2121const REFRESH_MS = 30_000;
2222const AFTER_EDIT_MS = 2_000;
2323const NEWS_SHOWN = 12;
2424const EDIT_TOOLS = ["Edit", "MultiEdit", "Write", "NotebookEdit", "Bash"];
2525/** Sent with each call, so the server can tell which mod, from which commit, made it (#29). */
26−const CLIENT = `avcs-view/${STAMP ?? "checkout"}`;
26+const CLIENT = `abso-view/${STAMP ?? "checkout"}`;
2727
28−const view = atom({ plugin: "avcs-view", key: "view" } as const, null);
29−const seenNewsAt = atom({ plugin: "avcs-view", key: "seenNewsAt" } as const, "");
28+const view = atom({ plugin: "abso-view", key: "view" } as const, null);
29+const seenNewsAt = atom({ plugin: "abso-view", key: "seenNewsAt" } as const, "");
3030
3131// The engine interface, passed along (the validator refuses keeping it).
3232type Engine = any;
Lines 204–210 at 40 (were 204–210 at 39)
204204 parts.push(`${v.space === "shared" ? "shared" : "the draft"} is ${v.version - v.base} ahead (abso sync)`);
205205 if (v.overlap.length > 0) parts.push(`${v.overlap.map((o) => o.agent).join(", ")} also on your files`);
206206 const fresh = unread(v, seen);
207− if (fresh > 0) parts.push(`${plural(fresh, "news item")} (/avcs-view)`);
207+ if (fresh > 0) parts.push(`${plural(fresh, "news item")} (/abso-view)`);
208208 return parts.join(" · ");
209209}
210210
Lines 244–250 at 40 (were 244–250 at 39)
244244 await update($, seenNewsAt, () => newest);
245245 $.ui.status(statusLine(v, newest));
246246 }
247− return { text: "Opened the avcs view." };
247+ return { text: "Opened the abso view." };
248248 });
249249
250250 on("ui.render", { component: "Pane", requestId: PANE }, async ($, e) => {
MCP
compare on this site's /mcp
CLI
abso diff 39 40 client/view/hooks/register.tsx --json
JSON
/christopher/abso-core/compare/39..40?file=client%2Fview%2Fhooks%2Fregister.tsx&format=json