{"draft":null,"from":100,"to":318,"files":[{"path":"client/README.md","added":36,"removed":6,"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,15 +137,15 @@\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. |\n | `abso label <name> [--version n] [--remove]` / `abso labels` | Puts a label on a version of shared (the newest by default) or takes it off, like a git tag; `labels` lists them all. |\n | `abso follow <label>` / `abso follow --none` | Makes this folder follow a label: every pull takes it to the newest version of shared with that label. `--none` goes back to shared's newest. Saved in `.abso/config.json`. |\n | `abso check-ignore <path...>` | Whether abso leaves each path out, and which line of which ignore file decided (see \"What is left out\"). |\n-| `abso pipeline check [file] [--on <event>]` | Reads the folder's pipeline file (abso.yml, abso.yaml or avcs.json, or the file named) and lists each problem as `<path>: <message>`: a cycle in needs, a job or pipeline that doesn't exist, secrets in a pipeline a draft can start, keys it doesn't know. Exits 1 on problems; otherwise lists each pipeline's jobs in the order they run. With `--on publish|draft|green|land|hand|schedule` (and `--space`, `--pipeline` or `--every`), says which pipelines that event starts, with their jobs in waves that can run side by side, and why the others don't. Reads only the file. The shape is still a draft. |\n+| `abso pipeline check [file] [--on <event>]` | Reads the folder's pipeline file (abso.yml, abso.yaml or avcs.json, or the file named) and lists each problem as `<path>: <message>`: a cycle in needs, a job or pipeline that doesn't exist, secrets in a pipeline a draft can start, keys it doesn't know. Exits 1 on problems; otherwise lists each pipeline's jobs in the order they run. With `--on push|draft|green|land|hand|schedule` (and `--space`, `--pipeline` or `--every`), says which pipelines that event starts, with their jobs in waves that can run side by side, and why the others don't. Reads only the file. The shape is still a draft. |\n | `abso issues [--open] [--status <s>] [--agent <a>] [--parent <N>] [--label <l,l>]` | The project's issues, most recently updated first. Statuses come from the work: `abso start --issue N` puts an issue In progress, an open ask makes it Blocked (In review for a review), and `push --done` closes it. `--label friction` keeps the issues with every label named: a ready list of work to pick up. `abso issues --labels` lists the labels in use, with how many issues are open under each. |\n | `abso issue new \"<title>\" --label <l,l>` / `abso issue <N> --label <l,l> --unlabel <l,l>` | Labels an issue, or changes its labels. A label is 1-40 lower-case letters, digits and `- _ . :` (`friction`, `area:client`); what you type is lower-cased. An edit that only changes labels tells nobody unless `--notify` names people. Tool friction goes in its own issue, labeled `friction`. |\n | `abso issue draft \"<title>\"` / `abso issues --drafts` | A draft of an issue: yours alone, with no number and no news. Takes the same fields as `issue new`. `abso issue draft <D> [fields]` changes one, `--open` opens it as an issue (with any fields given over the draft's), `--delete` deletes it. |"}],"unmatched":[]}