http-nu 0.17.0

The surprisingly performant, Nushell-scriptable, cross.stream-powered, Datastar-ready HTTP server that fits in your back pocket.
Documentation
# v0.16.0

## Highlights

- **`.bus pub` / `.bus sub`: ephemeral local pub/sub.** A new in-process bus for UI events that don't belong in the durable event log. `.bus pub <topic>` publishes a value; `.bus sub [pattern]` yields `{topic, value}` records and supports glob patterns like `tab-abc.*`. Always available; no flag required. Slow subscribers are disconnected on overflow so the SSE stream ends and the client reconnects fresh. Sits alongside the cross.stream `--store` for a clean ephemeral / persistent split.

- **`.run` for evaluating user-submitted nushell scripts.** Parses, compiles, and evaluates a script string against a clone of the engine state. Parse, compile, and runtime errors surface as distinct types with source-excerpt diagnostics. Each call's defs and lets stay scoped to the call. Useful for in-browser REPLs and similar; expose only on localhost or in trusted environments since the script has full process access.

- **`--datastar` flag for `http-nu eval`.** Sets `$HTTP_NU.datastar` so eval-mode scripts can branch on the same flag the serve mode uses.

- **Datastar bumped to v1.0.1** (from RC.8); the bundled JS and CDN reference advance together. The startup banner only reports the datastar version when `--datastar` is set.

- **SSE cancel surfaces a stream error** so clients reliably auto-retry instead of seeing a clean EOF.

- **2048 example** demonstrates the `.bus` round-trip end-to-end with view-transition tile slides, plus a `tests-browser/` infrastructure mirroring stacks.nu for chromium-driven end-to-end tests.

- **README**: documents the `href` helper for mount-aware URL construction, splits the Local Bus and Embedded cross.stream sections so each describes itself before comparing.

## Raw commits

* docs: document .run command; drop two filler phrases (2026-05-06)
* feat: 2048 advertises og:image and twitter card; harden browser test (2026-05-06)
* feat: add 2048 example demonstrating .bus pub/sub with view transitions (2026-05-06)
* style: format .nu files with topiary (2026-05-05)
* feat: add .bus pub / .bus sub for ephemeral local pub/sub (2026-05-05)
* feat: render .run parse/compile errors with source excerpts (2026-05-04)
* feat: add .run command for sandboxed nushell pipeline evaluation (2026-05-04)
* feat: add --datastar flag to http-nu eval (2026-04-28)
* deps: update datastar to v1.0.1 (2026-04-27)
* fix: SSE cancel surfaces stream error so clients auto-retry (2026-04-27)
* fix: only show datastar version in startup banner when --datastar is set (2026-04-27)
* chore: bump to v0.15.1-dev (2026-04-13)