Remove interact verify endpoint
All checks were successful
python-syntax / syntax-check (push) Successful in 31s

This commit is contained in:
Space-Banane
2026-05-04 15:59:43 +02:00
parent f05e0c56e6
commit 22ca0097d1
8 changed files with 6 additions and 182 deletions

View File

@@ -8,7 +8,6 @@ description: Use 3 methods to control a computer: see (screenshot+grid), interac
Use these methods:
- `see`
- `interact`
- `interact/verify`
- `exec`
## Method 1: See
@@ -41,15 +40,6 @@ Rules:
- Use `pixel` only when you already have reliable coordinates.
- After each important action, call `see` again before continuing.
## Method 2.5: Action Verify
Use `POST /interact/verify` to execute one action and immediately validate nearby OCR text state.
Rules:
- Keep verification narrow: use `ocr_text_near_point` with a focused radius.
- Use short intervals/timeouts for speed (`check_interval_ms` ~250, `timeout_ms` 1000-3000).
- Prefer this over manual re-check loops when immediate confirmation is required.
## Method 3: Exec
Use `POST /exec` only for shell/system tasks.
@@ -64,7 +54,7 @@ Rules:
1. `see` capture.
2. If needed, `see/zoom` refine.
3. `interact` one step (`click_text` for text UI targets).
4. `interact/verify` for action->state confirmation, or `see` verify.
4. `see` verify.
5. Repeat.
## Quick Safety Rules