chore(sdk-swift): add root-level Package.swift vending Relaycast

Merged
WI
5mo ago
+46-28

What

Adds a root-level Package.swift to the relaycast monorepo that vends the existing Relaycast library/target from packages/sdk-swift/Sources/Relaycast.

Why

SwiftPM git-URL dependencies require a Package.swift at the repository root. The relaycast Swift engine SDK currently only has a manifest in the packages/sdk-swift subdirectory, which means downstream SwiftPM packages cannot consume it via a normal .package(url:) reference and instead have to resort to local path/symlink hacks.

This root manifest reuses the same sources (no duplication — the target path: points at packages/sdk-swift/Sources/Relaycast), so the published relaycast-swift package / Relaycast product can be referenced as:

.package(url: "https://github.com/AgentWorkforce/relaycast.git", from: "x.y.z")

Consumer

This unblocks AgentWorkforce/relay#1188 (the AgentRelaySDK hosted-transport facade), which previously wired the relaycast dependency via a committed external symlink that did not resolve on clean checkouts / for normal SPM consumers.

Verification

swift build against this branch resolves and compiles the Relaycast target cleanly.

šŸ¤– Generated with Claude Code