ollie/cmd/toolsrv
Ollie Agent aa270525a5 agent: background process interrupts — auto-inject output at safe points
When a tool call includes "background": true, it executes via
proc/new.bg and returns immediately with a PID in a
<system-proc-background> tag. The agent tracks active background
processes and injects their output as <system-proc-interrupt> blocks
alongside subsequent tool results.

The model sees background updates without polling. It can react to
build failures, log events, etc. naturally. Kill via PID when done.

Implementation:
- toolsrv client: CallToolBackground (uses proc/new.bg as rdwr)
- toolsrv: proc/new.bg upgraded from write-only to request-response
- agent: bgTracker collects last 20 lines of output per proc
- agent loop: injects interrupts after execToolCalls, before h.update
- system prompt: documents the background mechanism and rules
2026-08-11 08:23:00 +02:00
..
internal agent: background process interrupts — auto-inject output at safe points 2026-08-11 08:23:00 +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 refactor: move toolsrv spawn/process management to toolclient 2026-08-10 20:49:22 +02:00
main.go toolsrv: restructure into internal packages, fix process lifecycle 2026-08-11 07:21:14 +02:00
sandbox-remote.yaml rename ollie-remote to toolsrv 2026-08-10 15:01:42 +02:00
server.go toolsrv: restructure into internal packages, fix process lifecycle 2026-08-11 07:21:14 +02:00