@adhdev/daemon-core 0.9.82-rc.463 → 0.9.82-rc.464
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
|
@@ -404,10 +404,10 @@ function readInjected(value) {
|
|
|
404
404
|
}
|
|
405
405
|
function getDaemonBuildInfo() {
|
|
406
406
|
if (cached) return cached;
|
|
407
|
-
const commit = readInjected(true ? "
|
|
408
|
-
const commitShort = readInjected(true ? "
|
|
409
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
410
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
407
|
+
const commit = readInjected(true ? "260f54788520ce6f51b44fa097d6d3ee337fe79d" : void 0) ?? "unknown";
|
|
408
|
+
const commitShort = readInjected(true ? "260f5478" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
409
|
+
const version = readInjected(true ? "0.9.82-rc.464" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
410
|
+
const builtAt = readInjected(true ? "2026-07-05T05:20:43.844Z" : void 0);
|
|
411
411
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
412
412
|
return cached;
|
|
413
413
|
}
|
|
@@ -11477,9 +11477,9 @@ function normalizeCoordinatorDaemonIds(coordinatorDaemonId) {
|
|
|
11477
11477
|
}
|
|
11478
11478
|
function isMeshProtocolV2EnforceEnabled() {
|
|
11479
11479
|
const raw = readNonEmptyString2(process.env.MESH_PROTOCOL_V2_ENFORCE);
|
|
11480
|
-
if (!raw) return
|
|
11480
|
+
if (!raw) return true;
|
|
11481
11481
|
const v = raw.trim().toLowerCase();
|
|
11482
|
-
return v === "
|
|
11482
|
+
return !(v === "0" || v === "false" || v === "off" || v === "no");
|
|
11483
11483
|
}
|
|
11484
11484
|
function ledgerRecordQuarantinedEvent(event, reason) {
|
|
11485
11485
|
try {
|
|
@@ -18371,9 +18371,9 @@ function getMeshV2BackstopCounters() {
|
|
|
18371
18371
|
}
|
|
18372
18372
|
function meshProtocolV2EnforceOn() {
|
|
18373
18373
|
const raw = process.env.MESH_PROTOCOL_V2_ENFORCE;
|
|
18374
|
-
if (typeof raw !== "string") return
|
|
18374
|
+
if (typeof raw !== "string" || !raw.trim()) return true;
|
|
18375
18375
|
const v = raw.trim().toLowerCase();
|
|
18376
|
-
return v === "
|
|
18376
|
+
return !(v === "0" || v === "false" || v === "off" || v === "no");
|
|
18377
18377
|
}
|
|
18378
18378
|
function recordBackstopFire(kind, detail) {
|
|
18379
18379
|
meshV2BackstopCounters[kind]++;
|