When detach: true is set on a CodeStep, the process is immediately backgrounded after start. Its stdout/stderr are captured in a 64KB ring buffer accessible via GetDetachedOutput. The agent can then inspect and manage the process via process_list/process_output tools. |
||
|---|---|---|
| .. | ||
| testdata/sandbox | ||
| code.go | ||
| detach.go | ||
| execute_test.go | ||
| flock.go | ||
| pipe.go | ||
| server.go | ||
| tier.go | ||
| tier_test.go | ||
| tool.go | ||