@adhdev/daemon-core 0.9.82-rc.394 → 0.9.82-rc.395
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 +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/mesh/mesh-queue-assignment.ts +31 -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-27T06:
|
|
381
|
+
const commit = readInjected(true ? "dea560a6fcafcb5579e0a62e3a2461d6af9aa289" : void 0) ?? "unknown";
|
|
382
|
+
const commitShort = readInjected(true ? "dea560a6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
383
|
+
const version = readInjected(true ? "0.9.82-rc.395" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
384
|
+
const builtAt = readInjected(true ? "2026-06-27T06:46:26.696Z" : void 0);
|
|
385
385
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
386
386
|
return cached;
|
|
387
387
|
}
|
|
@@ -10775,6 +10775,11 @@ function deliverTaskToSession(dispatchThunk, ctx, warmup) {
|
|
|
10775
10775
|
function tryAssignQueueTask(components, meshId, nodeId, sessionId, providerType) {
|
|
10776
10776
|
const mesh = getMeshWithCache(components, meshId);
|
|
10777
10777
|
const node = mesh?.nodes.find((n) => readMeshNodeId(n) === nodeId);
|
|
10778
|
+
const gateNode = mesh?.nodes?.find((n) => meshNodeIdMatches(n, nodeId));
|
|
10779
|
+
if (gateNode?.worktreeBootstrap?.status === "running") {
|
|
10780
|
+
LOG.info("MeshQueue", `Gating queue claim for worktree node ${nodeId} (${sessionId}): worktree bootstrap still running \u2014 task left pending; claim re-fires once bootstrap reaches a terminal state (guards against dispatching into a half-built worktree \u2192 empty session)`);
|
|
10781
|
+
return false;
|
|
10782
|
+
}
|
|
10778
10783
|
const localClaimAdapter = components.cliManager?.adapters?.get(sessionId);
|
|
10779
10784
|
let claimInstanceWorkspace = "";
|
|
10780
10785
|
let claimStampedNodeId = "";
|