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

@@ -11,7 +11,6 @@ x-clickthrough-token: <token>
This API is intended for AI computer control through these methods:
- `see`
- `interact`
- `interact/verify`
- `exec`
All responses use one envelope.
@@ -178,44 +177,7 @@ Target modes:
}
```
## 3) Interact Verify
### `POST /interact/verify`
Execute one interact action, then poll quick OCR verification checks until success or timeout.
```json
{
"action": {
"screen": 0,
"action": {
"action": "click_text",
"click_text": {
"text": "Apply",
"match": "contains"
}
}
},
"verify": {
"type": "ocr_text_near_point",
"text": "Applied",
"x": 1180,
"y": 640,
"radius": 120,
"screen": 0,
"match": "contains"
},
"check_interval_ms": 250,
"timeout_ms": 3000
}
```
Response includes:
- `action_result`
- `verified`
- `attempts`
- `last_check`
- `duration_ms`
## 4) Exec
## 3) Exec
### `POST /exec`
Run host shell commands (PowerShell/Bash/CMD).