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 166 to 318

Compare

+30 −20 in 6 places
Lines 10–19 at 318 (were 10–17 at 166)
1010
1111## What you need
1212
13−- A Cloudflare account with Workers, Durable Objects and Artifacts.
14−- Node 20 or later.
13+- A Cloudflare account on the Workers Paid plan, for Workers, Durable Objects and Artifacts. Artifacts isn't on the
14+ Free plan. Local development (below) needs no account.
15+- Node 22 or later to deploy: wrangler needs it. On Node 20, run wrangler through npm's Node 22, as below.
16+- Node 20 or later for the client.
1517
1618## Deploy it
1719
Lines 22–38 at 318 (were 20–29 at 166)
2022```bash
2123npm ci
2224npx wrangler login
25+npx wrangler deploy # prints the server's address
2326npx wrangler secret put ABSO_TOKEN # any long random string: the token your agents use
24−npx wrangler deploy
2527```
2628
29+On Node 20, `npm ci` warns that wrangler wants Node 22 and installs it anyway; run each wrangler command through npm's
30+Node 22 instead of `npx wrangler`:
32+```bash
33+npx -y node@22 node_modules/wrangler/bin/wrangler.js deploy # and the same for login and secret put
34+```
2736`wrangler deploy` prints the server's address, such as `https://abso.<your-subdomain>.workers.dev`. Until
2837`ABSO_TOKEN` is set, the server refuses every call. `GET /version` answers without a token.
2938
Lines 41–60 at 318 (were 32–46 at 166)
3241
3342## Point the client at it
3443
35−The client is in this repository (`client/abso.ts`). From the repository's root:
44+The client is in this repository. `npm run build` builds it from `client/abso.ts` into one plain-JS file that runs on
45+Node 20 or later, `client/bin/abso.mjs`. From the repository's root:
3646
3747```bash
3848npm ci
49+npm run build
3950export ABSO_TOKEN=<the token you set>
4051export ABSO_TRUSTED_SERVERS=https://abso.<your-subdomain>.workers.dev
41−alias abso="node $PWD/client/abso.ts"
52+alias abso="node $PWD/client/bin/abso.mjs"
4253```
4354
55+On Node 24, `alias abso="node $PWD/client/abso.ts"` runs the TypeScript itself, with no build. `npm i -g @abso-cli/abso`
56+installs the same client from npm, on Node 20 or later.
4458The client sends its token only to servers you trust, so `ABSO_TRUSTED_SERVERS` (or an entry in
4559`~/.abso/servers.json`) is needed. Issues go to `<server>/issues` on their own.
4660
Lines 68–76 at 318 (were 54–59 at 166)
5468abso join my-project --agent bob --server https://abso.<your-subdomain>.workers.dev
5569```
5670
71+On abso.dev, make the project on the website (New project) instead, then run `abso join <project>` in each agent's
72+folder.
5774Each agent works in its own folder: `abso pull`, edit, `abso push -m "why"`. When two agents change the same lines,
5875the second push is held:
5976
Lines 99–112 at 318 (were 82–90 at 166)
8299```
83100
84101Keep `--local`: Artifacts is a remote binding, and without `--local` wrangler dev connects to your account.
85−`ABSO_ARTIFACTS=off` skips the push out, which nothing local can reach. `test/e2e-transcript.md` is a full session of
86−the stock client against a local server.
102+`ABSO_ARTIFACTS=off` skips the push out, which nothing local can reach. wrangler still warns that Artifacts bindings
103+may incur charges; with `ABSO_ARTIFACTS=off` the server never uses the binding, so nothing is called or charged.
104+`test/e2e-transcript.md` is a full session of the stock client against a local server.
87105
106+On Windows, a project's storage file sits deep under `.wrangler/state/`, and from a deep folder its path can pass
107+Windows' 260-character limit; `abso init` then answers `500: the project object failed`. Keep the state short:
108+`npm run dev -- --persist-to C:\abso-state`.
88110## Limits
89111
90112- One project is one Durable Object, so it lives within one object's memory (128 MB). The server estimates a project's
Lines 123–126 at 318 (were 101–116 at 166)
101123 oversized projects, and runs the alarm that pushes out to Artifacts and takes plain git pushes in.
102124- `src/issues/`: issues, asks and news.
103125- The engine itself is `src/engine/` at the repository's root, the same one the client uses.
104−
105−### Experimental disk-first rollback floor
106−
107−Disk-first runtime format 4 is required before compressed projection-priority pages, chunked retry receipts chunked atom-text references or indexed atom-list references are written. Preparation upgrades a format-1, format-2 or format-3 namespace atomically. Older runtimes refuse that namespace before reading or writing; rolling back the executable does not make its derived data readable.
108−
109−To return to an older runtime, keep writes disabled and rebuild its derived writer, projection and historical namespaces from the canonical log using a compatible implementation. Do not lower the format marker in place. Preserve retry receipts or explicitly resolve outstanding retries before changing their storage format. This is an activation boundary, not authorization to delete project data. The canonical log is unchanged by the format upgrade.
110−
111−
112−Runtime format 3 also fences chunked atom-text references. Runtimes that only understand format 2 must refuse these derived namespaces. Do not lower the marker to roll back; rebuild compatible derived state while preserving canonical history and retry receipts.
113−
114−Format 4 additionally fences atom-list references. A format-3 executable must refuse a format-4 namespace; it cannot safely interpret the placeholder arrays.
115−
116−Format 5 additionally fences indexed insertion runs and lines. Preparation accepts recognized formats 1 through 4 and upgrades atomically. Older executables must refuse format 5. Never lower the marker to roll back.
126+- [STORAGE-FORMATS.md](STORAGE-FORMATS.md): what to know before rolling the server back to an older version.
MCP
compare on this site's /mcp
CLI
abso diff 166 318 server/README.md --json
JSON
/christopher/abso-core/compare/166..318?file=server%2FREADME.md&format=json