fix(add-task): pass projectRoot and fix logging/refs

Modified add-task core, direct function, and tool to pass projectRoot for .env API key fallback. Fixed logFn reference error and removed deprecated reportProgress call in core addTask function. Verified working.
This commit is contained in:
Eyal Toledano
2025-05-01 14:53:15 -04:00
parent c7158d4910
commit d07f8fddc5
3 changed files with 50 additions and 16 deletions

View File

@@ -105,7 +105,8 @@ export function registerAddTaskTool(server) {
testStrategy: args.testStrategy,
dependencies: args.dependencies,
priority: args.priority,
research: args.research
research: args.research,
projectRoot: rootFolder
},
log,
{ session }