6 Commits
Author SHA1 Message Date
waozi 37f79b047f Offer hosts only package releases they can run, keep every archive, serve WebAssembly variants
A host naming zx=R gets only releases whose stored .zx header has revision R.
A host naming host_api without a revision (every released host) gets only
revisions before 28, and oldest_host_api excludes releases built for an
interface the host no longer runs. format=wasm serves a release's signed
WebAssembly variant (release-SEQUENCE.wasm.json beside SHA.wasm) as
application/wasm.

Package staging no longer deletes archived releases or blobs. The history
keeps the newest release of every format, ZX revision and interface plus
the newest ten, up to the 64 the node reads.
2026-11-16 02:37:10 -03:00
waozi 25c57f7f70 Serve ZX portable executables to ZX hosts and keep legacy ZIB releases for older ones 2026-10-23 21:00:48 -03:00
waozi fa98f4f6d2 Quote each feedback reply's report title for apps
Apps show a developer's reply like a chat reply, quoting the feedback it
answers. The replies page now carries the report's title (still without
its message or diagnostics) for the single reply and for added replies.

Also bring testdata/package_paths.json up to date with the history asset
described in c80d978, which the OpenAPI baseline test compares.
2026-10-18 22:33:10 -03:00
waozi ab3a8070c8 Sell server-priced unlocks, gate their packs with grants, and scale Dew
The owner set 100 Dew = 1 XMR (from 5) and made Inbe's Tai Chi a paid
practice whose price and discounts the node enforces.

- Unlocks: GET/POST /api/v1/unlocks list and buy products at the node's
  price; the client names only the product. Tai Chi costs 1 Dew, 90% off
  before DAOCHI_UNLOCK_TRIAL_UNTIL. The signed debit and the unlock row
  commit together, and a repeat unlock charges nothing.
- Grants: POST /api/v1/unlocks/grant signs a one-hour grant for an
  unlocked product with the Dew issuer key, prefixed so it can never
  match a receipt or checkpoint signature.
- Gated packs: an artifact with a node-side <sha>.zib.product file is
  served only at <sha>.zib/<grant> with a valid grant for that product,
  as private, no-store; unreadable markers stay gated, and the v1
  package route refuses gated artifacts.
- Storage plans cost 20 and 200 Dew, keeping their XMR price at the new
  rate.
- `daochi rescale-dew 20` adds signed credits to existing balances and
  scales uncredited invoices and deposits once, then signs a checkpoint.
2026-10-15 12:46:23 -03:00
waozi 8ec9fc4f04 Document the package route's interface and rollout parameters 2026-10-10 20:47:00 -03:00
waozi 5c1c2f3a4f Add node-hosted Lumi chat and account-scoped app feedback 2026-10-07 01:03:12 -03:00