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 12 to 13

Compare

+4 −3 in 4 places
Lines 8–14 at 13 (were 8–13 at 12)
88import type { Env, Output } from "./commands.ts";
99import { findRoot, readConfig } from "./config.ts";
1010import { relativeTo } from "./folder.ts";
11+import { byWhom } from "./history-answers.ts";
1112
1213function open(env: Env): { root: string; api: Api; agent: string } {
1314 const root = findRoot(env.cwd);
Lines 47–53 at 13 (were 46–52 at 12)
4647}
4748
4849function published(p: Publish | null): string {
49− return p === null ? "not published" : `version ${p.version} by ${p.agent} (${when(p.time)}): "${p.message}"`;
50+ return p === null ? "not published" : `version ${p.version} by ${byWhom(p)} (${when(p.time)}): "${p.message}"`;
5051}
5152
5253export async function runBlame(args: Parsed, env: Env): Promise<Output> {
Lines 72–78 at 13 (were 71–77 at 12)
7172 for (const a of b.atoms) {
7273 if (a.publish === null) continue;
7374 const own = a.message && a.message !== a.publish.message ? ` (the change itself: "${a.message}")` : "";
74− const line = ` v${a.publish.version} by ${a.publish.agent}, ${when(a.publish.time)}: ${a.publish.message}${own}`;
75+ const line = ` v${a.publish.version} by ${byWhom(a.publish)}, ${when(a.publish.time)}: ${a.publish.message}${own}`;
7576 if (!versions.has(a.publish.version) || own) versions.set(a.publish.version, line);
7677 }
7778 const whose =
Lines 173–179 at 13 (were 172–178 at 12)
172173 lines.push(
173174 `${file}:`,
174175 last
175− ? ` last changed in version ${last.version} by ${last.agent}, ${when(last.time)}: ${last.message}`
176+ ? ` last changed in version ${last.version} by ${byWhom(last)}, ${when(last.time)}: ${last.message}`
176177 : " in no published version yet",
177178 ...(drafts.length > 0
178179 ? drafts.map(
MCP
compare on this site's /mcp
CLI
abso diff 12 13 client/src/history.ts --json
JSON
/christopher/abso-core/compare/12..13?file=client%2Fsrc%2Fhistory.ts&format=json