Files
openclaw/apps/macos/Package.swift
dependabot[bot] 9fbbe2cc98 build(deps): bump the swift-deps group across 1 directory with 2 updates (#114452)
Bumps the swift-deps group with 2 updates in the /apps/macos directory: [github.com/steipete/peekaboo](https://github.com/steipete/Peekaboo) and [github.com/pointfreeco/swift-concurrency-extras](https://github.com/pointfreeco/swift-concurrency-extras).


Updates `github.com/steipete/peekaboo` from 3.9.6 to 3.9.8
- [Release notes](https://github.com/steipete/Peekaboo/releases)
- [Commits](https://github.com/steipete/Peekaboo/compare/v3.9.6...v3.9.8)

Updates `github.com/pointfreeco/swift-concurrency-extras` from 1.4.0 to 1.4.1
- [Release notes](https://github.com/pointfreeco/swift-concurrency-extras/releases)
- [Commits](https://github.com/pointfreeco/swift-concurrency-extras/compare/1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: github.com/steipete/peekaboo
  dependency-version: 3.9.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swift-deps
- dependency-name: github.com/pointfreeco/swift-concurrency-extras
  dependency-version: 1.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: swift-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-27 21:58:03 -04:00

106 lines
4.6 KiB
Swift

// swift-tools-version: 6.2
// Package manifest for the OpenClaw macOS companion (menu bar app + IPC library).
import PackageDescription
let package = Package(
name: "OpenClaw",
platforms: [
.macOS(.v15),
],
products: [
.library(name: "OpenClawIPC", targets: ["OpenClawIPC"]),
.library(name: "OpenClawDiscovery", targets: ["OpenClawDiscovery"]),
.executable(name: "OpenClaw", targets: ["OpenClaw"]),
.executable(name: "openclaw-mac", targets: ["OpenClawMacCLI"]),
],
dependencies: [
.package(url: "https://github.com/sindresorhus/KeyboardShortcuts", exact: "3.0.1"),
.package(url: "https://github.com/orchetect/MenuBarExtraAccess", exact: "1.3.0"),
.package(url: "https://github.com/swiftlang/swift-subprocess.git", from: "0.4.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.12.0"),
.package(url: "https://github.com/sparkle-project/Sparkle", from: "2.9.0"),
.package(url: "https://github.com/steipete/Peekaboo.git", exact: "3.9.8"),
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.3.1"),
.package(path: "../shared/OpenClawKit"),
.package(path: "../shared/OpenClawMLXTTSProtocol"),
.package(path: "../swabble"),
],
targets: [
.target(
name: "OpenClawIPC",
dependencies: [],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
.target(
name: "OpenClawDiscovery",
dependencies: [
.product(name: "OpenClawKit", package: "OpenClawKit"),
],
path: "Sources/OpenClawDiscovery",
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
.executableTarget(
name: "OpenClaw",
dependencies: [
"OpenClawIPC",
"OpenClawDiscovery",
.product(name: "OpenClawNativeState", package: "OpenClawKit"),
.product(name: "OpenClawKit", package: "OpenClawKit"),
.product(name: "OpenClawChatUI", package: "OpenClawKit"),
.product(name: "OpenClawMLXTTSProtocol", package: "OpenClawMLXTTSProtocol"),
.product(name: "OpenClawProtocol", package: "OpenClawKit"),
.product(name: "SwabbleKit", package: "swabble"),
.product(name: "MenuBarExtraAccess", package: "MenuBarExtraAccess"),
.product(name: "Subprocess", package: "swift-subprocess"),
.product(name: "Logging", package: "swift-log"),
.product(name: "Sparkle", package: "Sparkle"),
.product(name: "PeekabooBridge", package: "Peekaboo"),
.product(name: "PeekabooAutomationKit", package: "Peekaboo"),
.product(name: "ConcurrencyExtras", package: "swift-concurrency-extras"),
.product(name: "KeyboardShortcuts", package: "KeyboardShortcuts"),
],
exclude: [
"Resources/Info.plist",
"Resources/Localizable.xcstrings",
],
resources: [
.copy("Resources/OpenClaw.icns"),
.copy("Resources/DeviceModels"),
.copy("Resources/ProviderIcons"),
],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
.executableTarget(
name: "OpenClawMacCLI",
dependencies: [
"OpenClawDiscovery",
.product(name: "OpenClawKit", package: "OpenClawKit"),
.product(name: "OpenClawProtocol", package: "OpenClawKit"),
],
path: "Sources/OpenClawMacCLI",
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
]),
.testTarget(
name: "OpenClawIPCTests",
dependencies: [
"OpenClawIPC",
"OpenClaw",
"OpenClawMacCLI",
"OpenClawDiscovery",
.product(name: "OpenClawChatUI", package: "OpenClawKit"),
.product(name: "OpenClawKit", package: "OpenClawKit"),
.product(name: "OpenClawMLXTTSProtocol", package: "OpenClawMLXTTSProtocol"),
.product(name: "OpenClawProtocol", package: "OpenClawKit"),
.product(name: "SwabbleKit", package: "swabble"),
],
swiftSettings: [
.enableUpcomingFeature("StrictConcurrency"),
.enableExperimentalFeature("SwiftTesting"),
]),
])