@adhdev/daemon-standalone 0.9.82-rc.543 → 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 ? "
|
|
30212
|
-
const commitShort = readInjected(true ? "
|
|
30213
|
-
const version2 = readInjected(true ? "0.9.82-rc.
|
|
30214
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
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
|
-
|
|
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,
|
|
@@ -43971,6 +43982,17 @@ ${rendered}`, "utf-8");
|
|
|
43971
43982
|
...readStringValue(fallbackSession.lastMessagePreview, fallbackSession.last_message_preview) ? { lastMessagePreview: readStringValue(fallbackSession.lastMessagePreview, fallbackSession.last_message_preview) } : {},
|
|
43972
43983
|
...readStringValue(fallbackSession.lastMessageRole, fallbackSession.last_message_role) ? { lastMessageRole: readStringValue(fallbackSession.lastMessageRole, fallbackSession.last_message_role) } : {},
|
|
43973
43984
|
...readNumberValue(fallbackSession.lastMessageAt, fallbackSession.last_message_at) !== void 0 ? { lastMessageAt: readNumberValue(fallbackSession.lastMessageAt, fallbackSession.last_message_at) } : {},
|
|
43985
|
+
// RESTORE-STICK: carry the worker's AUTHORITATIVE dashboard hide/mute state and the
|
|
43986
|
+
// raw per-session user override (userHidden/userMuted) through the cached inline-mesh
|
|
43987
|
+
// active-session entry. The worker's mesh_status slim (mcp-server mesh-tools-status.ts)
|
|
43988
|
+
// now ships these from its own status/builders resolution, which already honors a
|
|
43989
|
+
// manual restore/un-mute. Without carrying them here, the coordinator's cloud snapshot
|
|
43990
|
+
// append re-derives hide/mute purely from mesh policy and overwrites the user's manual
|
|
43991
|
+
// un-hide every snapshot — the restore flickered visible then re-hid.
|
|
43992
|
+
...readBooleanValue(fallbackSession.surfaceHidden) !== void 0 ? { surfaceHidden: readBooleanValue(fallbackSession.surfaceHidden) } : {},
|
|
43993
|
+
...readBooleanValue(fallbackSession.muted) !== void 0 ? { muted: readBooleanValue(fallbackSession.muted) } : {},
|
|
43994
|
+
...readBooleanValue(fallbackSession.userHidden, fallbackSession.user_hidden) !== void 0 ? { userHidden: readBooleanValue(fallbackSession.userHidden, fallbackSession.user_hidden) } : {},
|
|
43995
|
+
...readBooleanValue(fallbackSession.userMuted, fallbackSession.user_muted) !== void 0 ? { userMuted: readBooleanValue(fallbackSession.userMuted, fallbackSession.user_muted) } : {},
|
|
43974
43996
|
isCached: true
|
|
43975
43997
|
}];
|
|
43976
43998
|
}
|