- Enhanced get-task/show command to support comma-separated task IDs for efficient batch operations. - New features include multiple task retrieval, smart display logic, interactive action menu with batch operations, MCP array response for AI agent efficiency, and support for mixed parent tasks and subtasks. - Implementation includes updated CLI show command, enhanced MCP get_task tool, modified showTaskDirect function, and maintained full backward compatibility. - Documentation updated across all relevant files. Benefits include faster context gathering for AI agents, improved workflow with interactive batch operations, better UX with responsive layout, and enhanced API efficiency.
1.3 KiB
1.3 KiB
task-master-ai
| task-master-ai |
|---|
| minor |
Enhanced get-task/show command to support comma-separated task IDs for efficient batch operations
New Features:
- Multiple Task Retrieval: Pass comma-separated IDs to get/show multiple tasks at once (e.g.,
task-master show 1,3,5or MCPget_taskwithid: "1,3,5") - Smart Display Logic: Single ID shows detailed view, multiple IDs show compact summary table with interactive options
- Batch Action Menu: Interactive menu for multiple tasks with copy-paste ready commands for common operations (mark as done/in-progress, expand all, view dependencies, etc.)
- MCP Array Response: MCP tool returns structured array of task objects for efficient AI agent context gathering
Benefits:
- Faster Context Gathering: AI agents can collect multiple tasks/subtasks in one call instead of iterating
- Improved Workflow: Interactive batch operations reduce repetitive command execution
- Better UX: Responsive layout adapts to terminal width, maintains consistency with existing UI patterns
- API Efficiency: RESTful array responses in MCP format enable more sophisticated integrations
This enhancement maintains full backward compatibility while significantly improving efficiency for both human users and AI agents working with multiple tasks.