ollie/cmd/olliesrv/internal/session
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
..
event.go virtfs: refactor BlockOnce to accept (readFn, signalFn) 2026-08-13 20:44:50 +02:00
persist.go refactor: simplify bypass - toolsrv is the broker, olliesrv is just a client 2026-08-12 11:01:29 +02:00
registry.go refactor: simplify bypass - toolsrv is the broker, olliesrv is just a client 2026-08-12 11:01:29 +02:00
session.go feed: BlockOnce with base init, ConsumeFeed via lib9p client 2026-08-13 20:26:08 +02:00
setup.go toolsrv: fix per-agent tool registry to actually work 2026-08-11 16:26:12 +02:00