austere-axi 0.9.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -156,7 +156,7 @@ agent patches changes ◄── austere-axi poll plan.html ◄─┘ (long-pol
156
156
  - **A page is a plain `.html` file:** one runtime `<script>` tag and one `<script type="text/openui">` block. Opened directly, it loads the runtime from the CDN. Under review, the server serves a local copy.
157
157
  - **Components:** 58 stock OpenUI components, plus `Architecture` (`Node`, `Edge`, `Group`), `Diff` and `FileTree`. Nine shadcn-style components come as a bundled [pack](#components-and-packs).
158
158
  - **Diagrams lay out automatically** ([dagre](https://github.com/dagrejs/dagre)); the agent never writes coordinates. Every node and edge is a click target. `lanes` puts each group in a column; `tone` colors a box or line to show risk.
159
- - **Notes** attach to the smallest named statement under the click, with detail where it exists: table row and column, `file:+line` in a diff, a diagram node, or selected text. The reviewer can move a note to a parent section.
159
+ - **Notes** attach to the smallest named statement under the click, with detail where it exists: table row and column, `file:+line` in a diff, a diagram node, or selected text. The hover box outlines that row, line or node, not the whole statement. The reviewer can move a note to a parent section.
160
160
  - **Changes flash** after each agent turn, and the bar shows `N changed`. Click it to keep the last turn's changes outlined until you click again.
161
161
  - **Buttons and forms send feedback.** `@ToAssistant("…")` sends a message with the form values. A button with no action sends its label.
162
162
  - **Phone review:** with Tailscale running, the server also listens on the tailnet IP and prints a phone link. That link carries your owner key; keep it private. The review UI has a mobile layout.
@@ -185,7 +185,8 @@ austere-axi export <file> one self-contained HTML file, works offline (~1
185
185
  austere-axi hub on|off|status|list|notes|open home page with every page and note
186
186
  austere-axi share <file> --as "<name>" invite link for a teammate on your tailnet [--auto]
187
187
  austere-axi share list|revoke see invites, cut one off
188
- austere-axi publish <file> hosted copy of the page on austere.kasat.xyz [--auto] [--no-presence] [--new]
188
+ austere-axi publish <file> hosted copy of the page on austere.kasat.xyz [--invite <name>]... [--expires <dur>] [--unlisted] [--auto] [--no-presence] [--new]
189
+ austere-axi publish invites|revoke <file> [name] see a page's invites, cut one off
189
190
  austere-axi publish list|rm <file|id> your hosted pages; delete one now
190
191
  austere-axi stop stop the background server
191
192
  austere-axi server --persist run the server in the foreground and never idle out
@@ -351,22 +352,27 @@ Send the link to the teammate. It needs Tailscale (or `AUSTERE_AXI_HOST`); witho
351
352
 
352
353
  ## Hosted pages
353
354
 
354
- `publish` uploads a page to [austere-cloud](https://github.com/MandalorianBatman/austere-cloud) and prints its link. It is the only command that contacts the service, and nothing is sent until you run it.
355
+ `publish` uploads a page to [austere-cloud](https://github.com/MandalorianBatman/austere-cloud) and prints one link per invited reviewer. Nothing is sent until you run it; after that, the local server keeps your published pages in sync (below).
355
356
 
356
357
  ```sh
357
- austere-axi publish plan.html # prints https://austere.kasat.xyz/p/<id>
358
- austere-axi publish plan.html # again: same link, new version
359
- austere-axi publish plan.html --new # a fresh link
360
- austere-axi publish list # your pages, expiry, note counts
361
- austere-axi publish rm plan.html # or the page id; the link stops working at once
358
+ austere-axi publish plan.html --invite Ana --invite Ben # prints https://austere.kasat.xyz/p/<id>#i=<token> for each
359
+ austere-axi publish plan.html # again: same page, new version; Ana's and Ben's links keep working
360
+ austere-axi publish plan.html --invite Cy --expires 7d # one more reviewer, for a week
361
+ austere-axi publish invites plan.html # who is invited (live, expired, revoked), with their links
362
+ austere-axi publish revoke plan.html Ben # Ben's link stops working; his open page is disconnected
363
+ austere-axi publish plan.html --unlisted # opt-in open link: anyone with the plain URL may review
364
+ austere-axi publish plan.html --new # a fresh page
365
+ austere-axi publish list # your pages, expiry, note counts
366
+ austere-axi publish rm plan.html # or the page id; every link stops working at once
362
367
  ```
363
368
 
364
369
  - **What is uploaded:** the file with its runtime tag pointed at the service's copy of this CLI version, the installed packs it declares, and the images beside it, inlined by the same rules as `export`. A declared pack that is not installed at that version, or an image that cannot be inlined, is an error. Each upload is limited to 1 MB after gzip.
365
- - **Who can see it:** pages are invite-only. Inviting reviewers is not in this version yet, so for now nobody else can open a published page.
366
- - **Notes:** reviewers' notes will be held for you by default; `--auto` on a publish records that they go straight to the agent. They do not reach `poll` or `feedback` yet.
367
- - **Presence:** everyone on the page sees who else is there (a chip per viewer: viewing, away or writing) and the part each one last clicked in Annotate mode, outlined with their name. Nothing about it is stored. `--no-presence` on a publish turns it off for that page.
370
+ - **Who can see it:** pages are invite-only. Each `--invite <name>` gets its own link; the token is in the URL fragment (`#i=…`), which browsers never send to the server, and the reviewer's notes carry that name. Send each person only their link. `--unlisted` opts a page into an open link where reviewers name themselves.
371
+ - **Notes:** reviewers' notes reach `poll` and `feedback` like any other, from the reviewer's name and with `remote: true`. They are held for you by default: press Send (or Discard) in the review page. With `--auto` on the publish they go straight to the agent. The local server picks them up while a `poll` listens, when it starts, and when you run `feedback`; offline, it keeps retrying (up to every 60 s) and local review goes on.
372
+ - **Replies:** `reply` (and `poll --agent-reply`) on a published file also posts the reply to the hosted page. If the service cannot be reached, `reply` warns and the reply is sent when it can.
373
+ - **Presence:** everyone on the page sees who else is there (a chip per viewer: viewing, away or writing) and the part each one last clicked in Annotate mode, outlined with their name. You are on the page too while your local review page is open: hosted viewers show as chips there, and your clicks show as an outline for them. Nothing about it is stored. `--no-presence` on a publish turns it off for that page.
368
374
  - **Expiry:** 30 days after the last publish.
369
- - **Owner token:** created on the first `publish`, stored in `~/.austere-axi/cloud.json` (mode 0600). It only controls your pages. Copying the file to another machine lets that machine manage them too.
375
+ - **Owner token:** created on the first `publish`, stored in `~/.austere-axi/cloud.json` (mode 0600). It only controls your pages. Copying the file to another machine makes that machine a peer: it gets the same notes, and a note you send on one machine arrives sent on the other. `cloud.json` maps pages by absolute path, so the file must sit at the same path on both machines.
370
376
 
371
377
  The protocol is in [docs/hosted-share-links.md](docs/hosted-share-links.md).
372
378
 
@@ -429,6 +435,7 @@ Outputs: `ok` (`true` when every page passed) and `artifact-url`.
429
435
  | `AUSTERE_AXI_PERSIST` | | `1`: never idle out, as `server --persist` |
430
436
  | `AUSTERE_AXI_NPM_REGISTRY` | `npm_config_registry`, else npmjs | where `components add` gets packs and `components search` finds them, except scopes mapped with `registry add` |
431
437
  | `AUSTERE_AXI_CLOUD_URL` | `https://austere.kasat.xyz` | the service `publish` talks to (self-hosting, tests) |
438
+ | `AUSTERE_AXI_SYNC_RETRY_MS` | `1000` | first wait before the local server reconnects to a hosted page; it doubles up to 60 s |
432
439
  | `CHROME_PATH` | an installed Chrome, Chromium or Edge | the browser `check --render` uses |
433
440
 
434
441
  ## Security
@@ -462,7 +469,7 @@ The server binds to loopback, plus the Tailscale IP when Tailscale is up. Never
462
469
  - Image attachments in feedback.
463
470
  - Live data: `Query` and `Mutation` are off, so pages are static.
464
471
  - Themes: one dark theme only.
465
- - Hosted pages (`publish`): inviting reviewers, and their notes reaching `poll` and `feedback`.
472
+
466
473
 
467
474
  ## Development
468
475