@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.js
CHANGED
|
@@ -409,10 +409,10 @@ function readInjected(value) {
|
|
|
409
409
|
}
|
|
410
410
|
function getDaemonBuildInfo() {
|
|
411
411
|
if (cached) return cached;
|
|
412
|
-
const commit = readInjected(true ? "
|
|
413
|
-
const commitShort = readInjected(true ? "
|
|
414
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
415
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
412
|
+
const commit = readInjected(true ? "260f54788520ce6f51b44fa097d6d3ee337fe79d" : void 0) ?? "unknown";
|
|
413
|
+
const commitShort = readInjected(true ? "260f5478" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
414
|
+
const version = readInjected(true ? "0.9.82-rc.464" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
415
|
+
const builtAt = readInjected(true ? "2026-07-05T05:20:43.844Z" : void 0);
|
|
416
416
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
417
417
|
return cached;
|
|
418
418
|
}
|
|
@@ -11481,9 +11481,9 @@ function normalizeCoordinatorDaemonIds(coordinatorDaemonId) {
|
|
|
11481
11481
|
}
|
|
11482
11482
|
function isMeshProtocolV2EnforceEnabled() {
|
|
11483
11483
|
const raw = readNonEmptyString2(process.env.MESH_PROTOCOL_V2_ENFORCE);
|
|
11484
|
-
if (!raw) return
|
|
11484
|
+
if (!raw) return true;
|
|
11485
11485
|
const v = raw.trim().toLowerCase();
|
|
11486
|
-
return v === "
|
|
11486
|
+
return !(v === "0" || v === "false" || v === "off" || v === "no");
|
|
11487
11487
|
}
|
|
11488
11488
|
function ledgerRecordQuarantinedEvent(event, reason) {
|
|
11489
11489
|
try {
|
|
@@ -18375,9 +18375,9 @@ function getMeshV2BackstopCounters() {
|
|
|
18375
18375
|
}
|
|
18376
18376
|
function meshProtocolV2EnforceOn() {
|
|
18377
18377
|
const raw = process.env.MESH_PROTOCOL_V2_ENFORCE;
|
|
18378
|
-
if (typeof raw !== "string") return
|
|
18378
|
+
if (typeof raw !== "string" || !raw.trim()) return true;
|
|
18379
18379
|
const v = raw.trim().toLowerCase();
|
|
18380
|
-
return v === "
|
|
18380
|
+
return !(v === "0" || v === "false" || v === "off" || v === "no");
|
|
18381
18381
|
}
|
|
18382
18382
|
function recordBackstopFire(kind, detail) {
|
|
18383
18383
|
meshV2BackstopCounters[kind]++;
|