@adhdev/daemon-standalone 0.9.82-rc.338 → 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 ? "69dc786812247d8f2e908eec5c7805349fbf1d8d" : void 0) ?? "unknown";
30040
- const commitShort = readInjected(true ? "69dc7868" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
- const version2 = readInjected(true ? "0.9.82-rc.338" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
- const builtAt = readInjected(true ? "2026-06-20T08:44:59.184Z" : 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
  }
@@ -69634,6 +69634,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
69634
69634
  const actionType = ctl?.action?.type;
69635
69635
  if (!id || !actionType) return;
69636
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;
69637
69638
  if (actionType === "open_picker") {
69638
69639
  out.push({
69639
69640
  id,
@@ -69644,7 +69645,8 @@ Run 'adhdev doctor' for detailed diagnostics.`
69644
69645
  listScript: id,
69645
69646
  setScript: id,
69646
69647
  readFrom: id,
69647
- order: index
69648
+ order: index,
69649
+ ...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
69648
69650
  });
69649
69651
  } else if (actionType === "send_keys") {
69650
69652
  out.push({
@@ -69654,7 +69656,8 @@ Run 'adhdev doctor' for detailed diagnostics.`
69654
69656
  placement: "bar",
69655
69657
  invokeScript: id,
69656
69658
  resultDisplay: "none",
69657
- order: index
69659
+ order: index,
69660
+ ...visibleWhenState && visibleWhenState.length > 0 ? { visibleWhenState } : {}
69658
69661
  });
69659
69662
  }
69660
69663
  });