- 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
29 lines
374 B
Swift
29 lines
374 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct WindowPilotApp: App {
|
|
@StateObject private var discovery = DiscoveryManager.shared
|
|
@StateObject private var client = RemoteClient.shared
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
MainControlView()
|
|
.environmentObject(discovery)
|
|
.environmentObject(client)
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|