@adhdev/daemon-core 0.9.82-rc.340 → 0.9.82-rc.341
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 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/providers/spec/fsm-driver.ts +22 -0
package/dist/index.js
CHANGED
|
@@ -316,10 +316,10 @@ function readInjected(value) {
|
|
|
316
316
|
}
|
|
317
317
|
function getDaemonBuildInfo() {
|
|
318
318
|
if (cached) return cached;
|
|
319
|
-
const commit = readInjected(true ? "
|
|
320
|
-
const commitShort = readInjected(true ? "
|
|
321
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
322
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
319
|
+
const commit = readInjected(true ? "d2dce76eda1d1544a0c95c4de04b245102ee0c64" : void 0) ?? "unknown";
|
|
320
|
+
const commitShort = readInjected(true ? "d2dce76e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
321
|
+
const version = readInjected(true ? "0.9.82-rc.341" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
322
|
+
const builtAt = readInjected(true ? "2026-06-21T03:40:02.339Z" : void 0);
|
|
323
323
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
324
324
|
return cached;
|
|
325
325
|
}
|
|
@@ -32561,6 +32561,14 @@ var FsmDriver = class {
|
|
|
32561
32561
|
const sm = this.spec.send_message;
|
|
32562
32562
|
const perChar = sm.delay_ms_per_char ?? 0;
|
|
32563
32563
|
const beforeSubmit = resolveSubmitDelayMs(sm.delay_ms_before_submit, text);
|
|
32564
|
+
if (process.platform === "win32") {
|
|
32565
|
+
if (beforeSubmit > 0) {
|
|
32566
|
+
setTimeout(() => this.adapter.send_keys(text + sm.submit_key), beforeSubmit);
|
|
32567
|
+
} else {
|
|
32568
|
+
this.adapter.send_keys(text + sm.submit_key);
|
|
32569
|
+
}
|
|
32570
|
+
return;
|
|
32571
|
+
}
|
|
32564
32572
|
if (perChar === 0) {
|
|
32565
32573
|
this.adapter.send_keys(text);
|
|
32566
32574
|
if (beforeSubmit > 0) setTimeout(() => this.adapter.send_keys(sm.submit_key), beforeSubmit);
|