Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

ci(appshot): read the Input Monitoring grant through the permission service

rubenluetke10-beep4e745ec53ecd
diff --git a/scripts/ci/appshot_desktop_smoke.py b/scripts/ci/appshot_desktop_smoke.py
index 28326eba55..4e1362c58e 100644
--- a/scripts/ci/appshot_desktop_smoke.py
+++ b/scripts/ci/appshot_desktop_smoke.py
@@ -424,9 +424,12 @@ def check_macos_gesture_permission(report: Report) -> None:
if _session() != "macos":
return
from jarvis.appshot.gesture import make_probe
- from jarvis.platform.permissions import PermissionId, get_system_permission_port
+ from jarvis.platform.permission_service import get_permission_service
+ from jarvis.platform.permissions import PermissionId, PermissionState
- granted = get_system_permission_port().runtime_access_granted(PermissionId.INPUT_MONITORING)
+ granted = (
+ get_permission_service().check(PermissionId.INPUT_MONITORING) is PermissionState.GRANTED
+ )
probe, reason = make_probe("alt")
if granted:
report.add("both-Option shortcut arms with Input Monitoring", probe is not None, reason)