@adhdev/daemon-standalone 0.9.82-rc.337 → 0.9.82-rc.339

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
@@ -30036,10 +30036,10 @@ var require_dist3 = __commonJS({
30036
30036
  }
30037
30037
  function getDaemonBuildInfo() {
30038
30038
  if (cached2) return cached2;
30039
- const commit = readInjected(true ? "587b2d866182a5b6c086d23d9f6cc32d22ca50f5" : void 0) ?? "unknown";
30040
- const commitShort = readInjected(true ? "587b2d86" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
- const version2 = readInjected(true ? "0.9.82-rc.337" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
- const builtAt = readInjected(true ? "2026-06-20T06:38:54.115Z" : void 0);
30039
+ const commit = readInjected(true ? "042075899bbd2feb9c22f9ccd01990408323443d" : void 0) ?? "unknown";
30040
+ const commitShort = readInjected(true ? "04207589" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
+ const version2 = readInjected(true ? "0.9.82-rc.339" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
+ const builtAt = readInjected(true ? "2026-06-20T12:41:45.001Z" : void 0);
30043
30043
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
30044
30044
  return cached2;
30045
30045
  }
@@ -47700,6 +47700,7 @@ ${lastSnapshot}`;
47700
47700
  getGitFileDiff: () => getGitFileDiff,
47701
47701
  getGitRepoStatus: () => getGitRepoStatus,
47702
47702
  getHostMemorySnapshot: () => getHostMemorySnapshot,
47703
+ getLastDisplayMessage: () => getLastDisplayMessage,
47703
47704
  getLedgerDir: () => getLedgerDir,
47704
47705
  getLedgerSummary: () => getLedgerSummary,
47705
47706
  getLogLevel: () => getLogLevel,
@@ -65077,7 +65078,14 @@ ${formatManifestValidationIssues2(validation.issues)}`,
65077
65078
  chatTitle: pending.chatTitle,
65078
65079
  duration: pending.duration,
65079
65080
  timestamp: pending.timestamp,
65080
- finalSummary: blockReason.startsWith("parsed_status:") ? "" : this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages),
65081
+ // When finalization is forced past the timeout on a `parsed_status:` block
65082
+ // (the parser never confirmed a final assistant turn) we previously rode an
65083
+ // empty `finalSummary` unconditionally. That empty value propagates to the
65084
+ // mesh coordinator's mirror preview (meshSessionLastMessagePreview), leaving a
65085
+ // delegated session's inbox preview blank — or, for a LOCAL worktree session,
65086
+ // stuck on the dispatched user task. If the parser DID surface assistant text,
65087
+ // prefer it; only fall back to '' when no assistant summary can be derived.
65088
+ finalSummary: blockReason.startsWith("parsed_status:") ? this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages) ?? "" : this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages),
65081
65089
  completionDiagnostic
65082
65090
  });
65083
65091
  this.completedDebouncePending = null;
@@ -69626,6 +69634,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
69626
69634
  const actionType = ctl?.action?.type;
69627
69635
  if (!id || !actionType) return;
69628
69636
  const label = typeof ctl?.label === "string" && ctl.label.trim() ? ctl.label : id;
69637
+ const visibleWhenState = Array.isArray(ctl?.visible_when_state) ? ctl.visible_when_state.filter((s) => typeof s === "string") : void 0;
69629
69638
  if (actionType === "open_picker") {
69630
69639
  out.push({
69631
69640
  id,
@@ -69636,7 +69645,8 @@ Run 'adhdev doctor' for detailed diagnostics.`
69636
69645
  listScript: id,
69637
69646
  setScript: id,
69638
69647
  readFrom: id,
69639
- order: index
69648
+ order: index,
69649
+ ...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
69640
69650
  });
69641
69651
  } else if (actionType === "send_keys") {
69642
69652
  out.push({
@@ -69646,7 +69656,8 @@ Run 'adhdev doctor' for detailed diagnostics.`
69646
69656
  placement: "bar",
69647
69657
  invokeScript: id,
69648
69658
  resultDisplay: "none",
69649
- order: index
69659
+ order: index,
69660
+ ...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
69650
69661
  });
69651
69662
  }
69652
69663
  });