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

@@ -279,17 +279,6 @@ async function updateTaskById(
const logFn = mcpLog || consoleLog;
const isMCP = !!mcpLog;
/**
* Check if Claude Code is being used
*/
const isClaudeCode = () => {
const projectRoot = providedProjectRoot || findProjectRoot();
const currentProvider = useResearch
? getResearchProvider(projectRoot)
: getMainProvider(projectRoot);
return currentProvider === CUSTOM_PROVIDERS.CLAUDE_CODE;
};
// Use report helper for logging
const report = (level, ...args) => {
if (isMCP) {