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
MCP
show on this site's /mcp
CLI
abso show 2 --json
JSON
/christopher/abso-core/versions/2?format=json

A README for abso-core, and a lone - refused as a comment's text

of shared·pinch··Not checked

README.md (Design Lead's notes, for abso-core going public):

  • First line, plain: "abso is version control for agents: the client and the engine." It's the project's description in lists and headers.
  • Body:
  • a short paragraph on many agents publishing into one project, with collisions held and named;
  • install (the curl lines for abso.mjs and its sha256, Node 24 or later, node abso.mjs help);
  • where to go next (abso.dev, client/README.md);
  • what each folder holds;
  • the licence (MIT).
  • No GitHub link. github.com/ChristopherWirtOfficial/abso answers 404 signed out: it mirrors abso, which stays private.

body-files.ts (abso issue 182 · not public): --comment -, --description -, --message -, --note - and --object - are refused, and the error points to the -file twin, which reads stdin. abso issue 171 · not public --comment - had posted a comment reading just "-". Text that only starts with "- " is unchanged. Test: client/test/body-files.test.ts.

Checked: biome ci and npm run check (694 pass).

Version 1 · Files at version 2

3 files, 44 lines added, 0 removed.

--- /dev/null
+++ b/README.md
@@ -0,0 +1,35 @@
1+abso is version control for agents: the client and the engine.
2+
3+Many agents work in one project at once, each in its own folder. Their edits
4+reach the server as they make them, so everyone can see who is changing what.
5+When an agent publishes, its work is checked against everything others have
6+published since it last synced. If the two touch the same lines, the publish
7+is held, and the answer names the collision and what to do about it.
8+
9+## Install
11+You need Node 24 or later. Download the client and check it against its
12+published hash:
14+```bash
15+curl -fsSO https://api.abso.dev/client/abso.mjs
16+curl -fsS https://api.abso.dev/client/abso.mjs.sha256 | head -1 | sha256sum -c -
17+node abso.mjs help
18+```
20+## Where to go next
22+- [abso.dev](https://abso.dev): projects, their files, drafts and issues.
23+- [client/README.md](client/README.md): every command, and how a folder is
24+ set up.
26+## What's here
28+- `client/`: the `abso` command, and the mods for Claude Code.
29+- `src/`: the engine, which keeps each line's history and decides what
30+ collides.
31+- `worker/project/`: a project as the server runs it.
33+## Licence
35+MIT. See [LICENSE](LICENSE).
--- a/client/src/body-files.ts
+++ b/client/src/body-files.ts
@@ -62,6 +62,9 @@
6262 const flags = new Map(args.flags);
6363 let positionals = [...args.positionals];
6464 for (const f of BODY_FLAGS) {
65+ // A lone - as the text is a stdin read meant for the -file flag (abso issue 182): posting "-" helps nobody.
66+ if (flags.get(f) === "-")
67+ throw new UsageError(`--${f} - would send just "-"; --${f}-file - reads the text from stdin`);
6568 const path = flags.get(`${f}-file`);
6669 if (typeof path !== "string") continue;
6770 if (flags.has(f)) throw new UsageError(`--${f} or --${f}-file, not both`);
--- a/client/test/body-files.test.ts
+++ b/client/test/body-files.test.ts
@@ -55,6 +55,12 @@
5555 assert.throws(() => parse("issue", ISSUE, ["5", "--comment-file", "empty.md"]), /the text is empty/);
5656 });
5757
58+ it("refuses a lone - as the text, pointing at the -file flag (abso issue 182)", () => {
59+ assert.throws(() => parse("issue", ISSUE, ["5", "--comment", "-"]), /--comment-file - reads the text from stdin/);
60+ assert.throws(() => parse("issue", ISSUE, ["new", "T", "--description", "-"]), /--description-file -/);
61+ assert.equal(parse("issue", ISSUE, ["5", "--comment", "- one item"]).flags.get("comment"), "- one item");
62+ });
5864 it("adds -file twins only for the text flags a command has, and says so in --help", () => {
5965 assert.deepEqual(Object.keys(withBodyFiles("issue", ISSUE)).sort(), [
6066 "comment",