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

Compare

+35 −5 in 4 places
Lines 4–29 at 318 (were 4–16 at 101)
44for agents. [README.md](../README.md) at the top says what abso is and how to
55install the client as one file.
66
7−It is plain TypeScript that Node 24 runs directly, and it uses nothing outside
8−this folder, so the folder can be shipped as it is.
7+It is plain TypeScript that Node 24 runs directly. It also imports the
8+pipeline and project code from the rest of the repository, so what you ship
9+is the built bundle, `client/bin/abso.mjs`, one file.
1011```bash
1112node client/abso.ts help
1213```
1314
15+Node 20 can't run the `.ts` files (it has no type stripping). On Node 20 or
16+later, build the client into one plain-JS file and run that:
18+```bash
19+npm ci
20+npm run build
21+node client/bin/abso.mjs help
22+```
24+`client/bin/` isn't committed; build again after pulling. The npm package
25+(`npm run pack:npm -- <version>`) ships the same build.
1427### Running it from a git checkout
1528
1629`client/launch.mjs` runs the client from a git checkout of abso and keeps the
Lines 45–67 at 318 (were 32–37 at 101)
3245
3346## Setting up a folder
3447
48+### Requesting access at login
50+An agent can request the access it needs when starting a box login:
52+```bash
53+abso login --projects alpha,beta --role writer --days 30 --no-browser
54+```
56+The client sends a `requested_grant` with the device request: `projects`
57+(each with `project` and `role`) and `days`. Only supplied
58+fields are sent; project roles default to `writer`. The role option requires
59+projects. Durations range from 1 to 90 days. A box lets in any number of agents.
60+The person approving still chooses the actual grant and can narrow or reject
61+the request. Servers must support requested grants to prefill their approval
62+page; older servers may ignore the suggestions. Without these options, login
63+works as before. The request itself never authorizes access.
3565Folders and machines set up before abso had its name keep working: the older
3666`.avcs/` folder, `~/.avcs/` files, `AVCS_` environment names and `.avcsignore` are
3767read when the new ones are not there. New things are written under the new names.
Lines 99–105 at 318 (were 69–75 at 101)
6999abso join regex --agent backtracker --server https://<worker> --dir ./backtracker
70100```
71101
72−Here `abso` means `node <repo>/client/abso.ts`, or `node abso.mjs` for the one-file client.
102+Here `abso` means `node <repo>/client/bin/abso.mjs` (Node 20 or later), `node <repo>/client/abso.ts` (Node 24), or `node abso.mjs` for the one-file client.
73103
74104## Working
75105
Lines 137–144 at 318 (were 107–114 at 101)
107137| `abso announce [--to a,b] <text>` | Tells the project's other agents (or those named) something. Each gets "Announcement from you (as claimed): ..." once, as news on their next edit, or within 30 seconds where the mod runs. |
108138| `abso news` | The news waiting for you (collisions, changed definitions, moved lines, announcements), each item once. |
109139| `abso where` | Who is working where: each file with unpushed changes, whose they are, and which lines. |
110−| `abso blame <file> [--from n] [--to n] [--version n]` | Who wrote each line of the file as shared has it (or had it at a version), and the push that brought it in. `--draft <name>` reads a named draft; `--mine` reads your own view and marks your unpushed lines with `*`. |
111−| `abso why <file>:<line>` | Why one line of shared is the way it is: its change, its push, its reasons, and any collision it settled. Takes `--draft` and `--mine` as blame does. |
140+| `abso blame <file> [--from n] [--to n] [--version n]` | Who wrote each line of the file as shared has it (or had it at a version), and the push that brought it in. A push imported from git names its commit and author. `--draft <name>` reads a named draft; `--mine` reads your own view and marks your unpushed lines with `*`. |
141+| `abso why <file>:<line> [--at n] [--all]` | Why one line of shared is the way it is: the newest change to what it does, its push, its reasons, and any collision it settled, then the line's earlier changes, newest first, with what it read before each. A change that only touched formatting (whitespace, line wrapping, quotes, trailing commas, line-end semicolons) is skipped, and why names it; `--all` shows those too. A line imported from git names its commit and author, and `#39` in it names the old repository's issue when the import recorded where those are, or when abso.json says so with `"gitIssues": "https://github.com/owner/repo/issues"`. `--at <version>` reads the line as it was at that version, as blame's `--version` does. Takes `--draft` and `--mine` as blame does. |
112142| `abso drop <version...> -m "why" [--with-dependents]` | Takes pushed versions back out of shared as a new version, like `git revert`; history keeps them. Refused (exit 2) when later versions build on them (`--with-dependents` drops those too) or when anyone's unpushed work builds on them. |
113143| `abso pluck <draft> <version...> -m "why" [--with-dependencies]` | Takes some versions of a named draft into shared as one version, like `git cherry-pick`. The draft stays as it is. |
114144| `abso amend -m "new message"` | Corrects the message of your newest push in this space. The log keeps the first message. |
MCP
compare on this site's /mcp
CLI
abso diff 101 318 client/README.md --json
JSON
/christopher/abso-core/compare/101..318?file=client%2FREADME.md&format=json