diff options
Diffstat (limited to 'subagents/run.lua')
| -rw-r--r-- | subagents/run.lua | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/subagents/run.lua b/subagents/run.lua index 375af91..7fbed67 100644 --- a/subagents/run.lua +++ b/subagents/run.lua @@ -1,9 +1,10 @@ -- The `subagents.run` tool: start one child agent, or continue one, and wait. -- --- One call handles both cases. `agent` starts a new child from that profile; --- `id` continues a child this primary session started earlier. Exactly one is --- required, and `prompt` is always required — a child cannot see the parent --- dialogue, so the prompt is the only task context it gets. +-- One call handles all cases. `agent` starts a new child from that profile; +-- `system_prompt` starts one without a saved profile; `id` continues a child +-- this primary session started earlier. Exactly one is required, and `prompt` +-- is always required — a child cannot see the parent dialogue, so the prompt +-- is the only task context it gets. -- -- The call blocks until the child settles. Parallelism is ordinary tool -- batching: several subagents.run calls emitted in one batch run concurrently |
