- Updated run-summary test mocks to track tool completion and only surface steering messages after the first task finishes. - Reworked steering message retrieval from call counts to completion-and-drain state so pre-chat polls no longer block tool execution. - Revised task prompt guidance to require batching multiple `tasks[]` in one call when subagents share context.
7.1 KiB
{{#if asyncEnabled}}{{#if batchEnabled}}Spawns subagents to work in the background — one per tasks[] item; a single spawn is a one-item batch.{{else}}Spawns ONE subagent per call to work in the background.{{/if}}
-
Spawning is non-blocking: the call returns immediately with the agent id{{#if batchEnabled}}s{{/if}} and job id{{#if batchEnabled}}s{{/if}}; each result is delivered automatically when that agent yields.
-
Parallelism = {{#if batchEnabled}}multiple
tasks[]items in ONE call. To launch several subagents, you MUST batch them into a single call'stasks[]— they sharecontextonce instead of duplicating it. Separatetaskcalls in one message are ONLY for spawns needing a differentagenttype or unrelatedcontext{{else}}multipletaskcalls in one assistant message{{/if}}. Concurrency is bounded at {{MAX_CONCURRENCY}} running subagents per session. -
If genuinely blocked on a result, wait with
job poll; otherwise keep working.job cancelterminates a task and cannot carry a message — only for stalled/abandoned work. {{else}}{{#if batchEnabled}}Runs subagents synchronously — one pertasks[]item; a single spawn is a one-item batch.{{else}}Runs ONE subagent synchronously per call.{{/if}} -
Spawning is blocking: the call returns only after the agent{{#if batchEnabled}}s{{/if}} finish; results arrive inline.
-
Parallelism = {{#if batchEnabled}}multiple
tasks[]items in ONE call. To launch several subagents, you MUST batch them into a single call'stasks[]— they sharecontextonce instead of duplicating it. Separatetaskcalls in one message are ONLY for spawns needing a differentagenttype or unrelatedcontext{{else}}multipletaskcalls in one assistant message{{/if}}. Concurrency is bounded at {{MAX_CONCURRENCY}} running subagents per session. {{/if}} {{#if ircEnabled}} -
Coordinate with agents via
ircusing their ids. Agents reach you and their siblings live the same way. {{/if}}
{{#if batchEnabled}}