From 67beb493ea18de9d7b0083ba20b34b8bb34fd74c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:15:35 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- docs/typ/building.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/typ') 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, -- cgit v1.3