Update analyze-complexity with realtime feedback and enhanced complexity report (#70)

* Update analyze-complexity with realtime feedback

* PR fixes

* include changeset
This commit is contained in:
Joe Danziger
2025-04-01 19:57:19 -04:00
committed by GitHub
parent 5b521cbf31
commit 4b66078acd
4 changed files with 697 additions and 78 deletions

View File

@@ -41,6 +41,7 @@ import {
displayNextTask,
displayTaskById,
displayComplexityReport,
displayComplexityAnalysisStart,
getStatusWithColor,
confirmTaskOverwrite
} from './ui.js';
@@ -464,12 +465,8 @@ function registerCommands(programInstance) {
const thresholdScore = parseFloat(options.threshold);
const useResearch = options.research || false;
console.log(chalk.blue(`Analyzing task complexity from: ${tasksPath}`));
console.log(chalk.blue(`Output report will be saved to: ${outputPath}`));
if (useResearch) {
console.log(chalk.blue('Using Perplexity AI for research-backed complexity analysis'));
}
// Call the dedicated UI function to display complexity analysis start information
displayComplexityAnalysisStart(tasksPath, outputPath, useResearch, modelOverride || CONFIG.model, CONFIG.temperature);
await analyzeTaskComplexity(options);
});