@adhdev/daemon-core 0.9.82-rc.544 → 0.9.82-rc.545

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.mjs CHANGED
@@ -414,10 +414,10 @@ function readInjected(value) {
414
414
  }
415
415
  function getDaemonBuildInfo() {
416
416
  if (cached) return cached;
417
- const commit = readInjected(true ? "ace946b224e61964aaaa43aed717eaaaeabb3a48" : void 0) ?? "unknown";
418
- const commitShort = readInjected(true ? "ace946b2" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
419
- const version = readInjected(true ? "0.9.82-rc.544" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
420
- const builtAt = readInjected(true ? "2026-07-16T08:54:12.905Z" : void 0);
417
+ const commit = readInjected(true ? "df29d26241184dffe55023c30bc471ad6c68001f" : void 0) ?? "unknown";
418
+ const commitShort = readInjected(true ? "df29d262" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
419
+ const version = readInjected(true ? "0.9.82-rc.545" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
420
+ const builtAt = readInjected(true ? "2026-07-16T10:55:57.323Z" : void 0);
421
421
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
422
422
  return cached;
423
423
  }
@@ -7692,7 +7692,18 @@ var init_mesh_runtime_store = __esm({
7692
7692
  taskId: entry.taskId ?? null,
7693
7693
  kind: entry.kind,
7694
7694
  priority: entry.priority ?? 0,
7695
- message: entry.message,
7695
+ // MESH-DELIVERY-MESSAGE-NOTNULL: the `message` column is NOT NULL, but a
7696
+ // re-dispatch / reclaim / idle-assign path can reach here with an undefined
7697
+ // message (a claimed task whose payload predates the message field, or a
7698
+ // slimmed re-drive entry). better-sqlite3 binds undefined as NULL, so the
7699
+ // bare `entry.message` threw 'NOT NULL constraint failed' and — because this
7700
+ // insert runs inside triggerMeshQueue — took down the ENTIRE queue drain
7701
+ // (fresh enqueue, pending-claim recovery, idle-assign, MAGI replica launch),
7702
+ // stranding all delegation. A delivery record's message is informational
7703
+ // ack-tracking, so coercing an absent message to '' preserves the row and the
7704
+ // drain instead of crashing. Matches the `?? null` defensive coercion every
7705
+ // other optional column here already uses.
7706
+ message: entry.message ?? "",
7696
7707
  status: entry.status,
7697
7708
  deliverAfter: entry.deliverAfter ?? null,
7698
7709
  expiresAt: entry.expiresAt ?? null,