Add input handling functionality to the agent. Implement API endpoints for mouse click and text input, and update the web interface to support video capture and interaction features.

This commit is contained in:
2026-08-18 19:12:25 +03:00
parent f24e31da27
commit 16d7aa75b3
8 changed files with 447 additions and 26 deletions
+15
View File
@@ -38,4 +38,19 @@ type ExecResponse struct {
type CapturedImage struct {
ContentType string
Data []byte
Left int
Top int
Width int
Height int
}
type ClickRequest struct {
X int `json:"x"`
Y int `json:"y"`
Button string `json:"button"`
Monitor int `json:"monitor"`
}
type TextRequest struct {
Text string `json:"text"`
}