Roo-Code/packages/types
Roo Code 35f04e6212 feat: implement sequential fan-out / fan-in for orchestrator (Phase 2 of #12330)
Adds subtask queue support to the new_task tool, allowing the orchestrator
to define multiple subtasks that execute automatically in sequence without
returning to the parent between each one. This saves LLM API calls and
enables more efficient multi-agent workflows.

Key changes:
- SubtaskQueueItem, SubtaskResult types in packages/types/src/history.ts
- task_queue parameter on new_task tool (optional JSON array)
- NewTaskTool parses and validates queued subtasks, stores on parent
- delegateParentAndOpenChild persists queue in parent HistoryItem
- reopenParentFromDelegation auto-advances queue via advanceSubtaskQueue
- formatAggregatedQueueResults aggregates all results when queue completes
- 9 new tests covering queue advance, exhaustion, and result formatting
- All 56 existing delegation tests continue to pass
2026-05-12 03:28:52 +00:00
..
npm Release: v1.115.0 (#11833) 2026-03-02 13:35:52 -08:00
scripts feat: add correct JSON schema for .roomodes configuration files (#11791) 2026-04-08 16:37:14 -06:00
src feat: implement sequential fan-out / fan-in for orchestrator (Phase 2 of #12330) 2026-05-12 03:28:52 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
CHANGELOG.md Changeset version bump (#12085) 2026-04-08 15:16:12 -06:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json feat: add correct JSON schema for .roomodes configuration files (#11791) 2026-04-08 16:37:14 -06:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00