Merge remote-tracking branch 'refs/remotes/upstream/main'
# Conflicts: # ROADMAP.md # TODO.md # src/cli.tsx # src/config.ts # src/mcp.ts # src/permission.ts # src/prompt.ts # src/session.ts # src/snapshot.ts # src/subagent.ts # src/tools-extra.ts # src/tools.ts # src/ui/App.tsx # test/mcp.test.ts # test/prune.test.ts # test/session.test.ts # test/tools.test.ts
This commit is contained in:
@@ -147,6 +147,10 @@ running, the handler exits as usual.
|
||||
|
||||
`task` runs a nested `streamText` and returns one message. The subagent kinds hold different
|
||||
tool sets: `explore` and `review` the read-only tools, `worker` those plus every write tool.
|
||||
A `tasks` array on the call runs several of these nests concurrently — each gets its own
|
||||
context window and stream, awaited together via `Promise.all` — so independent investigations
|
||||
overlap instead of queueing. The single-prompt form is just the one-element case; the two paths
|
||||
share the same nested-loop machinery and the same reporting bus.
|
||||
|
||||
The consequences follow from the tool set, not from policy:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user