feat: fix CI and format + refactor

This commit is contained in:
Ralph Khreish
2025-08-28 17:17:51 +02:00
parent e31500e9b0
commit f746d84145
6 changed files with 95 additions and 80 deletions

View File

@@ -109,16 +109,6 @@ async function addTask(
context;
const isMCP = !!mcpLog;
/**
* Check if Claude Code is being used
*/
const isClaudeCode = () => {
const currentProvider = useResearch
? getResearchProvider(projectRoot)
: getMainProvider(projectRoot);
return currentProvider === CUSTOM_PROVIDERS.CLAUDE_CODE;
};
// Create a consistent logFn object regardless of context
const logFn = isMCP
? mcpLog // Use MCP logger if provided