package models import "time" type APIError struct { Error string `json:"error"` } type FileItem struct { Name string `json:"name"` Path string `json:"path"` Type string `json:"type"` Size int64 `json:"size"` Modified time.Time `json:"modified_time"` } type ScreenshotImage struct { Monitor int `json:"monitor"` ContentType string `json:"content_type"` DataBase64 string `json:"data_base64"` } type ScreenshotResponse struct { Images []ScreenshotImage `json:"images"` } type ExecRequest struct { Command string `json:"command"` TimeoutSec int `json:"timeout_sec"` } type ExecResponse struct { ExitCode int `json:"exit_code"` Stdout string `json:"stdout"` Stderr string `json:"stderr"` } 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"` }