- Add AppDiscovery provider for running app enumeration - Implement AppDropdownView with auto-launch functionality - Create SignalAction models for 40+ yabai commands - Build ActionBuilderView with nested parameter controls - Add LiveShellPreview for real-time shell command generation - Implement ActionValidator for conflict detection - Add migration parser for existing raw action strings - Include feature flag for safe rollout - Maintain full backward compatibility
28 lines
264 B
Swift
28 lines
264 B
Swift
import Foundation
|
|
|
|
struct WindowModel: Codable, Identifiable {
|
|
var id: Int
|
|
var app: String
|
|
var title: String?
|
|
var frame: CGRect?
|
|
}
|
|
|
|
struct SpaceModel: Codable, Identifiable {
|
|
var id: Int
|
|
var index: Int
|
|
var label: String?
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|