@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.js +12 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/providers/spec/fsm-driver.ts +29 -8
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 ? "
|
|
388
|
-
const commitShort = readInjected(true ? "
|
|
389
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
390
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
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
|
|
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 (!
|
|
37735
|
-
|
|
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;
|