[feat] extend keyboard and pointer control with bounded held input

This commit is contained in:
dijunkun committed 2026-11-06 20:54:28 +08:00
1 parent dd4baf2fc4
commit 12afcce690
11 files changed
+141 -11

No files matched your search

+1 -1
View File
@@ -173,7 +173,7 @@ export class NativeClient {
if (this.pending.size >= 32 || this.child.stdin!.writableLength > 262144)
return Promise.reject(new Failure("BUSY", false, true));
const id = ++this.sequence;
const sideEffect = method === "action" || method === "unlock" ||
const sideEffect = method === "action" || method === "unlock" || method === "release_inputs" ||
(method === "clipboard" && args.operation === "set") ||
(method === "system" && args.command !== "status") ||
(method === "files" && ["upload", "download", "cancel"].includes(args.operation));