feat(mcp): Implement complexity-report MCP command for displaying task complexity analysis reports

This commit is contained in:
Eyal Toledano
2025-03-31 14:20:00 -04:00
parent d06e45bf12
commit fec9e12f49
9 changed files with 201 additions and 16 deletions

View File

@@ -25,6 +25,7 @@ import { expandAllTasksDirect } from './direct-functions/expand-all-tasks.js';
import { removeDependencyDirect } from './direct-functions/remove-dependency.js';
import { validateDependenciesDirect } from './direct-functions/validate-dependencies.js';
import { fixDependenciesDirect } from './direct-functions/fix-dependencies.js';
import { complexityReportDirect } from './direct-functions/complexity-report.js';
// Re-export utility functions
export { findTasksJsonPath } from './utils/path-utils.js';
@@ -50,7 +51,8 @@ export const directFunctions = new Map([
['expandAllTasksDirect', expandAllTasksDirect],
['removeDependencyDirect', removeDependencyDirect],
['validateDependenciesDirect', validateDependenciesDirect],
['fixDependenciesDirect', fixDependenciesDirect]
['fixDependenciesDirect', fixDependenciesDirect],
['complexityReportDirect', complexityReportDirect]
]);
// Re-export all direct function implementations
@@ -74,5 +76,6 @@ export {
expandAllTasksDirect,
removeDependencyDirect,
validateDependenciesDirect,
fixDependenciesDirect
fixDependenciesDirect,
complexityReportDirect
};