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

+9 −9 in 8 places
Lines 148–155 at 100 (were 148–155 at 99)
148148 writeConfig(root, raw as unknown as Settings);
149149 return {
150150 text: on
151− ? "This folder is a reader now: status, sync, log, show, files and export work, and nothing it does is recorded or published. abso reader off undoes it."
152− : "This folder records and publishes again.",
151+ ? "This folder is a reader now: status, pull, log, show, files and export work, and nothing it does is recorded or pushed. abso reader off undoes it."
152+ : "This folder records and pushes again.",
153153 json: { reader: on },
154154 };
155155}
Lines 158–164 at 100 (were 158–164 at 99)
158158export function openCollisionsText(open: readonly OpenCollision[]): string[] {
159159 if (open.length === 0) return [];
160160 return [
161− `${plural(open.length, "collision")} to settle before you publish (keep yours, theirs or a mix and delete the marker lines, or abso settle <file> --yours|--theirs|--both):`,
161+ `${plural(open.length, "collision")} to settle before you push (keep yours, theirs or a mix and delete the marker lines, or abso settle <file> --yours|--theirs|--both):`,
162162 ...open.map(
163163 (c) =>
164164 ` ${c.file} lines ${c.lines[0]}-${c.lines[1]}, with ${c.theirs.agent}'s version ${c.theirs.version} ("${c.theirs.message}")`,
Lines 216–222 at 100 (were 216–222 at 99)
216216 });
217217 return {
218218 text: [
219− `Moved ${from} to ${to} in your draft; its lines keep their history. It reaches shared with your next publish.`,
219+ `Moved ${from} to ${to} in your draft; its lines keep their history. It reaches shared with your next push.`,
220220 ...(isComposed(to) ? [] : [uncomposedText(to)]),
221221 ].join("\n"),
222222 json: { from: answer.from, to: answer.to },
Lines 260–266 at 100 (were 260–266 at 99)
260260 return {
261261 text: [
262262 ...recordedFirst(recorded).filter((l) => !l.startsWith("Recorded first")),
263− `Settled ${counts.map(([rel, n]) => `${plural(n, "block")} in ${rel}`).join(", ")}, keeping ${which}.${keep === "both" ? " Both sides stay in the file; when you publish, the other author hears that you kept both." : ""}`,
263+ `Settled ${counts.map(([rel, n]) => `${plural(n, "block")} in ${rel}`).join(", ")}, keeping ${which}.${keep === "both" ? " Both sides stay in the file; when you push, the other author hears that you kept both." : ""}`,
264264 ].join("\n"),
265265 json: { keep, files: counts.map(([file, blocks]) => ({ file, blocks })), recorded: recorded.sent },
266266 };
Lines 274–280 at 100 (were 274–280 at 99)
274274 ? missing.join(", ")
275275 : `${missing.slice(0, LISTED).join(", ")}, and ${missing.length - LISTED} more`;
276276 return [
277− `Missing from this folder though your view has ${missing.length === 1 ? "it" : "them"} (abso sync --full writes ${missing.length === 1 ? "it" : "them"}; abso files lists them all): ${some}`,
277+ `Missing from this folder though your view has ${missing.length === 1 ? "it" : "them"} (abso pull --full writes ${missing.length === 1 ? "it" : "them"}; abso files lists them all): ${some}`,
278278 ];
279279}
280280
Lines 302–308 at 100 (were 302–308 at 99)
302302 const me = status.agents.find((a) => a.agent === config.agent);
303303 const unpublished = local.size > 0 || (me?.draftChanges ?? 0) > 0;
304304 // +queued: published into the merge queue, not landed yet (#39).
305− const word = `${me?.draft ? `${me.draft}@` : ""}${me?.base ?? "none"}${unpublished ? "+unpublished" : ""}${(me?.queued?.length ?? 0) > 0 ? "+queued" : ""}`;
305+ const word = `${me?.draft ? `${me.draft}@` : ""}${me?.base ?? "none"}${unpublished ? "+unpushed" : ""}${(me?.queued?.length ?? 0) > 0 ? "+queued" : ""}`;
306306 return { text: word, json: { version: me?.base ?? null, draft: me?.draft ?? null, unpublished, word } };
307307 }
308308 const missing = view === undefined ? [] : missingHere(root, view.files, local);
Lines 326–332 at 100 (were 326–332 at 99)
326326 const credential = credentialLabel(root, config.server, env.env);
327327 const behind = await newerClientNote(config.server);
328328 const lines = [
329− `Project ${config.project}: shared is at version ${status.version}. This folder is ${config.agent}${config.reader || me?.reader ? ", a reader (it records and publishes nothing)" : ""}, working in ${space(me?.draft)}.${config.follow ? ` It follows label ${config.follow}: syncs take it to the newest version with that label.` : ""} Signed in with ${credential.kind}${credential.id ? ` ${credential.id}` : ""}.`,
329+ `Project ${config.project}: shared is at version ${status.version}. This folder is ${config.agent}${config.reader || me?.reader ? ", a reader (it records and pushes nothing)" : ""}, working in ${space(me?.draft)}.${config.follow ? ` It follows label ${config.follow}: pulls take it to the newest version with that label.` : ""} Signed in with ${credential.kind}${credential.id ? ` ${credential.id}` : ""}.`,
330330 ...(behind ? [behind] : []),
331331 // Is shared green (#39)? Right under the first line, since it decides what to do next.
332332 ...ciText(status.ci, status.version),
Lines 341–347 at 100 (were 341–347 at 99)
341341 : `Not yet recorded (abso record sends them): ${[...local.keys()].join(", ")}`,
342342 ...(neverShared.length > 0
343343 ? [
344− `Added to your draft by an earlier record and deleted since, so they never reach shared; the next record (sync, publish, run) takes them out of your draft: ${neverShared.join(", ")}`,
344+ `Added to your draft by an earlier record and deleted since, so they never reach shared; the next record (pull, push, run) takes them out of your draft: ${neverShared.join(", ")}`,
345345 ]
346346 : []),
347347 ...openCollisionsText(me?.collisions ?? []),
MCP
compare on this site's /mcp
CLI
abso diff 99 100 client/src/status-commands.ts --json
JSON
/christopher/abso-core/compare/99..100?file=client%2Fsrc%2Fstatus-commands.ts&format=json