@adhdev/daemon-core 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.mjs CHANGED
@@ -311,10 +311,10 @@ function readInjected(value) {
311
311
  }
312
312
  function getDaemonBuildInfo() {
313
313
  if (cached) return cached;
314
- const commit = readInjected(true ? "587b2d866182a5b6c086d23d9f6cc32d22ca50f5" : void 0) ?? "unknown";
315
- const commitShort = readInjected(true ? "587b2d86" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
316
- const version = readInjected(true ? "0.9.82-rc.337" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
317
- const builtAt = readInjected(true ? "2026-06-20T06:37:55.432Z" : void 0);
314
+ const commit = readInjected(true ? "042075899bbd2feb9c22f9ccd01990408323443d" : void 0) ?? "unknown";
315
+ const commitShort = readInjected(true ? "04207589" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
316
+ const version = readInjected(true ? "0.9.82-rc.339" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
317
+ const builtAt = readInjected(true ? "2026-06-20T12:40:45.079Z" : void 0);
318
318
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
319
319
  return cached;
320
320
  }
@@ -35095,7 +35095,14 @@ var CliProviderInstance = class _CliProviderInstance {
35095
35095
  chatTitle: pending.chatTitle,
35096
35096
  duration: pending.duration,
35097
35097
  timestamp: pending.timestamp,
35098
- finalSummary: blockReason.startsWith("parsed_status:") ? "" : this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages),
35098
+ // When finalization is forced past the timeout on a `parsed_status:` block
35099
+ // (the parser never confirmed a final assistant turn) we previously rode an
35100
+ // empty `finalSummary` unconditionally. That empty value propagates to the
35101
+ // mesh coordinator's mirror preview (meshSessionLastMessagePreview), leaving a
35102
+ // delegated session's inbox preview blank — or, for a LOCAL worktree session,
35103
+ // stuck on the dispatched user task. If the parser DID surface assistant text,
35104
+ // prefer it; only fall back to '' when no assistant summary can be derived.
35105
+ finalSummary: blockReason.startsWith("parsed_status:") ? this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages) ?? "" : this.completionFinalSummary(this.adapter?.getScriptParsedStatus()?.messages),
35099
35106
  completionDiagnostic
35100
35107
  });
35101
35108
  this.completedDebouncePending = null;
@@ -39679,6 +39686,7 @@ function synthesizeControlsFromControlBar(specControls) {
39679
39686
  const actionType = ctl?.action?.type;
39680
39687
  if (!id || !actionType) return;
39681
39688
  const label = typeof ctl?.label === "string" && ctl.label.trim() ? ctl.label : id;
39689
+ const visibleWhenState = Array.isArray(ctl?.visible_when_state) ? ctl.visible_when_state.filter((s) => typeof s === "string") : void 0;
39682
39690
  if (actionType === "open_picker") {
39683
39691
  out.push({
39684
39692
  id,
@@ -39689,7 +39697,8 @@ function synthesizeControlsFromControlBar(specControls) {
39689
39697
  listScript: id,
39690
39698
  setScript: id,
39691
39699
  readFrom: id,
39692
- order: index
39700
+ order: index,
39701
+ ...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
39693
39702
  });
39694
39703
  } else if (actionType === "send_keys") {
39695
39704
  out.push({
@@ -39699,7 +39708,8 @@ function synthesizeControlsFromControlBar(specControls) {
39699
39708
  placement: "bar",
39700
39709
  invokeScript: id,
39701
39710
  resultDisplay: "none",
39702
- order: index
39711
+ order: index,
39712
+ ...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
39703
39713
  });
39704
39714
  }
39705
39715
  });
@@ -59567,6 +59577,7 @@ export {
59567
59577
  getGitFileDiff,
59568
59578
  getGitRepoStatus,
59569
59579
  getHostMemorySnapshot,
59580
+ getLastDisplayMessage,
59570
59581
  getLedgerDir,
59571
59582
  getLedgerSummary,
59572
59583
  getLogLevel,