@adhdev/daemon-standalone 0.9.82-rc.340 → 0.9.82-rc.342

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 ? "4208ff17576c4e0d480e0773908bb522545f006f" : void 0) ?? "unknown";
30040
- const commitShort = readInjected(true ? "4208ff17" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
- const version2 = readInjected(true ? "0.9.82-rc.340" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
- const builtAt = readInjected(true ? "2026-06-20T14:30:56.278Z" : void 0);
30039
+ const commit = readInjected(true ? "ff8ffda8c3d1a14f846ad4d785e4cab4d111a36b" : void 0) ?? "unknown";
30040
+ const commitShort = readInjected(true ? "ff8ffda8" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
30041
+ const version2 = readInjected(true ? "0.9.82-rc.342" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
30042
+ const builtAt = readInjected(true ? "2026-06-21T05:13:50.125Z" : void 0);
30043
30043
  cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
30044
30044
  return cached2;
30045
30045
  }
@@ -61621,6 +61621,7 @@ ${formatManifestValidationIssues2(validation.issues)}`,
61621
61621
  return n;
61622
61622
  }
61623
61623
  var SUBMIT_DELAY_FLOOR_MS = 200;
61624
+ var WIN32_SUBMIT_REPEAT_GAP_MS = 300;
61624
61625
  function resolveSubmitDelayMs(specBeforeSubmit, text) {
61625
61626
  const lines = countNewlines(text);
61626
61627
  const linesBonus = Math.min(800, lines * 80);
@@ -62199,6 +62200,16 @@ ${formatManifestValidationIssues2(validation.issues)}`,
62199
62200
  const sm = this.spec.send_message;
62200
62201
  const perChar = sm.delay_ms_per_char ?? 0;
62201
62202
  const beforeSubmit = resolveSubmitDelayMs(sm.delay_ms_before_submit, text);
62203
+ if (process.platform === "win32") {
62204
+ const submitTwice = () => {
62205
+ this.adapter.send_keys(sm.submit_key);
62206
+ setTimeout(() => this.adapter.send_keys(sm.submit_key), WIN32_SUBMIT_REPEAT_GAP_MS);
62207
+ };
62208
+ this.adapter.send_keys(text);
62209
+ if (beforeSubmit > 0) setTimeout(submitTwice, beforeSubmit);
62210
+ else submitTwice();
62211
+ return;
62212
+ }
62202
62213
  if (perChar === 0) {
62203
62214
  this.adapter.send_keys(text);
62204
62215
  if (beforeSubmit > 0) setTimeout(() => this.adapter.send_keys(sm.submit_key), beforeSubmit);