diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-19 23:28:22 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-19 23:28:22 -0300 |
| commit | ba996acfcad1698adbf4a1834fe50e73b1c6cab9 (patch) | |
| tree | 282ba00ce5b10d7416aecb9f2f0f0a439340a57d /docs/design.md | |
| parent | b05abcba3ea09ea106ad28364c6e40a3ec31b890 (diff) | |
| download | cloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.tar.gz cloud9-ba996acfcad1698adbf4a1834fe50e73b1c6cab9.zip | |
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 <[email protected]>
Diffstat (limited to 'docs/design.md')
| -rw-r--r-- | docs/design.md | 9 |
1 files changed, 5 insertions, 4 deletions
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/<name>/`, +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<name>` toggle. Fragments register namespaced steps (`<name>`, `<name>-test`, ...), never call `standardTargetOptions`, and use root-relative `b.path("<name>/...")`. 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. |
