diff --git a/v3/@claude-flow/cli/src/runtime/headless.ts b/v3/@claude-flow/cli/src/runtime/headless.ts index c2aeac8714..9a508a2978 100644 --- a/v3/@claude-flow/cli/src/runtime/headless.ts +++ b/v3/@claude-flow/cli/src/runtime/headless.ts @@ -168,15 +168,7 @@ async function runDaemon(): Promise { console.log('[Headless] Starting daemon mode...'); // Start the daemon - const daemon = await startDaemon({ - autoStart: true, - logDir: '.swarm/logs', - stateFile: '.swarm/daemon.state.json', - maxConcurrent: 2, - workerTimeoutMs: 300000, - resourceThresholds: { maxCpuLoad: 80, minFreeMemoryPercent: 10 }, - workers: [] - }); + const daemon = await startDaemon(process.cwd()); console.log('[Headless] Daemon started'); console.log('[Headless] Press Ctrl+C to stop');