- Introduced support for running multiple subagents in parallel by managing child tasks with unique toolCallIds.
- Updated the Task class to hold active subagent children in a Map for better tracking and management.
- Enhanced the reportSubagentProgress method to update specific subagent messages based on runId, allowing for real-time progress updates.
- Modified the ClineProvider to handle cancellation of multiple running subagents.
- Improved error handling and messaging for subagent execution.
These changes significantly improve the subagent's capabilities, enabling more efficient task management and user feedback during concurrent operations.
- Added new tool parameters for subagent including "description" and "subagent_type".
- Implemented filtering logic to include/exclude the subagent tool based on experiment settings.
- Enhanced localization for subagent tool in multiple languages.
- Updated UI components to display subagent status and progress.
- Introduced subagent-specific tool restrictions in the backend logic.
This commit lays the groundwork for running subagents in the background for research or sub-tasks, enhancing the overall functionality of the toolset.