0agent 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/bin/0agent.js +3 -0
  2. package/dist/daemon.mjs +1575 -1543
  3. package/package.json +1 -1
package/bin/0agent.js CHANGED
@@ -352,6 +352,9 @@ ${ghToken && ghOwner ? `\ngithub_memory:\n enabled: true\n token: "${ghToken}"
352
352
  console.log(' ✓ Built-in skills installed');
353
353
  }
354
354
 
355
+ // Always kill any existing daemon so the new config (with API key) is loaded
356
+ try { stopDaemon(); await sleep(800); } catch {}
357
+
355
358
  console.log('\n Starting daemon...\n');
356
359
  await startDaemon();
357
360
  }