CxWebApp/swift-app/Package.swift
cx-git-agent b55680ffbf
Some checks are pending
build-and-push / image (push) Waiting to run
feat(swift-app): rebuild share/cxai-mac as native CxAI ADE 1.2.0
- 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
2026-05-17 16:26:39 -05:00

54 lines
2.1 KiB
Swift

// swift-tools-version:5.9
//
// CxWebAppMac a native macOS shell that wraps the C++ Crow backend
// in a WKWebView with proper window chrome, menu commands, and settings.
//
// Build: swift build -c release
// Run: .build/release/CxWebAppMac
// Bundle: bash scripts/build-app.sh (produces CxWebAppMac.app)
//
import PackageDescription
let package = Package(
name: "CxWebAppMac",
platforms: [.macOS(.v13)],
products: [
.executable(name: "CxWebAppMac", targets: ["CxWebAppMac"]),
],
dependencies: [
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-SDK.git", branch: "main"),
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-Drive.git", branch: "main"),
],
targets: [
.executableTarget(
name: "CxWebAppMac",
dependencies: [
.product(name: "CxCode", package: "CxLLM-SDK"),
.product(name: "CxAWS", package: "CxLLM-SDK"),
.product(name: "CxGit", package: "CxLLM-SDK"),
.product(name: "CxAgent", package: "CxLLM-SDK"),
.product(name: "CxMCP", package: "CxLLM-SDK"),
.product(name: "CxModels", package: "CxLLM-SDK"),
.product(name: "CxChat", package: "CxLLM-SDK"),
.product(name: "CxSPARenderer", package: "CxLLM-SDK"),
.product(name: "CxInstrument", package: "CxLLM-SDK"),
.product(name: "CxLangBridge", package: "CxLLM-SDK"),
.product(name: "CxARA", package: "CxLLM-SDK"),
.product(name: "CxDrive", package: "CxLLM-Drive"),
],
path: "Sources/CxWebAppMac",
linkerSettings: [
.linkedFramework("AppKit"),
.linkedFramework("SwiftUI"),
.linkedFramework("WebKit"),
.linkedFramework("Combine"),
]
),
.testTarget(
name: "CxWebAppMacTests",
dependencies: ["CxWebAppMac"],
path: "Tests/CxWebAppMacTests"
),
]
)