Build Information
Failed to build SwiftAgent, reference main (cdeb70), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 22:21:19 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftAgent-Package -destination generic/platform=watchOSBuild Log
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:306:28: error: 'Transcript' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
304 |
305 | /// The current transcript of the session.
306 | public var transcript: Transcript {
| | `- error: 'Transcript' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing property
307 | languageModelSession.transcript
308 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:114:44: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
105 | /// - languageModelSession: The LanguageModelSession to use.
106 | /// - step: A `@StepBuilder` closure that defines the processing pipeline.
107 | public init<S: Step & Sendable>(
| `- note: add '@available' attribute to enclosing initializer
108 | id: String = UUID().uuidString,
109 | languageModelSession: LanguageModelSession,
:
112 | self.id = id
113 | self.step = AnyStep(step())
114 | var inputContinuation: AsyncStream<Prompt>.Continuation?
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
115 | let inputStream = AsyncStream<Prompt> { continuation in
116 | inputContinuation = continuation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:115:39: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
105 | /// - languageModelSession: The LanguageModelSession to use.
106 | /// - step: A `@StepBuilder` closure that defines the processing pipeline.
107 | public init<S: Step & Sendable>(
| `- note: add '@available' attribute to enclosing initializer
108 | id: String = UUID().uuidString,
109 | languageModelSession: LanguageModelSession,
:
113 | self.step = AnyStep(step())
114 | var inputContinuation: AsyncStream<Prompt>.Continuation?
115 | let inputStream = AsyncStream<Prompt> { continuation in
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
116 | inputContinuation = continuation
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:155:24: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
152 | /// - Returns: The response containing the generated content and metadata.
153 | /// - Throws: `CancellationError` if the task was cancelled while waiting.
154 | public func send(_ content: String) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
155 | try await send(Prompt(content))
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:155:24: error: 'init(_:)' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
152 | /// - Returns: The response containing the generated content and metadata.
153 | /// - Throws: `CancellationError` if the task was cancelled while waiting.
154 | public func send(_ content: String) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
155 | try await send(Prompt(content))
| |- error: 'init(_:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:174:15: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
171 | ///
172 | /// - Parameter content: The steering message content.
173 | public func steer(_ content: String) {
| `- note: add '@available' attribute to enclosing instance method
174 | steer(Prompt(content))
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
175 | }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:174:15: error: 'init(_:)' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
171 | ///
172 | /// - Parameter content: The steering message content.
173 | public func steer(_ content: String) {
| `- note: add '@available' attribute to enclosing instance method
174 | steer(Prompt(content))
| |- error: 'init(_:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
175 | }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:196:15: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
193 | ///
194 | /// - Parameter message: The text message to add to the input queue.
195 | public func input(_ message: String) {
| `- note: add '@available' attribute to enclosing instance method
196 | input(Prompt(message))
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:196:15: error: 'init(_:)' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
193 | ///
194 | /// - Parameter message: The text message to add to the input queue.
195 | public func input(_ message: String) {
| `- note: add '@available' attribute to enclosing instance method
196 | input(Prompt(message))
| |- error: 'init(_:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
197 | }
198 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:270:52: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
268 | let currentSession = languageModelSession
269 |
270 | let startIndex = currentSession.transcript.count
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
271 |
272 | let prompt = buildPrompt(mainMessage: content)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:280:26: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
:
278 | let duration = ContinuousClock.now - startTime
279 |
280 | let newEntries = Array(currentSession.transcript.suffix(from: startIndex))
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
281 |
282 | return Response(content: finalContent, entries: newEntries, duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:280:26: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
:
278 | let duration = ContinuousClock.now - startTime
279 |
280 | let newEntries = Array(currentSession.transcript.suffix(from: startIndex))
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
281 |
282 | return Response(content: finalContent, entries: newEntries, duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:280:26: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
:
278 | let duration = ContinuousClock.now - startTime
279 |
280 | let newEntries = Array(currentSession.transcript.suffix(from: startIndex))
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
281 |
282 | return Response(content: finalContent, entries: newEntries, duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:280:58: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
:
278 | let duration = ContinuousClock.now - startTime
279 |
280 | let newEntries = Array(currentSession.transcript.suffix(from: startIndex))
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
281 |
282 | return Response(content: finalContent, entries: newEntries, duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:280:13: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
:
278 | let duration = ContinuousClock.now - startTime
279 |
280 | let newEntries = Array(currentSession.transcript.suffix(from: startIndex))
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
281 |
282 | return Response(content: finalContent, entries: newEntries, duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:280:13: error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
263 |
264 | /// Processes a message with any accumulated steering messages.
265 | private func processMessage(_ content: Prompt) async throws -> Response {
| `- note: add '@available' attribute to enclosing instance method
266 | let startTime = ContinuousClock.now
267 |
:
278 | let duration = ContinuousClock.now - startTime
279 |
280 | let newEntries = Array(currentSession.transcript.suffix(from: startIndex))
| |- error: conformance of 'Transcript' to 'Collection' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
281 |
282 | return Response(content: finalContent, entries: newEntries, duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:287:51: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
288 | let messages = state.steeringMessages
289 | state.steeringMessages.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:297:16: error: 'Prompt' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
295 | }
296 |
297 | return Prompt {
| |- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
298 | mainMessage
299 | for s in steering { s }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:297:16: error: 'init(_:)' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
295 | }
296 |
297 | return Prompt {
| |- error: 'init(_:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
298 | mainMessage
299 | for s in steering { s }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:298:13: error: 'buildExpression' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
296 |
297 | return Prompt {
298 | mainMessage
| |- error: 'buildExpression' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
299 | for s in steering { s }
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:299:33: error: 'buildExpression' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
297 | return Prompt {
298 | mainMessage
299 | for s in steering { s }
| |- error: 'buildExpression' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:299:31: error: 'buildBlock' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
297 | return Prompt {
298 | mainMessage
299 | for s in steering { s }
| |- error: 'buildBlock' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:299:35: error: 'buildArray' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
297 | return Prompt {
298 | mainMessage
299 | for s in steering { s }
| |- error: 'buildArray' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
300 | }
301 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift:297:23: error: 'buildBlock' is only available in watchOS 27.0 or newer
56 | /// will be included in the *following* prompt, not the current one.
57 |
58 | public final class Conversation: Sendable {
| `- note: add '@available' attribute to enclosing class
59 |
60 | // MARK: - Types
:
284 |
285 | /// Builds a prompt from the main message and any steering messages.
286 | private func buildPrompt(mainMessage: Prompt) -> Prompt {
| `- note: add '@available' attribute to enclosing instance method
287 | let steering = state.withLock { state -> [Prompt] in
288 | let messages = state.steeringMessages
:
295 | }
296 |
297 | return Prompt {
| |- error: 'buildBlock' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
298 | mainMessage
299 | for s in steering { s }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:19:34: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing type alias
20 | public typealias Output = Prompt
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:20:31: error: 'Prompt' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
| | `- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing type alias
21 |
22 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:24:28: error: 'GenerationSchema' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
22 | public let name: String
23 | public let description: String
24 | public let parameters: GenerationSchema
| `- error: 'GenerationSchema' is only available in watchOS 27.0 or newer
25 |
26 | private let _dispatch: @Sendable (GeneratedContent) async throws -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:26:39: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
24 | public let parameters: GenerationSchema
25 |
26 | private let _dispatch: @Sendable (GeneratedContent) async throws -> Prompt
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
27 |
28 | public init<Inner: Tool>(wrapping tool: Inner) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:26:73: error: 'Prompt' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
24 | public let parameters: GenerationSchema
25 |
26 | private let _dispatch: @Sendable (GeneratedContent) async throws -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
27 |
28 | public init<Inner: Tool>(wrapping tool: Inner) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:45:33: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
43 | }
44 |
45 | public func call(arguments: GeneratedContent) async throws -> Prompt {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | try await _dispatch(arguments)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:45:67: error: 'Prompt' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
43 | }
44 |
45 | public func call(arguments: GeneratedContent) async throws -> Prompt {
| | `- error: 'Prompt' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | try await _dispatch(arguments)
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:58:48: error: 'GenerationSchema' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
56 | }
57 |
58 | private static func emptyObjectSchema() -> GenerationSchema {
| | `- error: 'GenerationSchema' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing static method
59 | let root = DynamicGenerationSchema(name: "DeferredArguments", description: nil, properties: [])
60 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:59:20: error: 'DynamicGenerationSchema' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
56 | }
57 |
58 | private static func emptyObjectSchema() -> GenerationSchema {
| `- note: add '@available' attribute to enclosing static method
59 | let root = DynamicGenerationSchema(name: "DeferredArguments", description: nil, properties: [])
| |- error: 'DynamicGenerationSchema' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
60 | do {
61 | return try GenerationSchema(root: root, dependencies: [])
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:59:20: error: 'init(name:description:properties:)' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
56 | }
57 |
58 | private static func emptyObjectSchema() -> GenerationSchema {
| `- note: add '@available' attribute to enclosing static method
59 | let root = DynamicGenerationSchema(name: "DeferredArguments", description: nil, properties: [])
| |- error: 'init(name:description:properties:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
60 | do {
61 | return try GenerationSchema(root: root, dependencies: [])
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:61:24: error: 'GenerationSchema' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
56 | }
57 |
58 | private static func emptyObjectSchema() -> GenerationSchema {
| `- note: add '@available' attribute to enclosing static method
59 | let root = DynamicGenerationSchema(name: "DeferredArguments", description: nil, properties: [])
60 | do {
61 | return try GenerationSchema(root: root, dependencies: [])
| |- error: 'GenerationSchema' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
62 | } catch {
63 | preconditionFailure("Failed to build empty GenerationSchema: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift:61:24: error: 'init(root:dependencies:)' is only available in watchOS 27.0 or newer
16 | /// reveals each full JSONSchema through its search results on demand, and the
17 | /// model then calls the wrapped tool directly once it has learned the schema.
18 | public struct DeferredTool: Tool, Sendable {
| `- note: add '@available' attribute to enclosing struct
19 | public typealias Arguments = GeneratedContent
20 | public typealias Output = Prompt
:
56 | }
57 |
58 | private static func emptyObjectSchema() -> GenerationSchema {
| `- note: add '@available' attribute to enclosing static method
59 | let root = DynamicGenerationSchema(name: "DeferredArguments", description: nil, properties: [])
60 | do {
61 | return try GenerationSchema(root: root, dependencies: [])
| |- error: 'init(root:dependencies:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
62 | } catch {
63 | preconditionFailure("Failed to build empty GenerationSchema: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:31:38: error: 'Generable' is only available in watchOS 27.0 or newer
29 |
30 | /// Type alias for ResponseStream.Snapshot used in Generate streaming
31 | public typealias GenerateSnapshot<T: Generable> = LanguageModelSession.ResponseStream<T>.Snapshot
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing generic type alias
32 |
33 | /// A step that integrates OpenFoundationModels' LanguageModelSession with SwiftAgent
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:31:51: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
29 |
30 | /// Type alias for ResponseStream.Snapshot used in Generate streaming
31 | public typealias GenerateSnapshot<T: Generable> = LanguageModelSession.ResponseStream<T>.Snapshot
| | `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing generic type alias
32 |
33 | /// A step that integrates OpenFoundationModels' LanguageModelSession with SwiftAgent
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:106:21: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
103 | public typealias Output = Out
104 |
105 | private enum SessionSource: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing enum
106 | case direct(LanguageModelSession)
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
107 | case relay(Relay<LanguageModelSession>)
108 | case context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:107:26: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
103 | public typealias Output = Out
104 |
105 | private enum SessionSource: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing enum
106 | case direct(LanguageModelSession)
107 | case relay(Relay<LanguageModelSession>)
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
108 | case context
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:112:26: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
110 |
111 | private let sessionSource: SessionSource
112 | private let options: GenerationOptions
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
113 | private let maxRetries: Int
114 | private let promptBuilder: (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:114:40: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
112 | private let options: GenerationOptions
113 | private let maxRetries: Int
114 | private let promptBuilder: (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
115 | private let streamHandler: ((GenerateSnapshot<Out>) async -> Void)?
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:117:26: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
115 | private let streamHandler: ((GenerateSnapshot<Out>) async -> Void)?
116 |
117 | private var session: LanguageModelSession {
| | `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing property
118 | switch sessionSource {
119 | case .direct(let session):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:141:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
138 | /// - prompt: A closure that builds a Prompt using PromptBuilder
139 | /// - onStream: A closure that handles each ResponseStream.Snapshot
140 | public init(
| `- note: add '@available' attribute to enclosing initializer
141 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
142 | options: GenerationOptions = GenerationOptions(),
143 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:142:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
138 | /// - prompt: A closure that builds a Prompt using PromptBuilder
139 | /// - onStream: A closure that handles each ResponseStream.Snapshot
140 | public init(
| `- note: add '@available' attribute to enclosing initializer
141 | session: LanguageModelSession,
142 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
143 | maxRetries: Int = 3,
144 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:144:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
138 | /// - prompt: A closure that builds a Prompt using PromptBuilder
139 | /// - onStream: A closure that handles each ResponseStream.Snapshot
140 | public init(
| `- note: add '@available' attribute to enclosing initializer
141 | session: LanguageModelSession,
142 | options: GenerationOptions = GenerationOptions(),
143 | maxRetries: Int = 3,
144 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
145 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
146 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:144:50: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
138 | /// - prompt: A closure that builds a Prompt using PromptBuilder
139 | /// - onStream: A closure that handles each ResponseStream.Snapshot
140 | public init(
| `- note: add '@available' attribute to enclosing initializer
141 | session: LanguageModelSession,
142 | options: GenerationOptions = GenerationOptions(),
143 | maxRetries: Int = 3,
144 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
145 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
146 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:142:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
138 | /// - prompt: A closure that builds a Prompt using PromptBuilder
139 | /// - onStream: A closure that handles each ResponseStream.Snapshot
140 | public init(
| `- note: add '@available' attribute to enclosing initializer
141 | session: LanguageModelSession,
142 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
143 | maxRetries: Int = 3,
144 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:142:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
138 | /// - prompt: A closure that builds a Prompt using PromptBuilder
139 | /// - onStream: A closure that handles each ResponseStream.Snapshot
140 | public init(
| `- note: add '@available' attribute to enclosing initializer
141 | session: LanguageModelSession,
142 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
143 | maxRetries: Int = 3,
144 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:161:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
158 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
159 | /// - prompt: A closure that builds a Prompt using PromptBuilder
160 | public init(
| `- note: add '@available' attribute to enclosing initializer
161 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
162 | options: GenerationOptions = GenerationOptions(),
163 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:162:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
158 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
159 | /// - prompt: A closure that builds a Prompt using PromptBuilder
160 | public init(
| `- note: add '@available' attribute to enclosing initializer
161 | session: LanguageModelSession,
162 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
163 | maxRetries: Int = 3,
164 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:164:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
158 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
159 | /// - prompt: A closure that builds a Prompt using PromptBuilder
160 | public init(
| `- note: add '@available' attribute to enclosing initializer
161 | session: LanguageModelSession,
162 | options: GenerationOptions = GenerationOptions(),
163 | maxRetries: Int = 3,
164 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
165 | ) {
166 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:164:50: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
158 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
159 | /// - prompt: A closure that builds a Prompt using PromptBuilder
160 | public init(
| `- note: add '@available' attribute to enclosing initializer
161 | session: LanguageModelSession,
162 | options: GenerationOptions = GenerationOptions(),
163 | maxRetries: Int = 3,
164 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
165 | ) {
166 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:162:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
158 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
159 | /// - prompt: A closure that builds a Prompt using PromptBuilder
160 | public init(
| `- note: add '@available' attribute to enclosing initializer
161 | session: LanguageModelSession,
162 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
163 | maxRetries: Int = 3,
164 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:162:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
158 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
159 | /// - prompt: A closure that builds a Prompt using PromptBuilder
160 | public init(
| `- note: add '@available' attribute to enclosing initializer
161 | session: LanguageModelSession,
162 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
163 | maxRetries: Int = 3,
164 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:180:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
177 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
178 | /// - transform: A closure to transform the input to a string prompt
179 | public init(
| `- note: add '@available' attribute to enclosing initializer
180 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
181 | options: GenerationOptions = GenerationOptions(),
182 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:181:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
177 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
178 | /// - transform: A closure to transform the input to a string prompt
179 | public init(
| `- note: add '@available' attribute to enclosing initializer
180 | session: LanguageModelSession,
181 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
182 | maxRetries: Int = 3,
183 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:181:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
177 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
178 | /// - transform: A closure to transform the input to a string prompt
179 | public init(
| `- note: add '@available' attribute to enclosing initializer
180 | session: LanguageModelSession,
181 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
182 | maxRetries: Int = 3,
183 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:181:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
177 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
178 | /// - transform: A closure to transform the input to a string prompt
179 | public init(
| `- note: add '@available' attribute to enclosing initializer
180 | session: LanguageModelSession,
181 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
182 | maxRetries: Int = 3,
183 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:202:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
196 | /// - options: Generation options for controlling output
197 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
198 | public init(
| `- note: add '@available' attribute to enclosing initializer
199 | session: LanguageModelSession,
200 | options: GenerationOptions = GenerationOptions(),
201 | maxRetries: Int = 3
202 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
203 | self.sessionSource = .direct(session)
204 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:199:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
196 | /// - options: Generation options for controlling output
197 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
198 | public init(
| `- note: add '@available' attribute to enclosing initializer
199 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
200 | options: GenerationOptions = GenerationOptions(),
201 | maxRetries: Int = 3
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:200:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
196 | /// - options: Generation options for controlling output
197 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
198 | public init(
| `- note: add '@available' attribute to enclosing initializer
199 | session: LanguageModelSession,
200 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
201 | maxRetries: Int = 3
202 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:200:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
196 | /// - options: Generation options for controlling output
197 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
198 | public init(
| `- note: add '@available' attribute to enclosing initializer
199 | session: LanguageModelSession,
200 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
201 | maxRetries: Int = 3
202 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:200:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
196 | /// - options: Generation options for controlling output
197 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
198 | public init(
| `- note: add '@available' attribute to enclosing initializer
199 | session: LanguageModelSession,
200 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
201 | maxRetries: Int = 3
202 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:222:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
215 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
216 | /// - onStream: A closure that handles each ResponseStream.Snapshot
217 | public init(
| `- note: add '@available' attribute to enclosing initializer
218 | session: LanguageModelSession,
219 | options: GenerationOptions = GenerationOptions(),
220 | maxRetries: Int = 3,
221 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
222 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
223 | self.sessionSource = .direct(session)
224 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:218:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
215 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
216 | /// - onStream: A closure that handles each ResponseStream.Snapshot
217 | public init(
| `- note: add '@available' attribute to enclosing initializer
218 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
219 | options: GenerationOptions = GenerationOptions(),
220 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:219:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
215 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
216 | /// - onStream: A closure that handles each ResponseStream.Snapshot
217 | public init(
| `- note: add '@available' attribute to enclosing initializer
218 | session: LanguageModelSession,
219 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
220 | maxRetries: Int = 3,
221 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:219:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
215 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
216 | /// - onStream: A closure that handles each ResponseStream.Snapshot
217 | public init(
| `- note: add '@available' attribute to enclosing initializer
218 | session: LanguageModelSession,
219 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
220 | maxRetries: Int = 3,
221 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:219:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
215 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
216 | /// - onStream: A closure that handles each ResponseStream.Snapshot
217 | public init(
| `- note: add '@available' attribute to enclosing initializer
218 | session: LanguageModelSession,
219 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
220 | maxRetries: Int = 3,
221 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:239:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
236 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
237 | /// - prompt: A closure that builds a Prompt using PromptBuilder
238 | public init(
| `- note: add '@available' attribute to enclosing initializer
239 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
240 | options: GenerationOptions = GenerationOptions(),
241 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:240:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
236 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
237 | /// - prompt: A closure that builds a Prompt using PromptBuilder
238 | public init(
| `- note: add '@available' attribute to enclosing initializer
239 | session: Relay<LanguageModelSession>,
240 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
241 | maxRetries: Int = 3,
242 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:242:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
236 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
237 | /// - prompt: A closure that builds a Prompt using PromptBuilder
238 | public init(
| `- note: add '@available' attribute to enclosing initializer
239 | session: Relay<LanguageModelSession>,
240 | options: GenerationOptions = GenerationOptions(),
241 | maxRetries: Int = 3,
242 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
243 | ) {
244 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:242:50: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
236 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
237 | /// - prompt: A closure that builds a Prompt using PromptBuilder
238 | public init(
| `- note: add '@available' attribute to enclosing initializer
239 | session: Relay<LanguageModelSession>,
240 | options: GenerationOptions = GenerationOptions(),
241 | maxRetries: Int = 3,
242 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
243 | ) {
244 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:240:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
236 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
237 | /// - prompt: A closure that builds a Prompt using PromptBuilder
238 | public init(
| `- note: add '@available' attribute to enclosing initializer
239 | session: Relay<LanguageModelSession>,
240 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
241 | maxRetries: Int = 3,
242 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:240:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
236 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
237 | /// - prompt: A closure that builds a Prompt using PromptBuilder
238 | public init(
| `- note: add '@available' attribute to enclosing initializer
239 | session: Relay<LanguageModelSession>,
240 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
241 | maxRetries: Int = 3,
242 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:259:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
256 | /// - prompt: A closure that builds a Prompt using PromptBuilder
257 | /// - onStream: A closure that handles each ResponseStream.Snapshot
258 | public init(
| `- note: add '@available' attribute to enclosing initializer
259 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
260 | options: GenerationOptions = GenerationOptions(),
261 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:260:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
256 | /// - prompt: A closure that builds a Prompt using PromptBuilder
257 | /// - onStream: A closure that handles each ResponseStream.Snapshot
258 | public init(
| `- note: add '@available' attribute to enclosing initializer
259 | session: Relay<LanguageModelSession>,
260 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
261 | maxRetries: Int = 3,
262 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:262:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
256 | /// - prompt: A closure that builds a Prompt using PromptBuilder
257 | /// - onStream: A closure that handles each ResponseStream.Snapshot
258 | public init(
| `- note: add '@available' attribute to enclosing initializer
259 | session: Relay<LanguageModelSession>,
260 | options: GenerationOptions = GenerationOptions(),
261 | maxRetries: Int = 3,
262 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
263 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
264 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:262:50: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
256 | /// - prompt: A closure that builds a Prompt using PromptBuilder
257 | /// - onStream: A closure that handles each ResponseStream.Snapshot
258 | public init(
| `- note: add '@available' attribute to enclosing initializer
259 | session: Relay<LanguageModelSession>,
260 | options: GenerationOptions = GenerationOptions(),
261 | maxRetries: Int = 3,
262 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
263 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
264 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:260:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
256 | /// - prompt: A closure that builds a Prompt using PromptBuilder
257 | /// - onStream: A closure that handles each ResponseStream.Snapshot
258 | public init(
| `- note: add '@available' attribute to enclosing initializer
259 | session: Relay<LanguageModelSession>,
260 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
261 | maxRetries: Int = 3,
262 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:260:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
256 | /// - prompt: A closure that builds a Prompt using PromptBuilder
257 | /// - onStream: A closure that handles each ResponseStream.Snapshot
258 | public init(
| `- note: add '@available' attribute to enclosing initializer
259 | session: Relay<LanguageModelSession>,
260 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
261 | maxRetries: Int = 3,
262 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:279:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
276 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
277 | /// - transform: A closure to transform the input to a string prompt
278 | public init(
| `- note: add '@available' attribute to enclosing initializer
279 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
280 | options: GenerationOptions = GenerationOptions(),
281 | maxRetries: Int = 3,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:280:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
276 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
277 | /// - transform: A closure to transform the input to a string prompt
278 | public init(
| `- note: add '@available' attribute to enclosing initializer
279 | session: Relay<LanguageModelSession>,
280 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
281 | maxRetries: Int = 3,
282 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:280:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
276 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
277 | /// - transform: A closure to transform the input to a string prompt
278 | public init(
| `- note: add '@available' attribute to enclosing initializer
279 | session: Relay<LanguageModelSession>,
280 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
281 | maxRetries: Int = 3,
282 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:280:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
276 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
277 | /// - transform: A closure to transform the input to a string prompt
278 | public init(
| `- note: add '@available' attribute to enclosing initializer
279 | session: Relay<LanguageModelSession>,
280 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
281 | maxRetries: Int = 3,
282 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:301:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
295 | /// - options: Generation options for controlling output
296 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
297 | public init(
| `- note: add '@available' attribute to enclosing initializer
298 | session: Relay<LanguageModelSession>,
299 | options: GenerationOptions = GenerationOptions(),
300 | maxRetries: Int = 3
301 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
302 | self.sessionSource = .relay(session)
303 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:298:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
295 | /// - options: Generation options for controlling output
296 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
297 | public init(
| `- note: add '@available' attribute to enclosing initializer
298 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
299 | options: GenerationOptions = GenerationOptions(),
300 | maxRetries: Int = 3
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:299:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
295 | /// - options: Generation options for controlling output
296 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
297 | public init(
| `- note: add '@available' attribute to enclosing initializer
298 | session: Relay<LanguageModelSession>,
299 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
300 | maxRetries: Int = 3
301 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:299:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
295 | /// - options: Generation options for controlling output
296 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
297 | public init(
| `- note: add '@available' attribute to enclosing initializer
298 | session: Relay<LanguageModelSession>,
299 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
300 | maxRetries: Int = 3
301 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:299:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
295 | /// - options: Generation options for controlling output
296 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
297 | public init(
| `- note: add '@available' attribute to enclosing initializer
298 | session: Relay<LanguageModelSession>,
299 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
300 | maxRetries: Int = 3
301 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:317:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
314 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
315 | /// - prompt: A closure that builds a Prompt using PromptBuilder
316 | public init(
| `- note: add '@available' attribute to enclosing initializer
317 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
318 | maxRetries: Int = 3,
319 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:319:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
314 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
315 | /// - prompt: A closure that builds a Prompt using PromptBuilder
316 | public init(
| `- note: add '@available' attribute to enclosing initializer
317 | options: GenerationOptions = GenerationOptions(),
318 | maxRetries: Int = 3,
319 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
320 | ) {
321 | self.sessionSource = .context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:319:50: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
314 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
315 | /// - prompt: A closure that builds a Prompt using PromptBuilder
316 | public init(
| `- note: add '@available' attribute to enclosing initializer
317 | options: GenerationOptions = GenerationOptions(),
318 | maxRetries: Int = 3,
319 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
320 | ) {
321 | self.sessionSource = .context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:317:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
314 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
315 | /// - prompt: A closure that builds a Prompt using PromptBuilder
316 | public init(
| `- note: add '@available' attribute to enclosing initializer
317 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
318 | maxRetries: Int = 3,
319 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:317:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
314 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
315 | /// - prompt: A closure that builds a Prompt using PromptBuilder
316 | public init(
| `- note: add '@available' attribute to enclosing initializer
317 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
318 | maxRetries: Int = 3,
319 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:335:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
332 | /// - prompt: A closure that builds a Prompt using PromptBuilder
333 | /// - onStream: A closure that handles each ResponseStream.Snapshot
334 | public init(
| `- note: add '@available' attribute to enclosing initializer
335 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
336 | maxRetries: Int = 3,
337 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:337:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
332 | /// - prompt: A closure that builds a Prompt using PromptBuilder
333 | /// - onStream: A closure that handles each ResponseStream.Snapshot
334 | public init(
| `- note: add '@available' attribute to enclosing initializer
335 | options: GenerationOptions = GenerationOptions(),
336 | maxRetries: Int = 3,
337 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
338 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
339 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:337:50: error: 'Prompt' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
332 | /// - prompt: A closure that builds a Prompt using PromptBuilder
333 | /// - onStream: A closure that handles each ResponseStream.Snapshot
334 | public init(
| `- note: add '@available' attribute to enclosing initializer
335 | options: GenerationOptions = GenerationOptions(),
336 | maxRetries: Int = 3,
337 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
338 | onStream: @escaping (GenerateSnapshot<Out>) async -> Void
339 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:335:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
332 | /// - prompt: A closure that builds a Prompt using PromptBuilder
333 | /// - onStream: A closure that handles each ResponseStream.Snapshot
334 | public init(
| `- note: add '@available' attribute to enclosing initializer
335 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
336 | maxRetries: Int = 3,
337 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:335:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
332 | /// - prompt: A closure that builds a Prompt using PromptBuilder
333 | /// - onStream: A closure that handles each ResponseStream.Snapshot
334 | public init(
| `- note: add '@available' attribute to enclosing initializer
335 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
336 | maxRetries: Int = 3,
337 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:355:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
350 | /// - options: Generation options for controlling output
351 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
352 | public init(
| `- note: add '@available' attribute to enclosing initializer
353 | options: GenerationOptions = GenerationOptions(),
354 | maxRetries: Int = 3
355 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
356 | self.sessionSource = .context
357 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:353:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
350 | /// - options: Generation options for controlling output
351 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
352 | public init(
| `- note: add '@available' attribute to enclosing initializer
353 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
354 | maxRetries: Int = 3
355 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:353:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
350 | /// - options: Generation options for controlling output
351 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
352 | public init(
| `- note: add '@available' attribute to enclosing initializer
353 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
354 | maxRetries: Int = 3
355 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:353:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
:
350 | /// - options: Generation options for controlling output
351 | /// - maxRetries: Maximum number of retries on generation failure (default: 0)
352 | public init(
| `- note: add '@available' attribute to enclosing initializer
353 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
354 | maxRetries: Int = 3
355 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:100:54: error: 'Generable' is only available in watchOS 27.0 or newer
98 | /// For custom @Generable types, PartiallyGenerated has Optional properties.
99 | /// The final complete result is still returned by the `run` method.
100 | public struct Generate<In: Sendable, Out: Sendable & Generable>: Step, @unchecked Sendable {
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing generic struct
101 |
102 | public typealias Input = In
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:556:21: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
553 | public typealias Output = String
554 |
555 | private enum SessionSource: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing enum
556 | case direct(LanguageModelSession)
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
557 | case relay(Relay<LanguageModelSession>)
558 | case context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:557:26: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
553 | public typealias Output = String
554 |
555 | private enum SessionSource: @unchecked Sendable {
| `- note: add '@available' attribute to enclosing enum
556 | case direct(LanguageModelSession)
557 | case relay(Relay<LanguageModelSession>)
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
558 | case context
559 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:562:26: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
560 |
561 | private let sessionSource: SessionSource
562 | private let options: GenerationOptions
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
563 | private let promptBuilder: (In) -> Prompt
564 | private let streamHandler: ((GenerateSnapshot<Output>) async -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:563:40: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
561 | private let sessionSource: SessionSource
562 | private let options: GenerationOptions
563 | private let promptBuilder: (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
564 | private let streamHandler: ((GenerateSnapshot<Output>) async -> Void)?
565 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:564:17: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
562 | private let options: GenerationOptions
563 | private let promptBuilder: (In) -> Prompt
564 | private let streamHandler: ((GenerateSnapshot<Output>) async -> Void)?
| `- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
565 |
566 | private var session: LanguageModelSession {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:566:26: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
564 | private let streamHandler: ((GenerateSnapshot<Output>) async -> Void)?
565 |
566 | private var session: LanguageModelSession {
| | `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing property
567 | switch sessionSource {
568 | case .direct(let session):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:589:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
590 | options: GenerationOptions = GenerationOptions(),
591 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:590:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
590 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
591 | @PromptBuilder prompt: @escaping (In) -> Prompt,
592 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:591:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
590 | options: GenerationOptions = GenerationOptions(),
591 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
592 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
593 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:591:50: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
590 | options: GenerationOptions = GenerationOptions(),
591 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
592 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
593 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:588:12: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| |- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
590 | options: GenerationOptions = GenerationOptions(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:590:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
590 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
591 | @PromptBuilder prompt: @escaping (In) -> Prompt,
592 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:590:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
586 | /// - prompt: A closure that builds a Prompt using PromptBuilder
587 | /// - onStream: A closure that handles each ResponseStream.Snapshot
588 | public init(
| `- note: add '@available' attribute to enclosing initializer
589 | session: LanguageModelSession,
590 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
591 | @PromptBuilder prompt: @escaping (In) -> Prompt,
592 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:606:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
603 | /// - options: Generation options for controlling output
604 | /// - prompt: A closure that builds a Prompt using PromptBuilder
605 | public init(
| `- note: add '@available' attribute to enclosing initializer
606 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
607 | options: GenerationOptions = GenerationOptions(),
608 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:607:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
603 | /// - options: Generation options for controlling output
604 | /// - prompt: A closure that builds a Prompt using PromptBuilder
605 | public init(
| `- note: add '@available' attribute to enclosing initializer
606 | session: LanguageModelSession,
607 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
608 | @PromptBuilder prompt: @escaping (In) -> Prompt
609 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:608:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
603 | /// - options: Generation options for controlling output
604 | /// - prompt: A closure that builds a Prompt using PromptBuilder
605 | public init(
| `- note: add '@available' attribute to enclosing initializer
606 | session: LanguageModelSession,
607 | options: GenerationOptions = GenerationOptions(),
608 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
609 | ) {
610 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:608:50: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
603 | /// - options: Generation options for controlling output
604 | /// - prompt: A closure that builds a Prompt using PromptBuilder
605 | public init(
| `- note: add '@available' attribute to enclosing initializer
606 | session: LanguageModelSession,
607 | options: GenerationOptions = GenerationOptions(),
608 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
609 | ) {
610 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:607:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
603 | /// - options: Generation options for controlling output
604 | /// - prompt: A closure that builds a Prompt using PromptBuilder
605 | public init(
| `- note: add '@available' attribute to enclosing initializer
606 | session: LanguageModelSession,
607 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
608 | @PromptBuilder prompt: @escaping (In) -> Prompt
609 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:607:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
603 | /// - options: Generation options for controlling output
604 | /// - prompt: A closure that builds a Prompt using PromptBuilder
605 | public init(
| `- note: add '@available' attribute to enclosing initializer
606 | session: LanguageModelSession,
607 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
608 | @PromptBuilder prompt: @escaping (In) -> Prompt
609 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:622:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
619 | /// - options: Generation options for controlling output
620 | /// - transform: A closure to transform the input to a string prompt
621 | public init(
| `- note: add '@available' attribute to enclosing initializer
622 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
623 | options: GenerationOptions = GenerationOptions(),
624 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:623:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
619 | /// - options: Generation options for controlling output
620 | /// - transform: A closure to transform the input to a string prompt
621 | public init(
| `- note: add '@available' attribute to enclosing initializer
622 | session: LanguageModelSession,
623 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
624 | transform: @escaping (In) -> String
625 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:623:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
619 | /// - options: Generation options for controlling output
620 | /// - transform: A closure to transform the input to a string prompt
621 | public init(
| `- note: add '@available' attribute to enclosing initializer
622 | session: LanguageModelSession,
623 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
624 | transform: @escaping (In) -> String
625 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:623:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
619 | /// - options: Generation options for controlling output
620 | /// - transform: A closure to transform the input to a string prompt
621 | public init(
| `- note: add '@available' attribute to enclosing initializer
622 | session: LanguageModelSession,
623 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
624 | transform: @escaping (In) -> String
625 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:640:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
635 | /// - session: The LanguageModelSession to use
636 | /// - options: Generation options for controlling output
637 | public init(
| `- note: add '@available' attribute to enclosing initializer
638 | session: LanguageModelSession,
639 | options: GenerationOptions = GenerationOptions()
640 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
641 | self.sessionSource = .direct(session)
642 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:638:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
635 | /// - session: The LanguageModelSession to use
636 | /// - options: Generation options for controlling output
637 | public init(
| `- note: add '@available' attribute to enclosing initializer
638 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
639 | options: GenerationOptions = GenerationOptions()
640 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:639:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
635 | /// - session: The LanguageModelSession to use
636 | /// - options: Generation options for controlling output
637 | public init(
| `- note: add '@available' attribute to enclosing initializer
638 | session: LanguageModelSession,
639 | options: GenerationOptions = GenerationOptions()
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
640 | ) where In: PromptRepresentable {
641 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:639:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
635 | /// - session: The LanguageModelSession to use
636 | /// - options: Generation options for controlling output
637 | public init(
| `- note: add '@available' attribute to enclosing initializer
638 | session: LanguageModelSession,
639 | options: GenerationOptions = GenerationOptions()
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
640 | ) where In: PromptRepresentable {
641 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:639:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
635 | /// - session: The LanguageModelSession to use
636 | /// - options: Generation options for controlling output
637 | public init(
| `- note: add '@available' attribute to enclosing initializer
638 | session: LanguageModelSession,
639 | options: GenerationOptions = GenerationOptions()
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
640 | ) where In: PromptRepresentable {
641 | self.sessionSource = .direct(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:657:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
651 | /// - options: Generation options for controlling output
652 | /// - onStream: A closure that handles each ResponseStream.Snapshot
653 | public init(
| `- note: add '@available' attribute to enclosing initializer
654 | session: LanguageModelSession,
655 | options: GenerationOptions = GenerationOptions(),
656 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
657 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
658 | self.sessionSource = .direct(session)
659 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:654:18: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
651 | /// - options: Generation options for controlling output
652 | /// - onStream: A closure that handles each ResponseStream.Snapshot
653 | public init(
| `- note: add '@available' attribute to enclosing initializer
654 | session: LanguageModelSession,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
655 | options: GenerationOptions = GenerationOptions(),
656 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:655:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
651 | /// - options: Generation options for controlling output
652 | /// - onStream: A closure that handles each ResponseStream.Snapshot
653 | public init(
| `- note: add '@available' attribute to enclosing initializer
654 | session: LanguageModelSession,
655 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
656 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
657 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:653:12: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
651 | /// - options: Generation options for controlling output
652 | /// - onStream: A closure that handles each ResponseStream.Snapshot
653 | public init(
| |- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
654 | session: LanguageModelSession,
655 | options: GenerationOptions = GenerationOptions(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:655:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
651 | /// - options: Generation options for controlling output
652 | /// - onStream: A closure that handles each ResponseStream.Snapshot
653 | public init(
| `- note: add '@available' attribute to enclosing initializer
654 | session: LanguageModelSession,
655 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
656 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
657 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:655:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
651 | /// - options: Generation options for controlling output
652 | /// - onStream: A closure that handles each ResponseStream.Snapshot
653 | public init(
| `- note: add '@available' attribute to enclosing initializer
654 | session: LanguageModelSession,
655 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
656 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
657 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:672:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
669 | /// - options: Generation options for controlling output
670 | /// - prompt: A closure that builds a Prompt using PromptBuilder
671 | public init(
| `- note: add '@available' attribute to enclosing initializer
672 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
673 | options: GenerationOptions = GenerationOptions(),
674 | @PromptBuilder prompt: @escaping (In) -> Prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:673:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
669 | /// - options: Generation options for controlling output
670 | /// - prompt: A closure that builds a Prompt using PromptBuilder
671 | public init(
| `- note: add '@available' attribute to enclosing initializer
672 | session: Relay<LanguageModelSession>,
673 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
674 | @PromptBuilder prompt: @escaping (In) -> Prompt
675 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:674:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
669 | /// - options: Generation options for controlling output
670 | /// - prompt: A closure that builds a Prompt using PromptBuilder
671 | public init(
| `- note: add '@available' attribute to enclosing initializer
672 | session: Relay<LanguageModelSession>,
673 | options: GenerationOptions = GenerationOptions(),
674 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
675 | ) {
676 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:674:50: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
669 | /// - options: Generation options for controlling output
670 | /// - prompt: A closure that builds a Prompt using PromptBuilder
671 | public init(
| `- note: add '@available' attribute to enclosing initializer
672 | session: Relay<LanguageModelSession>,
673 | options: GenerationOptions = GenerationOptions(),
674 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
675 | ) {
676 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:673:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
669 | /// - options: Generation options for controlling output
670 | /// - prompt: A closure that builds a Prompt using PromptBuilder
671 | public init(
| `- note: add '@available' attribute to enclosing initializer
672 | session: Relay<LanguageModelSession>,
673 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
674 | @PromptBuilder prompt: @escaping (In) -> Prompt
675 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:673:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
669 | /// - options: Generation options for controlling output
670 | /// - prompt: A closure that builds a Prompt using PromptBuilder
671 | public init(
| `- note: add '@available' attribute to enclosing initializer
672 | session: Relay<LanguageModelSession>,
673 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
674 | @PromptBuilder prompt: @escaping (In) -> Prompt
675 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:689:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
690 | options: GenerationOptions = GenerationOptions(),
691 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:690:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
690 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
691 | @PromptBuilder prompt: @escaping (In) -> Prompt,
692 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:691:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
690 | options: GenerationOptions = GenerationOptions(),
691 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
692 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
693 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:691:50: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
690 | options: GenerationOptions = GenerationOptions(),
691 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
692 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
693 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:688:12: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| |- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
690 | options: GenerationOptions = GenerationOptions(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:690:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
690 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
691 | @PromptBuilder prompt: @escaping (In) -> Prompt,
692 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:690:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
686 | /// - prompt: A closure that builds a Prompt using PromptBuilder
687 | /// - onStream: A closure that handles each ResponseStream.Snapshot
688 | public init(
| `- note: add '@available' attribute to enclosing initializer
689 | session: Relay<LanguageModelSession>,
690 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
691 | @PromptBuilder prompt: @escaping (In) -> Prompt,
692 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:706:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
703 | /// - options: Generation options for controlling output
704 | /// - transform: A closure to transform the input to a string prompt
705 | public init(
| `- note: add '@available' attribute to enclosing initializer
706 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
707 | options: GenerationOptions = GenerationOptions(),
708 | transform: @escaping (In) -> String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:707:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
703 | /// - options: Generation options for controlling output
704 | /// - transform: A closure to transform the input to a string prompt
705 | public init(
| `- note: add '@available' attribute to enclosing initializer
706 | session: Relay<LanguageModelSession>,
707 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
708 | transform: @escaping (In) -> String
709 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:707:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
703 | /// - options: Generation options for controlling output
704 | /// - transform: A closure to transform the input to a string prompt
705 | public init(
| `- note: add '@available' attribute to enclosing initializer
706 | session: Relay<LanguageModelSession>,
707 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
708 | transform: @escaping (In) -> String
709 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:707:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
703 | /// - options: Generation options for controlling output
704 | /// - transform: A closure to transform the input to a string prompt
705 | public init(
| `- note: add '@available' attribute to enclosing initializer
706 | session: Relay<LanguageModelSession>,
707 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
708 | transform: @escaping (In) -> String
709 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:724:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
719 | /// - session: A Relay to a shared LanguageModelSession
720 | /// - options: Generation options for controlling output
721 | public init(
| `- note: add '@available' attribute to enclosing initializer
722 | session: Relay<LanguageModelSession>,
723 | options: GenerationOptions = GenerationOptions()
724 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
725 | self.sessionSource = .relay(session)
726 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:722:24: error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
719 | /// - session: A Relay to a shared LanguageModelSession
720 | /// - options: Generation options for controlling output
721 | public init(
| `- note: add '@available' attribute to enclosing initializer
722 | session: Relay<LanguageModelSession>,
| `- error: 'LanguageModelSession' is only available in watchOS 27.0 or newer
723 | options: GenerationOptions = GenerationOptions()
724 | ) where In: PromptRepresentable {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:723:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
719 | /// - session: A Relay to a shared LanguageModelSession
720 | /// - options: Generation options for controlling output
721 | public init(
| `- note: add '@available' attribute to enclosing initializer
722 | session: Relay<LanguageModelSession>,
723 | options: GenerationOptions = GenerationOptions()
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
724 | ) where In: PromptRepresentable {
725 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:723:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
719 | /// - session: A Relay to a shared LanguageModelSession
720 | /// - options: Generation options for controlling output
721 | public init(
| `- note: add '@available' attribute to enclosing initializer
722 | session: Relay<LanguageModelSession>,
723 | options: GenerationOptions = GenerationOptions()
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
724 | ) where In: PromptRepresentable {
725 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:723:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
719 | /// - session: A Relay to a shared LanguageModelSession
720 | /// - options: Generation options for controlling output
721 | public init(
| `- note: add '@available' attribute to enclosing initializer
722 | session: Relay<LanguageModelSession>,
723 | options: GenerationOptions = GenerationOptions()
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
724 | ) where In: PromptRepresentable {
725 | self.sessionSource = .relay(session)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:738:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
735 | /// - options: Generation options for controlling output
736 | /// - prompt: A closure that builds a Prompt using PromptBuilder
737 | public init(
| `- note: add '@available' attribute to enclosing initializer
738 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
739 | @PromptBuilder prompt: @escaping (In) -> Prompt
740 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:739:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
735 | /// - options: Generation options for controlling output
736 | /// - prompt: A closure that builds a Prompt using PromptBuilder
737 | public init(
| `- note: add '@available' attribute to enclosing initializer
738 | options: GenerationOptions = GenerationOptions(),
739 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
740 | ) {
741 | self.sessionSource = .context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:739:50: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
735 | /// - options: Generation options for controlling output
736 | /// - prompt: A closure that builds a Prompt using PromptBuilder
737 | public init(
| `- note: add '@available' attribute to enclosing initializer
738 | options: GenerationOptions = GenerationOptions(),
739 | @PromptBuilder prompt: @escaping (In) -> Prompt
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
740 | ) {
741 | self.sessionSource = .context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:738:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
735 | /// - options: Generation options for controlling output
736 | /// - prompt: A closure that builds a Prompt using PromptBuilder
737 | public init(
| `- note: add '@available' attribute to enclosing initializer
738 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
739 | @PromptBuilder prompt: @escaping (In) -> Prompt
740 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:738:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
735 | /// - options: Generation options for controlling output
736 | /// - prompt: A closure that builds a Prompt using PromptBuilder
737 | public init(
| `- note: add '@available' attribute to enclosing initializer
738 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
739 | @PromptBuilder prompt: @escaping (In) -> Prompt
740 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:753:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
750 | /// - prompt: A closure that builds a Prompt using PromptBuilder
751 | /// - onStream: A closure that handles each ResponseStream.Snapshot
752 | public init(
| `- note: add '@available' attribute to enclosing initializer
753 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
754 | @PromptBuilder prompt: @escaping (In) -> Prompt,
755 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:754:10: error: 'PromptBuilder' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
750 | /// - prompt: A closure that builds a Prompt using PromptBuilder
751 | /// - onStream: A closure that handles each ResponseStream.Snapshot
752 | public init(
| `- note: add '@available' attribute to enclosing initializer
753 | options: GenerationOptions = GenerationOptions(),
754 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'PromptBuilder' is only available in watchOS 27.0 or newer
755 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
756 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:754:50: error: 'Prompt' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
750 | /// - prompt: A closure that builds a Prompt using PromptBuilder
751 | /// - onStream: A closure that handles each ResponseStream.Snapshot
752 | public init(
| `- note: add '@available' attribute to enclosing initializer
753 | options: GenerationOptions = GenerationOptions(),
754 | @PromptBuilder prompt: @escaping (In) -> Prompt,
| `- error: 'Prompt' is only available in watchOS 27.0 or newer
755 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
756 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:752:12: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
750 | /// - prompt: A closure that builds a Prompt using PromptBuilder
751 | /// - onStream: A closure that handles each ResponseStream.Snapshot
752 | public init(
| |- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
753 | options: GenerationOptions = GenerationOptions(),
754 | @PromptBuilder prompt: @escaping (In) -> Prompt,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:753:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
750 | /// - prompt: A closure that builds a Prompt using PromptBuilder
751 | /// - onStream: A closure that handles each ResponseStream.Snapshot
752 | public init(
| `- note: add '@available' attribute to enclosing initializer
753 | options: GenerationOptions = GenerationOptions(),
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
754 | @PromptBuilder prompt: @escaping (In) -> Prompt,
755 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:753:38: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
750 | /// - prompt: A closure that builds a Prompt using PromptBuilder
751 | /// - onStream: A closure that handles each ResponseStream.Snapshot
752 | public init(
| `- note: add '@available' attribute to enclosing initializer
753 | options: GenerationOptions = GenerationOptions(),
| `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is only available in watchOS 27.0 or newer
754 | @PromptBuilder prompt: @escaping (In) -> Prompt,
755 | onStream: @escaping (GenerateSnapshot<Output>) async -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:769:17: error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
765 | /// - Parameters:
766 | /// - options: Generation options for controlling output
767 | public init(
| `- note: add '@available' attribute to enclosing initializer
768 | options: GenerationOptions = GenerationOptions()
769 | ) where In: PromptRepresentable {
| `- error: 'PromptRepresentable' is only available in watchOS 27.0 or newer
770 | self.sessionSource = .context
771 | self.options = options
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:768:18: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
765 | /// - Parameters:
766 | /// - options: Generation options for controlling output
767 | public init(
| `- note: add '@available' attribute to enclosing initializer
768 | options: GenerationOptions = GenerationOptions()
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
769 | ) where In: PromptRepresentable {
770 | self.sessionSource = .context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift:768:38: error: 'GenerationOptions' is only available in watchOS 27.0 or newer
548 | /// containing both the content (accumulated String) and the raw `GeneratedContent`.
549 | /// The complete text is still returned by the `run` method.
550 | public struct GenerateText<In: Sendable>: Step, @unchecked Sendable {
| `- note: add '@available' attribute to enclosing generic struct
551 |
552 | public typealias Input = In
:
765 | /// - Parameters:
766 | /// - options: Generation options for controlling output
767 | public init(
| `- note: add '@available' attribute to enclosing initializer
768 | options: GenerationOptions = GenerationOptions()
| `- error: 'GenerationOptions' is only available in watchOS 27.0 or newer
769 | ) where In: PromptRepresentable {
770 | self.sessionSource = .context
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Conversation.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Conversation.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/DeferredTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DeferredTool.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/MapErrorStep.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapErrorStep.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/RetryStep.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RetryStep.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/Step+ErrorHandling.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Step+ErrorHandling.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/StepTimeoutError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StepTimeoutError.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/TimedStep.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TimedStep.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ErrorHandling/Try.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Try.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Event.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Event.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Gate.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Gate.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Generate.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Generate.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardedStep.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GuardedStep.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/Guardrail.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Guardrail.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling Completion.swift (in target 'MCP' from project 'mcp-swift-sdk')
SwiftCompile normal arm64_32 Compiling\ AgentAssignee.swift,\ AgentSessionRunner.swift,\ AgentSessionRunnerConfiguration.swift,\ AgentSessionRunnerError.swift,\ AgentTaskCompleted.swift,\ AgentTaskEnvelope.swift,\ AgentTaskEvent.swift,\ AgentTaskPolicy.swift,\ AgentTaskPriority.swift,\ AgentTaskRelation.swift,\ AgentTaskResult.swift,\ AgentTaskRunEvent.swift,\ AgentTaskStarted.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentAssignee.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunner.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunnerConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunnerError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskCompleted.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskEnvelope.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPriority.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRelation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRunEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskStarted.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentAssignee.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentAssignee.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunner.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentSessionRunner.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunnerConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentSessionRunnerConfiguration.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentSessionRunnerError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentSessionRunnerError.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskCompleted.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskCompleted.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskEnvelope.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskEnvelope.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskEvent.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskEvent.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPolicy.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskPolicy.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskPriority.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskPriority.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRelation.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskRelation.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskResult.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskResult.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskRunEvent.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskRunEvent.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tasks/AgentTaskStarted.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentTaskStarted.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-26 18:21:13.964 xcodebuild[2971:15632] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ MetricsEmittingMiddleware.swift,\ SwiftAgentMetrics.swift,\ Tool+Step.swift,\ ToolSearchTool.swift,\ ToolsBuilder.swift,\ Tracing.swift,\ TranscriptExtensions.swift,\ Transform.swift,\ StdioApprovalHandler.swift,\ StdioConnection.swift,\ StdioLineBuffer.swift,\ StdioLineSource.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Telemetry/MetricsEmittingMiddleware.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Telemetry/SwiftAgentMetrics.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tool+Step.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ToolSearchTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ToolsBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tracing.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/TranscriptExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Transform.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Transport/StdioApprovalHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Transport/StdioConnection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Transport/StdioLineBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Transport/StdioLineSource.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Tool+Step.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/ToolSearchTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/TranscriptExtensions.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 Compiling\ GuardrailBuilder.swift,\ GuardrailConfiguration.swift,\ GuardrailContext.swift,\ GuardrailRule.swift,\ Step+Guardrail.swift,\ AgentConnection.swift,\ AgentConnectionError.swift,\ AgentEventWriter.swift,\ AgentRequestSource.swift,\ AgentSession.swift,\ AgentSessionContext.swift,\ AgentSessionError.swift,\ AgentTurnExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/GuardrailRule.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Guardrail/Step+Guardrail.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentConnection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentConnectionError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentEventWriter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentRequestSource.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentSession.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentSessionContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentSessionError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentTurnExecutor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/IO/AgentSession.swift (in target 'SwiftAgent' from project 'SwiftAgent')
Building workspace SwiftAgent with scheme SwiftAgent-Package
(7 failures)
BUILD FAILURE 6.4 watchOS