mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2025-07-14 20:40:54 +00:00

* feat: added complexity score handling to list tasks * feat: added handling for complexity score in find task by id * test: remove console dir * chore: add changeset * format: fixed formatting issues * ref: reorder imports * feat: updated handling for findTaskById to take complexityReport as input * test: fix findTaskById complexity report testcases * fix: added handling for complexity report path * chore: add changeset * fix: moved complexity report handling to list tasks rather than list tasks direct * fix: add complexity handling to next task in list command * fix: added handling for show cli * fix: fixed next cli command handling * fix: fixed handling for complexity report path in mcp * feat: added handling to get-task * feat: added handling for next-task in mcp * feat: add handling for report path override * chore: remove unecessary changeset * ref: remove unecessary comments * feat: update list and find next task * fix: fixed running tests * fix: fixed findTaskById * fix: fixed findTaskById and tests * fix: fixed addComplexityToTask util * fix: fixed mcp server project root input * chore: cleanup --------- Co-authored-by: Shrey Paharia <shreypaharia@gmail.com>
51 lines
1.7 KiB
JavaScript
51 lines
1.7 KiB
JavaScript
/**
|
|
* task-manager.js
|
|
* Task management functions for the Task Master CLI
|
|
*/
|
|
|
|
import { findTaskById } from './utils.js';
|
|
import parsePRD from './task-manager/parse-prd.js';
|
|
import updateTasks from './task-manager/update-tasks.js';
|
|
import updateTaskById from './task-manager/update-task-by-id.js';
|
|
import generateTaskFiles from './task-manager/generate-task-files.js';
|
|
import setTaskStatus from './task-manager/set-task-status.js';
|
|
import updateSingleTaskStatus from './task-manager/update-single-task-status.js';
|
|
import listTasks from './task-manager/list-tasks.js';
|
|
import expandTask from './task-manager/expand-task.js';
|
|
import expandAllTasks from './task-manager/expand-all-tasks.js';
|
|
import clearSubtasks from './task-manager/clear-subtasks.js';
|
|
import addTask from './task-manager/add-task.js';
|
|
import analyzeTaskComplexity from './task-manager/analyze-task-complexity.js';
|
|
import findNextTask from './task-manager/find-next-task.js';
|
|
import addSubtask from './task-manager/add-subtask.js';
|
|
import removeSubtask from './task-manager/remove-subtask.js';
|
|
import updateSubtaskById from './task-manager/update-subtask-by-id.js';
|
|
import removeTask from './task-manager/remove-task.js';
|
|
import taskExists from './task-manager/task-exists.js';
|
|
import isTaskDependentOn from './task-manager/is-task-dependent.js';
|
|
import { readComplexityReport } from './utils.js';
|
|
// Export task manager functions
|
|
export {
|
|
parsePRD,
|
|
updateTasks,
|
|
updateTaskById,
|
|
updateSubtaskById,
|
|
generateTaskFiles,
|
|
setTaskStatus,
|
|
updateSingleTaskStatus,
|
|
listTasks,
|
|
expandTask,
|
|
expandAllTasks,
|
|
clearSubtasks,
|
|
addTask,
|
|
addSubtask,
|
|
removeSubtask,
|
|
findNextTask,
|
|
analyzeTaskComplexity,
|
|
removeTask,
|
|
findTaskById,
|
|
taskExists,
|
|
isTaskDependentOn,
|
|
readComplexityReport
|
|
};
|