summaryrefslogtreecommitdiff
path: root/src/Pipe.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 17:01:35 -0300
committerGabriel Schneider <[email protected]>2026-10-29 21:13:33 -0300
commit70de5ec5ff3dad01afcc45244ad5e5a481486da6 (patch)
treecd4b723dcc2cfd94c4ba2361c134927b0e2df60b /src/Pipe.zig
parent349790339897466f323ff28748916aa48aa344f7 (diff)
downloadpardes-70de5ec5ff3dad01afcc45244ad5e5a481486da6.tar.gz
pardes-70de5ec5ff3dad01afcc45244ad5e5a481486da6.zip
dump: one walker dump of the whole session, by name across builds, for Restore, -l, Handover and the store; dump.zig's hand-written schema gone
A dump is walk.zig's walk of the core with a table of every type it reaches (fields, enum and union names, number widths), read back by name; terminals are ghostty's snapshot (screens, history, kitty images); a failed load frees what it made. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Pipe.zig')
-rw-r--r--src/Pipe.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Pipe.zig b/src/Pipe.zig
index 239a94e4..903c1dba 100644
--- a/src/Pipe.zig
+++ b/src/Pipe.zig
@@ -15,6 +15,10 @@ const Key = pardes.Key;
const Pardes = pardes.Pardes;
const Pipe = @This();
+/// A pipe's run, an Edit's and its writes, out with the host: errands of
+/// the session that performs them, not a dump's (src/walk.zig).
+pub const replica = .{ .authority = .{ "wait", "edit_run", "writes" } };
+
/// Bumped for every request, so a late answer to an older one is ignored.
seq: u32 = 0,
/// The request in flight, and what it needs to apply its answer.