feat: implement show-task MCP command

- Create direct function wrapper in show-task.js with error handling and caching

- Add MCP tool integration for displaying detailed task information

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

- Update changeset to document the new command

- Follow kebab-case/camelCase/snake_case naming conventions
This commit is contained in:
Eyal Toledano
2025-03-31 11:57:23 -04:00
parent 9582c0a91f
commit 05950ef318
7 changed files with 187 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ import { registerUpdateTool } from "./update.js";
import { registerUpdateTaskTool } from "./update-task.js";
import { registerUpdateSubtaskTool } from "./update-subtask.js";
import { registerGenerateTool } from "./generate.js";
import { registerShowTaskTool } from "./show-task.js";
/**
* Register all Task Master tools with the MCP server
@@ -24,8 +25,9 @@ export function registerTaskMasterTools(server) {
registerUpdateTaskTool(server);
registerUpdateSubtaskTool(server);
registerGenerateTool(server);
registerShowTaskTool(server);
}
export default {
registerTaskMasterTools,
};
};