Merge remote-tracking branch 'origin/next' into v017-adds-ralph

This commit is contained in:
Ralph Khreish
2025-06-14 17:07:06 +03:00
14 changed files with 18207 additions and 12116 deletions

View File

@@ -421,10 +421,7 @@ async function expandTask(
const outputFormat = mcpLog ? 'json' : 'text';
// Determine projectRoot: Use from context if available, otherwise derive from tasksPath
const projectRoot =
contextProjectRoot ||
findProjectRoot() ||
path.dirname(path.dirname(tasksPath));
const projectRoot = contextProjectRoot || findProjectRoot(tasksPath);
// Use mcpLog if available, otherwise use the default console log wrapper
const logger = mcpLog || {