@adhdev/daemon-standalone 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.js CHANGED
@@ -30208,10 +30208,10 @@ var require_dist3 = __commonJS({
30208
30208
  }
30209
30209
  function getDaemonBuildInfo() {
30210
30210
  if (cached2) return cached2;
30211
- const commit = readInjected(true ? "ace946b224e61964aaaa43aed717eaaaeabb3a48" : void 0) ?? "unknown";
30212
- const commitShort = readInjected(true ? "ace946b2" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30213
- const version2 = readInjected(true ? "0.9.82-rc.544" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30214
- const builtAt = readInjected(true ? "2026-07-16T08:55:14.233Z" : void 0);
30211
+ const commit = readInjected(true ? "df29d26241184dffe55023c30bc471ad6c68001f" : void 0) ?? "unknown";
30212
+ const commitShort = readInjected(true ? "df29d262" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30213
+ const version2 = readInjected(true ? "0.9.82-rc.545" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30214
+ const builtAt = readInjected(true ? "2026-07-16T10:57:02.971Z" : void 0);
30215
30215
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
30216
30216
  return cached2;
30217
30217
  }
@@ -37572,7 +37572,18 @@ Valid status values: \`completed\` | \`failed\` | \`blocked\` | \`partial\`.`;
37572
37572
  taskId: entry.taskId ?? null,
37573
37573
  kind: entry.kind,
37574
37574
  priority: entry.priority ?? 0,
37575
- message: entry.message,
37575
+ // MESH-DELIVERY-MESSAGE-NOTNULL: the `message` column is NOT NULL, but a
37576
+ // re-dispatch / reclaim / idle-assign path can reach here with an undefined
37577
+ // message (a claimed task whose payload predates the message field, or a
37578
+ // slimmed re-drive entry). better-sqlite3 binds undefined as NULL, so the
37579
+ // bare `entry.message` threw 'NOT NULL constraint failed' and — because this
37580
+ // insert runs inside triggerMeshQueue — took down the ENTIRE queue drain
37581
+ // (fresh enqueue, pending-claim recovery, idle-assign, MAGI replica launch),
37582
+ // stranding all delegation. A delivery record's message is informational
37583
+ // ack-tracking, so coercing an absent message to '' preserves the row and the
37584
+ // drain instead of crashing. Matches the `?? null` defensive coercion every
37585
+ // other optional column here already uses.
37586
+ message: entry.message ?? "",
37576
37587
  status: entry.status,
37577
37588
  deliverAfter: entry.deliverAfter ?? null,
37578
37589
  expiresAt: entry.expiresAt ?? null,