@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.js
CHANGED
|
@@ -389,10 +389,10 @@ function readInjected(value) {
|
|
|
389
389
|
}
|
|
390
390
|
function getDaemonBuildInfo() {
|
|
391
391
|
if (cached) return cached;
|
|
392
|
-
const commit = readInjected(true ? "
|
|
393
|
-
const commitShort = readInjected(true ? "
|
|
394
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
395
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
392
|
+
const commit = readInjected(true ? "aebe69a58bc80d5e1db908141ea4d03792bd0b5d" : void 0) ?? "unknown";
|
|
393
|
+
const commitShort = readInjected(true ? "aebe69a5" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
394
|
+
const version = readInjected(true ? "0.9.82-rc.417" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
395
|
+
const builtAt = readInjected(true ? "2026-06-28T16:29:44.906Z" : void 0);
|
|
396
396
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
397
397
|
return cached;
|
|
398
398
|
}
|
|
@@ -38124,10 +38124,15 @@ var FsmDriver = class {
|
|
|
38124
38124
|
this.win32SubmitTimer = null;
|
|
38125
38125
|
}
|
|
38126
38126
|
const startedAt = Date.now();
|
|
38127
|
-
const
|
|
38127
|
+
const normBody = normalizeForEcho(body);
|
|
38128
|
+
const headProbe = normBody.slice(0, WIN32_ECHO_PROBE_CHARS);
|
|
38129
|
+
const tailProbe = normBody.slice(-WIN32_ECHO_PROBE_CHARS);
|
|
38128
38130
|
const bodyEchoed = () => {
|
|
38129
|
-
if (!
|
|
38130
|
-
|
|
38131
|
+
if (!normBody) return true;
|
|
38132
|
+
const visible = normalizeForEcho(this.adapter.snapshot());
|
|
38133
|
+
if (!visible.includes(tailProbe)) return false;
|
|
38134
|
+
const full = normalizeForEcho(this.adapter.snapshotWithScrollback());
|
|
38135
|
+
return full.includes(headProbe);
|
|
38131
38136
|
};
|
|
38132
38137
|
const fire = (attempt) => {
|
|
38133
38138
|
this.win32SubmitTimer = null;
|