import LChatCore import SwiftUI import WebKit // 🤖 The Mac face of the platform-shared command host (LChatCore // CommandHost — the generalized command engine, docs/native-apps.md Layer 2): // just the NSViewRepresentable that frames the host's webview in the composer // stack. The host itself (page seeding, runCommand forwarding, panel/notice // posts, command rows, needKey/needAppThread answers) lives in LChatCore, // shared with iOS. struct CommandPanelWebView: NSViewRepresentable { let host: CommandHost func makeNSView(context: Context) -> WKWebView { host.web } func updateNSView(_ web: WKWebView, context: Context) {} }