feat(mcp): implement taskmaestro dispatch strategy in AgentService#722
Merged
JeremyDev87 merged 4 commits intomasterfrom Mar 20, 2026
Merged
feat(mcp): implement taskmaestro dispatch strategy in AgentService#722JeremyDev87 merged 4 commits intomasterfrom
JeremyDev87 merged 4 commits intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Add TaskmaestroAssignment and TaskmaestroDispatch interfaces - Extend DispatchAgentsInput with executionStrategy field - Extend DispatchResult with taskmaestro and executionStrategy fields - Extend ParseModeResult with availableStrategies and taskmaestroInstallHint - Add type tests for new interfaces Closes #706
…tegies - Add taskmaestro-detector.ts utility with isTaskmaestroAvailable() - Wire detection into buildParseModeResult() as step 10 - Populate availableStrategies and taskmaestroInstallHint in ParseModeResult - Add 2 tests for skill present/absent scenarios Closes #707
- Add executionStrategy enum ('subagent' | 'taskmaestro') to inputSchema
- Extract and default to 'subagent' in handleDispatchAgents handler
- Add 3 tests for subagent, taskmaestro, and default scenarios
Closes #708
- Add taskmaestro branch in dispatchAgents() for executionStrategy === 'taskmaestro' - Build per-agent prompts with task description and target files context - Return TaskmaestroDispatch with sessionName, paneCount, and assignments - Add buildTaskmaestroPrompt and buildTaskmaestroHint helper methods - Set executionStrategy: 'subagent' on existing return path - Add 6 tests covering all taskmaestro dispatch scenarios Closes #709
c650799 to
7675ec2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
taskmaestroexecution strategy branch indispatchAgents()methodexecutionStrategy === 'taskmaestro', returnTaskmaestroDispatchwith session name, pane count, and per-agent assignmentsbuildTaskmaestroPrompt()andbuildTaskmaestroHint()helper methodsexecutionStrategy: 'subagent'on existing subagent return pathTest plan
Closes #709