@adhdev/daemon-core 0.9.82-rc.392 → 0.9.82-rc.393
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 +10 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/mesh/mesh-event-forwarding.ts +22 -0
package/dist/index.mjs
CHANGED
|
@@ -378,10 +378,10 @@ function readInjected(value) {
|
|
|
378
378
|
}
|
|
379
379
|
function getDaemonBuildInfo() {
|
|
380
380
|
if (cached) return cached;
|
|
381
|
-
const commit = readInjected(true ? "
|
|
382
|
-
const commitShort = readInjected(true ? "
|
|
383
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
384
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
381
|
+
const commit = readInjected(true ? "9b3ac923b7b0f7181f9e9cdc85ad888dc63e0ad0" : void 0) ?? "unknown";
|
|
382
|
+
const commitShort = readInjected(true ? "9b3ac923" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
383
|
+
const version = readInjected(true ? "0.9.82-rc.393" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
384
|
+
const builtAt = readInjected(true ? "2026-06-27T05:46:34.063Z" : void 0);
|
|
385
385
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
386
386
|
return cached;
|
|
387
387
|
}
|
|
@@ -14651,6 +14651,12 @@ function injectMeshSystemMessage(components, args) {
|
|
|
14651
14651
|
directDispatchTaskIdForLedger = readNonEmptyString2(args.metadataEvent.taskId) || resolveActiveDirectDispatchTaskId(args.meshId, sessionId);
|
|
14652
14652
|
completedTaskForLedger = markSessionTerminal(sessionId, "failed");
|
|
14653
14653
|
}
|
|
14654
|
+
} else if (args.event === "worktree_bootstrap_complete" || args.event === "worktree_bootstrap_failed") {
|
|
14655
|
+
setImmediate(() => {
|
|
14656
|
+
triggerMeshQueue(components, args.meshId).catch((e) => {
|
|
14657
|
+
LOG.warn("MeshQueue", `Queue re-fire after ${args.event} failed (mesh ${args.meshId}): ${e?.message || e}`);
|
|
14658
|
+
});
|
|
14659
|
+
});
|
|
14654
14660
|
}
|
|
14655
14661
|
const ledgerKind = EVENT_TO_LEDGER_KIND[args.event];
|
|
14656
14662
|
if (ledgerKind) {
|