mirror of
https://github.com/eyaltoledano/claude-task-master.git
synced 2025-06-27 00:29:58 +00:00

Refactors MCP server logging and updates testing infrastructure. - MCP Server: - Replaced manual logger wrappers with centralized `createLogWrapper` utility. - Updated direct function calls to use `{ session, mcpLog }` context. - Removed deprecated `model` parameter from analyze, expand-all, expand-task tools. - Adjusted MCP tool import paths and parameter descriptions. - Documentation: - Modified `docs/configuration.md`. - Modified `docs/tutorial.md`. - Testing: - E2E Script (`run_e2e.sh`): - Removed `set -e`. - Added LLM analysis function (`analyze_log_with_llm`) & integration. - Adjusted test run directory creation timing. - Added debug echo statements. - Deleted Unit Tests: Removed `ai-client-factory.test.js`, `ai-client-utils.test.js`, `ai-services.test.js`. - Modified Fixtures: Updated `scripts/task-complexity-report.json`. - Dev Scripts: - Modified `scripts/dev.js`.
23 lines
560 B
JavaScript
Executable File
23 lines
560 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
/**
|
|
* dev.js
|
|
* Task Master CLI - AI-driven development task management
|
|
*
|
|
* This is the refactored entry point that uses the modular architecture.
|
|
* It imports functionality from the modules directory and provides a CLI.
|
|
*/
|
|
|
|
import dotenv from 'dotenv';
|
|
dotenv.config();
|
|
|
|
// Add at the very beginning of the file
|
|
if (process.env.DEBUG === '1') {
|
|
console.error('DEBUG - dev.js received args:', process.argv.slice(2));
|
|
}
|
|
|
|
import { runCLI } from './modules/commands.js';
|
|
|
|
// Run the CLI with the process arguments
|
|
runCLI(process.argv);
|