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 280 to 281

Compare

+3 −3 in 3 places
Lines 2–8 at 281 (were 2–8 at 280)
22// passes a native command's argument badly, so a multi-line --comment,
33// --description or answer reached the server cut to its first line, and nobody
44// knew. Any text flag also takes --<flag>-file <path>, and the commands whose
5−// text is their words (ask, answer, announce) take --file <path>. A path of -
5+// text is their words (ask, answer, reply, announce) take --file <path>. A path of -
66// reads stdin. The file's text arrives whole on any shell.
77
88import { readFileSync } from "node:fs";
Lines 12–18 at 281 (were 12–18 at 280)
1212/** The text flags a command may take from a file instead. */
1313const BODY_FLAGS = ["message", "comment", "object", "description", "note"] as const;
1414/** Commands whose text is their last words: --file gives those words. */
15−const WORDS_FROM_FILE = new Set(["ask", "answer", "announce"]);
15+const WORDS_FROM_FILE = new Set(["ask", "answer", "reply", "announce"]);
1616
1717/** The command's flags, plus a -file twin for each text flag it takes, and --file where its words are its text. */
1818export function withBodyFiles(command: string, spec: FlagSpec): FlagSpec {
Lines 75–81 at 281 (were 75–81 at 280)
7575 }
7676 const path = flags.get("file");
7777 if (WORDS_FROM_FILE.has(command) && typeof path === "string") {
78− // ask <who> and answer <ask> keep their first word; announce's words are all text.
78+ // ask <who>, answer <ask> and reply <ask> keep their first word; announce's words are all text.
7979 const keep = command === "announce" ? 0 : 1;
8080 if (positionals.length > keep)
8181 throw new UsageError(`--file gives ${command}'s text, so leave the words off the command line`);
MCP
compare on this site's /mcp
CLI
abso diff 280 281 client/src/body-files.ts --json
JSON
/christopher/abso-core/compare/280..281?file=client%2Fsrc%2Fbody-files.ts&format=json