summaryrefslogtreecommitdiff
path: root/runtime/session.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 03:03:25 -0300
committerGabriel Schneider <[email protected]>2026-11-22 03:03:55 -0300
commit70c9e3fbf9cdc7139b4da0142f3a44741a7e1491 (patch)
tree966bee71386ad820cb8b23a96ac0c09e5a0f0c1d /runtime/session.zig
parentd56973aa92d0de6d84446dff73eba9d5654fe6f4 (diff)
downloadpardes-70c9e3fbf9cdc7139b4da0142f3a44741a7e1491.tar.gz
pardes-70c9e3fbf9cdc7139b4da0142f3a44741a7e1491.zip
replica: no road to choose, and the wire at 30 (the old road's deletion, piece 4 of 8; the coordinator's decision: the welcome's road byte goes, no dead field stays on the wire): `Peers.bytes` (set by runtime/session.zig unless PARDES_TERM_SCREEN), the welcome's `bytes` byte (abi/wire.zig: its encode, its decode, the round-trip test's byte), `Joined.bytes` and `joinOn`'s copy of it, `road` (fromDump's, ownBoot's, confirmBoot's, a test's: a replica's `made` arms its echo already, and no replica starts on screen state since piece 3), and ownBoot's read of PARDES_TERM_SCREEN; so PARDES_TERM_SCREEN and PARDES_TERM_BYTES name nothing in the tree; abi/wire.zig's version is 30, its history line saying both of this line's wire changes (the screen messages retired as gaps in piece 3, the welcome's byte here); test/daemon.py's `WIRE` 30; firstOnPair's argument is now what it chose, `by_dump` (a client joined by the session's dump, or one that makes its own core); core/root.zig `machine_lines` for replica.zig 74 -> 73; core-test 911/1068 (157 skipped), shell-test 1110/1113
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime/session.zig')
-rw-r--r--runtime/session.zig6
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/session.zig b/runtime/session.zig
index 9499da9c..75e8efcc 100644
--- a/runtime/session.zig
+++ b/runtime/session.zig
@@ -86,11 +86,7 @@ pub fn Loop(comptime Frontend: type) type {
defer l.prompt_rcs.deinit();
l.fs = ninep_io.start(l.io, l.gpa, l.core);
defer if (l.fs) |f| f.deinit(l.gpa);
- // Its clients' terminals by the pty's bytes (Peers.bytes), each
- // client's emulator its own; PARDES_TERM_SCREEN (a working name,
- // the way back until the screen state's road is deleted): as
- // screen state. Its welcome tells each client which.
- l.peers = .{ .gpa = l.gpa, .io = l.io, .name = daemon.name(), .bytes = std.c.getenv("PARDES_TERM_SCREEN") == null };
+ l.peers = .{ .gpa = l.gpa, .io = l.io, .name = daemon.name() };
l.inbox = .{ .io = l.io, .gpa = l.gpa, .lsp_allocator = l.allocs.lsp };
defer l.inbox.deinit();
// A search's worker may be waiting on the queue for room.