@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.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-27T06:
|
|
386
|
+
const commit = readInjected(true ? "dea560a6fcafcb5579e0a62e3a2461d6af9aa289" : void 0) ?? "unknown";
|
|
387
|
+
const commitShort = readInjected(true ? "dea560a6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
388
|
+
const version = readInjected(true ? "0.9.82-rc.395" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
389
|
+
const builtAt = readInjected(true ? "2026-06-27T06:46:26.696Z" : void 0);
|
|
390
390
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
391
391
|
return cached;
|
|
392
392
|
}
|
|
@@ -10779,6 +10779,11 @@ function deliverTaskToSession(dispatchThunk, ctx, warmup) {
|
|
|
10779
10779
|
function tryAssignQueueTask(components, meshId, nodeId, sessionId, providerType) {
|
|
10780
10780
|
const mesh = getMeshWithCache(components, meshId);
|
|
10781
10781
|
const node = mesh?.nodes.find((n) => readMeshNodeId(n) === nodeId);
|
|
10782
|
+
const gateNode = mesh?.nodes?.find((n) => meshNodeIdMatches(n, nodeId));
|
|
10783
|
+
if (gateNode?.worktreeBootstrap?.status === "running") {
|
|
10784
|
+
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)`);
|
|
10785
|
+
return false;
|
|
10786
|
+
}
|
|
10782
10787
|
const localClaimAdapter = components.cliManager?.adapters?.get(sessionId);
|
|
10783
10788
|
let claimInstanceWorkspace = "";
|
|
10784
10789
|
let claimStampedNodeId = "";
|