mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Complete rename of all OpenClaw/OPENCLAW/openclaw references to Hanzo Bot/BOT/bot naming convention: - Env vars: OPENCLAW_* → BOT_* (18 patterns) - Config: ~/.openclaw/ → ~/.bot/, openclaw.json → bot.json - Packages: @openclaw/* → @hanzo/bot-* - Domains: openclaw.ai → hanzo.bot - Mobile: OpenClawKit → BotKit, bundle IDs ai.openclaw → ai.hanzo.bot - mDNS: _openclaw-gw._tcp → _bot-gw._tcp - Docker: CMD hanzo-bot.mjs, BOT_PREFER_PNPM, BOT_DOCKER_APT_PACKAGES - CI: docker-release.yml adds :latest tag on main branch
62 lines
1.9 KiB
Swift
62 lines
1.9 KiB
Swift
// swift-tools-version: 6.2
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "BotKit",
|
|
platforms: [
|
|
.iOS(.v18),
|
|
.macOS(.v15),
|
|
],
|
|
products: [
|
|
.library(name: "HanzoBotProtocol", targets: ["HanzoBotProtocol"]),
|
|
.library(name: "BotKit", targets: ["BotKit"]),
|
|
.library(name: "BotChatUI", targets: ["BotChatUI"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/steipete/ElevenLabsKit", exact: "0.1.0"),
|
|
.package(url: "https://github.com/gonzalezreal/textual", exact: "0.3.1"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "HanzoBotProtocol",
|
|
path: "Sources/HanzoBotProtocol",
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
]),
|
|
.target(
|
|
name: "BotKit",
|
|
dependencies: [
|
|
"HanzoBotProtocol",
|
|
.product(name: "ElevenLabsKit", package: "ElevenLabsKit"),
|
|
],
|
|
path: "Sources/BotKit",
|
|
resources: [
|
|
.process("Resources"),
|
|
],
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
]),
|
|
.target(
|
|
name: "BotChatUI",
|
|
dependencies: [
|
|
"BotKit",
|
|
.product(
|
|
name: "Textual",
|
|
package: "textual",
|
|
condition: .when(platforms: [.macOS, .iOS])),
|
|
],
|
|
path: "Sources/BotChatUI",
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
]),
|
|
.testTarget(
|
|
name: "BotKitTests",
|
|
dependencies: ["BotKit", "BotChatUI"],
|
|
path: "Tests/BotKitTests",
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("StrictConcurrency"),
|
|
.enableExperimentalFeature("SwiftTesting"),
|
|
]),
|
|
])
|