Versions 10 to 318
Lines 1–8 at 318 (were 1–8 at 10)
1−// Bodies from a file or stdin (Design Lead, 2026-10-08): Windows PowerShell 5.1
5−// text is their words (ask, answer, announce) take --file <path>. A path of -
77
Lines 12–18 at 318 (were 12–18 at 10)
15−const WORDS_FROM_FILE = new Set(["ask", "answer", "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. */
Lines 55–63 at 318 (were 55–61 at 10)
58− text = text.replace(/\r?\n$/, "");
58+ // A file saved on Windows has CRLF line endings; the text goes up with LF only, as typed text does
Lines 75–81 at 318 (were 73–79 at 10)
76− // 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.
7981 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 10 318 client/src/body-files.ts --json
- JSON
- /christopher/abso-core/compare/10..318?file=client%2Fsrc%2Fbody-files.ts&format=json