@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.js +16 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/mesh/mesh-runtime-store.ts +12 -1
package/dist/index.js
CHANGED
|
@@ -419,10 +419,10 @@ function readInjected(value) {
|
|
|
419
419
|
}
|
|
420
420
|
function getDaemonBuildInfo() {
|
|
421
421
|
if (cached) return cached;
|
|
422
|
-
const commit = readInjected(true ? "
|
|
423
|
-
const commitShort = readInjected(true ? "
|
|
424
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
425
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
422
|
+
const commit = readInjected(true ? "df29d26241184dffe55023c30bc471ad6c68001f" : void 0) ?? "unknown";
|
|
423
|
+
const commitShort = readInjected(true ? "df29d262" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
424
|
+
const version = readInjected(true ? "0.9.82-rc.545" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
425
|
+
const builtAt = readInjected(true ? "2026-07-16T10:55:57.323Z" : void 0);
|
|
426
426
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
427
427
|
return cached;
|
|
428
428
|
}
|
|
@@ -7699,7 +7699,18 @@ var init_mesh_runtime_store = __esm({
|
|
|
7699
7699
|
taskId: entry.taskId ?? null,
|
|
7700
7700
|
kind: entry.kind,
|
|
7701
7701
|
priority: entry.priority ?? 0,
|
|
7702
|
-
|
|
7702
|
+
// MESH-DELIVERY-MESSAGE-NOTNULL: the `message` column is NOT NULL, but a
|
|
7703
|
+
// re-dispatch / reclaim / idle-assign path can reach here with an undefined
|
|
7704
|
+
// message (a claimed task whose payload predates the message field, or a
|
|
7705
|
+
// slimmed re-drive entry). better-sqlite3 binds undefined as NULL, so the
|
|
7706
|
+
// bare `entry.message` threw 'NOT NULL constraint failed' and — because this
|
|
7707
|
+
// insert runs inside triggerMeshQueue — took down the ENTIRE queue drain
|
|
7708
|
+
// (fresh enqueue, pending-claim recovery, idle-assign, MAGI replica launch),
|
|
7709
|
+
// stranding all delegation. A delivery record's message is informational
|
|
7710
|
+
// ack-tracking, so coercing an absent message to '' preserves the row and the
|
|
7711
|
+
// drain instead of crashing. Matches the `?? null` defensive coercion every
|
|
7712
|
+
// other optional column here already uses.
|
|
7713
|
+
message: entry.message ?? "",
|
|
7703
7714
|
status: entry.status,
|
|
7704
7715
|
deliverAfter: entry.deliverAfter ?? null,
|
|
7705
7716
|
expiresAt: entry.expiresAt ?? null,
|