- Delete TetherKit's Message/SSEClient/TetherClient + MessageTests — all dead since both apps moved to tethercore. TetherKit is now just RoomIdentity; drop the empty test target and the now-unused `import TetherKit` from RoomView. - iOS: Connect button mislabeled "Reconnect" while connected — now "Disconnect" and actually disconnects, matching the macOS app. - iOS: feed timestamps for RTC-delivered messages (ts=0) fell back to 1970; use now, matching the macOS bridge. - README: rewrite from the Go-only story to the shared-core architecture (tethercore engine + native clients on every platform) with a layout diagram. All four targets rebuild clean (core, agent, iOS, macOS). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
19 lines
613 B
Swift
19 lines
613 B
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
// Reduced to just `RoomIdentity` — the wire protocol moved to the shared Rust
|
|
// `tethercore` engine (UniFFI). This package only supplies the platform-native
|
|
// room-id derivation the engine doesn't (and shouldn't) know about.
|
|
let package = Package(
|
|
name: "TetherKit",
|
|
platforms: [.iOS(.v17), .macOS(.v14)],
|
|
products: [
|
|
.library(name: "TetherKit", targets: ["TetherKit"]),
|
|
],
|
|
targets: [
|
|
.target(name: "TetherKit", linkerSettings: [
|
|
.linkedFramework("IOKit", .when(platforms: [.macOS])),
|
|
]),
|
|
]
|
|
)
|