@adhdev/daemon-standalone 0.9.82-rc.393 → 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 CHANGED
@@ -30108,10 +30108,10 @@ var require_dist3 = __commonJS({
30108
30108
  }
30109
30109
  function getDaemonBuildInfo() {
30110
30110
  if (cached2) return cached2;
30111
- const commit = readInjected(true ? "9b3ac923b7b0f7181f9e9cdc85ad888dc63e0ad0" : void 0) ?? "unknown";
30112
- const commitShort = readInjected(true ? "9b3ac923" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30113
- const version2 = readInjected(true ? "0.9.82-rc.393" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30114
- const builtAt = readInjected(true ? "2026-06-27T05:47:33.892Z" : void 0);
30111
+ const commit = readInjected(true ? "dea560a6fcafcb5579e0a62e3a2461d6af9aa289" : void 0) ?? "unknown";
30112
+ const commitShort = readInjected(true ? "dea560a6" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30113
+ const version2 = readInjected(true ? "0.9.82-rc.395" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30114
+ const builtAt = readInjected(true ? "2026-06-27T06:46:57.276Z" : void 0);
30115
30115
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
30116
30116
  return cached2;
30117
30117
  }
@@ -40566,6 +40566,11 @@ Next step: ${nextStep}`;
40566
40566
  function tryAssignQueueTask(components, meshId, nodeId, sessionId, providerType) {
40567
40567
  const mesh = getMeshWithCache(components, meshId);
40568
40568
  const node = mesh?.nodes.find((n) => readMeshNodeId(n) === nodeId);
40569
+ const gateNode = mesh?.nodes?.find((n) => meshNodeIdMatches(n, nodeId));
40570
+ if (gateNode?.worktreeBootstrap?.status === "running") {
40571
+ LOG2.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)`);
40572
+ return false;
40573
+ }
40569
40574
  const localClaimAdapter = components.cliManager?.adapters?.get(sessionId);
40570
40575
  let claimInstanceWorkspace = "";
40571
40576
  let claimStampedNodeId = "";