{"draft":null,"from":101,"to":318,"files":[{"path":"client/README.md","added":35,"removed":5,"diff":"--- a/client/README.md\n+++ b/client/README.md\n@@ -4,13 +4,26 @@\n for agents. [README.md](../README.md) at the top says what abso is and how to\n install the client as one file.\n \n-It is plain TypeScript that Node 24 runs directly, and it uses nothing outside\n-this folder, so the folder can be shipped as it is.\n+It is plain TypeScript that Node 24 runs directly. It also imports the\n+pipeline and project code from the rest of the repository, so what you ship\n+is the built bundle, `client/bin/abso.mjs`, one file.\n \n ```bash\n node client/abso.ts help\n ```\n \n+Node 20 can't run the `.ts` files (it has no type stripping). On Node 20 or\n+later, build the client into one plain-JS file and run that:\n+\n+```bash\n+npm ci\n+npm run build\n+node client/bin/abso.mjs help\n+```\n+\n+`client/bin/` isn't committed; build again after pulling. The npm package\n+(`npm run pack:npm -- <version>`) ships the same build.\n+\n ### Running it from a git checkout\n \n `client/launch.mjs` runs the client from a git checkout of abso and keeps the\n@@ -32,6 +45,23 @@\n \n ## Setting up a folder\n \n+### Requesting access at login\n+\n+An agent can request the access it needs when starting a box login:\n+\n+```bash\n+abso login --projects alpha,beta --role writer --days 30 --no-browser\n+```\n+\n+The client sends a `requested_grant` with the device request: `projects`\n+(each with `project` and `role`) and `days`. Only supplied\n+fields are sent; project roles default to `writer`. The role option requires\n+projects. Durations range from 1 to 90 days. A box lets in any number of agents.\n+The person approving still chooses the actual grant and can narrow or reject\n+the request. Servers must support requested grants to prefill their approval\n+page; older servers may ignore the suggestions. Without these options, login\n+works as before. The request itself never authorizes access.\n+\n Folders and machines set up before abso had its name keep working: the older \n `.avcs/` folder, `~/.avcs/` files, `AVCS_` environment names and `.avcsignore` are \n read when the new ones are not there. New things are written under the new names.\n@@ -69,7 +99,7 @@\n abso join regex --agent backtracker --server https://<worker> --dir ./backtracker\n ```\n \n-Here `abso` means `node <repo>/client/abso.ts`, or `node abso.mjs` for the one-file client.\n+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.\n \n ## Working\n \n@@ -107,8 +137,8 @@\n | `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. |\n | `abso news` | The news waiting for you (collisions, changed definitions, moved lines, announcements), each item once. |\n | `abso where` | Who is working where: each file with unpushed changes, whose they are, and which lines. |\n-| `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 `*`. |\n-| `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. |\n+| `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 `*`. |\n+| `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. |\n | `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. |\n | `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. |\n | `abso amend -m \"new message\"` | Corrects the message of your newest push in this space. The log keeps the first message. |"}],"unmatched":[]}