Remove interact verify endpoint
All checks were successful
python-syntax / syntax-check (push) Successful in 31s
All checks were successful
python-syntax / syntax-check (push) Successful in 31s
This commit is contained in:
40
docs/API.md
40
docs/API.md
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user