@agentconnect.md/daemon 1.0.0-rc.3 → 1.0.0-rc.5

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.
package/dist/index.js CHANGED
@@ -80316,12 +80316,13 @@ var Daemon = class {
80316
80316
  this.log.info("cp: not connecting (disabled or missing url/token) — running local");
80317
80317
  return;
80318
80318
  }
80319
+ const echoDaemonId = this.opts.overrides?.daemonId;
80319
80320
  this.cpCrons = new CpCronRegistry({ onFire: (cron) => this.onCpCronFire(cron) });
80320
80321
  const url = cp.url;
80321
80322
  this.cpClient = new CpClient({
80322
80323
  url,
80323
80324
  token: cp.token,
80324
- ...this.cfg.daemonId ? { daemonId: this.cfg.daemonId } : {},
80325
+ ...echoDaemonId ? { daemonId: echoDaemonId } : {},
80325
80326
  onDaemonId: (id) => {
80326
80327
  this.cfg.daemonId = id;
80327
80328
  persistDaemonId(root, id);