mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-15 07:04:01 -06:00
f377db1015
Co-authored-by: Val Alexander <68980965+BunsDev@users.noreply.github.com>
23 lines
519 B
Swift
23 lines
519 B
Swift
import Foundation
|
|
import OpenClawKit
|
|
|
|
enum MacNodeScreenCommand: String, Codable {
|
|
case snapshot = "screen.snapshot"
|
|
case record = "screen.record"
|
|
}
|
|
|
|
struct MacNodeScreenSnapshotParams: Codable, Equatable {
|
|
var screenIndex: Int?
|
|
var maxWidth: Int?
|
|
var quality: Double?
|
|
var format: OpenClawScreenSnapshotFormat?
|
|
}
|
|
|
|
struct MacNodeScreenRecordParams: Codable, Equatable {
|
|
var screenIndex: Int?
|
|
var durationMs: Int?
|
|
var fps: Double?
|
|
var format: String?
|
|
var includeAudio: Bool?
|
|
}
|