feat: initial CxLLM-SDK umbrella package
Phase 2 scaffold. Declares 11 library products that re-export upstream sibling modules from cxai-studio.com/git/CxAI-Project/CxLLM-* packages. Downstream apps depend on this single URL. Products: CxCode, CxAWS, CxGit, CxAgent, CxMCP, CxModels, CxChat, CxARA, CxSPARenderer, CxLangBridge, CxInstrument.
This commit is contained in:
commit
30d9799c88
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
.build/
|
||||
.swiftpm/
|
||||
Package.resolved
|
||||
*.xcodeproj/xcuserdata/
|
||||
*.xcworkspace/xcuserdata/
|
||||
DerivedData/
|
||||
.DS_Store
|
||||
4
CHANGELOG.md
Normal file
4
CHANGELOG.md
Normal file
@ -0,0 +1,4 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.0 — initial scaffold (Phase 2)
|
||||
- Umbrella package with 11 library products re-exporting CxLLM-* siblings.
|
||||
89
Package.swift
Normal file
89
Package.swift
Normal file
@ -0,0 +1,89 @@
|
||||
// swift-tools-version: 5.9
|
||||
// CxLLM-SDK — umbrella package that re-exports the CxLLM-* siblings.
|
||||
//
|
||||
// Downstream apps (CxLLM-IOS, CxWebApp/swift-app, third parties) depend on
|
||||
// this single URL and import any combination of: CxCode, CxAWS, CxGit,
|
||||
// CxAgent, CxMCP, CxModels, CxChat, CxARA, CxSPARenderer, CxLangBridge,
|
||||
// CxInstrument.
|
||||
//
|
||||
// Each umbrella product is a thin target that does `@_exported import` of
|
||||
// the upstream sibling module(s). This lets us reshape the sibling layout
|
||||
// later without breaking downstream imports.
|
||||
|
||||
import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "CxLLM-SDK",
|
||||
platforms: [.macOS(.v13), .iOS(.v17)],
|
||||
products: [
|
||||
.library(name: "CxCode", targets: ["CxCode"]),
|
||||
.library(name: "CxAWS", targets: ["CxAWS"]),
|
||||
.library(name: "CxGit", targets: ["CxGit"]),
|
||||
.library(name: "CxAgent", targets: ["CxAgent"]),
|
||||
.library(name: "CxMCP", targets: ["CxMCP"]),
|
||||
.library(name: "CxModels", targets: ["CxModels"]),
|
||||
.library(name: "CxChat", targets: ["CxChat"]),
|
||||
.library(name: "CxARA", targets: ["CxARA_Re"]),
|
||||
.library(name: "CxSPARenderer", targets: ["CxSPARenderer_Re"]),
|
||||
.library(name: "CxLangBridge", targets: ["CxLangBridge_Re"]),
|
||||
.library(name: "CxInstrument", targets: ["CxInstrument_Re"]),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-Kernel.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-LIB.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-PLG.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-Drive.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-ARA.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-SPA-RNDR.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-LB-SDK.git", branch: "main"),
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-INSTRUMENT-PCKG.git", branch: "main"),
|
||||
],
|
||||
targets: [
|
||||
// CxCode = Kernel + Lib + Plugin
|
||||
.target(name: "CxCode", dependencies: [
|
||||
.product(name: "CxKernel", package: "CxLLM-Kernel"),
|
||||
.product(name: "CxLib", package: "CxLLM-LIB"),
|
||||
.product(name: "CxPlugin", package: "CxLLM-PLG"),
|
||||
], path: "Sources/CxCode"),
|
||||
|
||||
// CxAWS, CxGit, CxDrive umbrella products all live in CxLLM-Drive
|
||||
.target(name: "CxAWS", dependencies: [
|
||||
.product(name: "CxAWS", package: "CxLLM-Drive"),
|
||||
], path: "Sources/CxAWS"),
|
||||
.target(name: "CxGit", dependencies: [
|
||||
.product(name: "CxGit", package: "CxLLM-Drive"),
|
||||
], path: "Sources/CxGit"),
|
||||
|
||||
// CxAgent / CxMCP / CxModels / CxChat are app-layer modules in CxLLM-IOS
|
||||
// today. Phase 3 will move them into their own sibling packages; for now
|
||||
// we expose seed targets here so downstream `import CxAgent` etc. compile.
|
||||
.target(name: "CxAgent", dependencies: [
|
||||
.product(name: "CxLib", package: "CxLLM-LIB"),
|
||||
], path: "Sources/CxAgent"),
|
||||
.target(name: "CxMCP", dependencies: [
|
||||
.product(name: "CxLib", package: "CxLLM-LIB"),
|
||||
], path: "Sources/CxMCP"),
|
||||
.target(name: "CxModels", dependencies: [
|
||||
.product(name: "CxLib", package: "CxLLM-LIB"),
|
||||
], path: "Sources/CxModels"),
|
||||
.target(name: "CxChat", dependencies: [
|
||||
.product(name: "CxLib", package: "CxLLM-LIB"),
|
||||
.product(name: "CxKernel", package: "CxLLM-Kernel"),
|
||||
], path: "Sources/CxChat"),
|
||||
|
||||
// Pure re-export shims for siblings whose product name collides with
|
||||
// an umbrella target name. The "_Re" target re-exports the sibling.
|
||||
.target(name: "CxARA_Re", dependencies: [
|
||||
.product(name: "CxARA", package: "CxLLM-ARA"),
|
||||
], path: "Sources/CxARA_Re"),
|
||||
.target(name: "CxSPARenderer_Re", dependencies: [
|
||||
.product(name: "CxSPARenderer", package: "CxLLM-SPA-RNDR"),
|
||||
], path: "Sources/CxSPARenderer_Re"),
|
||||
.target(name: "CxLangBridge_Re", dependencies: [
|
||||
.product(name: "CxLangBridge", package: "CxLLM-LB-SDK"),
|
||||
], path: "Sources/CxLangBridge_Re"),
|
||||
.target(name: "CxInstrument_Re", dependencies: [
|
||||
.product(name: "CxInstrument", package: "CxLLM-INSTRUMENT-PCKG"),
|
||||
], path: "Sources/CxInstrument_Re"),
|
||||
]
|
||||
)
|
||||
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
||||
# CxLLM-SDK
|
||||
|
||||
Umbrella Swift Package for the CxLLM ecosystem. Downstream apps depend on
|
||||
this single URL and import any combination of `CxCode`, `CxAWS`, `CxGit`,
|
||||
`CxAgent`, `CxMCP`, `CxModels`, `CxChat`, `CxARA`, `CxSPARenderer`,
|
||||
`CxLangBridge`, `CxInstrument`.
|
||||
|
||||
```swift
|
||||
.package(url: "https://cxai-studio.com/git/CxAI-Project/CxLLM-SDK.git", branch: "main")
|
||||
```
|
||||
|
||||
Each umbrella product is a thin re-export shim of one or more upstream
|
||||
sibling packages (`CxLLM-Kernel`, `CxLLM-LIB`, `CxLLM-PLG`, `CxLLM-Drive`,
|
||||
`CxLLM-ARA`, `CxLLM-SPA-RNDR`, `CxLLM-LB-SDK`, `CxLLM-INSTRUMENT-PCKG`).
|
||||
This decouples the downstream import surface from the upstream package layout.
|
||||
|
||||
Phase 0 status: seed implementations in upstream packages; real APIs land in
|
||||
Phase 3.
|
||||
2
Sources/CxARA_Re/CxARA_Re.swift
Normal file
2
Sources/CxARA_Re/CxARA_Re.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxARA_Re — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxARA
|
||||
2
Sources/CxAWS/CxAWS.swift
Normal file
2
Sources/CxAWS/CxAWS.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxAWS — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxAWS
|
||||
2
Sources/CxAgent/CxAgent.swift
Normal file
2
Sources/CxAgent/CxAgent.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxAgent — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxLib
|
||||
3
Sources/CxChat/CxChat.swift
Normal file
3
Sources/CxChat/CxChat.swift
Normal file
@ -0,0 +1,3 @@
|
||||
// CxChat — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxLib
|
||||
@_exported import CxKernel
|
||||
4
Sources/CxCode/CxCode.swift
Normal file
4
Sources/CxCode/CxCode.swift
Normal file
@ -0,0 +1,4 @@
|
||||
// CxCode — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxKernel
|
||||
@_exported import CxLib
|
||||
@_exported import CxPlugin
|
||||
2
Sources/CxGit/CxGit.swift
Normal file
2
Sources/CxGit/CxGit.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxGit — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxGit
|
||||
2
Sources/CxInstrument_Re/CxInstrument_Re.swift
Normal file
2
Sources/CxInstrument_Re/CxInstrument_Re.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxInstrument_Re — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxInstrument
|
||||
2
Sources/CxLangBridge_Re/CxLangBridge_Re.swift
Normal file
2
Sources/CxLangBridge_Re/CxLangBridge_Re.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxLangBridge_Re — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxLangBridge
|
||||
2
Sources/CxMCP/CxMCP.swift
Normal file
2
Sources/CxMCP/CxMCP.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxMCP — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxLib
|
||||
2
Sources/CxModels/CxModels.swift
Normal file
2
Sources/CxModels/CxModels.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxModels — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxLib
|
||||
2
Sources/CxSPARenderer_Re/CxSPARenderer_Re.swift
Normal file
2
Sources/CxSPARenderer_Re/CxSPARenderer_Re.swift
Normal file
@ -0,0 +1,2 @@
|
||||
// CxSPARenderer_Re — umbrella re-export shim. Auto-generated by Phase 2.
|
||||
@_exported import CxSPARenderer
|
||||
Loading…
Reference in New Issue
Block a user