feat(planner): expose long_press/double_tap to the AI planner

This commit is contained in:
2026-07-15 19:45:06 +08:00
parent dda70940c0
commit 5a93651db7
5 changed files with 79 additions and 4 deletions
+8
View File
@@ -52,3 +52,11 @@ def test_executor_keeps_action_metadata_out_of_device_tool_arguments() -> None:
assert (
result.to_dict()["step"]["expected_outcome"] == "The settings page is visible."
)
def test_default_registry_dispatches_long_press_and_double_tap():
from runtime.executor import default_tool_registry
registry = default_tool_registry()
assert callable(registry["long_press"])
assert callable(registry["double_tap"])