-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.swift
More file actions
43 lines (41 loc) · 1.54 KB
/
Package.swift
File metadata and controls
43 lines (41 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "AgentRunKit",
platforms: [
.iOS(.v18),
.macOS(.v15)
],
products: [
.library(name: "AgentRunKit", targets: ["AgentRunKit"]),
.library(name: "AgentRunKitTesting", targets: ["AgentRunKitTesting"]),
.library(name: "AgentRunKitMLX", targets: ["AgentRunKitMLX"]),
.library(name: "AgentRunKitFoundationModels", targets: ["AgentRunKitFoundationModels"])
],
dependencies: [
.package(url: "https://github.com/ml-explore/mlx-swift-lm", .upToNextMinor(from: "2.30.0")),
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.4.3"),
],
targets: [
.target(name: "AgentRunKit"),
.target(name: "AgentRunKitTesting", dependencies: ["AgentRunKit"]),
.testTarget(name: "AgentRunKitTests", dependencies: ["AgentRunKit", "AgentRunKitTesting"]),
.target(
name: "AgentRunKitMLX",
dependencies: [
"AgentRunKit",
.product(name: "MLXLMCommon", package: "mlx-swift-lm"),
.product(name: "MLXLLM", package: "mlx-swift-lm")
]
),
.testTarget(name: "AgentRunKitMLXTests", dependencies: ["AgentRunKitMLX"]),
.target(
name: "AgentRunKitFoundationModels",
dependencies: ["AgentRunKit"]
),
.testTarget(
name: "AgentRunKitFoundationModelsTests",
dependencies: ["AgentRunKitFoundationModels"]
)
]
)