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

+11 −11 in 6 places
Lines 87–93 at 100 (were 87–93 at 99)
8787 return {
8888 text: [
8989 mine
90− ? `Your view holds ${what}: ${spaceName(answer.draft)} at version ${answer.version}, with your unpublished changes.${missing.size > 0 ? ` ${missing.size} of them ${missing.size === 1 ? "is" : "are"} missing from this folder (abso sync --full writes them).` : ""}`
90+ ? `Your view holds ${what}: ${spaceName(answer.draft)} at version ${answer.version}, with your unpushed changes.${missing.size > 0 ? ` ${missing.size} of them ${missing.size === 1 ? "is" : "are"} missing from this folder (abso pull --full writes them).` : ""}`
9191 : `${spaceName(answer.draft)} at version ${answer.version} holds ${what}.`,
9292 ...files.map((f) => (missing.has(f) ? `${f} (missing from this folder)` : f)),
9393 ].join("\n"),
Lines 145–159 at 100 (were 145–159 at 99)
145145 const other = str(args, "agent");
146146 if (other !== undefined) {
147147 if (between || str(args, "draft") !== undefined)
148− throw new UsageError("--agent shows that agent's unpublished changes: abso diff [file...] --agent <name>");
148+ throw new UsageError("--agent shows that agent's unpushed changes: abso diff [file...] --agent <name>");
149149 const answer = await api.diffOf(other);
150150 const files = pick(answer.files);
151151 const d = diffs(files);
152152 const where = `${spaceName(answer.draft)}${answer.base === null ? "" : ` (on version ${answer.base})`}`;
153153 const head =
154154 files.length === 0
155− ? `${other} has no recorded, unpublished changes${inPaths(only, "to")} in ${where}.`
156− : `${other}'s recorded, unpublished changes${inPaths(only, "to")} in ${where}: ${totals(files)}.`;
155+ ? `${other} has no recorded, unpushed changes${inPaths(only, "to")} in ${where}.`
156+ : `${other}'s recorded, unpushed changes${inPaths(only, "to")} in ${where}: ${totals(files)}.`;
157157 return {
158158 text: [head, ...d.text].join("\n"),
159159 json: { agent: other, draft: answer.draft, base: answer.base, files: d.json, unmatched: unmatched(files) },
Lines 179–185 at 100 (were 179–185 at 99)
179179
180180 if (str(args, "draft") !== undefined)
181181 throw new UsageError(
182− "--draft goes with two versions (abso diff <from> <to>); abso diff alone shows your own unpublished changes",
182+ "--draft goes with two versions (abso diff <from> <to>); abso diff alone shows your own unpushed changes",
183183 );
184184 // Folder-only edits count as unpublished changes too.
185185 const recorded = await recordFolder(root, api);
Lines 189–196 at 100 (were 189–196 at 99)
189189 const where = `${spaceName(answer.draft)}${answer.base === null ? "" : ` (on version ${answer.base})`}`;
190190 const head =
191191 files.length === 0
192− ? `No unpublished changes${inPaths(only, "to")} in ${where}.`
193− : `Your unpublished changes${inPaths(only, "to")} in ${where}: ${totals(files)}.`;
192+ ? `No unpushed changes${inPaths(only, "to")} in ${where}.`
193+ : `Your unpushed changes${inPaths(only, "to")} in ${where}: ${totals(files)}.`;
194194 const pre = recordedFirst(recorded);
195195 return {
196196 text: [...pre, head, ...notes(files), ...d.text].join("\n"),
Lines 287–293 at 100 (were 287–293 at 99)
287287 if (v.drops && v.drops.length > 0)
288288 out.push(` drops ${v.drops.length === 1 ? "version" : "versions"} ${v.drops.join(", ")}`);
289289 if (v.droppedIn !== undefined) out.push(` dropped in version ${v.droppedIn}: shared no longer has these changes`);
290− if (v.originalMessage !== undefined) out.push(` amended; first published as: ${v.originalMessage}`);
290+ if (v.originalMessage !== undefined) out.push(` amended; first pushed as: ${v.originalMessage}`);
291291 return out;
292292}
293293
Lines 598–609 at 100 (were 598–609 at 99)
598598 );
599599 const lines = [
600600 restored.length + deleted.length === 0
601− ? "Nothing to restore: no unpublished changes there."
602− : `Discarded your unpublished changes to ${plural(restored.length + deleted.length, "file")}:`,
601+ ? "Nothing to restore: no unpushed changes there."
602+ : `Discarded your unpushed changes to ${plural(restored.length + deleted.length, "file")}:`,
603603 ...restored.map((f) => ` restored ${f}`),
604604 ...deleted.map((f) => ` deleted ${f} (it is new in your draft)`),
605605 ...(untouched.length > 0 && restored.length + deleted.length > 0
606− ? [`No unpublished changes to: ${untouched.join(", ")}`]
606+ ? [`No unpushed changes to: ${untouched.join(", ")}`]
607607 : []),
608608 ...refusedText(refused),
609609 ];
MCP
compare on this site's /mcp
CLI
abso diff 99 100 client/src/changes.ts --json
JSON
/christopher/abso-core/compare/99..100?file=client%2Fsrc%2Fchanges.ts&format=json