summaryrefslogtreecommitdiff
path: root/src/tape.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-30 18:27:14 -0300
committerGabriel Schneider <[email protected]>2026-10-30 18:49:19 -0300
commitb7dec1c3da59f23298eaccb2a5185ccf7a50a87a (patch)
treee8cfe60427b2aac2db9cdeb6a80d3da95a6b732f /src/tape.zig
parentcfaadd978e671c15d9bae96eed72c5ab12718ea1 (diff)
downloadpardes-b7dec1c3da59f23298eaccb2a5185ccf7a50a87a.tar.gz
pardes-b7dec1c3da59f23298eaccb2a5185ccf7a50a87a.zip
Stream: a search run on the loop (a 9P write's Grep or Find, which answers whether it found anything) is a tape site, `search`, its batches what the replay takes, as it takes a worker's (Event.search): its file reads were no site, so a replica of a session a script greps in read no file and joined again (`a syscall that is no tape site, made replaying`, a terminal client live, 2 of 2 before, none after); test/cross_replay.py's session greps and finds again
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/tape.zig')
-rw-r--r--src/tape.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tape.zig b/src/tape.zig
index e446c06a..9152bcb0 100644
--- a/src/tape.zig
+++ b/src/tape.zig
@@ -94,6 +94,8 @@ pub const Site = enum(u16) {
kind,
probe,
preview,
+ /// A search run on the loop (Stream.runHere: a 9P write's Grep or Find).
+ search,
// Read in place (`value`).
clock,
budget,
@@ -132,6 +134,7 @@ pub const results = .{
anyerror![]u8, anyerror!void,
terminal.Told, ?pardes.ctlfs.pty.Printed,
@typeInfo(@TypeOf(terminal.greeting)).@"fn".return_type.?,
+ []pardes.Stream.Batch,
// What only the authority holds (`authority`): a closed pane's record,
// Recent's entry for a closed jump, the closed panes' names.
?@import("Store.zig").Record, ?@import("recent.zig").Entry,