From ba996acfcad1698adbf4a1834fe50e73b1c6cab9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sat, 19 Sep 2026 23:28:22 -0300 Subject: Rename programs: 9player -> 9ns, introspect -> 9proc, app -> web (9web) Directories, binaries, build options (-D9ns, -D9proc), step names, module name (9proc), thread and fs names, env var NINEPLAYER_MOUNT -> NINE_MOUNT, docs and test scripts. Browser assets move to web/static. Co-Authored-By: Claude Fable 5.1 --- docs/http.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/http.md') diff --git a/docs/http.md b/docs/http.md index f486d52..4e92e5e 100644 --- a/docs/http.md +++ b/docs/http.md @@ -16,7 +16,7 @@ flowchart LR ```sh zig build -Doptimize=ReleaseSafe -./zig-out/bin/cloud9-http --upstream tcp:127.0.0.1:564 +./zig-out/bin/9web --upstream tcp:127.0.0.1:564 # Or run directly: zig build serve -Doptimize=ReleaseSafe -- --upstream unix:/path/to/9p.sock ``` @@ -91,7 +91,7 @@ For a configured serial device: ```sh # Set raw mode, baud rate, and flow control with your platform's serial tools. -./zig-out/bin/cloud9-http --upstream file:/dev/ttyUSB0 +./zig-out/bin/9web --upstream file:/dev/ttyUSB0 ``` The serial path transports 9P bytes; it does not interpret ESP32 boot logs or @@ -174,9 +174,9 @@ checks; it does not allocate fids, mount filesystems, or implement a filesystem. Each Bridge value runs once. Timeout and cancellation stop both pumps before returning. The caller owns and closes the underlying streams. -`app/client.zig` is a browser ABI around the same `cloud9.Client` and `Stat` +`web/client.zig` is a browser ABI around the same `cloud9.Client` and `Stat` implementations. Its WASM memory is fixed at 1 MiB and it imports no host -functions. `app/web/client.mjs` supplies asynchronous WebSocket I/O and file +functions. `web/static/client.mjs` supplies asynchronous WebSocket I/O and file operations. Each browser Client owns a separate WASM instance. The JavaScript contains no 9P encoder or decoder. -- cgit v1.3