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 99 to 100

Compare

+8 −8 in 5 places
Lines 47–53 at 100 (were 47–53 at 99)
4747}
4848
4949function published(p: Publish | null): string {
50− return p === null ? "not published" : `version ${p.version} by ${byWhom(p)} (${when(p.time)}): "${p.message}"`;
50+ return p === null ? "not pushed" : `version ${p.version} by ${byWhom(p)} (${when(p.time)}): "${p.message}"`;
5151}
5252
5353export async function runBlame(args: Parsed, env: Env): Promise<Output> {
Lines 91–99 at 100 (were 91–99 at 99)
9191 ...b.lines.map(
9292 (l) => ` ${String(l.n).padStart(digits)} ${tag(l).padEnd(tagWidth)} ${l.author.padEnd(width)} ${l.text}`,
9393 ),
94− ...(unpublished ? ["", "* not published yet: your own unpublished change."] : []),
94+ ...(unpublished ? ["", "* not pushed yet: your own unpushed change."] : []),
9595 "",
96− "Publishes:",
96+ "Pushes:",
9797 ...[...versions].sort(([x], [y]) => x - y).map(([, line]) => line),
9898 ];
9999 return { text: lines.join("\n"), json: { ...b } };
Lines 115–121 at 100 (were 115–121 at 99)
115115 const w = await api.why(file, lineNumber(raw, "the line")!, viewOf(args, agent));
116116 const lines = [
117117 `${w.file} line ${w.line}: ${w.text}`,
118− `Written by ${w.change.author} (${when(w.change.time)}), published in ${published(w.publish)}.`,
118+ `Written by ${w.change.author} (${when(w.change.time)}), pushed in ${published(w.publish)}.`,
119119 ...(w.change.message ? [`The change says: "${w.change.message}"`] : []),
120120 ...(w.settled.length > 0
121121 ? [
Lines 174–186 at 100 (were 174–186 at 99)
174174 `${file}:`,
175175 last
176176 ? ` last changed in version ${last.version} by ${byWhom(last)}, ${when(last.time)}: ${last.message}`
177− : " in no published version yet",
177+ : " in no pushed version yet",
178178 ...(drafts.length > 0
179179 ? drafts.map(
180180 (s) =>
181− ` ${s.agent}${s.agent === agent ? " (you)" : ""} has unpublished changes at lines ${ranges(s.lines) || "(none left)"}, last at ${when(s.lastEdit)}`,
181+ ` ${s.agent}${s.agent === agent ? " (you)" : ""} has unpushed changes at lines ${ranges(s.lines) || "(none left)"}, last at ${when(s.lastEdit)}`,
182182 )
183− : [" nobody has unpublished changes in it"]),
183+ : [" nobody has unpushed changes in it"]),
184184 ...notes.map(
185185 (n) =>
186186 ` ${n.agent}${n.agent === agent ? " (you)" : ""} started "${n.text}"${n.draft ? ` in draft ${n.draft}` : ""}, ${when(n.time)}`,
Lines 203–209 at 100 (were 203–209 at 99)
203203 const starting = notes.length > 0 ? ["Starting on:", ...notes] : [];
204204 if (files.length === 0)
205205 return {
206− text: [`Nobody has unpublished changes. Shared is at version ${w.version}.`, ...starting].join("\n"),
206+ text: [`Nobody has unpushed changes. Shared is at version ${w.version}.`, ...starting].join("\n"),
207207 json: { ...w },
208208 };
209209 const lines = [...starting, `Who's working where (shared is at version ${w.version}):`];
MCP
compare on this site's /mcp
CLI
abso diff 99 100 client/src/history.ts --json
JSON
/christopher/abso-core/compare/99..100?file=client%2Fsrc%2Fhistory.ts&format=json