When a detached process exits, its output (last 2KB of ring buffer) is queued as a prompt wrapped in <detached-process-result> tags. The agent sees it on its next turn (or immediately if idle via Queue). - InjectSystemEvent(content) added to Core interface - SetOnExit(fn) added to execute.Server for external hook wiring |
||
|---|---|---|
| .. | ||
| execute | ||
| tools.go | ||
| tools_test.go | ||