Files
clawdbot/apps/shared/ClawdbotKit/Sources/ClawdbotKit/ScreenCommands.swift
2026-01-04 14:38:51 +00:00

28 lines
711 B
Swift

import Foundation
public enum ClawdbotScreenCommand: String, Codable, Sendable {
case record = "screen.record"
}
public struct ClawdbotScreenRecordParams: Codable, Sendable, Equatable {
public var screenIndex: Int?
public var durationMs: Int?
public var fps: Double?
public var format: String?
public var includeAudio: Bool?
public init(
screenIndex: Int? = nil,
durationMs: Int? = nil,
fps: Double? = nil,
format: String? = nil,
includeAudio: Bool? = nil)
{
self.screenIndex = screenIndex
self.durationMs = durationMs
self.fps = fps
self.format = format
self.includeAudio = includeAudio
}
}