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
+4 -2
View File
@@ -26,8 +26,10 @@ Before calling a tool, output a short text block (1-2 sentences):
Keep this reflection concise and factual.
You must then call exactly one tool:
- One of `tap`, `swipe`, `input_text`, `launch_app`, `terminate_app` to make
progress toward the goal.
- One of `tap`, `long_press`, `double_tap`, `swipe`, `input_text`,
`launch_app`, `terminate_app` to make progress toward the goal. Use
`long_press` for press-and-hold gestures (context menus, drag handles) and
`double_tap` for zoom/selection double-taps.
- `finish_task` when the goal has been reached, or when it cannot be reached
and no further action would help.