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/design.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs/design.md') diff --git a/docs/design.md b/docs/design.md index d12b92c..2013b3e 100644 --- a/docs/design.md +++ b/docs/design.md @@ -57,7 +57,7 @@ or buffers. `http.Client` negotiates HTTP/1.1 upgrades using `std.http.Client`, including its certificate-verified HTTPS support. `http.Bridge` relays between an accepted WebSocket and arbitrary standard readers/writers, including UART adapters. The runnable application's web UI, device leases, deadlines, and -origin policy remain in `app/`. See [HTTP ownership and usage](http.md). +origin policy remain in `web/`. See [HTTP ownership and usage](http.md). `Quic(OpenSSL, alpn)` is an optional OpenSSL 3.6+ adapter with a single ordered bidirectional stream per connection. It preserves the previous Pardes transport: @@ -68,15 +68,16 @@ protocol core. Accepted connections must close before their shared listener. # Related programs -Programs built on the library ship from this repository in sibling -directories of `src/` (`introspect/`, `9player/`), never inside it: each has +Programs built on the library ship from this repository as `cloud9//`, +sibling directories of `src/` with `9`-prefixed names (`web/` builds `9web`; +`9proc/` and `9ns/` build `9proc-demo` and `9ns`), never inside it: each has its own `src/`, `test/`, `docs/`, README and a `build.zig` fragment (`pub fn add(b, ctx)`) that the root `build.zig` imports, passes the resolved target, optimize mode and the `cloud9` module to, and enables with a `-D` toggle. Fragments register namespaced steps (``, `-test`, ...), never call `standardTargetOptions`, and use root-relative `b.path("/...")`. The library keeps its contract: mounting, namespaces, -threads, allocation and process policy stay in the program. `introspect` is +threads, allocation and process policy stay in the program. `9proc` is also exported as a module next to `cloud9` for dependents. New related programs follow this layout. -- cgit v1.3