@adhdev/daemon-core 0.9.82-rc.416 → 0.9.82-rc.417

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
@@ -384,10 +384,10 @@ function readInjected(value) {
384
384
  }
385
385
  function getDaemonBuildInfo() {
386
386
  if (cached) return cached;
387
- const commit = readInjected(true ? "b1b80482f0ae678be7cd54c6861ec8134eb2ffd0" : void 0) ?? "unknown";
388
- const commitShort = readInjected(true ? "b1b80482" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
389
- const version = readInjected(true ? "0.9.82-rc.416" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
390
- const builtAt = readInjected(true ? "2026-06-28T15:54:36.726Z" : void 0);
387
+ const commit = readInjected(true ? "aebe69a58bc80d5e1db908141ea4d03792bd0b5d" : void 0) ?? "unknown";
388
+ const commitShort = readInjected(true ? "aebe69a5" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
389
+ const version = readInjected(true ? "0.9.82-rc.417" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
390
+ const builtAt = readInjected(true ? "2026-06-28T16:29:44.906Z" : void 0);
391
391
  cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
392
392
  return cached;
393
393
  }
@@ -37729,10 +37729,15 @@ var FsmDriver = class {
37729
37729
  this.win32SubmitTimer = null;
37730
37730
  }
37731
37731
  const startedAt = Date.now();
37732
- const probe = normalizeForEcho(body).slice(-WIN32_ECHO_PROBE_CHARS);
37732
+ const normBody = normalizeForEcho(body);
37733
+ const headProbe = normBody.slice(0, WIN32_ECHO_PROBE_CHARS);
37734
+ const tailProbe = normBody.slice(-WIN32_ECHO_PROBE_CHARS);
37733
37735
  const bodyEchoed = () => {
37734
- if (!probe) return true;
37735
- return normalizeForEcho(this.adapter.snapshot()).includes(probe);
37736
+ if (!normBody) return true;
37737
+ const visible = normalizeForEcho(this.adapter.snapshot());
37738
+ if (!visible.includes(tailProbe)) return false;
37739
+ const full = normalizeForEcho(this.adapter.snapshotWithScrollback());
37740
+ return full.includes(headProbe);
37736
37741
  };
37737
37742
  const fire = (attempt) => {
37738
37743
  this.win32SubmitTimer = null;