diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-04 23:15:35 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 09:54:56 -0300 |
| commit | 67beb493ea18de9d7b0083ba20b34b8bb34fd74c (patch) | |
| tree | b1d9c39dadf3b90cbeeb3ffaa55b90b2ae0e3c21 /docs | |
| parent | ba3f55e71325f31399fbd2134868d6ba7f774451 (diff) | |
| download | pardes-67beb493ea18de9d7b0083ba20b34b8bb34fd74c.tar.gz pardes-67beb493ea18de9d7b0083ba20b34b8bb34fd74c.zip | |
wire.zig: the replica's wire codec moves from src/detached/, a directory of one file since the phase 3 frontends went, to src/wire.zig; its imports and the paths that name it follow
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/typ/building.typ | 4 | ||||
| -rw-r--r-- | docs/web.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/typ/building.typ b/docs/typ/building.typ index 78cdba7e..b4d7cb82 100644 --- a/docs/typ/building.typ +++ b/docs/typ/building.typ @@ -178,7 +178,7 @@ Code map: `src/panes.zig` and the pane kinds it names (`src/File.zig`, mounts and resolution) and `src/pardes.zig` (input), with one file per thing beside them (`edit.zig`, `normal.zig`, `look.zig`, `exec.zig`, `mouse.zig`, ...). `src/ninep/` is the control tree, `src/daemon.zig` the -per-user daemon and a terminal's stub, `src/detached/wire.zig` the input +per-user daemon and a terminal's stub, `src/wire.zig` the input wire a remote client will speak, `src/lsp/` the language-server client; `test/` holds harnesses, goldens and helix cases, `build/` the snapshot suite's build step. @@ -225,7 +225,7 @@ own process, ended by its hangup. A replica (a client running its own copy of the core, phase 5 of `docs/next-daemon.md`) connects to `pardes-replica.sock`, a stream socket -beside it that `ssh -L` can forward. `src/detached/wire.zig` is its +beside it that `ssh -L` can forward. `src/wire.zig` is its protocol (version 14): fixed-width little-endian fields, a 5-byte header (tag, then a u32 length), the hello, a ping, the input events. The hello names a session and carries the client's semantics hash (the protocol, diff --git a/docs/web.md b/docs/web.md index b9d03b13..26646a38 100644 --- a/docs/web.md +++ b/docs/web.md @@ -92,7 +92,7 @@ the browser can never call. same gate: both are `enabled = pardes.hosted` (`src/builtins.zig`, and `pardes.hosted` is `tty or gui or macos`), because a detached session is a unix socket and a page has none. Nothing in this shell speaks -`src/detached/wire.zig`, and `detach` is one of the null vtable methods +`src/wire.zig`, and `detach` is one of the null vtable methods below. `src/web.zig` fills in six methods of `Host.VTable` and leaves the rest null, |
