The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AGUISwift, reference main (cb462b), with Swift 6.4 for macOS (SPM) on 2 Nov 2026 09:58:34 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/paduh/ag-ui-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/paduh/ag-ui-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cb462bc Merge pull request #31 from paduh/fix/pr-1512-final-review
Cloned https://github.com/paduh/ag-ui-swift.git
Revision (git rev-parse @):
cb462bc4f4364e7e21c0b57d1824e0fd328986c3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/paduh/ag-ui-swift.git at main
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
[236/6195] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin (1.77s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.77s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (10.97s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "ag-ui-swift",
      "name": "AGUISwift",
      "url": "https://github.com/paduh/ag-ui-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ag-ui-swift",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/paduh/ag-ui-swift.git
[1/4380] Fetching ag-ui-swift
Fetched https://github.com/paduh/ag-ui-swift.git (1.40s)
Creating working copy for https://github.com/paduh/ag-ui-swift.git
Working copy of https://github.com/paduh/ag-ui-swift.git resolved at main (cb462bc)
warning: '.resolve-product-dependencies': dependency 'ag-ui-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/paduh/ag-ui-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[40 / 76]
[41 / 77] AGUICore
[51 / 122]
[56 / 122]
[59 / 122]
[60 / 122]
[64 / 122]
[67 / 122]
[69 / 122]
[72 / 122]
[74 / 122]
[75 / 122]
[86 / 122] AGUICore
[87 / 122] AGUICore
[96 / 124] AGUICore
[97 / 124] AGUITools
[108 / 146] AGUIClient
[116 / 146] AGUITools
[125 / 146] AGUIClient
[134 / 147] AGUITools
[135 / 147] AGUIClient
[145 / 158] AGUIAgentSDK
[149 / 158] AGUIClient-product
[155 / 158] AGUIAgentSDK
Build complete! (10.59 sec)
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:88:34: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 86 |
 87 |     /// Shared box updated by the iterator whenever a non-nil SSE `id:` field is seen.
 88 |     private let lastEventIdBox = LastEventIdBox()
    |                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 89 |
 90 |     // MARK: - Public surface
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUITools/Core/ToolExecutionManager.swift:110:21: warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
108 |             let task = Task {
109 |                 do {
110 |                     for try await event in events {
    |                     `- warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
111 |                         continuation.yield(event)
112 |                         await self.handleEvent(event, threadId: threadId, runId: runId)
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:58:35: warning: conformance of 'S' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 56 |             let task = Task {
 57 |                 let transformer = EventTransformer(continuation: continuation)
 58 |                 await transformer.processEvents(events)
    |                                   `- warning: conformance of 'S' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 59 |             }
 60 |             continuation.onTermination = { _ in task.cancel() }
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:80:13: warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 78 |     func processEvents<S: AsyncSequence>(_ events: S) async where S.Element == any AGUIEvent {
 79 |         do {
 80 |             for try await event in events {
    |             `- warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 81 |                 try await handleEvent(event)
 82 |             }
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:88:34: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 86 |
 87 |     /// Shared box updated by the iterator whenever a non-nil SSE `id:` field is seen.
 88 |     private let lastEventIdBox = LastEventIdBox()
    |                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 89 |
 90 |     // MARK: - Public surface
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:196:50: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
194 |                         // when the accompanying data fails to decode.
195 |                         if let id = sseEvent.id {
196 |                             await lastEventIdBox.set(id)
    |                                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
197 |                         }
198 |
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:288:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
286 |
287 |         // Remove from 'from' path
288 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
289 |
290 |         // Add to 'to' path
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AGUISwift",
  "name" : "AGUISwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "AGUICore",
      "targets" : [
        "AGUICore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AGUIClient",
      "targets" : [
        "AGUIClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AGUIAgentSDK",
      "targets" : [
        "AGUIAgentSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AGUITools",
      "targets" : [
        "AGUITools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AGUIToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "AGUIToolsTests",
      "path" : "Tests/AGUIToolsTests",
      "sources" : [
        "AGUIToolsTests.swift",
        "Core/ToolErrorHandlerTests.swift",
        "Core/ToolExecutionContextTests.swift",
        "Core/ToolExecutionManagerTests.swift",
        "Core/ToolExecutionResultTests.swift",
        "Core/ToolExecutorTests.swift",
        "Registry/CircuitBreakerIntegrationTests.swift",
        "Registry/ToolExecutionStatsTests.swift",
        "Registry/ToolRegistryConcurrencyTests.swift",
        "Registry/ToolRegistryTests.swift"
      ],
      "target_dependencies" : [
        "AGUITools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AGUITools",
      "module_type" : "SwiftTarget",
      "name" : "AGUITools",
      "path" : "Sources/AGUITools",
      "product_memberships" : [
        "AGUIAgentSDK",
        "AGUITools"
      ],
      "sources" : [
        "AGUITools.swift",
        "Core/ToolErrorHandler.swift",
        "Core/ToolExecutionContext.swift",
        "Core/ToolExecutionEvent.swift",
        "Core/ToolExecutionManager.swift",
        "Core/ToolExecutionResult.swift",
        "Core/ToolExecutor.swift",
        "Core/ToolResponseHandler.swift",
        "Registry/ToolExecutionStats.swift",
        "Registry/ToolRegistry.swift"
      ],
      "target_dependencies" : [
        "AGUICore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AGUICoreTests",
      "module_type" : "SwiftTarget",
      "name" : "AGUICoreTests",
      "path" : "Tests/AGUICoreTests",
      "sources" : [
        "ActivityEvents/ActivityDeltaEventTests.swift",
        "ActivityEvents/ActivitySnapshotEventTests.swift",
        "Decoding/ThinkingRemapTests.swift",
        "Encoding/MessageEncoderTests.swift",
        "Helpers/AGUIEventDecoderTestHelpers.swift",
        "Helpers/EventDecodingErrorTests.swift",
        "Helpers/EventTestData.swift",
        "LifeCycleEvents/RunErrorEventTests.swift",
        "LifeCycleEvents/RunFinishedEventTests.swift",
        "LifeCycleEvents/RunStartedEventTests.swift",
        "LifeCycleEvents/StepFinishedEventTests.swift",
        "LifeCycleEvents/StepStartedEventTests.swift",
        "ReasoningEvents/ReasoningEncryptedValueEventTests.swift",
        "ReasoningEvents/ReasoningEndEventTests.swift",
        "ReasoningEvents/ReasoningMessageChunkEventTests.swift",
        "ReasoningEvents/ReasoningMessageContentEventTests.swift",
        "ReasoningEvents/ReasoningMessageEndEventTests.swift",
        "ReasoningEvents/ReasoningMessageStartEventTests.swift",
        "ReasoningEvents/ReasoningStartEventTests.swift",
        "SpecialEvents/CustomEventTests.swift",
        "SpecialEvents/RawEventTests.swift",
        "SpecialEvents/UnknownEventTests.swift",
        "StateEvents/MessagesSnapshotEventTests.swift",
        "StateEvents/StateDeltaEventTests.swift",
        "StateEvents/StateSnapshotEventTests.swift",
        "TextMessageEvents/TextMessageChunkEventTests.swift",
        "TextMessageEvents/TextMessageContentEventTests.swift",
        "TextMessageEvents/TextMessageEndEventTests.swift",
        "TextMessageEvents/TextMessageStartEventTests.swift",
        "ToolCallEvents/ToolCallArgsEventTests.swift",
        "ToolCallEvents/ToolCallChunkEventTests.swift",
        "ToolCallEvents/ToolCallEndEventTests.swift",
        "ToolCallEvents/ToolCallResultEventTests.swift",
        "ToolCallEvents/ToolCallStartEventTests.swift",
        "Types/AgentExecution/ContextTests.swift",
        "Types/AgentExecution/RunAgentInputBuilderTests.swift",
        "Types/AgentExecution/RunAgentInputTests.swift",
        "Types/AgentExecution/StateTests.swift",
        "Types/HumanInTheLoop/InterruptTests.swift",
        "Types/HumanInTheLoop/ResumeEntryTests.swift",
        "Types/InputContent/AudioInputContentTests.swift",
        "Types/InputContent/BinaryInputContentTests.swift",
        "Types/InputContent/DocumentInputContentTests.swift",
        "Types/InputContent/ImageInputContentTests.swift",
        "Types/InputContent/InputContentTests.swift",
        "Types/InputContent/VideoInputContentTests.swift",
        "Types/Messages/ActivityMessageTests.swift",
        "Types/Messages/AssistantMessageTests.swift",
        "Types/Messages/DeveloperMessageTests.swift",
        "Types/Messages/MessageTests.swift",
        "Types/Messages/ReasoningMessageTests.swift",
        "Types/Messages/RoleTests.swift",
        "Types/Messages/SystemMessageTests.swift",
        "Types/Messages/ToolMessageTests.swift",
        "Types/Messages/UserMessageTests.swift",
        "Types/Tools/FunctionCallTests.swift",
        "Types/Tools/ToolCallTests.swift",
        "Types/Tools/ToolTests.swift"
      ],
      "target_dependencies" : [
        "AGUICore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AGUICore",
      "module_type" : "SwiftTarget",
      "name" : "AGUICore",
      "path" : "Sources/AGUICore",
      "product_memberships" : [
        "AGUICore",
        "AGUIClient",
        "AGUIAgentSDK",
        "AGUITools"
      ],
      "sources" : [
        "AGUICore.swift",
        "Decoding/AGUIEventDecoder.swift",
        "Decoding/EventDTO/ActivityEventsDTO/ActivityDeltaEventDTO.swift",
        "Decoding/EventDTO/ActivityEventsDTO/ActivitySnapshotEventDTO.swift",
        "Decoding/EventDTO/EventDecodingHelpers.swift",
        "Decoding/EventDTO/LifeCycleEventsDTO/RunErrorEventDTO.swift",
        "Decoding/EventDTO/LifeCycleEventsDTO/RunFinishedEventDTO.swift",
        "Decoding/EventDTO/LifeCycleEventsDTO/RunStartedEventDTO.swift",
        "Decoding/EventDTO/LifeCycleEventsDTO/StepFinishedEventDTO.swift",
        "Decoding/EventDTO/LifeCycleEventsDTO/StepStartedEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningEncryptedValueEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningEndEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningMessageChunkEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningMessageContentEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningMessageEndEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningMessageStartEventDTO.swift",
        "Decoding/EventDTO/ReasoningEventsDTO/ReasoningStartEventDTO.swift",
        "Decoding/EventDTO/SpecialEventsDTO/CustomEventDTO.swift",
        "Decoding/EventDTO/SpecialEventsDTO/RawEventDTO.swift",
        "Decoding/EventDTO/StateEventsDTO/MessagesSnapshotEventDTO.swift",
        "Decoding/EventDTO/StateEventsDTO/StateDeltaEventDTO.swift",
        "Decoding/EventDTO/StateEventsDTO/StateSnapshotEventDTO.swift",
        "Decoding/EventDTO/TextMessageEventsDTO/TextMessageChunkEventDTO.swift",
        "Decoding/EventDTO/TextMessageEventsDTO/TextMessageEndEventDTO.swift",
        "Decoding/EventDTO/ToolCallEventsDTO/ToolCallChunkEventDTO.swift",
        "Decoding/EventDTO/ToolCallEventsDTO/ToolCallEndEventDTO.swift",
        "Decoding/EventDTO/ToolCallEventsDTO/ToolCallResultEventDTO.swift",
        "Decoding/EventDTO/TypeDiscriminator.swift",
        "Decoding/EventDecodingError.swift",
        "Decoding/InputContentDTO/AudioInputContentDTO.swift",
        "Decoding/InputContentDTO/BinaryInputContentDTO.swift",
        "Decoding/InputContentDTO/DocumentInputContentDTO.swift",
        "Decoding/InputContentDTO/ImageInputContentDTO.swift",
        "Decoding/InputContentDTO/TextInputContentDTO.swift",
        "Decoding/InputContentDTO/VideoInputContentDTO.swift",
        "Decoding/MessageDTO/ActivityMessageDTO.swift",
        "Decoding/MessageDTO/MessageDecodingHelpers.swift",
        "Decoding/MessageDTO/ReasoningMessageDTO.swift",
        "Decoding/MessageDTO/ToolMessageDTO.swift",
        "Decoding/MessageDTO/UserMessageDTO.swift",
        "Decoding/MessageDecoder.swift",
        "Decoding/Registry/ActivityEventRegistry.swift",
        "Decoding/Registry/LifecycleEventRegistry.swift",
        "Decoding/Registry/ReasoningEventRegistry.swift",
        "Decoding/Registry/SpecialEventRegistry.swift",
        "Decoding/Registry/StateEventRegistry.swift",
        "Decoding/Registry/TextMessageEventRegistry.swift",
        "Decoding/Registry/ToolCallEventRegistry.swift",
        "Decoding/RegistryComposer.swift",
        "Decoding/ThinkingRemapState.swift",
        "Encoding/MessageEncoder.swift",
        "EventType.swift",
        "Events/AGUIEvent.swift",
        "Events/ActivityEvents/ActivityDeltaEvent.swift",
        "Events/ActivityEvents/ActivitySnapshotEvent.swift",
        "Events/LifeCycleEvents/RunErrorEvent.swift",
        "Events/LifeCycleEvents/RunFinishedEvent.swift",
        "Events/LifeCycleEvents/RunFinishedOutcome.swift",
        "Events/LifeCycleEvents/RunStartedEvent.swift",
        "Events/LifeCycleEvents/StepFinishedEvent.swift",
        "Events/LifeCycleEvents/StepStartedEvent.swift",
        "Events/ReasoningEvents/ReasoningEncryptedValueEvent.swift",
        "Events/ReasoningEvents/ReasoningEndEvent.swift",
        "Events/ReasoningEvents/ReasoningMessageChunkEvent.swift",
        "Events/ReasoningEvents/ReasoningMessageContentEvent.swift",
        "Events/ReasoningEvents/ReasoningMessageEndEvent.swift",
        "Events/ReasoningEvents/ReasoningMessageStartEvent.swift",
        "Events/ReasoningEvents/ReasoningStartEvent.swift",
        "Events/SpecialEvents/CustomEvent.swift",
        "Events/SpecialEvents/RawEvent.swift",
        "Events/StateEvents/MessagesSnapshotEvent.swift",
        "Events/StateEvents/StateDeltaEvent.swift",
        "Events/StateEvents/StateSnapshotEvent.swift",
        "Events/TextMessageEvents/TextMessageChunkEvent.swift",
        "Events/TextMessageEvents/TextMessageContentEvent.swift",
        "Events/TextMessageEvents/TextMessageEndEvent.swift",
        "Events/TextMessageEvents/TextMessageStartEvent.swift",
        "Events/ToolCallEvents/ToolCallArgsEvent.swift",
        "Events/ToolCallEvents/ToolCallChunkEvent.swift",
        "Events/ToolCallEvents/ToolCallEndEvent.swift",
        "Events/ToolCallEvents/ToolCallResultEvent.swift",
        "Events/ToolCallEvents/ToolCallStartEvent.swift",
        "Events/UnknownEvent.swift",
        "Types/AgentExecution/Context.swift",
        "Types/AgentExecution/RunAgentInput.swift",
        "Types/AgentExecution/RunAgentInputBuilder.swift",
        "Types/AgentExecution/State.swift",
        "Types/HumanInTheLoop/Interrupt.swift",
        "Types/HumanInTheLoop/ResumeEntry.swift",
        "Types/InputContent/AudioInputContent.swift",
        "Types/InputContent/BinaryInputContent.swift",
        "Types/InputContent/DocumentInputContent.swift",
        "Types/InputContent/ImageInputContent.swift",
        "Types/InputContent/InputContent.swift",
        "Types/InputContent/TextInputContent.swift",
        "Types/InputContent/VideoInputContent.swift",
        "Types/Messages/ActivityMessage.swift",
        "Types/Messages/AssistantMessage.swift",
        "Types/Messages/DeveloperMessage.swift",
        "Types/Messages/Message.swift",
        "Types/Messages/ReasoningMessage.swift",
        "Types/Messages/Role.swift",
        "Types/Messages/SystemMessage.swift",
        "Types/Messages/ToolMessage.swift",
        "Types/Messages/UserMessage.swift",
        "Types/Tools/FunctionCall.swift",
        "Types/Tools/Tool.swift",
        "Types/Tools/ToolCall.swift",
        "Utilities/JSONCodingHelpers.swift",
        "Utilities/JSONPrimitiveWrapper.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AGUIClientTests",
      "module_type" : "SwiftTarget",
      "name" : "AGUIClientTests",
      "path" : "Tests/AGUIClientTests",
      "sources" : [
        "AGUIClientTests.swift",
        "HttpAgentTests.swift",
        "SseReconnectionTests.swift",
        "State/DefaultApplyEventsTests.swift",
        "State/PatchApplicatorTests.swift",
        "State/StateManagerTests.swift",
        "Streaming/BufferingTests.swift",
        "Streaming/ChunkTransformTests.swift",
        "Streaming/EventStreamTests.swift",
        "Streaming/EventVerifierTests.swift",
        "Streaming/SseParserTests.swift",
        "Subscriber/AgentSubscriberTests.swift",
        "Transport/ClientErrorTests.swift",
        "Transport/HttpAgentConfigurationTests.swift",
        "Transport/HttpTransportTests.swift",
        "Transport/MockHTTPClient.swift",
        "Transport/URLSessionHTTPClientTests.swift"
      ],
      "target_dependencies" : [
        "AGUIClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AGUIClient",
      "module_type" : "SwiftTarget",
      "name" : "AGUIClient",
      "path" : "Sources/AGUIClient",
      "product_memberships" : [
        "AGUIClient",
        "AGUIAgentSDK"
      ],
      "sources" : [
        "AGUIClient.swift",
        "AbstractAgent.swift",
        "Errors/ClientError.swift",
        "HttpAgent.swift",
        "RunAgentParameters.swift",
        "State/AgentState.swift",
        "State/DefaultApplyEvents.swift",
        "State/PatchApplicator.swift",
        "State/StateManager.swift",
        "Streaming/AsyncSequence+Buffering.swift",
        "Streaming/BufferingStrategy.swift",
        "Streaming/ChunkTransformer.swift",
        "Streaming/EventStream.swift",
        "Streaming/EventVerifier.swift",
        "Streaming/SseEvent.swift",
        "Streaming/SseParser.swift",
        "Subscriber/AgentSubscriber.swift",
        "Subscriber/SubscriberManager.swift",
        "Transport/AgentTransport.swift",
        "Transport/HTTPClient.swift",
        "Transport/HttpAgentConfiguration.swift",
        "Transport/HttpAgentTransport.swift",
        "Transport/HttpTransport.swift",
        "Transport/URLSessionHTTPClient.swift"
      ],
      "target_dependencies" : [
        "AGUICore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AGUIAgentSDKTests",
      "module_type" : "SwiftTarget",
      "name" : "AGUIAgentSDKTests",
      "path" : "Tests/AGUIAgentSDKTests",
      "sources" : [
        "AGUIAgentSDKTests.swift",
        "AgUiAgentTests.swift",
        "AgentBuildersTests.swift",
        "AgentMessageTests.swift",
        "AgentViewModelCompatTests.swift",
        "AgentViewModelTests.swift",
        "ConversationHistoryTests.swift",
        "EndToEndPipelineTests.swift",
        "HistoryTrimmingTests.swift",
        "MockChatAgent.swift",
        "Mocks/MockToolRegistry.swift",
        "StatefulAgUiAgentTests.swift"
      ],
      "target_dependencies" : [
        "AGUIAgentSDK",
        "AGUIClient",
        "AGUITools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AGUIAgentSDK",
      "module_type" : "SwiftTarget",
      "name" : "AGUIAgentSDK",
      "path" : "Sources/AGUIAgentSDK",
      "product_memberships" : [
        "AGUIAgentSDK"
      ],
      "sources" : [
        "AGUIAgentSDK.swift",
        "AgUiAgent.swift",
        "AgUiAgentConfig.swift",
        "AgentBuilders.swift",
        "AgentHeaderBuilder.swift",
        "AgentMessage.swift",
        "AgentViewModel.swift",
        "AgentViewModelCompat.swift",
        "ChatAgent.swift",
        "ConversationHistoryManager.swift",
        "StatefulAgUiAgent.swift",
        "StatefulAgUiAgentConfig.swift",
        "Tools/ClientToolResponseHandler.swift"
      ],
      "target_dependencies" : [
        "AGUICore",
        "AGUIClient",
        "AGUITools"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/paduh/ag-ui-swift/main
Repository:               paduh/ag-ui-swift
Swift version used:       6.4
        .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target:                   AGUICore
Extracting symbol information for 'AGUICore'...
Finished extracting symbol information for 'AGUICore'. (1.78s)
Building documentation for 'AGUICore'...
warning: Parameter 'decoder' is missing documentation
   --> Sources/AGUICore/Events/ActivityEvents/ActivityDeltaEvent.swift:102:102-102:102
100 |     /// type that conforms to `Decodable`.
101 |     ///
102 +     /// - Parameter type: The element type to decode the patch array as (must conform to `Decodable`)
    |                                                                                                      ╰─suggestion: Document 'decoder' parameter
103 |     /// - Returns: An array of decoded instances of the specified type
104 |     /// - Throws: A `DecodingError` if the patch cannot be decoded as the specified type
warning: Parameter 'decoder' is missing documentation
   --> Sources/AGUICore/Events/ActivityEvents/ActivitySnapshotEvent.swift:103:90-103:90
101 |     /// type that conforms to `Decodable`.
102 |     ///
103 +     /// - Parameter type: The type to decode the content as (must conform to `Decodable`)
    |                                                                                          ╰─suggestion: Document 'decoder' parameter
104 |     /// - Returns: A decoded instance of the specified type
105 |     /// - Throws: A `DecodingError` if the content cannot be decoded as the specified type
warning: 'ThinkingEndEvent' doesn't exist at '/AGUICore/ReasoningEndEvent'
  --> Sources/AGUICore/Events/ReasoningEvents/ReasoningEndEvent.swift:9:18-9:34
7  | /// This event signals that the agent has completed its internal reasoning process
8  | /// for the message identified by `messageId`. It is the replacement for the
9  + /// deprecated ``ThinkingEndEvent``.
10 | ///
11 | /// - SeeAlso: ``ReasoningStartEvent``, ``ReasoningMessageEndEvent``
warning: 'ThinkingTextMessageContentEvent' doesn't exist at '/AGUICore/ReasoningMessageContentEvent'
  --> Sources/AGUICore/Events/ReasoningEvents/ReasoningMessageContentEvent.swift:9:7-9:38
7  | /// This event delivers an incremental piece of reasoning text during a reasoning
8  | /// message's lifecycle. It is the replacement for the deprecated
9  + /// ``ThinkingTextMessageContentEvent``.
10 | ///
11 | /// - SeeAlso: ``ReasoningMessageStartEvent``, ``ReasoningMessageEndEvent``
warning: 'ThinkingTextMessageEndEvent' doesn't exist at '/AGUICore/ReasoningMessageEndEvent'
  --> Sources/AGUICore/Events/ReasoningEvents/ReasoningMessageEndEvent.swift:8:48-8:75
6  | ///
7  | /// This event marks the completion of a reasoning message within a reasoning phase.
8  + /// It is the replacement for the deprecated ``ThinkingTextMessageEndEvent``.
9  | ///
10 | /// - SeeAlso: ``ReasoningMessageStartEvent``, ``ReasoningMessageContentEvent``
warning: 'ThinkingTextMessageStartEvent' doesn't exist at '/AGUICore/ReasoningMessageStartEvent'
  --> Sources/AGUICore/Events/ReasoningEvents/ReasoningMessageStartEvent.swift:9:18-9:47
7  | /// This event marks the beginning of a reasoning message within a reasoning phase.
8  | /// The `role` field will always be `"reasoning"`. It is the replacement for the
9  + /// deprecated ``ThinkingTextMessageStartEvent``.
10 | ///
11 | /// - SeeAlso: ``ReasoningMessageContentEvent``, ``ReasoningMessageEndEvent``
warning: 'ThinkingStartEvent' doesn't exist at '/AGUICore/ReasoningStartEvent'
  --> Sources/AGUICore/Events/ReasoningEvents/ReasoningStartEvent.swift:9:18-9:36
7  | /// This event signals that the agent has begun its internal reasoning process
8  | /// for the message identified by `messageId`. It is the replacement for the
9  + /// deprecated ``ThinkingStartEvent``.
10 | ///
11 | /// - SeeAlso: ``ReasoningEndEvent``, ``ReasoningMessageStartEvent``
warning: Parameter 'decoder' is missing documentation
   --> Sources/AGUICore/Events/SpecialEvents/CustomEvent.swift:101:87-101:87
99  |     /// type that conforms to `Decodable` for your custom event.
100 |     ///
101 +     /// - Parameter type: The type to decode the data as (must conform to `Decodable`)
    |                                                                                       ╰─suggestion: Document 'decoder' parameter
102 |     /// - Returns: A decoded instance of the specified type
103 |     /// - Throws: A `DecodingError` if the data cannot be decoded as the specified type
warning: Parameter 'decoder' is missing documentation
  --> Sources/AGUICore/Events/SpecialEvents/RawEvent.swift:91:87-91:87
89 |     /// type that conforms to `Decodable`.
90 |     ///
91 +     /// - Parameter type: The type to decode the data as (must conform to `Decodable`)
   |                                                                                       ╰─suggestion: Document 'decoder' parameter
92 |     /// - Returns: A decoded instance of the specified type
93 |     /// - Throws: A `DecodingError` if the data cannot be decoded as the specified type
warning: Parameter 'decoder' is missing documentation
  --> Sources/AGUICore/Events/StateEvents/StateDeltaEvent.swift:86:102-86:102
84 |     /// type that conforms to `Decodable`.
85 |     ///
86 +     /// - Parameter type: The element type to decode the delta array as (must conform to `Decodable`)
   |                                                                                                      ╰─suggestion: Document 'decoder' parameter
87 |     /// - Returns: An array of decoded instances of the specified type
88 |     /// - Throws: A `DecodingError` if the delta cannot be decoded as the specified type
warning: Parameter 'decoder' is missing documentation
  --> Sources/AGUICore/Events/StateEvents/StateSnapshotEvent.swift:78:91-78:91
76 |     /// type that conforms to `Decodable`.
77 |     ///
78 +     /// - Parameter type: The type to decode the snapshot as (must conform to `Decodable`)
   |                                                                                           ╰─suggestion: Document 'decoder' parameter
79 |     /// - Returns: A decoded instance of the specified type
80 |     /// - Throws: A `DecodingError` if the snapshot cannot be decoded as the specified type
warning: 'TextInputContentDTO' doesn't exist at '/AGUICore/InputContent'
  --> Sources/AGUICore/Types/InputContent/InputContent.swift:56:32-56:51
54 | ///
55 | /// InputContent types use the DTO pattern for serialization:
56 + /// - Decoding is handled by ``TextInputContentDTO`` and ``BinaryInputContentDTO``
57 | /// - Encoding is handled by ``UserMessageDTO`` when encoding UserMessage
58 | ///
warning: 'BinaryInputContentDTO' doesn't exist at '/AGUICore/InputContent'
  --> Sources/AGUICore/Types/InputContent/InputContent.swift:56:60-56:81
54 | ///
55 | /// InputContent types use the DTO pattern for serialization:
56 + /// - Decoding is handled by ``TextInputContentDTO`` and ``BinaryInputContentDTO``
57 | /// - Encoding is handled by ``UserMessageDTO`` when encoding UserMessage
58 | ///
warning: 'UserMessageDTO' doesn't exist at '/AGUICore/InputContent'
  --> Sources/AGUICore/Types/InputContent/InputContent.swift:57:32-57:46
55 | /// InputContent types use the DTO pattern for serialization:
56 | /// - Decoding is handled by ``TextInputContentDTO`` and ``BinaryInputContentDTO``
57 + /// - Encoding is handled by ``UserMessageDTO`` when encoding UserMessage
58 | ///
59 | /// - SeeAlso: ``TextInputContent``, ``BinaryInputContent``, ``UserMessage``
Finished building documentation for 'AGUICore' (0.50s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/paduh/ag-ui-swift/main
Building for debugging...
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[31 / 57] SymbolKit
[34 / 57] Snippets
[42 / 57] SymbolKit
[51 / 58] SymbolKit
[57 / 62] SymbolKit
[58 / 62] snippet-extract-product
[60 / 62] snippet-extract-product
Build complete! (2.38 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 11] AGUICore
[14 / 22] AGUICore
[16 / 18] AGUICore
Build complete! (1.54 sec)
Target:                   AGUIClient
Extracting symbol information for 'AGUIClient'...
Finished extracting symbol information for 'AGUIClient'. (1.22s)
Building documentation for 'AGUIClient'...
Finished building documentation for 'AGUIClient' (0.22s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/paduh/ag-ui-swift/main
Building for debugging...
[1 / 11]
Build complete! (0.47 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 11] AGUIClient
[14 / 22] AGUIClient
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:88:34: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 86 |
 87 |     /// Shared box updated by the iterator whenever a non-nil SSE `id:` field is seen.
 88 |     private let lastEventIdBox = LastEventIdBox()
    |                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 89 |
 90 |     // MARK: - Public surface
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:196:50: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
194 |                         // when the accompanying data fails to decode.
195 |                         if let id = sseEvent.id {
196 |                             await lastEventIdBox.set(id)
    |                                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
197 |                         }
198 |
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/EventStream.swift:88:34: warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 86 |
 87 |     /// Shared box updated by the iterator whenever a non-nil SSE `id:` field is seen.
 88 |     private let lastEventIdBox = LastEventIdBox()
    |                                  `- warning: conformance of 'Bytes' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 89 |
 90 |     // MARK: - Public surface
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:58:35: warning: conformance of 'S' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 56 |             let task = Task {
 57 |                 let transformer = EventTransformer(continuation: continuation)
 58 |                 await transformer.processEvents(events)
    |                                   `- warning: conformance of 'S' to protocol 'AsyncSequence' may be isolated and cannot be passed to actor-isolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 59 |             }
 60 |             continuation.onTermination = { _ in task.cancel() }
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/Streaming/ChunkTransformer.swift:80:13: warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 78 |     func processEvents<S: AsyncSequence>(_ events: S) async where S.Element == any AGUIEvent {
 79 |         do {
 80 |             for try await event in events {
    |             `- warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
 81 |                 try await handleEvent(event)
 82 |             }
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
/Users/admin/builder/spi-builder-workspace/Sources/AGUIClient/State/PatchApplicator.swift:288:13: warning: variable 'intermediate' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
286 |
287 |         // Remove from 'from' path
288 |         var intermediate = try applyRemove(path: from, from: state)
    |             `- warning: variable 'intermediate' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
289 |
290 |         // Add to 'to' path
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
[16 / 18] AGUIClient
Build complete! (0.99 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/paduh/ag-ui-swift/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/paduh/ag-ui-swift/main/linkable-paths.json
Target:                   AGUITools
Extracting symbol information for 'AGUITools'...
Finished extracting symbol information for 'AGUITools'. (1.00s)
Building documentation for 'AGUITools'...
Finished building documentation for 'AGUITools' (0.11s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/paduh/ag-ui-swift/main
Building for debugging...
[1 / 11]
Build complete! (0.29 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 11] AGUITools
[14 / 22] AGUITools
[16 / 18] AGUITools
/Users/admin/builder/spi-builder-workspace/Sources/AGUITools/Core/ToolExecutionManager.swift:110:21: warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
108 |             let task = Task {
109 |                 do {
110 |                     for try await event in events {
    |                     `- warning: conformance of 'AsyncIterator' to protocol 'AsyncIteratorProtocol' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
111 |                         continuation.yield(event)
112 |                         await self.handleEvent(event, threadId: threadId, runId: runId)
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
Build complete! (0.78 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/paduh/ag-ui-swift/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/paduh/ag-ui-swift/main/linkable-paths.json
Target:                   AGUIAgentSDK
Extracting symbol information for 'AGUIAgentSDK'...
Finished extracting symbol information for 'AGUIAgentSDK'. (1.14s)
Building documentation for 'AGUIAgentSDK'...
warning: 'ToolExecutionManager' doesn't exist at '/AGUIAgentSDK/AgUiAgentConfig/toolRegistry'
  --> Sources/AGUIAgentSDK/AgUiAgentConfig.swift:90:11-90:31
88 |     /// When set, tool definitions are included in every `RunAgentInput` and
89 |     /// tool calls from the agent are executed automatically via
90 +     /// ``ToolExecutionManager``.
91 |     ///
92 |     /// Default: `nil`
warning: 'ToolExecutionManager' doesn't exist at '/AGUIAgentSDK/AgentBuilders/agentWithTools(url:registry:)'
  --> Sources/AGUIAgentSDK/AgentBuilders.swift:68:52-68:72
66 |     ///
67 |     /// Tool definitions are included in every `RunAgentInput` and tool calls from
68 +     /// the agent are executed automatically via ``ToolExecutionManager``.
69 |     ///
70 |     /// - Parameters:
warning: 'ConversationHistoryManager' doesn't exist at '/AGUIAgentSDK/StatefulAgUiAgent'
  --> Sources/AGUIAgentSDK/StatefulAgUiAgent.swift:62:47-62:73
60 | /// - **Thread Safety**: Actor-based concurrency for safe multi-threaded use
61 | ///
62 + /// - SeeAlso: ``StatefulAgUiAgentConfig``, ``ConversationHistoryManager``
63 | public final class StatefulAgUiAgent: Sendable {
64 |     /// The underlying HTTP agent for communication.
Finished building documentation for 'AGUIAgentSDK' (0.09s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/paduh/ag-ui-swift/main
Building for debugging...
[1 / 11]
Build complete! (0.46 sec)
Building for debugging...
[Planning deferred tasks]
[3 / 11] AGUIAgentSDK
[14 / 22] AGUIAgentSDK
Build complete! (0.90 sec)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/paduh/ag-ui-swift/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/paduh/ag-ui-swift/main/linkable-paths.json
    3010
17	/Users/admin/builder/spi-builder-workspace/.docs/paduh/ag-ui-swift/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/paduh/ag-ui-swift/main
File count: 3010
Doc size:   17.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -paduh-ag-ui-swift-main-44ef0dc9.zip to presigned URL
Starting upload of 3805035 bytes...
Upload completed successfully
Done.