ales27pm's picture
Add autonomous on-device iOS assistant
7b2dfc5 verified
Raw
History Blame Contribute Delete
1.51 kB
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "DolphinHostTests",
platforms: [
.macOS(.v15),
],
dependencies: [
.package(
url: "https://github.com/huggingface/swift-transformers.git",
revision: "2b72a75af19b384fd8a1bfb49bacf0a4cb3229e3"
),
],
targets: [
.target(
name: "DolphinCoreMLTestApp",
dependencies: [
.product(name: "Transformers", package: "swift-transformers"),
],
path: "Sources",
exclude: [
"AssistantSession.swift",
"AppIntents/DolphinAppIntents.swift",
"DolphinCoreMLTestApp.swift",
"SystemTools/EventKitCalendarReader.swift",
"SystemTools/SystemResourceSnapshotProvider.swift",
"Views",
],
sources: [
"AppIntents/IntentHandoffStore.swift",
"Domain/AssistantModels.swift",
"Model/DolphinModelRuntime.swift",
"Model/DolphinPromptRenderer.swift",
"Agent/AgentLoop.swift",
"Agent/AgentContextWindowBuilder.swift",
"Agent/AgentPolicy.swift",
"Agent/ToolCallParser.swift",
"Knowledge/KnowledgeEngine.swift",
"Tools/AgentToolRegistry.swift",
"Persistence/AssistantPersistence.swift",
"SystemTools/ResourceBudgetPolicy.swift",
"SystemTools/SystemToolModels.swift",
]
),
.testTarget(
name: "DolphinCoreMLTestAppTests",
dependencies: ["DolphinCoreMLTestApp"],
path: "Tests"
),
]
)