mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-11 12:09:03 +00:00
Group native subscription rows by provider and render each provider as its own horizontally paged carousel of profile cards (one profile per page, swipe between a provider's profiles, page dots indicate count). Add a surface tag chip (ccs/ccsx) and dim parked profiles. Switch the native-vs-pool split to the is_subscription flag so pool codex accounts are not misclassified. Raise the deployment target to macOS 14 for the native scroll paging APIs and bump the Bar version to 1.9.0.
24 lines
848 B
Swift
24 lines
848 B
Swift
// swift-tools-version:5.9
|
|
import PackageDescription
|
|
|
|
// CCS Bar - native macOS menu bar client for CCS.
|
|
//
|
|
// Build/test note: full Xcode (and therefore XCTest) is not required. The
|
|
// testable logic lives in the pure-Foundation `CCSBarCore` target and is
|
|
// exercised by the `ccs-bar-check` executable (an assert harness) so it runs
|
|
// on a CommandLineTools-only toolchain. The SwiftUI app target is added once
|
|
// the core is verified.
|
|
let package = Package(
|
|
name: "CCSBar",
|
|
platforms: [.macOS(.v14)],
|
|
products: [
|
|
.executable(name: "CCSBar", targets: ["CCSBarApp"]),
|
|
.executable(name: "ccs-bar-check", targets: ["CCSBarCheck"]),
|
|
],
|
|
targets: [
|
|
.target(name: "CCSBarCore"),
|
|
.executableTarget(name: "CCSBarApp", dependencies: ["CCSBarCore"]),
|
|
.executableTarget(name: "CCSBarCheck", dependencies: ["CCSBarCore"]),
|
|
]
|
|
)
|