fix(companion): honor sequential tap gaps and survive synthesis exceptions

This commit is contained in:
pj committed 2026-06-07 16:39:28 +05:30
1 parent 629194015d
commit a6052c6745
3 files changed
+174 -27

No files matched your search

+2
View File
@@ -101,6 +101,8 @@ final class Server {
let events = params["events"] as? [[String: Any]] ?? []
try Gesture.perform(events: events)
return ["ok": true]
case "gestureProbe":
return Gesture.probe()
case "typeText":
let text = params["text"] as? String ?? ""
let replace = params["replace"] as? Bool ?? false