cocottetech/@platform/codebase/@features/ai-copilot/macos-fe/Package.swift

30 lines
1 KiB
Swift
Raw Normal View History

// swift-tools-version: 5.9
import PackageDescription
// ai-copilot macOS front-end (stream 1) NSApplication host over the shared Kit.
let package = Package(
name: "CocotteCockpitMac",
platforms: [
.macOS(.v14),
],
dependencies: [
.package(path: "../cockpit-kit"),
// Live wiring: the host parses --api-base/--user-id/--token/--org-id and
// constructs LiveCockpitAPI (TenantScope + InMemoryAuthProvider).
.package(path: "../../../@packages/platform-models"),
.package(path: "../../../@packages/platform-api-client"),
],
targets: [
.executableTarget(
name: "CocotteCockpit",
dependencies: [
.product(name: "CocotteCockpitKit", package: "cockpit-kit"),
.product(name: "CocottePlatformModels", package: "platform-models"),
.product(name: "CocottePlatformAPIClient", package: "platform-api-client"),
],
path: "Sources/CocotteCockpit"
),
]
)