@adhdev/daemon-core 0.9.82-rc.391 → 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.js
CHANGED
|
@@ -383,10 +383,10 @@ function readInjected(value) {
|
|
|
383
383
|
}
|
|
384
384
|
function getDaemonBuildInfo() {
|
|
385
385
|
if (cached) return cached;
|
|
386
|
-
const commit = readInjected(true ? "
|
|
387
|
-
const commitShort = readInjected(true ? "
|
|
388
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
389
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
386
|
+
const commit = readInjected(true ? "9b3ac923b7b0f7181f9e9cdc85ad888dc63e0ad0" : void 0) ?? "unknown";
|
|
387
|
+
const commitShort = readInjected(true ? "9b3ac923" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
388
|
+
const version = readInjected(true ? "0.9.82-rc.393" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
389
|
+
const builtAt = readInjected(true ? "2026-06-27T05:46:34.063Z" : void 0);
|
|
390
390
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
391
391
|
return cached;
|
|
392
392
|
}
|
|
@@ -14656,6 +14656,12 @@ function injectMeshSystemMessage(components, args) {
|
|
|
14656
14656
|
directDispatchTaskIdForLedger = readNonEmptyString2(args.metadataEvent.taskId) || resolveActiveDirectDispatchTaskId(args.meshId, sessionId);
|
|
14657
14657
|
completedTaskForLedger = markSessionTerminal(sessionId, "failed");
|
|
14658
14658
|
}
|
|
14659
|
+
} else if (args.event === "worktree_bootstrap_complete" || args.event === "worktree_bootstrap_failed") {
|
|
14660
|
+
setImmediate(() => {
|
|
14661
|
+
triggerMeshQueue(components, args.meshId).catch((e) => {
|
|
14662
|
+
LOG.warn("MeshQueue", `Queue re-fire after ${args.event} failed (mesh ${args.meshId}): ${e?.message || e}`);
|
|
14663
|
+
});
|
|
14664
|
+
});
|
|
14659
14665
|
}
|
|
14660
14666
|
const ledgerKind = EVENT_TO_LEDGER_KIND[args.event];
|
|
14661
14667
|
if (ledgerKind) {
|