|
Some checks are pending
build-and-push / image (push) Waiting to run
- Package.swift: add CxARA (via CxLLM-SDK) and CxDrive (via new CxLLM-Drive package dep) so the native shell links every mac-app-shaped module exported by the CxLLM-SDK and CxLLM-Drive families. - Sidebar: surface .repair (CxARA) and .drive (CxDrive) alongside the existing Web/Chat/Agent/MCP/Models/Code/AWS/Git/LangBridge/Telemetry tabs, with matching SF Symbols. - scripts/build-mac-bundle.sh: end-to-end pipeline (release build, .app bundle with rebranded Info.plist studio.cxai.ade 1.2.0, ad-hoc codesign, tar.gz, hdiutil UDZO dmg, publish to share/cxai-mac, write build-info.json with sha256/sizes/modules/git sha). - Makefile targets: swift-app 'make rebuild-mac', CxWebApp root 'make rebuild-mac'. - share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- dge- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Tauri 0- share/AR- share/cxai-mac: replace Tauri 0- share/cxai-mac: replace Ter refere- share/cxai-mac: replace Tauri 0- origin main 2>&1 | tail -5 |
||
|---|---|---|
| .. | ||
| scripts | ||
| Sources/CxWebAppMac | ||
| Tests/CxWebAppMacTests | ||
| .gitignore | ||
| Makefile | ||
| Package.swift | ||
| README.md | ||
CxWebAppMac
Native macOS SwiftUI shell that wraps the CxWebApp C++/Crow backend in a
WKWebView with proper window chrome, menu commands, health monitoring, and
configurable backend URL.
Build & run
cd swift-app
make build # swift build -c release
make run # launches a SwiftUI window
make test # runs AppSettingsTests
make app # produces build/CxWebAppMac.app
Override the backend at launch:
CXWEBAPP_URL=https://cxwebapp.76-13-126-127.nip.io swift run -c release CxWebAppMac
Layout
swift-app/
├── Package.swift
├── Makefile
├── README.md
├── scripts/
│ └── build-app.sh # SPM bin → .app bundle
├── Sources/CxWebAppMac/
│ ├── CxWebAppMacApp.swift # @main, WindowGroup + Settings scene
│ ├── ContentView.swift # toolbar + WebView + status bar
│ ├── WebView.swift # WKWebView NSViewRepresentable
│ ├── SettingsView.swift # backend URL, presets, devtools toggle
│ ├── AppSettings.swift # persisted preferences
│ └── HealthMonitor.swift # polls /api/health
└── Tests/CxWebAppMacTests/
└── AppSettingsTests.swift
Commands (⌘ shortcuts)
- ⌘R — reload
- ⌘[ / ⌘] — back / forward
- ⇧⌘H — home
- ⇧⌘C — copy URL
- ⇧⌘O — open in default browser
- ⌘, — Settings (backend URL, presets, developer extras)