austere-axi 0.8.0 → 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
@@ -181,10 +181,12 @@ austere-axi spec [group|pack...] component reference (~5.8k tokens; groups narro
181
181
  austere-axi components ... list | search | show | add | remove | new | build
182
182
  austere-axi trust list|add|remove packs your agent may add without --trust (see Trust)
183
183
  austere-axi registry list|add|remove private npm registries for scopes (see Private registries)
184
- austere-axi export <file> one self-contained HTML file, works offline
184
+ austere-axi export <file> one self-contained HTML file, works offline (~1.1 MB)
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)
@@ -232,6 +234,7 @@ A page names its packs in the head, so it renders anywhere:
232
234
  ```
233
235
 
234
236
  - Under review, the server serves an installed pack only while it matches its hash in `~/.austere-axi/packs.json`. Opened directly, the page loads packs from jsDelivr with Subresource Integrity. `export` inlines them.
237
+ - `export` inlines the runtime and packs gzipped (base64), and a short loader unpacks them with `DecompressionStream` (Chrome 80, Firefox 113, Safari 16.4). Review and patch the source page; the exported copy is for sharing. `check` flags an exported copy, and review serves it as it is, with no second runtime.
235
238
  - A pack component with no pack tag is a `missing-pack` error. `check --fix` repairs it.
236
239
  - **Bundled packs** need no tag and load only when used:
237
240
  - `shadcn`: `Progress`, `Avatar`, `AvatarGroup`, `Tooltip`, `HoverCard`, `Breadcrumb` (`BreadcrumbItem`), `Kbd`, `Skeleton`, `Calendar` and `Timeline` (`TimelineItem`). Read-only.
@@ -346,6 +349,27 @@ Send the link to the teammate. It needs Tailscale (or `AUSTERE_AXI_HOST`); witho
346
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.
347
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.
348
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
+
349
373
  ## GitHub Action
350
374
 
351
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.
@@ -404,6 +428,7 @@ Outputs: `ok` (`true` when every page passed) and `artifact-url`.
404
428
  | `AUSTERE_AXI_IDLE_TIMEOUT_MS` | `1800000` | idle shutdown; `0` disables |
405
429
  | `AUSTERE_AXI_PERSIST` | | `1`: never idle out, as `server --persist` |
406
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) |
407
432
  | `CHROME_PATH` | an installed Chrome, Chromium or Edge | the browser `check --render` uses |
408
433
 
409
434
  ## Security
@@ -437,7 +462,7 @@ The server binds to loopback, plus the Tailscale IP when Tailscale is up. Never
437
462
  - Image attachments in feedback.
438
463
  - Live data: `Query` and `Mutation` are off, so pages are static.
439
464
  - Themes: one dark theme only.
440
- - Hosted sharing: use `export` to make one offline file.
465
+ - Hosted pages (`publish`): inviting reviewers, and their notes reaching `poll` and `feedback`.
441
466
 
442
467
  ## Development
443
468