ollie/cmd/toolsrv/internal
Levi Neely 794673a5d0 virtfs: refactor BlockOnce to accept (readFn, signalFn)
BlockOnce now takes a value-reader and a signal source. The framework
handles the blocking loop: read → compare hash to base → if different
return → else wait on signal or timeout.

On timeout (ctx.Done), returns empty (not error) so clients re-open
cleanly.

BlockOnceRaw retained for queue-style handlers (bypass/pending,
proc/wait) that manage their own blocking.

EventValue adapter wraps a <-chan Event into BlockOnce-compatible
(readFn, signalFn) pair via a thin goroutine.
2026-08-13 20:44:50 +02:00
..
bypass fix: toolsrv 9P server now handles BlockOnce/Stream reads correctly 2026-08-12 10:49:08 +02:00
exec fix: treat meta cmd as shell command string, prepend tools dir to PATH 2026-08-12 18:44:16 +02:00
registry toolsrv: per-agent tool registry 2026-08-11 11:49:19 +02:00
sandbox Add RequestCtx for context-aware request handlers 2026-08-12 09:26:02 +02:00
server virtfs: refactor BlockOnce to accept (readFn, signalFn) 2026-08-13 20:44:50 +02:00