afe28aa1
docs: the hub's own assets say `mux web`
a73x 2026-08-28 22:34
Commit message
web/index.html
| Old | New | ||
|---|---|---|---|
| @@ -1,6 +1,6 @@ | |||
| 1 | <!doctype html> | 1 | <!doctype html> |
| 2 | <!-- muxweb: the wall of devices (M-web Task 8). Served from memory by | 2 | <!-- `mux web`: the wall of devices (M-web Task 8). Served from memory by |
| 3 | muxweb; everything dynamic lives in mux.js; the replica itself is | 3 | the hub; everything dynamic lives in mux.js; the replica itself is |
| 4 | mux_core.wasm — the same ghostty-vt the daemon runs. --> | 4 | mux_core.wasm — the same ghostty-vt the daemon runs. --> |
| 5 | <html lang="en"> | 5 | <html lang="en"> |
| 6 | <head> | 6 | <head> |
web/mux.js
| Old | New | ||
|---|---|---|---|
| @@ -1,4 +1,4 @@ | |||
| 1 | // muxweb shell (M-web Task 8). Thin by construction: every decision that | 1 | // `mux web` shell (M-web Task 8). Thin by construction: every decision that |
| 2 | // can live in Zig lives in mux_core.wasm; this file is glue — WebSocket | 2 | // can live in Zig lives in mux_core.wasm; this file is glue — WebSocket |
| 3 | // pump, canvas painter, event translation. | 3 | // pump, canvas painter, event translation. |
| 4 | // | 4 | // |
| @@ -595,7 +595,7 @@ class Tile { | |||
| 595 | } | 595 | } |
| 596 | sendAttach(fresh) { | 596 | sendAttach(fresh) { |
| 597 | // THE PASSIVITY CONTRACT: an unzoomed wall tile attaches at 0x0, which | 597 | // THE PASSIVITY CONTRACT: an unzoomed wall tile attaches at 0x0, which |
| 598 | // is how muxa and an argv-only CLI wall view (`mux wall SPELLING...`) | 598 | // is how `mux a` and an argv-only CLI wall view (`mux wall SPELLING...`) |
| 599 | // spell the same thing — no size claim at all. Every CLI tile that | 599 | // spell the same thing — no size claim at all. Every CLI tile that |
| 600 | // CREATES claims its own rect instead, and has done since panes | 600 | // CREATES claims its own rect instead, and has done since panes |
| 601 | // landed. The daemon answers a unicast snapshot carrying the true | 601 | // landed. The daemon answers a unicast snapshot carrying the true |