@adhdev/daemon-core 0.9.82-rc.505 → 0.9.82-rc.506

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.mjs CHANGED
@@ -412,10 +412,10 @@ function readInjected(value) {
412
412
  }
413
413
  function getDaemonBuildInfo() {
414
414
  if (cached) return cached;
415
- const commit = readInjected(true ? "af1ce39e8e67cf5aef6eb49e344ca4e5d0b7e88f" : void 0) ?? "unknown";
416
- const commitShort = readInjected(true ? "af1ce39e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
417
- const version = readInjected(true ? "0.9.82-rc.505" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
418
- const builtAt = readInjected(true ? "2026-07-12T13:30:23.635Z" : void 0);
415
+ const commit = readInjected(true ? "d7415812627054f6b93f8caf231387b4e6d0181b" : void 0) ?? "unknown";
416
+ const commitShort = readInjected(true ? "d7415812" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
417
+ const version = readInjected(true ? "0.9.82-rc.506" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
418
+ const builtAt = readInjected(true ? "2026-07-12T15:25:43.979Z" : void 0);
419
419
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
420
420
  return cached;
421
421
  }
@@ -16543,7 +16543,7 @@ async function maybeAutoLaunchOneQueueSession(components, meshId, mesh) {
16543
16543
  markAutoLaunch(meshId, task.id, { status: "started", nodeId, providerType: resolved.providerType });
16544
16544
  let launchResult2;
16545
16545
  try {
16546
- launchResult2 = await components.dispatchMeshCommand(launchTarget.daemonId, "launch_cli", {
16546
+ launchResult2 = await components.dispatchMeshCommand(launchTarget.daemonId, "launch_cli", withStatusProbeMarker({
16547
16547
  cliType: resolved.providerType,
16548
16548
  dir: node.workspace,
16549
16549
  settings: remoteSettings,
@@ -16553,7 +16553,7 @@ async function maybeAutoLaunchOneQueueSession(components, meshId, mesh) {
16553
16553
  ...effectiveModel ? { initialModel: effectiveModel } : {},
16554
16554
  // BRAIN-ROUTING thinking axis: forward the effective thinking level (initialThinkingLevel).
16555
16555
  ...effectiveThinkingLevel ? { initialThinkingLevel: effectiveThinkingLevel } : {}
16556
- });
16556
+ }));
16557
16557
  } catch (e) {
16558
16558
  markAutoLaunch(meshId, task.id, { status: "failed", reason: `remote_launch_dispatch_failed: ${e?.message || String(e)}`, nodeId, providerType: resolved.providerType });
16559
16559
  autoLaunchCooldownUntil.set(launchKey, Date.now() + AUTO_LAUNCH_COOLDOWN_MS);
@@ -19837,7 +19837,7 @@ function stopStaleMeshWorker(components, args) {
19837
19837
  }
19838
19838
  }
19839
19839
  if (daemonId && components.dispatchMeshCommand) {
19840
- Promise.resolve(components.dispatchMeshCommand(daemonId, "stop_cli", stopArgs)).catch((e) => LOG.warn("MeshQueue", `Remote stop of stale worker ${sessionId} on daemon ${daemonId} failed: ${e?.message || e}`));
19840
+ Promise.resolve(components.dispatchMeshCommand(daemonId, "stop_cli", withStatusProbeMarker(stopArgs))).catch((e) => LOG.warn("MeshQueue", `Remote stop of stale worker ${sessionId} on daemon ${daemonId} failed: ${e?.message || e}`));
19841
19841
  } else {
19842
19842
  LOG.warn("MeshQueue", `Cannot stop stale worker ${sessionId}: no local adapter and no resolvable remote daemon id (node ${args.nodeId ?? "?"}). Ack already rejected \u2014 task will re-strand-and-fail if the worker completes.`);
19843
19843
  }
@@ -22080,7 +22080,7 @@ async function retryUnresolvedDelegateForwards(components) {
22080
22080
  let result;
22081
22081
  try {
22082
22082
  traceMeshEventStage("forward_send", entryTraceCtx, `retry \u2192 ${entry.coordinatorDaemonId}`);
22083
- result = await dispatchMeshCommand(entry.coordinatorDaemonId, "mesh_forward_event", pushPayload);
22083
+ result = await dispatchMeshCommand(entry.coordinatorDaemonId, "mesh_forward_event", withStatusProbeMarker(pushPayload));
22084
22084
  } catch (e) {
22085
22085
  LOG.warn("MeshReconcile", `Retry forward to coordinator ${entry.coordinatorDaemonId} failed: ${e?.message || e} \u2014 left queued`);
22086
22086
  traceMeshEventDrop("retry_forward_failed", entryTraceCtx, e?.message || String(e));