Add Maestro-style YAML flow runner for deterministic automation

New --flow mode executes scripted YAML steps without LLM, mapping 17
commands (tap, type, swipe, scroll, etc.) to existing actions. Element
finding uses accessibility tree text/hint/id matching.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sanju Sivalingam
2026-02-07 19:34:18 +05:30
parent e588881bfc
commit 389ac81c98
9 changed files with 395 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
{
"name": "Send WhatsApp to Vi",
"steps": [
{
"app": "com.whatsapp",
"goal": "You are on WhatsApp. First check if 'Vi' is visible in the chat list. If it is, tap on it directly. If not, use the Search bar to search for 'Vi' and then tap the result. Once inside the Vi chat, type 'hello from Droidclaw' in the message field and send it.",
"maxSteps": 12
}
]
}