Versions 55 to 318
Lines 28–39 at 318 (were 28–38 at 55)
3132
32−/** The space to read: --draft (where "shared" means shared), else the one this agent is in. */
33+/** The space to read: --draft (where "shared" means shared), else the one this agent is in (shared, in a folder with no agent). */
35− if (named === undefined) return { agent };
3839
Lines 88–94 at 318 (were 87–93 at 55)
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).` : ""}`
91+ ? `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).` : ""}`
Lines 146–160 at 318 (were 145–159 at 55)
148− throw new UsageError("--agent shows that agent's unpublished changes: abso diff [file...] --agent <name>");
149+ throw new UsageError("--agent shows that agent's unpushed changes: abso diff [file...] --agent <name>");
152153 const where = `${spaceName(answer.draft)}${answer.base === null ? "" : ` (on version ${answer.base})`}`;
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)}.`;
157+ : `${other}'s recorded, unpushed changes${inPaths(only, "to")} in ${where}: ${totals(files)}.`;
159160 json: { agent: other, draft: answer.draft, base: answer.base, files: d.json, unmatched: unmatched(files) },
Lines 180–186 at 318 (were 179–185 at 55)
179180
182− "--draft goes with two versions (abso diff <from> <to>); abso diff alone shows your own unpublished changes",
183+ "--draft goes with two versions (abso diff <from> <to>); abso diff alone shows your own unpushed changes",
Lines 190–197 at 318 (were 189–196 at 55)
189190 const where = `${spaceName(answer.draft)}${answer.base === null ? "" : ` (on version ${answer.base})`}`;
192− ? `No unpublished changes${inPaths(only, "to")} in ${where}.`
193− : `Your unpublished changes${inPaths(only, "to")} in ${where}: ${totals(files)}.`;
Lines 288–294 at 318 (were 287–293 at 55)
289290 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}`);
291+ if (v.originalMessage !== undefined) out.push(` amended; first pushed as: ${v.originalMessage}`);
293294
Lines 426–474 at 318 (were 425–430 at 55)
427428
429+/** abso show <version>[:<file>] --without <versions>: what differs with them left out, or that file then. */
438+ if ("draft" in where && where.draft !== null) throw new UsageError("--without reads shared, not a named draft");
453+ if (same.text !== null) return { text: same.text, json: { ...same, without: answer.without } };
454+ } else if (file.after !== null) return { text: file.after, json: { ...file, without: answer.without } };
465+ changed.length === 0 ? `No file differs from version ${v}.` : `Compared with version ${v}: ${totals(changed)}.`,
471+
430474 throw new UsageError("show takes one version: abso show <version> or abso show <version>:<file>");
Lines 476–483 at 318 (were 432–437 at 55)
435481
Lines 644–655 at 318 (were 598–609 at 55)
601− ? "Nothing to restore: no unpublished changes there."
602− : `Discarded your unpublished changes to ${plural(restored.length + deleted.length, "file")}:`,
606− ? [`No unpublished changes to: ${untouched.join(", ")}`]
- MCP
- compare on this site's /mcp
- CLI
- abso diff 55 318 client/src/changes.ts --json
- JSON
- /christopher/abso-core/compare/55..318?file=client%2Fsrc%2Fchanges.ts&format=json