@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.mjs
CHANGED
|
@@ -311,10 +311,10 @@ function readInjected(value) {
|
|
|
311
311
|
}
|
|
312
312
|
function getDaemonBuildInfo() {
|
|
313
313
|
if (cached) return cached;
|
|
314
|
-
const commit = readInjected(true ? "
|
|
315
|
-
const commitShort = readInjected(true ? "
|
|
316
|
-
const version = readInjected(true ? "0.9.82-rc.
|
|
317
|
-
const builtAt = readInjected(true ? "2026-06-
|
|
314
|
+
const commit = readInjected(true ? "d2dce76eda1d1544a0c95c4de04b245102ee0c64" : void 0) ?? "unknown";
|
|
315
|
+
const commitShort = readInjected(true ? "d2dce76e" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
316
|
+
const version = readInjected(true ? "0.9.82-rc.341" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
317
|
+
const builtAt = readInjected(true ? "2026-06-21T03:40:02.339Z" : void 0);
|
|
318
318
|
cached = builtAt ? { commit, commitShort, version, builtAt } : { commit, commitShort, version };
|
|
319
319
|
return cached;
|
|
320
320
|
}
|
|
@@ -32200,6 +32200,14 @@ var FsmDriver = class {
|
|
|
32200
32200
|
const sm = this.spec.send_message;
|
|
32201
32201
|
const perChar = sm.delay_ms_per_char ?? 0;
|
|
32202
32202
|
const beforeSubmit = resolveSubmitDelayMs(sm.delay_ms_before_submit, text);
|
|
32203
|
+
if (process.platform === "win32") {
|
|
32204
|
+
if (beforeSubmit > 0) {
|
|
32205
|
+
setTimeout(() => this.adapter.send_keys(text + sm.submit_key), beforeSubmit);
|
|
32206
|
+
} else {
|
|
32207
|
+
this.adapter.send_keys(text + sm.submit_key);
|
|
32208
|
+
}
|
|
32209
|
+
return;
|
|
32210
|
+
}
|
|
32203
32211
|
if (perChar === 0) {
|
|
32204
32212
|
this.adapter.send_keys(text);
|
|
32205
32213
|
if (beforeSubmit > 0) setTimeout(() => this.adapter.send_keys(sm.submit_key), beforeSubmit);
|