ollie/cmd/toolsrv
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
..
internal virtfs: refactor BlockOnce to accept (readFn, signalFn) 2026-08-13 20:44:50 +02:00
test rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
.gitignore rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
integration_test.go feat: context cancellation for tool calls 2026-08-12 10:00:44 +02:00
main.go refactor: push proc completion from toolsrv to agent prompt 2026-08-12 16:39:43 +02:00
p9.go fix: toolsrv 9P server now handles BlockOnce/Stream reads correctly 2026-08-12 10:49:08 +02:00