fix: add-task fixes (#960)

- remove task-generation
- fix mcp add-task generation in manual mode
This commit is contained in:
Ralph Khreish
2025-07-12 09:19:21 +03:00
committed by GitHub
parent fbea48d8ec
commit baf9bd545a
2 changed files with 1 additions and 12 deletions

View File

@@ -125,8 +125,7 @@ export async function addTaskDirect(args, log, context = {}) {
},
'json', // outputFormat
manualTaskData, // Pass the manual task data
false, // research flag is false for manual creation
projectRoot // Pass projectRoot
false // research flag is false for manual creation
);
newTaskId = result.newTaskId;
telemetryData = result.telemetryData;

View File

@@ -561,16 +561,6 @@ async function addTask(
writeJSON(tasksPath, rawData, projectRoot, targetTag);
report('DEBUG: tasks.json written.', 'debug');
// Generate markdown task files
report('Generating task files...', 'info');
report('DEBUG: Calling generateTaskFiles...', 'debug');
// Pass mcpLog if available to generateTaskFiles
await generateTaskFiles(tasksPath, path.dirname(tasksPath), {
projectRoot,
tag: targetTag
});
report('DEBUG: generateTaskFiles finished.', 'debug');
// Show success message - only for text output (CLI)
if (outputFormat === 'text') {
const table = new Table({