austere-axi 0.8.1 → 0.10.0

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
@@ -185,6 +185,9 @@ 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 [--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
190
+ austere-axi publish list|rm <file|id> your hosted pages; delete one now
188
191
  austere-axi stop stop the background server
189
192
  austere-axi server --persist run the server in the foreground and never idle out
190
193
  austere-axi mcp MCP server on stdio (see MCP)
@@ -347,6 +350,32 @@ Send the link to the teammate. It needs Tailscale (or `AUSTERE_AXI_HOST`); witho
347
350
  - A request without a valid invite or the owner key is refused, on loopback too. The hub and its Notes view are yours only. A reverse proxy on the same machine gets no owner rights from looking local.
348
351
  - Your own phone link carries the owner key (`~/.austere-axi/owner.key`); do not forward it. To revoke all old phone links and owner cookies, delete that file and restart the server.
349
352
 
353
+ ## Hosted pages
354
+
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).
356
+
357
+ ```sh
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
367
+ ```
368
+
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.
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.
374
+ - **Expiry:** 30 days after the last publish.
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.
376
+
377
+ The protocol is in [docs/hosted-share-links.md](docs/hosted-share-links.md).
378
+
350
379
  ## GitHub Action
351
380
 
352
381
  Posts an austere review page on every pull request: runs `austere-axi check` on the pages you commit, exports each with `austere-axi export`, uploads them as a workflow artifact, and posts or updates **one** PR comment with a summary and a download link.
@@ -405,6 +434,8 @@ Outputs: `ok` (`true` when every page passed) and `artifact-url`.
405
434
  | `AUSTERE_AXI_IDLE_TIMEOUT_MS` | `1800000` | idle shutdown; `0` disables |
406
435
  | `AUSTERE_AXI_PERSIST` | | `1`: never idle out, as `server --persist` |
407
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` |
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 |
408
439
  | `CHROME_PATH` | an installed Chrome, Chromium or Edge | the browser `check --render` uses |
409
440
 
410
441
  ## Security
@@ -438,7 +469,7 @@ The server binds to loopback, plus the Tailscale IP when Tailscale is up. Never
438
469
  - Image attachments in feedback.
439
470
  - Live data: `Query` and `Mutation` are off, so pages are static.
440
471
  - Themes: one dark theme only.
441
- - Hosted sharing: use `export` to make one offline file.
472
+
442
473
 
443
474
  ## Development
444
475