mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-08 23:54:39 +00:00
Add `amy nsite serve` and `amy napplet serve <author> [--d ID] [--port N]`: fetch the manifest and serve its content over a local HTTP server, resolving each request through quartz StaticSiteResolver (blob downloaded from Blossom and sha256-verified per request, same as the device host) with SPA fallback to index.html. Lets you open a published site/napplet in a browser to confirm it loads and routes. (Static content only — a napplet's window.napplet.* runtime still needs the Amethyst host; documented in the command + harness README.) Implemented as thin cli glue (StaticSiteServe) over the resolver + commons BlossomClient + the JDK HTTP server. Also retire tools/napplet-test/publish.sh now that `amy napplet publish` is the single source of truth; the harness README documents publish + serve via amy. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016ncMHuBBVHEf7spAoSssde