From 70ddbb1bf5f76cac6cc56487f0598a0355562af5 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 29 Jan 2026 21:09:48 -0500 Subject: [PATCH] opencode: add note about coordinates and UI interaction --- home-manager/progs/opencode.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home-manager/progs/opencode.nix b/home-manager/progs/opencode.nix index cdff4a1..ebfde61 100644 --- a/home-manager/progs/opencode.nix +++ b/home-manager/progs/opencode.nix @@ -125,6 +125,8 @@ in Typical Flow 1. Take screenshot → analyze with explore agent (get rough layout) 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 4. Tap/interact 5. Wait → screenshot → verify result