opencode: add note about coordinates and UI interaction

This commit is contained in:
2026-01-29 21:09:48 -05:00
parent 94f98ae34c
commit 70ddbb1bf5

View File

@@ -125,6 +125,8 @@ in
Typical Flow Typical Flow
1. Take screenshot analyze with explore agent (get rough layout) 1. Take screenshot analyze with explore agent (get rough layout)
2. Dump UI hierarchy grep for exact element bounds 2. Dump UI hierarchy grep for exact element bounds
- NEVER ASSUME COORDINATES. You must ALWAYS check first.
- Do this before ANY tap action as elements on the screen may of changed.
3. Calculate center coordinates from bounds 3. Calculate center coordinates from bounds
4. Tap/interact 4. Tap/interact
5. Wait screenshot verify result 5. Wait screenshot verify result