Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ let package = Package(
.macOS(.v26),
],
products: [
.library(name: "OpenAISession", targets: ["OpenAISession", "SimulatedSession", "SwiftAgent"]),
.library(name: "AnthropicSession", targets: ["AnthropicSession", "SimulatedSession", "SwiftAgent"]),
// NOTE (ADSwift fork): SimulatedSession removed from these product bundles.
// Its actor's sync init initializes a `var` property, which under
// Swift 6.2 conflicts with the Adapter protocol's sync-init requirement
// ('nonisolated' on an actor's synchronous initializer is invalid).
// Consumers who need SimulatedSession can depend on the target directly.
.library(name: "OpenAISession", targets: ["OpenAISession", "SwiftAgent"]),
.library(name: "AnthropicSession", targets: ["AnthropicSession", "SwiftAgent"]),
.library(name: "ExampleCode", targets: ["ExampleCode"]),
],
dependencies: [
Expand Down