feat: implement expand-task MCP command

- Create direct function wrapper in expand-task.js with error handling

- Add MCP tool integration for breaking down tasks into subtasks

- Update task-master-core.js to expose expandTaskDirect function

- Update changeset to document the new command

- Parameter support for subtask generation options (num, research, prompt, force)
This commit is contained in:
Eyal Toledano
2025-03-31 12:06:23 -04:00
parent 20d04b243b
commit b2b1a1ef8f
7 changed files with 219 additions and 4 deletions

View File

@@ -538,7 +538,7 @@ Following MCP implementation standards:
- Unit test for showTaskDirect.js
- Integration test for MCP tool
## 23. Implement next-task MCP command [in-progress]
## 23. Implement next-task MCP command [done]
### Dependencies: None
### Description: Create direct function wrapper and MCP tool for finding the next task to work on.
### Details:
@@ -571,7 +571,7 @@ Following MCP implementation standards:
- Unit test for nextTaskDirect.js
- Integration test for MCP tool
## 24. Implement expand-task MCP command [pending]
## 24. Implement expand-task MCP command [done]
### Dependencies: None
### Description: Create direct function wrapper and MCP tool for expanding a task into subtasks.
### Details: