austere-axi 0.8.1 → 0.9.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,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]
189
+ austere-axi publish list|rm <file|id> your hosted pages; delete one now
188
190
  austere-axi stop stop the background server
189
191
  austere-axi server --persist run the server in the foreground and never idle out
190
192
  austere-axi mcp MCP server on stdio (see MCP)
@@ -347,6 +349,27 @@ Send the link to the teammate. It needs Tailscale (or `AUSTERE_AXI_HOST`); witho
347
349
  - 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
350
  - 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
351
 
352
+ ## Hosted pages
353
+
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
+
356
+ ```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
362
+ ```
363
+
364
+ - **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.
368
+ - **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.
370
+
371
+ The protocol is in [docs/hosted-share-links.md](docs/hosted-share-links.md).
372
+
350
373
  ## GitHub Action
351
374
 
352
375
  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 +428,7 @@ Outputs: `ok` (`true` when every page passed) and `artifact-url`.
405
428
  | `AUSTERE_AXI_IDLE_TIMEOUT_MS` | `1800000` | idle shutdown; `0` disables |
406
429
  | `AUSTERE_AXI_PERSIST` | | `1`: never idle out, as `server --persist` |
407
430
  | `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
+ | `AUSTERE_AXI_CLOUD_URL` | `https://austere.kasat.xyz` | the service `publish` talks to (self-hosting, tests) |
408
432
  | `CHROME_PATH` | an installed Chrome, Chromium or Edge | the browser `check --render` uses |
409
433
 
410
434
  ## Security
@@ -438,7 +462,7 @@ The server binds to loopback, plus the Tailscale IP when Tailscale is up. Never
438
462
  - Image attachments in feedback.
439
463
  - Live data: `Query` and `Mutation` are off, so pages are static.
440
464
  - Themes: one dark theme only.
441
- - Hosted sharing: use `export` to make one offline file.
465
+ - Hosted pages (`publish`): inviting reviewers, and their notes reaching `poll` and `feedback`.
442
466
 
443
467
  ## Development
444
468