Build Information
Successful build of SwiftAISDK, reference v0.5.1 (c81025), with Swift 6.2 for macOS (SPM) on 1 Dec 2025 20:10:23 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/teunlao/swift-ai-sdk.git
Reference: v0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/teunlao/swift-ai-sdk
* tag v0.5.1 -> FETCH_HEAD
HEAD is now at c81025b fix: add missing EventSourceParser dependency to AISDKProviderUtils
Cloned https://github.com/teunlao/swift-ai-sdk.git
Revision (git rev-parse @):
c81025b053fc87822dd0cef04bfa0af81acdfd91
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/teunlao/swift-ai-sdk.git at v0.5.1
Fetching https://github.com/apple/swift-argument-parser
[1/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (2.12s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
========================================
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",
"dependencies": [
{
"identity": "swift-ai-sdk",
"name": "SwiftAISDK",
"url": "https://github.com/teunlao/swift-ai-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-ai-sdk",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/teunlao/swift-ai-sdk.git
[1/7494] Fetching swift-ai-sdk
Fetched https://github.com/teunlao/swift-ai-sdk.git from cache (1.26s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.62s)
Creating working copy for https://github.com/teunlao/swift-ai-sdk.git
Working copy of https://github.com/teunlao/swift-ai-sdk.git resolved at v0.5.1 (c81025b)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/teunlao/swift-ai-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/44] Write sources
[3/44] Write playground-entitlement.plist
[3/44] Write sources
[40/44] Write swift-version-49B95AFC49DCD68C.txt
[42/126] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/126] Emitting module ArgumentParserToolInfo
[44/172] Emitting module AISDKProvider
[45/180] Emitting module ArgumentParser
[46/184] Compiling ArgumentParser CommandConfiguration.swift
[47/184] Compiling ArgumentParser CommandGroup.swift
[48/184] Compiling ArgumentParser EnumerableFlag.swift
[49/184] Compiling ArgumentParser ExpressibleByArgument.swift
[50/184] Compiling ArgumentParser ParsableArguments.swift
[51/184] Compiling ArgumentParser ArgumentDiscussion.swift
[52/184] Compiling ArgumentParser ArgumentHelp.swift
[53/184] Compiling ArgumentParser ArgumentVisibility.swift
[54/184] Compiling ArgumentParser CompletionKind.swift
[55/184] Compiling ArgumentParser Errors.swift
[56/184] Compiling ArgumentParser InputKey.swift
[57/184] Compiling ArgumentParser InputOrigin.swift
[58/184] Compiling ArgumentParser Name.swift
[59/184] Compiling ArgumentParser Parsed.swift
[60/184] Compiling ArgumentParser ParsedValues.swift
[61/184] Compiling ArgumentParser NonsenseFlagsValidator.swift
[62/184] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/184] Compiling ArgumentParser PositionalArgumentsValidator.swift
[64/184] Compiling ArgumentParser UniqueNamesValidator.swift
[65/184] Compiling ArgumentParser BashCompletionsGenerator.swift
[66/184] Compiling ArgumentParser CompletionsGenerator.swift
[67/184] Compiling ArgumentParser FishCompletionsGenerator.swift
[68/184] Compiling ArgumentParser ZshCompletionsGenerator.swift
[69/184] Compiling ArgumentParser Argument.swift
[70/184] Compiling AISDKProvider SpeechModelV3CallOptions.swift
[71/184] Compiling AISDKProvider SpeechModelV3CallWarning.swift
[72/184] Compiling AISDKProvider TranscriptionModelV2.swift
[73/184] Compiling AISDKProvider TranscriptionModelV2CallOptions.swift
[74/184] Compiling AISDKProvider TranscriptionModelV2CallWarning.swift
[75/184] Compiling AISDKProvider TranscriptionModelV3.swift
[76/184] Compiling AISDKProvider TranscriptionModelV3CallOptions.swift
[77/184] Compiling AISDKProvider TranscriptionModelV3CallWarning.swift
[78/184] Compiling ArgumentParser MessageInfo.swift
[79/184] Compiling ArgumentParser UsageGenerator.swift
[80/184] Compiling ArgumentParser CollectionExtensions.swift
[81/184] Compiling ArgumentParser Mutex.swift
[82/184] Compiling ArgumentParser Platform.swift
[87/184] Compiling EventSourceParser Types.swift
[89/184] Compiling ArgumentParser SequenceExtensions.swift
[90/184] Compiling ArgumentParser StringExtensions.swift
[91/184] Compiling ArgumentParser SwiftExtensions.swift
[92/184] Compiling ArgumentParser Tree.swift
[93/184] Compiling ArgumentParser CodingKeyValidator.swift
[94/184] Compiling ArgumentParser Flag.swift
[95/184] Compiling ArgumentParser NameSpecification.swift
[96/184] Compiling ArgumentParser Option.swift
[97/184] Compiling ArgumentParser OptionGroup.swift
[98/184] Compiling ArgumentParser AsyncParsableCommand.swift
[99/184] Compiling ArgumentParser ParsableCommand.swift
[100/184] Compiling ArgumentParser ArgumentDecoder.swift
[101/184] Compiling ArgumentParser ArgumentDefinition.swift
[102/184] Compiling ArgumentParser ArgumentSet.swift
[103/184] Compiling ArgumentParser CommandParser.swift
[104/184] Compiling ArgumentParser ParserError.swift
[105/184] Emitting module EventSourceParser
[106/184] Compiling EventSourceParser Parser.swift
[107/184] Compiling EventSourceParser Stream.swift
[115/184] Compiling AISDKProvider LanguageModelV3StreamPart.swift
[124/184] Compiling AISDKProvider LanguageModelV3Text.swift
[125/184] Compiling AISDKProvider LanguageModelV3ToolCall.swift
[126/184] Compiling AISDKProvider LanguageModelV3ToolChoice.swift
[127/184] Compiling AISDKProvider LanguageModelV3ToolResult.swift
[128/184] Compiling AISDKProvider ProviderV2.swift
[129/184] Compiling AISDKProvider ProviderV3.swift
[130/184] Compiling AISDKProvider SharedV2Headers.swift
[131/184] Compiling AISDKProvider SharedV2ProviderMetadata.swift
[132/184] Compiling AISDKProvider UnsupportedFunctionalityError.swift
[133/184] Compiling AISDKProvider ImageModelV2.swift
[134/184] Compiling AISDKProvider ImageModelV2CallOptions.swift
[135/184] Compiling AISDKProvider ImageModelV2CallWarning.swift
[136/184] Compiling AISDKProvider ImageModelV3.swift
[137/184] Compiling AISDKProvider ImageModelV3CallOptions.swift
[138/184] Compiling AISDKProvider ImageModelV3CallWarning.swift
[139/184] Compiling AISDKProvider IsJSON.swift
[140/184] Compiling AISDKProvider JSONValue.swift
[141/184] Compiling AISDKProvider SharedV2ProviderOptions.swift
[142/184] Compiling AISDKProvider SharedV3Headers.swift
[143/184] Compiling AISDKProvider SharedV3ProviderMetadata.swift
[144/184] Compiling AISDKProvider SharedV3ProviderOptions.swift
[145/184] Compiling AISDKProvider SpeechModelV2.swift
[146/184] Compiling AISDKProvider SpeechModelV2CallOptions.swift
[147/184] Compiling AISDKProvider SpeechModelV2CallWarning.swift
[148/184] Compiling AISDKProvider SpeechModelV3.swift
[150/184] Compiling ArgumentParser SplitArguments.swift
[151/184] Compiling ArgumentParser DumpHelpGenerator.swift
[152/184] Compiling ArgumentParser HelpCommand.swift
[153/184] Compiling ArgumentParser HelpGenerator.swift
[177/195] Compiling AISDKZodAdapter ValibotToJSONSchema.swift
[178/195] Compiling AISDKZodAdapter PublicBuilders.swift
[179/196] Compiling AISDKZodAdapter ArkTypeToJSONSchema.swift
[180/196] Compiling AISDKZodAdapter EffectToJSONSchema.swift
[184/196] Compiling AISDKZodAdapter JSONValueCompat.swift
[187/196] Emitting module AISDKZodAdapter
[188/196] Compiling AISDKZodAdapter Zod3ToJSONSchema.swift
[189/196] Compiling AISDKZodAdapter Zod3ParseDef.swift
[190/196] Compiling AISDKZodAdapter Zod3Types.swift
[191/196] Compiling AISDKZodAdapter Zod3Options.swift
[192/196] Compiling AISDKZodAdapter ZLikeDSL.swift
[193/196] Compiling AISDKZodAdapter Zod3Parsers.swift
[194/243] Emitting module AISDKProviderUtils
[195/248] Compiling AISDKProviderUtils IsUrlSupported.swift
[196/248] Compiling AISDKProviderUtils JSONValueToFoundation.swift
[197/248] Compiling AISDKProviderUtils LoadAPIKey.swift
[198/248] Compiling AISDKProviderUtils LoadOptionalSetting.swift
[199/248] Compiling AISDKProviderUtils LoadSetting.swift
[200/248] Compiling AISDKProviderUtils SecureJsonParse.swift
/Users/admin/builder/spi-builder-workspace/Sources/AISDKProviderUtils/SplitDataUrl.swift:43:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 | let mediaType = String(dataParts[1])
42 | return (mediaType, base64Content)
43 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 | return (nil, nil)
45 | }
[201/248] Compiling AISDKProviderUtils SplitDataUrl.swift
/Users/admin/builder/spi-builder-workspace/Sources/AISDKProviderUtils/SplitDataUrl.swift:43:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 | let mediaType = String(dataParts[1])
42 | return (mediaType, base64Content)
43 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 | return (nil, nil)
45 | }
[202/248] Compiling AISDKProviderUtils ConvertArrayToAsyncIterable.swift
/Users/admin/builder/spi-builder-workspace/Sources/AISDKProviderUtils/SplitDataUrl.swift:43:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 | let mediaType = String(dataParts[1])
42 | return (mediaType, base64Content)
43 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 | return (nil, nil)
45 | }
[203/248] Compiling AISDKProviderUtils ConvertArrayToReadableStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/AISDKProviderUtils/SplitDataUrl.swift:43:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 | let mediaType = String(dataParts[1])
42 | return (mediaType, base64Content)
43 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 | return (nil, nil)
45 | }
[204/248] Compiling AISDKProviderUtils ConvertAsyncIterableToArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/AISDKProviderUtils/SplitDataUrl.swift:43:7: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
41 | let mediaType = String(dataParts[1])
42 | return (mediaType, base64Content)
43 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
44 | return (nil, nil)
45 | }
[205/248] Compiling AISDKProviderUtils ExtractResponseHeaders.swift
[206/248] Compiling AISDKProviderUtils FetchFunction.swift
[207/248] Compiling AISDKProviderUtils GenerateID.swift
[208/248] Compiling AISDKProviderUtils GetErrorMessage.swift
[209/248] Compiling AISDKProviderUtils GetFromAPI.swift
[210/248] Compiling AISDKProviderUtils ParseProviderOptions.swift
[211/248] Compiling AISDKProviderUtils PostToAPI.swift
[212/248] Compiling AISDKProviderUtils ProviderDefinedToolFactory.swift
[213/248] Compiling AISDKProviderUtils ProviderHTTPResponse.swift
[214/248] Compiling AISDKProviderUtils RemoveUndefinedEntries.swift
[215/248] Compiling AISDKProviderUtils ValidateTypes.swift
[216/248] Compiling AISDKProviderUtils Version.swift
[217/248] Compiling AISDKProviderUtils SDKReleaseVersion.swift
[218/248] Compiling AISDKProviderUtils WithUserAgentSuffix.swift
[219/248] Compiling AISDKProviderUtils WithoutTrailingSlash.swift
[220/248] Compiling AISDKProviderUtils MediaTypeToExtension.swift
[221/248] Compiling AISDKProviderUtils ModelMessage.swift
[222/248] Compiling AISDKProviderUtils MultipartFormDataBuilder.swift
[223/248] Compiling AISDKProviderUtils ParseJSON.swift
[224/248] Compiling AISDKProviderUtils ParseJsonEventStream.swift
[225/248] Compiling AISDKProviderUtils CombineHeaders.swift
[226/248] Compiling AISDKProviderUtils ContentPart.swift
[227/248] Compiling AISDKProviderUtils ConvertAsyncIteratorToReadableStream.swift
[228/248] Compiling AISDKProviderUtils DataContent.swift
[229/248] Compiling AISDKProviderUtils Delay.swift
[230/248] Compiling AISDKProviderUtils ExecuteTool.swift
[231/248] Compiling AISDKProviderUtils GetRuntimeEnvironmentUserAgent.swift
[232/248] Compiling AISDKProviderUtils HandleFetchError.swift
[233/248] Compiling AISDKProviderUtils InjectJSONInstructionIntoMessages.swift
[234/248] Compiling AISDKProviderUtils IsAbortError.swift
[235/248] Compiling AISDKProviderUtils IsAsyncIterable.swift
[236/248] Compiling AISDKProviderUtils Resolve.swift
[237/248] Compiling AISDKProviderUtils ResponseHandler.swift
[238/248] Compiling AISDKProviderUtils JSONSchemaValidator.swift
[239/248] Compiling AISDKProviderUtils Schema.swift
[240/248] Compiling AISDKProviderUtils ZodAdapters.swift
[241/248] Compiling AISDKProviderUtils ConvertReadableStreamToArray.swift
[242/248] Compiling AISDKProviderUtils ConvertResponseStreamToArray.swift
[243/248] Compiling AISDKProviderUtils TestSupportIndex.swift
[244/248] Compiling AISDKProviderUtils Tool.swift
[245/248] Compiling AISDKProviderUtils Uint8Utils.swift
[246/380] Compiling GroqProvider GroqVersion.swift
[247/381] Compiling ReplicateProvider ReplicateVersion.swift
[248/381] Compiling LumaProvider LumaVersion.swift
[249/381] Compiling HumeProvider HumeVersion.swift
[250/381] Compiling ReplicateProvider ReplicateImageModelId.swift
[251/381] Compiling ReplicateProvider ReplicateProvider.swift
[252/381] Compiling HuggingFaceProvider HuggingFaceVersion.swift
[253/382] Compiling PerplexityProvider PerplexityVersion.swift
[254/382] Compiling GroqProvider GroqResponseMetadata.swift
[255/382] Compiling LMNTProvider LMNTVersion.swift
[256/382] Compiling MistralProvider MistralResponseMetadata.swift
[257/383] Compiling GroqProvider MapGroqFinishReason.swift
[258/383] Compiling LumaProvider LumaImageSettings.swift
[259/383] Compiling HuggingFaceProvider HuggingFaceResponsesModelId.swift
[260/383] Compiling LMNTProvider LMNTSpeechModelId.swift
[261/383] Compiling HuggingFaceProvider HuggingFaceResponsesPrepareTools.swift
[262/383] Compiling HuggingFaceProvider HuggingFaceResponsesProviderOptions.swift
[263/383] Compiling MistralProvider MistralError.swift
[264/383] Compiling MistralProvider MistralModelIds.swift
[265/383] Compiling LMNTProvider LMNTProvider.swift
[266/383] Compiling GroqProvider GroqBrowserSearchTool.swift
[267/383] Compiling LumaProvider LumaProvider.swift
[268/383] Compiling LumaProvider LumaModelIds.swift
[269/383] Emitting module PerplexityProvider
[270/383] Compiling PerplexityProvider ConvertToPerplexityMessages.swift
[271/383] Compiling PerplexityProvider PerplexityProvider.swift
[272/383] Compiling HumeProvider HumeModelIds.swift
[273/383] Compiling HumeProvider HumeProvider.swift
[274/383] Compiling HuggingFaceProvider HuggingFaceProvider.swift
[275/383] Compiling PerplexityProvider MapPerplexityFinishReason.swift
[276/383] Compiling HumeProvider HumeConfig.swift
[277/383] Emitting module HumeProvider
[278/383] Compiling HumeProvider HumeError.swift
[279/383] Compiling HuggingFaceProvider ConvertToHuggingFaceResponsesMessages.swift
[280/383] Compiling MistralProvider MistralVersion.swift
[281/383] Emitting module LumaProvider
[282/383] Compiling MistralProvider MistralProvider.swift
[283/383] Compiling MistralProvider MistralPrepareTools.swift
[284/383] Compiling MistralProvider MistralProviderOptions.swift
[285/383] Compiling PerplexityProvider PerplexityPrompt.swift
[286/383] Compiling PerplexityProvider PerplexityModelIds.swift
[287/383] Emitting module LMNTProvider
[288/383] Compiling LMNTProvider LMNTError.swift
[289/383] Compiling HuggingFaceProvider HuggingFaceConfig.swift
[290/383] Compiling HuggingFaceProvider MapHuggingFaceResponsesFinishReason.swift
[291/383] Compiling HuggingFaceProvider HuggingFaceError.swift
[292/383] Emitting module HuggingFaceProvider
[293/383] Compiling HumeProvider HumeSpeechAPITypes.swift
[294/383] Compiling OpenAIProvider OpenAICompletionAPI.swift
[295/383] Compiling OpenAIProvider OpenAICompletionFinishReason.swift
[296/383] Compiling OpenAIProvider OpenAIChatPrepareTools.swift
[297/383] Compiling OpenAIProvider OpenAIChatPrompt.swift
[298/384] Compiling GroqProvider GroqProviderOptions.swift
[299/384] Compiling ReplicateProvider ReplicateError.swift
[300/384] Emitting module ReplicateProvider
[301/384] Compiling ReplicateProvider ReplicateImageModel.swift
[302/384] Compiling OpenAIProvider OpenAIChatLanguageModel.swift
[303/384] Compiling OpenAIProvider OpenAIChatOptions.swift
[304/384] Compiling OpenAICompatibleProvider OpenAICompatibleProvider.swift
[307/384] Compiling MistralProvider MistralEmbeddingModel.swift
[308/384] Emitting module MistralProvider
[309/405] Compiling LMNTProvider LMNTSpeechModel.swift
[310/405] Emitting module OpenAICompatibleProvider
[311/405] Compiling OpenAICompatibleProvider OpenAICompatibleVersion.swift
[312/405] Compiling GoogleProvider GoogleModelIds.swift
[313/405] Compiling GoogleProvider GooglePrepareTools.swift
[314/405] Compiling GoogleProvider GoogleProvider.swift
[315/405] Compiling GoogleProvider GoogleGenerativeAIImageSettings.swift
[316/405] Compiling LumaProvider LumaError.swift
[317/405] Compiling LumaProvider LumaImageModel.swift
[318/432] Compiling GroqProvider GroqTools.swift
[319/432] Compiling GroqProvider GroqTranscriptionModel.swift
[320/432] Compiling HumeProvider HumeSpeechModel.swift
[321/443] Compiling GatewayProvider GatewayInvalidRequestError.swift
[322/443] Compiling GatewayProvider GatewayLanguageModel.swift
[325/443] Compiling GatewayProvider GatewayModelEntry.swift
[326/443] Compiling GatewayProvider GatewayModelIds.swift
[327/443] Compiling GatewayProvider GatewayModelNotFoundError.swift
[328/447] Compiling GatewayProvider GatewayProvider.swift
[329/447] Compiling GatewayProvider GatewayProviderOptions.swift
[330/447] Compiling GatewayProvider GatewayRateLimitError.swift
[331/447] Compiling GatewayProvider GatewayResponseError.swift
[332/447] Compiling GoogleProvider GoogleGenerativeAIEmbeddingProviderOptions.swift
[335/449] Compiling PerplexityProvider PerplexityError.swift
[336/449] Compiling PerplexityProvider PerplexityLanguageModel.swift
[337/459] Compiling GatewayProvider GatewayVersion.swift
[338/459] Compiling GatewayProvider ParseAuthMethod.swift
[339/459] Compiling OpenAIProvider OpenAISpeechAPI.swift
[340/459] Compiling OpenAIProvider OpenAISpeechModel.swift
[341/459] Compiling OpenAIProvider OpenAISpeechOptions.swift
[342/459] Compiling OpenAIProvider OpenAICodeInterpreterTool.swift
[343/459] Compiling OpenAIProvider OpenAIFileSearchTool.swift
[344/459] Compiling OpenAIProvider OpenAIImageGenerationTool.swift
[345/459] Compiling OpenAIProvider OpenAILocalShellTool.swift
[346/459] Compiling OpenAIProvider OpenAIWebSearchPreviewTool.swift
[347/459] Compiling GatewayProvider GatewayFetchMetadata.swift
[348/459] Compiling GatewayProvider GatewayInternalServerError.swift
[349/459] Compiling OpenAIProvider OpenAIResponsesOptions.swift
[350/459] Compiling OpenAIProvider OpenAIResponsesPrepareTools.swift
[351/459] Compiling OpenAIProvider OpenAIResponsesRequestBody.swift
[352/459] Compiling OpenAIProvider OpenAITools.swift
[353/459] Compiling OpenAIProvider OpenAIVersion.swift
[354/459] Compiling FalProvider FalModelIds.swift
[355/459] Compiling FalProvider FalTranscriptionOptions.swift
[356/459] Compiling FalProvider FalSpeechOptions.swift
[357/459] Compiling FalProvider FalProvider.swift
[358/459] Compiling FalProvider FalError.swift
[359/459] Compiling FalProvider FalSpeechModel.swift
[360/459] Compiling FalProvider FalImageModel.swift
[361/459] Emitting module FalProvider
[362/459] Compiling FalProvider FalTranscriptionModel.swift
[363/459] Compiling FalProvider FalApiTypes.swift
[364/459] Compiling FalProvider FalConfig.swift
[365/460] Compiling ElevenLabsProvider ElevenLabsVersion.swift
[366/460] Compiling GatewayProvider GatewayConfig.swift
[367/460] Compiling GatewayProvider GatewayEmbeddingModel.swift
[368/460] Compiling GatewayProvider GatewayErrorHandling.swift
[371/460] Compiling FalProvider FalVersion.swift
[372/460] Compiling HuggingFaceProvider HuggingFaceResponsesLanguageModel.swift
[373/460] Compiling MistralProvider MistralChatLanguageModel.swift
[376/460] Compiling ElevenLabsProvider ElevenLabsTranscriptionModel.swift
[377/460] Compiling ElevenLabsProvider ElevenLabsTranscriptionOptions.swift
[378/460] Compiling ElevenLabsProvider ElevenLabsModelIds.swift
[379/460] Compiling ElevenLabsProvider ElevenLabsSpeechOptions.swift
[380/460] Compiling ElevenLabsProvider ElevenLabsProvider.swift
[381/460] Compiling ElevenLabsProvider ElevenLabsConfig.swift
[382/460] Compiling ElevenLabsProvider ElevenLabsError.swift
[383/460] Compiling ElevenLabsProvider ElevenLabsSpeechModel.swift
[384/460] Emitting module ElevenLabsProvider
[387/460] Emitting module GroqProvider
[400/460] Compiling GatewayProvider AsGatewayError.swift
[401/460] Compiling GatewayProvider ExtractApiCallResponse.swift
[402/460] Compiling GatewayProvider GatewayAuthenticationError.swift
[403/460] Emitting module GatewayProvider
[406/508] Compiling AnthropicProvider AnthropicMessagesLanguageModel.swift
[407/508] Compiling AnthropicProvider AnthropicModelIds.swift
[408/508] Compiling AnthropicProvider AnthropicPrepareTools.swift
[409/508] Compiling AnthropicProvider AnthropicProvider.swift
[410/525] Compiling AssemblyAIProvider AssemblyAIVersion.swift
[411/525] Compiling AnthropicProvider AnthropicTextEditorTools.swift
[412/526] Compiling OpenAIProvider OpenAIWebSearchTool.swift
[413/526] Compiling OpenAIProvider OpenAITranscriptionAPI.swift
[414/526] Compiling OpenAIProvider OpenAITranscriptionModel.swift
[415/526] Compiling OpenAIProvider OpenAITranscriptionOptions.swift
[416/526] Compiling FireworksProvider FireworksVersion.swift
[417/526] Compiling GladiaProvider GladiaTranscriptionOptions.swift
[418/526] Compiling GladiaProvider GladiaConfig.swift
[419/526] Compiling GladiaProvider GladiaError.swift
[420/526] Compiling GladiaProvider GladiaTranscriptionModel.swift
[421/526] Compiling GladiaProvider GladiaVersion.swift
[422/526] Emitting module GladiaProvider
[423/526] Compiling GladiaProvider GladiaProvider.swift
[424/526] Compiling AnthropicProvider GetCacheControl.swift
[425/526] Compiling AnthropicProvider MapAnthropicStopReason.swift
[426/526] Emitting module FireworksProvider
[427/526] Compiling AISDKJSONSchema JSONSchemaGenerator.swift
[428/526] Compiling AISDKJSONSchema FlexibleSchema+Auto.swift
[429/526] Compiling CohereProvider CoherePrepareTools.swift
[430/526] Compiling CohereProvider ConvertToCohereChatPrompt.swift
[431/526] Compiling CohereProvider CohereError.swift
[432/526] Compiling CohereProvider CohereProvider.swift
[433/526] Compiling CohereProvider CohereEmbeddingOptions.swift
[434/526] Compiling CohereProvider CohereVersion.swift
[435/526] Compiling CohereProvider CohereModelIds.swift
[436/527] Compiling AnthropicProvider AnthropicBashTool.swift
[437/527] Compiling AnthropicProvider AnthropicCodeExecutionTool.swift
[438/527] Compiling AnthropicProvider AnthropicComputerTool.swift
[439/527] Compiling AnthropicProvider AnthropicTextEditor20250728.swift
[440/527] Compiling FireworksProvider FireworksProvider.swift
[441/532] Compiling FireworksProvider FireworksModelIds.swift
[442/532] Compiling DeepgramProvider DeepgramTranscriptionOptions.swift
[443/532] Compiling DeepgramProvider DeepgramVersion.swift
[444/532] Compiling FireworksProvider FireworksError.swift
[445/532] Compiling FireworksProvider FireworksImageModel.swift
[448/537] Compiling CohereProvider MapCohereFinishReason.swift
[449/537] Compiling DeepgramProvider DeepgramProvider.swift
[450/537] Compiling DeepgramProvider DeepgramModelIds.swift
[451/537] Compiling DeepgramProvider DeepgramError.swift
[452/537] Compiling DeepgramProvider DeepgramTranscriptionModel.swift
[453/537] Emitting module DeepgramProvider
[454/537] Emitting module OpenAIProvider
[455/537] Compiling XAIProvider ConvertToXAIChatMessages.swift
[456/537] Compiling XAIProvider MapXAIFinishReason.swift
[459/537] Compiling AnthropicProvider AnthropicError.swift
[460/537] Compiling AnthropicProvider AnthropicTools.swift
[473/537] Compiling AnthropicProvider AnthropicVersion.swift
[474/537] Compiling AnthropicProvider ConvertToAnthropicMessagesPrompt.swift
[476/537] Compiling AnthropicProvider AnthropicMessagesAPI.swift
[477/537] Compiling AnthropicProvider AnthropicProviderOptions.swift
[478/537] Emitting module GoogleProvider
[481/539] Emitting module AISDKJSONSchema
[482/539] Compiling AISDKJSONSchema DefaultValueFactory.swift
[483/544] Emitting module DeepSeekProvider
[484/544] Compiling DeepSeekProvider DeepSeekMetadataExtractor.swift
[485/544] Compiling DeepSeekProvider DeepSeekVersion.swift
[486/544] Compiling DeepSeekProvider DeepSeekProvider.swift
[487/544] Compiling DeepSeekProvider DeepSeekChatModelId.swift
[488/551] Compiling DeepInfraProvider DeepInfraProvider.swift
[489/551] Compiling DeepInfraProvider DeepInfraVersion.swift
[490/732] Compiling SwiftAISDK CollectToolApprovals.swift
[491/732] Compiling SwiftAISDK ExecuteToolCall.swift
[492/732] Compiling SwiftAISDK ExecuteTools.swift
[493/732] Compiling SwiftAISDK ExtractReasoningContent.swift
[494/732] Compiling SwiftAISDK ExtractTextContent.swift
[495/732] Compiling SwiftAISDK GenerateSpeech.swift
[496/732] Compiling SwiftAISDK GenerateSpeechResult.swift
[497/732] Compiling SwiftAISDK GeneratedAudioFile.swift
[498/732] Compiling SwiftAISDK Index.swift
[499/732] Compiling SwiftAISDK ApprovalAction.swift
[500/732] Compiling AssemblyAIProvider AssemblyAITranscriptionModelId.swift
[501/732] Compiling AssemblyAIProvider AssemblyAITranscriptionModel.swift
[502/732] Compiling SwiftAISDK EmbedResult.swift
[503/732] Compiling SwiftAISDK EmbedShared.swift
[504/732] Compiling SwiftAISDK InvalidToolInputError.swift
[505/732] Compiling SwiftAISDK MCPClientError.swift
[506/732] Emitting module AssemblyAIProvider
[507/732] Compiling AssemblyAIProvider AssemblyAIProvider.swift
[508/732] Compiling AssemblyAIProvider AssemblyAIError.swift
[509/732] Compiling AssemblyAIProvider AssemblyAITranscriptionOptions.swift
[510/732] Compiling BasetenProvider BasetenVersion.swift
[513/745] Compiling DeepInfraProvider DeepInfraImageModel.swift
[514/745] Emitting module DeepInfraProvider
[515/745] Compiling DeepInfraProvider DeepInfraModelIds.swift
[516/745] Compiling CerebrasProvider CerebrasError.swift
[517/745] Compiling CerebrasProvider CerebrasProvider.swift
[518/745] Emitting module CerebrasProvider
[519/745] Compiling CerebrasProvider CerebrasVersion.swift
[520/745] Compiling CerebrasProvider CerebrasChatModelId.swift
[521/745] Compiling XAIProvider XAIPrepareTools.swift
[522/745] Compiling XAIProvider XAIProviderOptions.swift
[523/745] Compiling XAIProvider XAIChatPrompt.swift
[524/745] Compiling XAIProvider XAIResponseMetadata.swift
[525/745] Compiling XAIProvider XAIProvider.swift
[526/745] Compiling XAIProvider XAIModelIds.swift
[527/745] Compiling XAIProvider XAIError.swift
[528/746] Compiling BasetenProvider BasetenProvider.swift
[529/746] Compiling BasetenProvider BasetenEmbeddingModelId.swift
[530/746] Compiling BasetenProvider BasetenError.swift
[531/746] Compiling AzureProvider AzureVersion.swift
[532/746] Compiling GoogleVertexProvider GoogleVertexVersion.swift
[533/746] Compiling GoogleVertexProvider GoogleVertexTools.swift
[534/746] Compiling XAIProvider XAIVersion.swift
[535/746] Compiling BasetenProvider BasetenChatModelId.swift
[536/746] Emitting module BasetenProvider
[537/746] Compiling BasetenProvider BasetenEmbeddingModel.swift
[538/746] Compiling AnthropicProvider AnthropicWebTools.swift
[539/746] Compiling GoogleVertexProvider GoogleVertexProvider.swift
[540/746] Compiling AzureProvider AzureTools.swift
[541/746] Emitting module AzureProvider
[542/746] Compiling AzureProvider AzureProvider.swift
[543/746] Compiling GoogleVertexProvider GoogleVertexModelIds.swift
[544/746] Compiling GoogleVertexProvider GoogleVertexError.swift
[545/746] Emitting module GoogleVertexProvider
[546/746] Compiling GoogleVertexProvider GoogleVertexEmbeddingOptions.swift
[547/746] Compiling GoogleVertexProvider GoogleVertexEmbeddingModel.swift
[548/746] Compiling GoogleVertexProvider GoogleVertexImageModel.swift
[549/746] Emitting module XAIProvider
[550/746] Compiling SwiftAISDK Agent.swift
[551/746] Compiling SwiftAISDK AgentInference.swift
[552/746] Compiling XAIProvider XAIChatLanguageModel.swift
[553/746] Emitting module CohereProvider
[558/746] Compiling SwiftAISDK AgentSettings.swift
[559/746] Compiling SwiftAISDK Embed.swift
[560/746] Emitting module AnthropicProvider
[561/746] Compiling SwiftAISDK EmbedMany.swift
[562/746] Compiling SwiftAISDK EmbedManyResult.swift
[563/761] Compiling AmazonBedrockProvider BedrockProvider.swift
[564/761] Compiling AmazonBedrockProvider BedrockPrepareTools.swift
[565/761] Compiling AmazonBedrockProvider BedrockSigV4Fetch.swift
[566/761] Compiling AmazonBedrockProvider ConvertToBedrockChatMessages.swift
[567/761] Compiling AmazonBedrockProvider BedrockImageSettings.swift
[568/761] Compiling AmazonBedrockProvider BedrockModelIds.swift
[571/762] Compiling AmazonBedrockProvider BedrockEventStreamResponseHandler.swift
[572/762] Compiling AmazonBedrockProvider BedrockImageModel.swift
[573/762] Compiling AmazonBedrockProvider BedrockEmbeddingOptions.swift
[574/762] Compiling AmazonBedrockProvider BedrockError.swift
[575/762] Compiling AmazonBedrockProvider BedrockChatOptions.swift
[576/762] Compiling AmazonBedrockProvider BedrockEmbeddingModel.swift
[577/762] Compiling AmazonBedrockProvider AmazonBedrockVersion.swift
[578/762] Compiling AmazonBedrockProvider BedrockChatLanguageModel.swift
[581/762] Compiling SwiftAISDK MessageConversionError.swift
[582/762] Compiling SwiftAISDK NoImageGeneratedError.swift
[583/762] Compiling SwiftAISDK NoObjectGeneratedError.swift
[584/762] Compiling SwiftAISDK NoOutputGeneratedError.swift
[585/762] Compiling SwiftAISDK NoOutputSpecifiedError.swift
[586/762] Compiling SwiftAISDK NoSpeechGeneratedError.swift
[587/762] Compiling SwiftAISDK NoSuchToolError.swift
[588/762] Compiling SwiftAISDK NoTranscriptGeneratedError.swift
[589/781] Compiling AmazonBedrockProvider MapBedrockFinishReason.swift
[590/781] Compiling SwiftAISDK ValidateUIMessages.swift
[591/781] Compiling SwiftAISDK CreateUIMessageStream.swift
[592/781] Compiling SwiftAISDK CreateUIMessageStreamResponse.swift
[593/781] Compiling SwiftAISDK GetResponseUIMessageID.swift
[594/781] Compiling SwiftAISDK HandleUIMessageStreamFinish.swift
[595/781] Compiling SwiftAISDK JsonToSSETransformStream.swift
[596/781] Compiling SwiftAISDK ReadUIMessageStream.swift
[597/781] Compiling SwiftAISDK TeeAsyncThrowingStream.swift
[598/781] Compiling SwiftAISDK UIMessageChunkEncoding.swift
[599/781] Compiling SwiftAISDK UIMessageStreamOnFinishCallback.swift
[600/781] Compiling SwiftAISDK UIMessageChunks.swift
[601/781] Compiling SwiftAISDK UIMessageStreamHeaders.swift
[602/781] Compiling SwiftAISDK UIMessageStreamWriter.swift
[603/781] Compiling SwiftAISDK AsArray.swift
[604/781] Compiling SwiftAISDK ConsumeStream.swift
[605/781] Compiling SwiftAISDK CosineSimilarity.swift
[606/781] Compiling SwiftAISDK CreateResolvablePromise.swift
[607/781] Compiling SwiftAISDK DelayedPromise.swift
[608/781] Compiling SwiftAISDK DetectMediaType.swift
[609/781] Compiling SwiftAISDK Download.swift
[610/781] Compiling SwiftAISDK TypedTool.swift
[611/781] Compiling SwiftAISDK Transcribe.swift
[612/781] Compiling SwiftAISDK TranscribeResult.swift
[613/781] Compiling SwiftAISDK EmbeddingModel.swift
[614/781] Compiling SwiftAISDK ImageModel.swift
[615/781] Compiling SwiftAISDK ImageModelResponseMetadata.swift
[616/781] Compiling SwiftAISDK LanguageModel.swift
[617/781] Compiling SwiftAISDK LanguageModelRequestMetadata.swift
[618/781] Compiling SwiftAISDK LanguageModelResponseMetadata.swift
[619/781] Compiling SwiftAISDK ProviderMetadata.swift
[620/781] Compiling SwiftAISDK SpeechModel.swift
[621/781] Compiling SwiftAISDK SpeechModelResponseMetadata.swift
[622/781] Compiling SwiftAISDK TranscriptionModel.swift
[623/781] Compiling SwiftAISDK TranscriptionModelResponseMetadata.swift
[624/781] Compiling SwiftAISDK Usage.swift
[625/781] Compiling SwiftAISDK ConvertToModelMessages.swift
[626/781] Compiling SwiftAISDK ProcessUIMessageStream.swift
[627/781] Compiling SwiftAISDK TransformFullToUIMessageStream.swift
[628/781] Compiling SwiftAISDK TransformTextToUIMessageStream.swift
[629/781] Compiling SwiftAISDK UIMessage.swift
[630/781] Emitting module SwiftAISDK
[639/781] Emitting module AmazonBedrockProvider
[640/781] Compiling SwiftAISDK DownloadError.swift
[641/781] Compiling SwiftAISDK DownloadFunction.swift
[642/781] Compiling SwiftAISDK ErrorHandler.swift
[643/781] Compiling SwiftAISDK FixJson.swift
[644/781] Compiling SwiftAISDK GetPotentialStartIndex.swift
[645/781] Compiling SwiftAISDK IsDeepEqualData.swift
[646/781] Compiling SwiftAISDK IsNonEmptyObject.swift
[647/781] Compiling SwiftAISDK Job.swift
[648/781] Compiling SwiftAISDK MergeObjects.swift
[649/781] Compiling SwiftAISDK Now.swift
[650/781] Compiling SwiftAISDK ParsePartialJson.swift
[651/781] Compiling SwiftAISDK PrepareHeaders.swift
[652/781] Compiling SwiftAISDK PrepareRetries.swift
[653/781] Compiling SwiftAISDK RetryError.swift
[654/781] Compiling SwiftAISDK RetryFunction.swift
[655/781] Compiling SwiftAISDK RetryWithExponentialBackoff.swift
[656/781] Compiling SwiftAISDK SerialJobExecutor.swift
[657/781] Compiling SwiftAISDK SplitArray.swift
[658/781] Compiling SwiftAISDK Version.swift
[669/781] Compiling SwiftAISDK GenerateText.swift
[670/781] Compiling SwiftAISDK GenerateTextContent.swift
[671/781] Compiling SwiftAISDK GenerateTextResult+Encodable.swift
[672/781] Compiling SwiftAISDK GenerateTextResult.swift
[673/781] Compiling SwiftAISDK GeneratedFile.swift
[674/781] Compiling SwiftAISDK IsApprovalNeeded.swift
[675/781] Compiling SwiftAISDK Output.swift
[676/781] Compiling SwiftAISDK ParseToolCall.swift
[677/781] Compiling SwiftAISDK PrepareStep.swift
[678/781] Compiling SwiftAISDK Reasoning.swift
[679/781] Compiling SwiftAISDK ToolOutput.swift
[680/781] Compiling SwiftAISDK ToolOutputDenied.swift
[681/781] Compiling SwiftAISDK ToolOutputHelpers.swift
[682/781] Compiling SwiftAISDK ToolResult.swift
[683/781] Compiling SwiftAISDK ToolSet.swift
[684/781] Compiling SwiftAISDK JSONValue+Serialization.swift
[685/781] Compiling SwiftAISDK LanguageModelConvenience.swift
[686/781] Compiling SwiftAISDK LogWarnings.swift
[687/781] Compiling SwiftAISDK DefaultSettingsMiddleware.swift
[688/781] Compiling SwiftAISDK ExtractReasoningMiddleware.swift
[689/781] Compiling SwiftAISDK SimulateStreamingMiddleware.swift
[690/781] Compiling SwiftAISDK WrapLanguageModel.swift
[691/781] Compiling SwiftAISDK ResolveModel.swift
[692/781] Compiling SwiftAISDK ModuleExports.swift
[693/781] Compiling SwiftAISDK CallSettings.swift
[694/781] Compiling SwiftAISDK ConvertToLanguageModelPrompt.swift
[695/781] Compiling SwiftAISDK CreateToolModelOutput.swift
[696/781] Compiling SwiftAISDK DataContentUtilities.swift
[697/781] Compiling SwiftAISDK InvalidDataContentError.swift
[698/781] Compiling SwiftAISDK InvalidMessageRoleError.swift
[699/781] Compiling SwiftAISDK ModelMessageConvenience.swift
[700/781] Compiling SwiftAISDK PrepareCallSettings.swift
[701/781] Compiling SwiftAISDK PrepareToolsAndToolChoice.swift
[702/781] Compiling SwiftAISDK Prompt.swift
[703/781] Compiling SwiftAISDK ResponseMessageConversions.swift
[704/781] Compiling SwiftAISDK StandardizePrompt.swift
[705/781] Compiling SwiftAISDK WrapGatewayError.swift
[706/781] Compiling SwiftAISDK CustomProvider.swift
[707/781] Compiling SwiftAISDK NoSuchProviderError.swift
[708/781] Compiling SwiftAISDK ProviderRegistry.swift
[709/781] Compiling SwiftAISDK AsyncIterableStream.swift
[710/781] Compiling SwiftAISDK AsyncStreamBroadcaster.swift
[711/781] Compiling SwiftAISDK CreateTextStreamResponse.swift
[712/781] Compiling SwiftAISDK PipeTextStreamToResponse.swift
[713/781] Compiling SwiftAISDK SimulateReadableStream.swift
[714/781] Compiling SwiftAISDK StitchableStream.swift
[715/781] Compiling SwiftAISDK TextStream.swift
[716/781] Compiling SwiftAISDK SwiftAISDK.swift
[717/781] Compiling SwiftAISDK AssembleOperationName.swift
[718/781] Compiling SwiftAISDK GetBaseTelemetryAttributes.swift
[719/781] Compiling SwiftAISDK GetTracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[720/781] Compiling SwiftAISDK NoopTracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[721/781] Compiling SwiftAISDK AttributeValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[722/781] Compiling SwiftAISDK Span.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[723/781] Compiling SwiftAISDK Tracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[724/781] Compiling SwiftAISDK RecordSpan.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[725/781] Compiling SwiftAISDK SelectTelemetryAttributes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[726/781] Compiling SwiftAISDK StringifyForTelemetry.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[727/781] Compiling SwiftAISDK TelemetrySettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[728/781] Compiling SwiftAISDK MockImageModelV3.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[729/781] Compiling SwiftAISDK MockLanguageModelV2.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[730/781] Compiling SwiftAISDK MockLanguageModelV3.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[731/781] Compiling SwiftAISDK MockValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[732/781] Compiling SwiftAISDK NotImplemented.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[733/781] Compiling SwiftAISDK JSONRPCMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[734/781] Compiling SwiftAISDK MCPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[735/781] Compiling SwiftAISDK MCPTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[736/781] Compiling SwiftAISDK MCPTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[737/781] Compiling SwiftAISDK MockMCPTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[738/781] Compiling SwiftAISDK SseMCPTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:277:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
275 |
276 | public struct TextContent: Codable, Sendable {
277 | public let type: String = "text"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
278 | public let text: String
279 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:286:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
284 |
285 | public struct ImageContent: Codable, Sendable {
286 | public let type: String = "image"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
287 | public let data: String // base64
288 | public let mimeType: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/Tool/MCP/MCPTypes.swift:297:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
295 |
296 | public struct EmbeddedResource: Codable, Sendable {
297 | public let type: String = "resource"
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'type' case to silence this warning
| `- note: make the property mutable instead
298 | public let resource: ResourceContents
299 |
[739/781] Compiling SwiftAISDK ToolCallRepairError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[740/781] Compiling SwiftAISDK UnsupportedModelVersionError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[741/781] Compiling SwiftAISDK Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[742/781] Compiling SwiftAISDK GenerateImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[743/781] Compiling SwiftAISDK GenerateImageResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[744/781] Compiling SwiftAISDK GenerateObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[745/781] Compiling SwiftAISDK GenerateObjectInternalOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[746/781] Compiling SwiftAISDK GenerateObjectOutputKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[747/781] Compiling SwiftAISDK GenerateObjectOutputSpec.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[748/781] Compiling SwiftAISDK GenerateObjectResult+Encodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[749/781] Compiling SwiftAISDK GenerateObjectResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[750/781] Compiling SwiftAISDK GenerateObjectShared.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[751/781] Compiling SwiftAISDK GenerateObjectTelemetry.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[752/781] Compiling SwiftAISDK InjectJSONInstruction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[753/781] Compiling SwiftAISDK OutputStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[754/781] Compiling SwiftAISDK ParseAndValidate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[755/781] Compiling SwiftAISDK RepairText.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[756/781] Compiling SwiftAISDK StreamObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[757/781] Compiling SwiftAISDK StreamObjectResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[758/781] Compiling SwiftAISDK ValidateObjectGenerationInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateObject/OutputStrategy.swift:197:35: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
195 | case .success(let element, _):
196 | parsed.append(element)
197 | case .failure(let error, _) where index == elementsJSON.count - 1 && !isFinalDelta:
| `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
198 | continue
199 | case .failure(let error, _):
[759/781] Compiling SwiftAISDK ReasoningOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[760/781] Compiling SwiftAISDK ResponseMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[761/781] Compiling SwiftAISDK RunToolsTransformation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[762/781] Compiling SwiftAISDK SingleRequestTextStreamPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[763/781] Compiling SwiftAISDK SmoothStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[764/781] Compiling SwiftAISDK StepResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[765/781] Compiling SwiftAISDK StopCondition.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[766/781] Compiling SwiftAISDK StreamText.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[767/781] Compiling SwiftAISDK StreamTextActor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[768/781] Compiling SwiftAISDK StreamTextEventRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[769/781] Compiling SwiftAISDK StreamTextEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[770/781] Compiling SwiftAISDK StreamTextLogging.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[771/781] Compiling SwiftAISDK StreamTextResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[772/781] Compiling SwiftAISDK StreamTextSSE.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[773/781] Compiling SwiftAISDK TextStreamPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[774/781] Compiling SwiftAISDK ToResponseMessages.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[775/781] Compiling SwiftAISDK ToolApprovalRequestOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[776/781] Compiling SwiftAISDK ToolCall.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[777/781] Compiling SwiftAISDK ToolCallRepairFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[778/781] Compiling SwiftAISDK ToolError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAISDK/GenerateText/StreamTextSSE.swift:146:17: warning: variable 'payload' was never mutated; consider changing to 'let' constant
144 |
145 | case let .file(file):
146 | var payload: [String: Any] = [
| `- warning: variable 'payload' was never mutated; consider changing to 'let' constant
147 | "type": "file",
148 | "base64": file.base64,
[779/791] Compiling SwiftAISDKPlayground PlaygroundLogger.swift
[780/791] Compiling SwiftAISDKPlayground ProviderFactory.swift
[781/792] Compiling SwiftAISDKPlayground OpenAILanguageModel.swift
[782/792] Compiling SwiftAISDKPlayground PlaygroundVersion.swift
[783/792] Compiling SwiftAISDKPlayground Main.swift
[784/792] Compiling SwiftAISDKPlayground EnvironmentLoader.swift
[785/792] Compiling SwiftAISDKPlayground PlaygroundCLI.swift
[786/792] Compiling SwiftAISDKPlayground PlaygroundConfiguration.swift
[787/792] Compiling SwiftAISDKPlayground GatewayLanguageModel.swift
[788/792] Emitting module SwiftAISDKPlayground
[789/792] Compiling SwiftAISDKPlayground ChatCommand.swift
[789/792] Write Objects.LinkFileList
[790/792] Linking playground
[791/792] Applying playground
Build complete! (31.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "SwiftAISDK",
"name" : "SwiftAISDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "AISDKProvider",
"targets" : [
"AISDKProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AISDKProviderUtils",
"targets" : [
"AISDKProviderUtils"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAISDK",
"targets" : [
"SwiftAISDK"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenAIProvider",
"targets" : [
"OpenAIProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenAICompatibleProvider",
"targets" : [
"OpenAICompatibleProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AnthropicProvider",
"targets" : [
"AnthropicProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AmazonBedrockProvider",
"targets" : [
"AmazonBedrockProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GatewayProvider",
"targets" : [
"GatewayProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GoogleProvider",
"targets" : [
"GoogleProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GoogleVertexProvider",
"targets" : [
"GoogleVertexProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AzureProvider",
"targets" : [
"AzureProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GroqProvider",
"targets" : [
"GroqProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MistralProvider",
"targets" : [
"MistralProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PerplexityProvider",
"targets" : [
"PerplexityProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CohereProvider",
"targets" : [
"CohereProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DeepgramProvider",
"targets" : [
"DeepgramProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DeepInfraProvider",
"targets" : [
"DeepInfraProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ElevenLabsProvider",
"targets" : [
"ElevenLabsProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FalProvider",
"targets" : [
"FalProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FireworksProvider",
"targets" : [
"FireworksProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GladiaProvider",
"targets" : [
"GladiaProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HuggingFaceProvider",
"targets" : [
"HuggingFaceProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HumeProvider",
"targets" : [
"HumeProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AssemblyAIProvider",
"targets" : [
"AssemblyAIProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CerebrasProvider",
"targets" : [
"CerebrasProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DeepSeekProvider",
"targets" : [
"DeepSeekProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BasetenProvider",
"targets" : [
"BasetenProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ReplicateProvider",
"targets" : [
"ReplicateProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "XAIProvider",
"targets" : [
"XAIProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LMNTProvider",
"targets" : [
"LMNTProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LumaProvider",
"targets" : [
"LumaProvider"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AISDKJSONSchema",
"targets" : [
"AISDKJSONSchema"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EventSourceParser",
"targets" : [
"EventSourceParser"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AISDKZodAdapter",
"targets" : [
"AISDKZodAdapter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "playground",
"targets" : [
"SwiftAISDKPlayground"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "XAIProviderTests",
"module_type" : "SwiftTarget",
"name" : "XAIProviderTests",
"path" : "Tests/XAIProviderTests",
"sources" : [
"ConvertToXAIChatMessagesTests.swift",
"XAIChatLanguageModelTests.swift",
"XAIProviderTests.swift"
],
"target_dependencies" : [
"XAIProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "XAIProvider",
"module_type" : "SwiftTarget",
"name" : "XAIProvider",
"path" : "Sources/XAIProvider",
"product_memberships" : [
"XAIProvider",
"playground"
],
"sources" : [
"ConvertToXAIChatMessages.swift",
"MapXAIFinishReason.swift",
"XAIChatLanguageModel.swift",
"XAIChatPrompt.swift",
"XAIError.swift",
"XAIModelIds.swift",
"XAIPrepareTools.swift",
"XAIProvider.swift",
"XAIProviderOptions.swift",
"XAIResponseMetadata.swift",
"XAIVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "library"
},
{
"c99name" : "SwiftAISDKTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAISDKTests",
"path" : "Tests/SwiftAISDKTests",
"sources" : [
"Agent/AgentTests.swift",
"Embed/EmbedManyTests.swift",
"Embed/EmbedTests.swift",
"Error/VerifyNoObjectGeneratedError.swift",
"GenerateImage/GenerateImageTests.swift",
"GenerateObject/GenerateObjectTests.swift",
"GenerateObject/InjectJSONInstructionTests.swift",
"GenerateObject/StreamObjectTests.swift",
"GenerateSpeech/GenerateSpeechTests.swift",
"GenerateText/CollectToolApprovalsTests.swift",
"GenerateText/GenerateTextAdvancedTests.swift",
"GenerateText/GenerateTextResultTests.swift",
"GenerateText/GenerateTextTests.swift",
"GenerateText/OutputTests.swift",
"GenerateText/ParseToolCallTests.swift",
"GenerateText/RunToolsTransformationTests.swift",
"GenerateText/SmoothStreamTests.swift",
"GenerateText/StreamTextApprovalIntegrationTests.swift",
"GenerateText/StreamTextApprovalResolverTests.swift",
"GenerateText/StreamTextConcurrencyTests.swift",
"GenerateText/StreamTextErrorAndReplayTests.swift",
"GenerateText/StreamTextEventsTests.swift",
"GenerateText/StreamTextLoggingTests.swift",
"GenerateText/StreamTextSSEIntegrationTests.swift",
"GenerateText/StreamTextTests.swift",
"GenerateText/ToResponseMessagesTests.swift",
"Middleware/DefaultSettingsMiddlewareTests.swift",
"Middleware/WrapLanguageModelTests.swift",
"Model/ProviderRegistryTests.swift",
"Model/ResolveModelTests.swift",
"OpenAI/OpenAIChatLanguageModelTests.swift",
"OpenAI/OpenAIChatMessagesConverterTests.swift",
"OpenAI/OpenAIChatPrepareToolsTests.swift",
"OpenAI/OpenAIChatStreamingTests.swift",
"OpenAI/OpenAICompletionLanguageModelTests.swift",
"OpenAI/OpenAIEmbeddingModelTests.swift",
"OpenAI/OpenAIErrorTests.swift",
"OpenAI/OpenAIImageModelTests.swift",
"OpenAI/OpenAIProviderTests.swift",
"OpenAI/OpenAIResponsesInputBuilderTests.swift",
"OpenAI/OpenAIResponsesLanguageModelTests.swift",
"OpenAI/OpenAIResponsesPrepareToolsTests.swift",
"OpenAI/OpenAISpeechModelTests.swift",
"OpenAI/OpenAITranscriptionModelTests.swift",
"Prompt/ConvertToLanguageModelPromptTests.swift",
"Prompt/CreateToolModelOutputTests.swift",
"Prompt/PrepareCallSettingsTests.swift",
"Prompt/PrepareToolsAndToolChoiceTests.swift",
"Prompt/ResponseMessageConversionsTests.swift",
"Prompt/StandardizePromptTests.swift",
"Prompt/WrapGatewayErrorTests.swift",
"Streams/CreateTextStreamResponseTests.swift",
"Streams/PipeTextStreamToResponseTests.swift",
"Streams/SimulateReadableStreamTests.swift",
"SwiftAISDKTests.swift",
"Telemetry/SelectTelemetryAttributesTests.swift",
"Telemetry/StringifyForTelemetryTests.swift",
"Test/MockLanguageModelTests.swift",
"TestSupport/AsyncStreamUtilities.swift",
"TestSupport/LogWarningsTestLock.swift",
"TestSupport/MockStreamTextResponseWriter.swift",
"TestSupport/MockTracer.swift",
"TestSupport/TestEmbeddingModel.swift",
"TestSupport/TestEnvironment.swift",
"Tool/MCP/JSONRPCMessageTests.swift",
"Tool/MCP/MCPTransportTests.swift",
"Tool/MCP/MCPTypesTests.swift",
"Tool/MCP/MockMCPTransportTests.swift",
"Tool/TypedToolTests.swift",
"Transcribe/TranscribeTests.swift",
"UI/ConvertToModelMessagesTests.swift",
"UI/TransformFullToUIMessageStreamTests.swift",
"UI/TransformTextToUIMessageStreamTests.swift",
"UI/UIMessageHelpersTests.swift",
"UI/ValidateUIMessagesTests.swift",
"UIMessageStream/CreateUIMessageStreamResponseTests.swift",
"UIMessageStream/GetResponseUIMessageIDTests.swift",
"UIMessageStream/HandleUIMessageStreamFinishTests.swift",
"UIMessageStream/JsonToSSETransformStreamTests.swift",
"UIMessageStream/PipeUIMessageStreamToResponseTests.swift",
"UIMessageStream/ReadUIMessageStreamTests.swift",
"UIMessageStream/Writer/UIMessageChunkTests.swift",
"Util/AsArrayTests.swift",
"Util/ConsumeStreamTests.swift",
"Util/CosineSimilarityTests.swift",
"Util/CreateResolvablePromiseTests.swift",
"Util/DetectMediaTypeTests.swift",
"Util/Download/DownloadTests.swift",
"Util/FixJsonTests.swift",
"Util/IsDeepEqualDataTests.swift",
"Util/IsNonEmptyObjectTests.swift",
"Util/MergeObjectsTests.swift",
"Util/ParsePartialJsonTests.swift",
"Util/PrepareHeadersTests.swift",
"Util/PrepareRetriesTests.swift",
"Util/SerialJobExecutorTests.swift",
"Util/SplitArrayTests.swift"
],
"target_dependencies" : [
"SwiftAISDK",
"OpenAIProvider",
"OpenAICompatibleProvider"
],
"type" : "test"
},
{
"c99name" : "SwiftAISDKPlayground",
"module_type" : "SwiftTarget",
"name" : "SwiftAISDKPlayground",
"path" : "Sources/SwiftAISDKPlayground",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"playground"
],
"sources" : [
"Commands/ChatCommand.swift",
"Environment/EnvironmentLoader.swift",
"Environment/PlaygroundConfiguration.swift",
"Main.swift",
"PlaygroundCLI.swift",
"Providers/Gateway/GatewayLanguageModel.swift",
"Providers/OpenAI/OpenAILanguageModel.swift",
"Providers/ProviderFactory.swift",
"Utils/PlaygroundLogger.swift",
"Utils/PlaygroundVersion.swift"
],
"target_dependencies" : [
"SwiftAISDK",
"AISDKProvider",
"AISDKProviderUtils",
"OpenAIProvider",
"GoogleProvider",
"GoogleVertexProvider",
"AzureProvider",
"GroqProvider",
"MistralProvider",
"PerplexityProvider",
"CohereProvider",
"DeepgramProvider",
"DeepInfraProvider",
"ElevenLabsProvider",
"FalProvider",
"FireworksProvider",
"GladiaProvider",
"HuggingFaceProvider",
"HumeProvider",
"AssemblyAIProvider",
"CerebrasProvider",
"DeepSeekProvider",
"ReplicateProvider",
"LMNTProvider",
"LumaProvider",
"XAIProvider"
],
"type" : "executable"
},
{
"c99name" : "SwiftAISDK",
"module_type" : "SwiftTarget",
"name" : "SwiftAISDK",
"path" : "Sources/SwiftAISDK",
"product_memberships" : [
"SwiftAISDK",
"playground"
],
"sources" : [
"Agent/Agent.swift",
"Agent/AgentInference.swift",
"Agent/AgentSettings.swift",
"Embed/Embed.swift",
"Embed/EmbedMany.swift",
"Embed/EmbedManyResult.swift",
"Embed/EmbedResult.swift",
"Embed/EmbedShared.swift",
"Error/InvalidArgumentError.swift",
"Error/InvalidStreamPartError.swift",
"Error/InvalidToolInputError.swift",
"Error/MCPClientError.swift",
"Error/MessageConversionError.swift",
"Error/NoImageGeneratedError.swift",
"Error/NoObjectGeneratedError.swift",
"Error/NoOutputGeneratedError.swift",
"Error/NoOutputSpecifiedError.swift",
"Error/NoSpeechGeneratedError.swift",
"Error/NoSuchToolError.swift",
"Error/NoTranscriptGeneratedError.swift",
"Error/ToolCallRepairError.swift",
"Error/UnsupportedModelVersionError.swift",
"GenerateImage/Exports.swift",
"GenerateImage/GenerateImage.swift",
"GenerateImage/GenerateImageResult.swift",
"GenerateObject/GenerateObject.swift",
"GenerateObject/GenerateObjectInternalOptions.swift",
"GenerateObject/GenerateObjectOutputKind.swift",
"GenerateObject/GenerateObjectOutputSpec.swift",
"GenerateObject/GenerateObjectResult+Encodable.swift",
"GenerateObject/GenerateObjectResult.swift",
"GenerateObject/GenerateObjectShared.swift",
"GenerateObject/GenerateObjectTelemetry.swift",
"GenerateObject/InjectJSONInstruction.swift",
"GenerateObject/OutputStrategy.swift",
"GenerateObject/ParseAndValidate.swift",
"GenerateObject/RepairText.swift",
"GenerateObject/StreamObject.swift",
"GenerateObject/StreamObjectResult.swift",
"GenerateObject/ValidateObjectGenerationInput.swift",
"GenerateSpeech/GenerateSpeech.swift",
"GenerateSpeech/GenerateSpeechResult.swift",
"GenerateSpeech/GeneratedAudioFile.swift",
"GenerateSpeech/Index.swift",
"GenerateText/ApprovalAction.swift",
"GenerateText/CollectToolApprovals.swift",
"GenerateText/ExecuteToolCall.swift",
"GenerateText/ExecuteTools.swift",
"GenerateText/ExtractReasoningContent.swift",
"GenerateText/ExtractTextContent.swift",
"GenerateText/GenerateText.swift",
"GenerateText/GenerateTextContent.swift",
"GenerateText/GenerateTextResult+Encodable.swift",
"GenerateText/GenerateTextResult.swift",
"GenerateText/GeneratedFile.swift",
"GenerateText/IsApprovalNeeded.swift",
"GenerateText/Output.swift",
"GenerateText/ParseToolCall.swift",
"GenerateText/PrepareStep.swift",
"GenerateText/Reasoning.swift",
"GenerateText/ReasoningOutput.swift",
"GenerateText/ResponseMessage.swift",
"GenerateText/RunToolsTransformation.swift",
"GenerateText/SingleRequestTextStreamPart.swift",
"GenerateText/SmoothStream.swift",
"GenerateText/StepResult.swift",
"GenerateText/StopCondition.swift",
"GenerateText/StreamText.swift",
"GenerateText/StreamTextActor.swift",
"GenerateText/StreamTextEventRecorder.swift",
"GenerateText/StreamTextEvents.swift",
"GenerateText/StreamTextLogging.swift",
"GenerateText/StreamTextResult.swift",
"GenerateText/StreamTextSSE.swift",
"GenerateText/TextStreamPart.swift",
"GenerateText/ToResponseMessages.swift",
"GenerateText/ToolApprovalRequestOutput.swift",
"GenerateText/ToolCall.swift",
"GenerateText/ToolCallRepairFunction.swift",
"GenerateText/ToolError.swift",
"GenerateText/ToolOutput.swift",
"GenerateText/ToolOutputDenied.swift",
"GenerateText/ToolOutputHelpers.swift",
"GenerateText/ToolResult.swift",
"GenerateText/ToolSet.swift",
"JSON/JSONValue+Serialization.swift",
"LanguageModelConvenience.swift",
"Logger/LogWarnings.swift",
"Middleware/DefaultSettingsMiddleware.swift",
"Middleware/ExtractReasoningMiddleware.swift",
"Middleware/SimulateStreamingMiddleware.swift",
"Middleware/WrapLanguageModel.swift",
"Model/ResolveModel.swift",
"ModuleExports.swift",
"Prompt/CallSettings.swift",
"Prompt/ConvertToLanguageModelPrompt.swift",
"Prompt/CreateToolModelOutput.swift",
"Prompt/DataContentUtilities.swift",
"Prompt/InvalidDataContentError.swift",
"Prompt/InvalidMessageRoleError.swift",
"Prompt/ModelMessageConvenience.swift",
"Prompt/PrepareCallSettings.swift",
"Prompt/PrepareToolsAndToolChoice.swift",
"Prompt/Prompt.swift",
"Prompt/ResponseMessageConversions.swift",
"Prompt/StandardizePrompt.swift",
"Prompt/WrapGatewayError.swift",
"Registry/CustomProvider.swift",
"Registry/NoSuchProviderError.swift",
"Registry/ProviderRegistry.swift",
"Streams/AsyncIterableStream.swift",
"Streams/AsyncStreamBroadcaster.swift",
"Streams/CreateTextStreamResponse.swift",
"Streams/PipeTextStreamToResponse.swift",
"Streams/SimulateReadableStream.swift",
"Streams/StitchableStream.swift",
"Streams/TextStream.swift",
"SwiftAISDK.swift",
"Telemetry/AssembleOperationName.swift",
"Telemetry/GetBaseTelemetryAttributes.swift",
"Telemetry/GetTracer.swift",
"Telemetry/NoopTracer.swift",
"Telemetry/OpenTelemetry/AttributeValue.swift",
"Telemetry/OpenTelemetry/Span.swift",
"Telemetry/OpenTelemetry/Tracer.swift",
"Telemetry/RecordSpan.swift",
"Telemetry/SelectTelemetryAttributes.swift",
"Telemetry/StringifyForTelemetry.swift",
"Telemetry/TelemetrySettings.swift",
"Test/MockImageModelV3.swift",
"Test/MockLanguageModelV2.swift",
"Test/MockLanguageModelV3.swift",
"Test/MockValues.swift",
"Test/NotImplemented.swift",
"Tool/MCP/JSONRPCMessage.swift",
"Tool/MCP/MCPClient.swift",
"Tool/MCP/MCPTransport.swift",
"Tool/MCP/MCPTypes.swift",
"Tool/MCP/MockMCPTransport.swift",
"Tool/MCP/SseMCPTransport.swift",
"Tool/TypedTool.swift",
"Transcribe/Transcribe.swift",
"Transcribe/TranscribeResult.swift",
"Types/EmbeddingModel.swift",
"Types/ImageModel.swift",
"Types/ImageModelResponseMetadata.swift",
"Types/LanguageModel.swift",
"Types/LanguageModelRequestMetadata.swift",
"Types/LanguageModelResponseMetadata.swift",
"Types/ProviderMetadata.swift",
"Types/SpeechModel.swift",
"Types/SpeechModelResponseMetadata.swift",
"Types/TranscriptionModel.swift",
"Types/TranscriptionModelResponseMetadata.swift",
"Types/Usage.swift",
"UI/Processing/ConvertToModelMessages.swift",
"UI/Processing/ProcessUIMessageStream.swift",
"UI/Transforms/TransformFullToUIMessageStream.swift",
"UI/Transforms/TransformTextToUIMessageStream.swift",
"UI/Types/UIMessage.swift",
"UI/Validation/ValidateUIMessages.swift",
"UIMessageStream/CreateUIMessageStream.swift",
"UIMessageStream/CreateUIMessageStreamResponse.swift",
"UIMessageStream/GetResponseUIMessageID.swift",
"UIMessageStream/HandleUIMessageStreamFinish.swift",
"UIMessageStream/JsonToSSETransformStream.swift",
"UIMessageStream/ReadUIMessageStream.swift",
"UIMessageStream/TeeAsyncThrowingStream.swift",
"UIMessageStream/UIMessageChunkEncoding.swift",
"UIMessageStream/UIMessageStreamOnFinishCallback.swift",
"UIMessageStream/Writer/UIMessageChunks.swift",
"UIMessageStream/Writer/UIMessageStreamHeaders.swift",
"UIMessageStream/Writer/UIMessageStreamWriter.swift",
"Util/AsArray.swift",
"Util/ConsumeStream.swift",
"Util/CosineSimilarity.swift",
"Util/CreateResolvablePromise.swift",
"Util/DelayedPromise.swift",
"Util/DetectMediaType.swift",
"Util/Download/Download.swift",
"Util/Download/DownloadError.swift",
"Util/Download/DownloadFunction.swift",
"Util/ErrorHandler.swift",
"Util/FixJson.swift",
"Util/GetPotentialStartIndex.swift",
"Util/IsDeepEqualData.swift",
"Util/IsNonEmptyObject.swift",
"Util/Job.swift",
"Util/MergeObjects.swift",
"Util/Now.swift",
"Util/ParsePartialJson.swift",
"Util/PrepareHeaders.swift",
"Util/PrepareRetries.swift",
"Util/RetryError.swift",
"Util/RetryFunction.swift",
"Util/RetryWithExponentialBackoff.swift",
"Util/SerialJobExecutor.swift",
"Util/SplitArray.swift",
"Version.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"AISDKJSONSchema",
"EventSourceParser",
"GatewayProvider"
],
"type" : "library"
},
{
"c99name" : "ReplicateProviderTests",
"module_type" : "SwiftTarget",
"name" : "ReplicateProviderTests",
"path" : "Tests/ReplicateProviderTests",
"sources" : [
"ReplicateImageModelTests.swift",
"ReplicateProviderTests.swift"
],
"target_dependencies" : [
"ReplicateProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "ReplicateProvider",
"module_type" : "SwiftTarget",
"name" : "ReplicateProvider",
"path" : "Sources/ReplicateProvider",
"product_memberships" : [
"ReplicateProvider",
"playground"
],
"sources" : [
"ReplicateError.swift",
"ReplicateImageModel.swift",
"ReplicateImageModelId.swift",
"ReplicateProvider.swift",
"ReplicateVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "PerplexityProvider",
"module_type" : "SwiftTarget",
"name" : "PerplexityProvider",
"path" : "Sources/PerplexityProvider",
"product_memberships" : [
"PerplexityProvider",
"playground"
],
"sources" : [
"ConvertToPerplexityMessages.swift",
"MapPerplexityFinishReason.swift",
"PerplexityError.swift",
"PerplexityLanguageModel.swift",
"PerplexityModelIds.swift",
"PerplexityPrompt.swift",
"PerplexityProvider.swift",
"PerplexityVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "OpenAIProvider",
"module_type" : "SwiftTarget",
"name" : "OpenAIProvider",
"path" : "Sources/OpenAIProvider",
"product_memberships" : [
"OpenAIProvider",
"AzureProvider",
"playground"
],
"sources" : [
"Chat/OpenAIChatAPI.swift",
"Chat/OpenAIChatFinishReason.swift",
"Chat/OpenAIChatLanguageModel.swift",
"Chat/OpenAIChatOptions.swift",
"Chat/OpenAIChatPrepareTools.swift",
"Chat/OpenAIChatPrompt.swift",
"Completion/OpenAICompletionAPI.swift",
"Completion/OpenAICompletionFinishReason.swift",
"Completion/OpenAICompletionLanguageModel.swift",
"Completion/OpenAICompletionMetadata.swift",
"Completion/OpenAICompletionOptions.swift",
"Completion/OpenAICompletionPrompt.swift",
"Embedding/OpenAIEmbeddingAPI.swift",
"Embedding/OpenAIEmbeddingModel.swift",
"Embedding/OpenAIEmbeddingOptions.swift",
"Embedding/OpenAIEmbeddingRequestBody.swift",
"Image/OpenAIImageAPI.swift",
"Image/OpenAIImageModel.swift",
"Image/OpenAIImageOptions.swift",
"OpenAIConfig.swift",
"OpenAIError.swift",
"OpenAIModelIds.swift",
"OpenAIProvider.swift",
"OpenAIProviderOptionsFacade.swift",
"OpenAIProviderOptionsHelpers.swift",
"OpenAIResponsesAPI.swift",
"OpenAIResponsesFinishReason.swift",
"OpenAIResponsesInput.swift",
"OpenAIResponsesModel.swift",
"OpenAIResponsesModelConfig.swift",
"OpenAIResponsesOptions.swift",
"OpenAIResponsesPrepareTools.swift",
"OpenAIResponsesRequestBody.swift",
"OpenAITools.swift",
"OpenAIVersion.swift",
"Speech/OpenAISpeechAPI.swift",
"Speech/OpenAISpeechModel.swift",
"Speech/OpenAISpeechOptions.swift",
"Tool/OpenAICodeInterpreterTool.swift",
"Tool/OpenAIFileSearchTool.swift",
"Tool/OpenAIImageGenerationTool.swift",
"Tool/OpenAILocalShellTool.swift",
"Tool/OpenAIWebSearchPreviewTool.swift",
"Tool/OpenAIWebSearchTool.swift",
"Transcription/OpenAITranscriptionAPI.swift",
"Transcription/OpenAITranscriptionModel.swift",
"Transcription/OpenAITranscriptionOptions.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "OpenAICompatibleProviderTests",
"module_type" : "SwiftTarget",
"name" : "OpenAICompatibleProviderTests",
"path" : "Tests/OpenAICompatibleProviderTests",
"sources" : [
"OpenAICompatibleChatLanguageModelTests.swift",
"OpenAICompatibleChatMessagesConverterTests.swift",
"OpenAICompatibleCompletionLanguageModelTests.swift",
"OpenAICompatibleEmbeddingModelTests.swift",
"OpenAICompatibleImageModelTests.swift",
"OpenAICompatibleProviderTests.swift"
],
"target_dependencies" : [
"OpenAICompatibleProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "OpenAICompatibleProvider",
"module_type" : "SwiftTarget",
"name" : "OpenAICompatibleProvider",
"path" : "Sources/OpenAICompatibleProvider",
"product_memberships" : [
"OpenAICompatibleProvider",
"DeepInfraProvider",
"FireworksProvider",
"CerebrasProvider",
"DeepSeekProvider",
"BasetenProvider",
"XAIProvider",
"playground"
],
"sources" : [
"Chat/ConvertToOpenAICompatibleChatMessages.swift",
"Chat/GetResponseMetadata.swift",
"Chat/MapOpenAICompatibleFinishReason.swift",
"Chat/OpenAICompatibleChatLanguageModel.swift",
"Chat/OpenAICompatibleChatOptions.swift",
"Chat/OpenAICompatibleMetadataExtractor.swift",
"Chat/OpenAICompatiblePrepareTools.swift",
"Completion/ConvertToOpenAICompatibleCompletionPrompt.swift",
"Completion/OpenAICompatibleCompletionLanguageModel.swift",
"Completion/OpenAICompatibleCompletionOptions.swift",
"Embedding/OpenAICompatibleEmbeddingModel.swift",
"Embedding/OpenAICompatibleEmbeddingOptions.swift",
"Image/OpenAICompatibleImageModel.swift",
"OpenAICompatibleConfig.swift",
"OpenAICompatibleError.swift",
"OpenAICompatibleModelIds.swift",
"OpenAICompatibleProvider.swift",
"OpenAICompatibleVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "MistralProviderTests",
"module_type" : "SwiftTarget",
"name" : "MistralProviderTests",
"path" : "Tests/MistralProviderTests",
"sources" : [
"ConvertToMistralChatMessagesTests.swift",
"MistralChatLanguageModelTests.swift",
"MistralEmbeddingModelTests.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"MistralProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "MistralProvider",
"module_type" : "SwiftTarget",
"name" : "MistralProvider",
"path" : "Sources/MistralProvider",
"product_memberships" : [
"MistralProvider",
"playground"
],
"sources" : [
"ConvertToMistralChatMessages.swift",
"MapMistralFinishReason.swift",
"MistralChatLanguageModel.swift",
"MistralEmbeddingModel.swift",
"MistralError.swift",
"MistralModelIds.swift",
"MistralPrepareTools.swift",
"MistralProvider.swift",
"MistralProviderOptions.swift",
"MistralResponseMetadata.swift",
"MistralVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "LumaProvider",
"module_type" : "SwiftTarget",
"name" : "LumaProvider",
"path" : "Sources/LumaProvider",
"product_memberships" : [
"LumaProvider",
"playground"
],
"sources" : [
"LumaError.swift",
"LumaImageModel.swift",
"LumaImageSettings.swift",
"LumaModelIds.swift",
"LumaProvider.swift",
"LumaVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "LMNTProviderTests",
"module_type" : "SwiftTarget",
"name" : "LMNTProviderTests",
"path" : "Tests/LMNTProviderTests",
"sources" : [
"LMNTErrorTests.swift",
"LMNTSpeechModelTests.swift"
],
"target_dependencies" : [
"LMNTProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "LMNTProvider",
"module_type" : "SwiftTarget",
"name" : "LMNTProvider",
"path" : "Sources/LMNTProvider",
"product_memberships" : [
"LMNTProvider",
"playground"
],
"sources" : [
"LMNTError.swift",
"LMNTProvider.swift",
"LMNTSpeechModel.swift",
"LMNTSpeechModelId.swift",
"LMNTVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "HumeProvider",
"module_type" : "SwiftTarget",
"name" : "HumeProvider",
"path" : "Sources/HumeProvider",
"product_memberships" : [
"HumeProvider",
"playground"
],
"sources" : [
"HumeConfig.swift",
"HumeError.swift",
"HumeModelIds.swift",
"HumeProvider.swift",
"HumeSpeechAPITypes.swift",
"HumeSpeechModel.swift",
"HumeVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "HuggingFaceProvider",
"module_type" : "SwiftTarget",
"name" : "HuggingFaceProvider",
"path" : "Sources/HuggingFaceProvider",
"product_memberships" : [
"HuggingFaceProvider",
"playground"
],
"sources" : [
"ConvertToHuggingFaceResponsesMessages.swift",
"HuggingFaceConfig.swift",
"HuggingFaceError.swift",
"HuggingFaceProvider.swift",
"HuggingFaceResponsesLanguageModel.swift",
"HuggingFaceResponsesModelId.swift",
"HuggingFaceResponsesPrepareTools.swift",
"HuggingFaceResponsesProviderOptions.swift",
"HuggingFaceVersion.swift",
"MapHuggingFaceResponsesFinishReason.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "GroqProviderTests",
"module_type" : "SwiftTarget",
"name" : "GroqProviderTests",
"path" : "Tests/GroqProviderTests",
"sources" : [
"ConvertToGroqChatMessagesTests.swift",
"GroqChatLanguageModelTests.swift",
"GroqPrepareToolsTests.swift",
"GroqTranscriptionModelTests.swift"
],
"target_dependencies" : [
"GroqProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "GroqProvider",
"module_type" : "SwiftTarget",
"name" : "GroqProvider",
"path" : "Sources/GroqProvider",
"product_memberships" : [
"GroqProvider",
"playground"
],
"sources" : [
"ConvertToGroqChatMessages.swift",
"GroqChatLanguageModel.swift",
"GroqError.swift",
"GroqModelIds.swift",
"GroqPrepareTools.swift",
"GroqProvider.swift",
"GroqProviderOptions.swift",
"GroqResponseMetadata.swift",
"GroqTools.swift",
"GroqTranscriptionModel.swift",
"GroqVersion.swift",
"MapGroqFinishReason.swift",
"Tool/GroqBrowserSearchTool.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "GoogleVertexProvider",
"module_type" : "SwiftTarget",
"name" : "GoogleVertexProvider",
"path" : "Sources/GoogleVertexProvider",
"product_memberships" : [
"GoogleVertexProvider",
"playground"
],
"sources" : [
"GoogleVertexEmbeddingModel.swift",
"GoogleVertexEmbeddingOptions.swift",
"GoogleVertexError.swift",
"GoogleVertexImageModel.swift",
"GoogleVertexModelIds.swift",
"GoogleVertexProvider.swift",
"GoogleVertexTools.swift",
"GoogleVertexVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"GoogleProvider"
],
"type" : "library"
},
{
"c99name" : "GoogleProviderTests",
"module_type" : "SwiftTarget",
"name" : "GoogleProviderTests",
"path" : "Tests/GoogleProviderTests",
"sources" : [
"ConvertJSONSchemaToOpenAPISchemaTests.swift",
"ConvertToGoogleGenerativeAIMessagesTests.swift",
"GetModelPathTests.swift",
"GoogleGenerativeAIEmbeddingModelTests.swift",
"GoogleGenerativeAIImageModelTests.swift",
"GoogleGenerativeAILanguageModelTests.swift",
"GooglePrepareToolsTests.swift",
"GoogleProviderTests.swift",
"GoogleSupportedFileURLTests.swift",
"UtilityFunctionTests.swift"
],
"target_dependencies" : [
"GoogleProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "GoogleProvider",
"module_type" : "SwiftTarget",
"name" : "GoogleProvider",
"path" : "Sources/GoogleProvider",
"product_memberships" : [
"GoogleProvider",
"GoogleVertexProvider",
"playground"
],
"sources" : [
"ConvertJSONSchemaToOpenAPISchema.swift",
"ConvertToGoogleGenerativeAIMessages.swift",
"GetModelPath.swift",
"GoogleError.swift",
"GoogleGenerativeAIEmbeddingModel.swift",
"GoogleGenerativeAIEmbeddingProviderOptions.swift",
"GoogleGenerativeAIImageModel.swift",
"GoogleGenerativeAIImageProviderOptions.swift",
"GoogleGenerativeAIImageSettings.swift",
"GoogleGenerativeAILanguageModel.swift",
"GoogleGenerativeAIPrompt.swift",
"GoogleModelIds.swift",
"GooglePrepareTools.swift",
"GoogleProvider.swift",
"GoogleProviderOptions.swift",
"GoogleSupportedFileURL.swift",
"GoogleTools.swift",
"GoogleVersion.swift",
"MapGoogleGenerativeAIFinishReason.swift",
"Tool/GoogleCodeExecutionTool.swift",
"Tool/GoogleSearchTool.swift",
"Tool/GoogleURLContextTool.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "GladiaProvider",
"module_type" : "SwiftTarget",
"name" : "GladiaProvider",
"path" : "Sources/GladiaProvider",
"product_memberships" : [
"GladiaProvider",
"playground"
],
"sources" : [
"GladiaConfig.swift",
"GladiaError.swift",
"GladiaProvider.swift",
"GladiaTranscriptionModel.swift",
"GladiaTranscriptionOptions.swift",
"GladiaVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "GatewayProvider",
"module_type" : "SwiftTarget",
"name" : "GatewayProvider",
"path" : "Sources/GatewayProvider",
"product_memberships" : [
"SwiftAISDK",
"GatewayProvider",
"playground"
],
"sources" : [
"AsGatewayError.swift",
"ExtractApiCallResponse.swift",
"GatewayAuthenticationError.swift",
"GatewayConfig.swift",
"GatewayEmbeddingModel.swift",
"GatewayEnvironment.swift",
"GatewayError.swift",
"GatewayErrorHandling.swift",
"GatewayFetchMetadata.swift",
"GatewayInternalServerError.swift",
"GatewayInvalidRequestError.swift",
"GatewayLanguageModel.swift",
"GatewayModelEntry.swift",
"GatewayModelIds.swift",
"GatewayModelNotFoundError.swift",
"GatewayProvider.swift",
"GatewayProviderOptions.swift",
"GatewayRateLimitError.swift",
"GatewayResponseError.swift",
"GatewayVersion.swift",
"ParseAuthMethod.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "FireworksProvider",
"module_type" : "SwiftTarget",
"name" : "FireworksProvider",
"path" : "Sources/FireworksProvider",
"product_memberships" : [
"FireworksProvider",
"playground"
],
"sources" : [
"FireworksError.swift",
"FireworksImageModel.swift",
"FireworksModelIds.swift",
"FireworksProvider.swift",
"FireworksVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "library"
},
{
"c99name" : "FalProvider",
"module_type" : "SwiftTarget",
"name" : "FalProvider",
"path" : "Sources/FalProvider",
"product_memberships" : [
"FalProvider",
"playground"
],
"sources" : [
"FalApiTypes.swift",
"FalConfig.swift",
"FalError.swift",
"FalImageModel.swift",
"FalModelIds.swift",
"FalProvider.swift",
"FalSpeechModel.swift",
"FalSpeechOptions.swift",
"FalTranscriptionModel.swift",
"FalTranscriptionOptions.swift",
"FalVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "EventSourceParserTests",
"module_type" : "SwiftTarget",
"name" : "EventSourceParserTests",
"path" : "Tests/EventSourceParserTests",
"sources" : [
"ParserTests.swift",
"StreamTests.swift"
],
"target_dependencies" : [
"EventSourceParser"
],
"type" : "test"
},
{
"c99name" : "EventSourceParser",
"module_type" : "SwiftTarget",
"name" : "EventSourceParser",
"path" : "Sources/EventSourceParser",
"product_memberships" : [
"AISDKProviderUtils",
"SwiftAISDK",
"OpenAIProvider",
"OpenAICompatibleProvider",
"AnthropicProvider",
"AmazonBedrockProvider",
"GatewayProvider",
"GoogleProvider",
"GoogleVertexProvider",
"AzureProvider",
"GroqProvider",
"MistralProvider",
"PerplexityProvider",
"CohereProvider",
"DeepgramProvider",
"DeepInfraProvider",
"ElevenLabsProvider",
"FalProvider",
"FireworksProvider",
"GladiaProvider",
"HuggingFaceProvider",
"HumeProvider",
"AssemblyAIProvider",
"CerebrasProvider",
"DeepSeekProvider",
"BasetenProvider",
"ReplicateProvider",
"XAIProvider",
"LMNTProvider",
"LumaProvider",
"AISDKJSONSchema",
"EventSourceParser",
"playground"
],
"sources" : [
"Parser.swift",
"Stream.swift",
"Types.swift"
],
"type" : "library"
},
{
"c99name" : "ElevenLabsProvider",
"module_type" : "SwiftTarget",
"name" : "ElevenLabsProvider",
"path" : "Sources/ElevenLabsProvider",
"product_memberships" : [
"ElevenLabsProvider",
"playground"
],
"sources" : [
"ElevenLabsConfig.swift",
"ElevenLabsError.swift",
"ElevenLabsModelIds.swift",
"ElevenLabsProvider.swift",
"ElevenLabsSpeechModel.swift",
"ElevenLabsSpeechOptions.swift",
"ElevenLabsTranscriptionModel.swift",
"ElevenLabsTranscriptionOptions.swift",
"ElevenLabsVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "DeepgramProvider",
"module_type" : "SwiftTarget",
"name" : "DeepgramProvider",
"path" : "Sources/DeepgramProvider",
"product_memberships" : [
"DeepgramProvider",
"playground"
],
"sources" : [
"DeepgramError.swift",
"DeepgramModelIds.swift",
"DeepgramProvider.swift",
"DeepgramTranscriptionModel.swift",
"DeepgramTranscriptionOptions.swift",
"DeepgramVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "DeepSeekProviderTests",
"module_type" : "SwiftTarget",
"name" : "DeepSeekProviderTests",
"path" : "Tests/DeepSeekProviderTests",
"sources" : [
"DeepSeekMetadataExtractorTests.swift",
"DeepSeekProviderTests.swift"
],
"target_dependencies" : [
"DeepSeekProvider",
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "test"
},
{
"c99name" : "DeepSeekProvider",
"module_type" : "SwiftTarget",
"name" : "DeepSeekProvider",
"path" : "Sources/DeepSeekProvider",
"product_memberships" : [
"DeepSeekProvider",
"playground"
],
"sources" : [
"DeepSeekChatModelId.swift",
"DeepSeekMetadataExtractor.swift",
"DeepSeekProvider.swift",
"DeepSeekVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "library"
},
{
"c99name" : "DeepInfraProvider",
"module_type" : "SwiftTarget",
"name" : "DeepInfraProvider",
"path" : "Sources/DeepInfraProvider",
"product_memberships" : [
"DeepInfraProvider",
"playground"
],
"sources" : [
"DeepInfraImageModel.swift",
"DeepInfraModelIds.swift",
"DeepInfraProvider.swift",
"DeepInfraVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "library"
},
{
"c99name" : "CohereProvider",
"module_type" : "SwiftTarget",
"name" : "CohereProvider",
"path" : "Sources/CohereProvider",
"product_memberships" : [
"CohereProvider",
"playground"
],
"sources" : [
"CohereChatLanguageModel.swift",
"CohereChatOptions.swift",
"CohereChatPrompt.swift",
"CohereEmbeddingModel.swift",
"CohereEmbeddingOptions.swift",
"CohereError.swift",
"CohereModelIds.swift",
"CoherePrepareTools.swift",
"CohereProvider.swift",
"CohereVersion.swift",
"ConvertToCohereChatPrompt.swift",
"MapCohereFinishReason.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "CerebrasProviderTests",
"module_type" : "SwiftTarget",
"name" : "CerebrasProviderTests",
"path" : "Tests/CerebrasProviderTests",
"sources" : [
"CerebrasProviderTests.swift"
],
"target_dependencies" : [
"CerebrasProvider",
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "test"
},
{
"c99name" : "CerebrasProvider",
"module_type" : "SwiftTarget",
"name" : "CerebrasProvider",
"path" : "Sources/CerebrasProvider",
"product_memberships" : [
"CerebrasProvider",
"playground"
],
"sources" : [
"CerebrasChatModelId.swift",
"CerebrasError.swift",
"CerebrasProvider.swift",
"CerebrasVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "library"
},
{
"c99name" : "BasetenProviderTests",
"module_type" : "SwiftTarget",
"name" : "BasetenProviderTests",
"path" : "Tests/BasetenProviderTests",
"sources" : [
"BasetenProviderTests.swift"
],
"target_dependencies" : [
"BasetenProvider",
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "test"
},
{
"c99name" : "BasetenProvider",
"module_type" : "SwiftTarget",
"name" : "BasetenProvider",
"path" : "Sources/BasetenProvider",
"product_memberships" : [
"BasetenProvider"
],
"sources" : [
"BasetenChatModelId.swift",
"BasetenEmbeddingModel.swift",
"BasetenEmbeddingModelId.swift",
"BasetenError.swift",
"BasetenProvider.swift",
"BasetenVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAICompatibleProvider"
],
"type" : "library"
},
{
"c99name" : "AzureProviderTests",
"module_type" : "SwiftTarget",
"name" : "AzureProviderTests",
"path" : "Tests/AzureProviderTests",
"sources" : [
"AzureProviderTests.swift"
],
"target_dependencies" : [
"AzureProvider",
"AISDKProvider",
"AISDKProviderUtils",
"OpenAIProvider"
],
"type" : "test"
},
{
"c99name" : "AzureProvider",
"module_type" : "SwiftTarget",
"name" : "AzureProvider",
"path" : "Sources/AzureProvider",
"product_memberships" : [
"AzureProvider",
"playground"
],
"sources" : [
"AzureProvider.swift",
"AzureTools.swift",
"AzureVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"OpenAIProvider"
],
"type" : "library"
},
{
"c99name" : "AssemblyAIProvider",
"module_type" : "SwiftTarget",
"name" : "AssemblyAIProvider",
"path" : "Sources/AssemblyAIProvider",
"product_memberships" : [
"AssemblyAIProvider",
"playground"
],
"sources" : [
"AssemblyAIError.swift",
"AssemblyAIProvider.swift",
"AssemblyAITranscriptionModel.swift",
"AssemblyAITranscriptionModelId.swift",
"AssemblyAITranscriptionOptions.swift",
"AssemblyAIVersion.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "library"
},
{
"c99name" : "AnthropicProviderTests",
"module_type" : "SwiftTarget",
"name" : "AnthropicProviderTests",
"path" : "Tests/AnthropicProviderTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AnthropicProviderTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AnthropicErrorTests.swift",
"AnthropicMessagesLanguageModelStreamAdvancedTests.swift",
"AnthropicMessagesLanguageModelTests.swift",
"AnthropicPrepareToolsTests.swift",
"AnthropicProviderPlaceholderTests.swift",
"ConvertToAnthropicMessagesPromptTests.swift"
],
"target_dependencies" : [
"AnthropicProvider",
"AISDKProvider",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "AnthropicProvider",
"module_type" : "SwiftTarget",
"name" : "AnthropicProvider",
"path" : "Sources/AnthropicProvider",
"product_memberships" : [
"AnthropicProvider",
"AmazonBedrockProvider"
],
"sources" : [
"AnthropicError.swift",
"AnthropicMessagesAPI.swift",
"AnthropicMessagesLanguageModel.swift",
"AnthropicModelIds.swift",
"AnthropicPrepareTools.swift",
"AnthropicProvider.swift",
"AnthropicProviderOptions.swift",
"AnthropicTools.swift",
"AnthropicVersion.swift",
"ConvertToAnthropicMessagesPrompt.swift",
"GetCacheControl.swift",
"MapAnthropicStopReason.swift",
"Tool/AnthropicBashTool.swift",
"Tool/AnthropicCodeExecutionTool.swift",
"Tool/AnthropicComputerTool.swift",
"Tool/AnthropicTextEditor20250728.swift",
"Tool/AnthropicTextEditorTools.swift",
"Tool/AnthropicWebTools.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "AmazonBedrockProvider",
"module_type" : "SwiftTarget",
"name" : "AmazonBedrockProvider",
"path" : "Sources/AmazonBedrockProvider",
"product_memberships" : [
"AmazonBedrockProvider"
],
"sources" : [
"AmazonBedrockVersion.swift",
"BedrockChatLanguageModel.swift",
"BedrockChatOptions.swift",
"BedrockEmbeddingModel.swift",
"BedrockEmbeddingOptions.swift",
"BedrockError.swift",
"BedrockEventStreamResponseHandler.swift",
"BedrockImageModel.swift",
"BedrockImageSettings.swift",
"BedrockModelIds.swift",
"BedrockPrepareTools.swift",
"BedrockProvider.swift",
"BedrockSigV4Fetch.swift",
"ConvertToBedrockChatMessages.swift",
"MapBedrockFinishReason.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKProviderUtils",
"AnthropicProvider"
],
"type" : "library"
},
{
"c99name" : "AISDKZodAdapter",
"module_type" : "SwiftTarget",
"name" : "AISDKZodAdapter",
"path" : "Sources/AISDKZodAdapter",
"product_memberships" : [
"AISDKProviderUtils",
"SwiftAISDK",
"OpenAIProvider",
"OpenAICompatibleProvider",
"AnthropicProvider",
"AmazonBedrockProvider",
"GatewayProvider",
"GoogleProvider",
"GoogleVertexProvider",
"AzureProvider",
"GroqProvider",
"MistralProvider",
"PerplexityProvider",
"CohereProvider",
"DeepgramProvider",
"DeepInfraProvider",
"ElevenLabsProvider",
"FalProvider",
"FireworksProvider",
"GladiaProvider",
"HuggingFaceProvider",
"HumeProvider",
"AssemblyAIProvider",
"CerebrasProvider",
"DeepSeekProvider",
"BasetenProvider",
"ReplicateProvider",
"XAIProvider",
"LMNTProvider",
"LumaProvider",
"AISDKJSONSchema",
"AISDKZodAdapter",
"playground"
],
"sources" : [
"ArkTypeToJSONSchema.swift",
"EffectToJSONSchema.swift",
"JSONValueCompat.swift",
"PublicBuilders.swift",
"ValibotToJSONSchema.swift",
"ZLikeDSL.swift",
"Zod3/Zod3Options.swift",
"Zod3/Zod3ParseDef.swift",
"Zod3/Zod3Parsers.swift",
"Zod3/Zod3ToJSONSchema.swift",
"Zod3/Zod3Types.swift"
],
"target_dependencies" : [
"AISDKProvider"
],
"type" : "library"
},
{
"c99name" : "AISDKProviderUtilsTests",
"module_type" : "SwiftTarget",
"name" : "AISDKProviderUtilsTests",
"path" : "Tests/AISDKProviderUtilsTests",
"sources" : [
"AsyncStreamBridgeTests.swift",
"CombineHeadersTests.swift",
"ConvertAsyncIteratorToReadableStreamTests.swift",
"DelayTests.swift",
"ExecuteToolTests.swift",
"ExtractResponseHeadersTests.swift",
"GenerateIDTests.swift",
"GetFromAPITests.swift",
"HTTPUtilsTests.swift",
"IsUrlSupportedTests.swift",
"LoadSettingsTests.swift",
"MediaTypeToExtensionTests.swift",
"ParseJSONTests.swift",
"ParseJsonEventStreamTests.swift",
"PostToAPITests.swift",
"ProviderDefinedToolFactoryTests.swift",
"ResponseHandlerTests.swift",
"SchemaTests.swift",
"SecureJsonParseTests.swift",
"ToJSONSchema/ArrayParserTests.swift",
"ToJSONSchema/BigIntParserTests.swift",
"ToJSONSchema/BrandedParserTests.swift",
"ToJSONSchema/CatchParserTests.swift",
"ToJSONSchema/NumberParserTests.swift",
"ToJSONSchema/StringParserTests.swift",
"ToJSONSchema/TestHelpers.swift",
"ToJSONSchema/ZodTestBuilders.swift",
"ToolExecutionResultTests.swift",
"ToolTests.swift",
"UserAgentTests.swift",
"ValidateTypesTests.swift"
],
"target_dependencies" : [
"AISDKProviderUtils",
"AISDKZodAdapter"
],
"type" : "test"
},
{
"c99name" : "AISDKProviderUtils",
"module_type" : "SwiftTarget",
"name" : "AISDKProviderUtils",
"path" : "Sources/AISDKProviderUtils",
"product_memberships" : [
"AISDKProviderUtils",
"SwiftAISDK",
"OpenAIProvider",
"OpenAICompatibleProvider",
"AnthropicProvider",
"AmazonBedrockProvider",
"GatewayProvider",
"GoogleProvider",
"GoogleVertexProvider",
"AzureProvider",
"GroqProvider",
"MistralProvider",
"PerplexityProvider",
"CohereProvider",
"DeepgramProvider",
"DeepInfraProvider",
"ElevenLabsProvider",
"FalProvider",
"FireworksProvider",
"GladiaProvider",
"HuggingFaceProvider",
"HumeProvider",
"AssemblyAIProvider",
"CerebrasProvider",
"DeepSeekProvider",
"BasetenProvider",
"ReplicateProvider",
"XAIProvider",
"LMNTProvider",
"LumaProvider",
"AISDKJSONSchema",
"playground"
],
"sources" : [
"CombineHeaders.swift",
"ContentPart.swift",
"ConvertAsyncIteratorToReadableStream.swift",
"DataContent.swift",
"Delay.swift",
"ExecuteTool.swift",
"ExtractResponseHeaders.swift",
"FetchFunction.swift",
"GenerateID.swift",
"GetErrorMessage.swift",
"GetFromAPI.swift",
"GetRuntimeEnvironmentUserAgent.swift",
"HandleFetchError.swift",
"InjectJSONInstructionIntoMessages.swift",
"IsAbortError.swift",
"IsAsyncIterable.swift",
"IsUrlSupported.swift",
"JSONValue/JSONValueToFoundation.swift",
"LoadAPIKey.swift",
"LoadOptionalSetting.swift",
"LoadSetting.swift",
"MediaTypeToExtension.swift",
"ModelMessage.swift",
"MultipartFormDataBuilder.swift",
"ParseJSON.swift",
"ParseJsonEventStream.swift",
"ParseProviderOptions.swift",
"PostToAPI.swift",
"ProviderDefinedToolFactory.swift",
"ProviderHTTPResponse.swift",
"RemoveUndefinedEntries.swift",
"Resolve.swift",
"ResponseHandler.swift",
"Schema/JSONSchemaValidator.swift",
"Schema/Schema.swift",
"Schema/ZodAdapters.swift",
"SecureJsonParse.swift",
"SplitDataUrl.swift",
"TestSupport/ConvertArrayToAsyncIterable.swift",
"TestSupport/ConvertArrayToReadableStream.swift",
"TestSupport/ConvertAsyncIterableToArray.swift",
"TestSupport/ConvertReadableStreamToArray.swift",
"TestSupport/ConvertResponseStreamToArray.swift",
"TestSupport/TestSupportIndex.swift",
"Tool.swift",
"Uint8Utils.swift",
"ValidateTypes.swift",
"Version.swift",
"Versioning/SDKReleaseVersion.swift",
"WithUserAgentSuffix.swift",
"WithoutTrailingSlash.swift"
],
"target_dependencies" : [
"AISDKProvider",
"AISDKZodAdapter",
"EventSourceParser"
],
"type" : "library"
},
{
"c99name" : "AISDKProviderTests",
"module_type" : "SwiftTarget",
"name" : "AISDKProviderTests",
"path" : "Tests/AISDKProviderTests",
"sources" : [
"JSONValue/IsJSONTests.swift",
"JSONValueTests.swift",
"LanguageModelMiddlewareTests.swift",
"LanguageModelV2CallOptionsTests.swift",
"LanguageModelV2CallWarningTests.swift",
"LanguageModelV2ContentTests.swift",
"LanguageModelV2DataContentTests.swift",
"LanguageModelV2PromptTests.swift",
"LanguageModelV2ResponseInfoTests.swift",
"LanguageModelV2ResponseMetadataTests.swift",
"LanguageModelV2StreamPartTests.swift",
"LanguageModelV2ToolTests.swift",
"LanguageModelV3CallOptionsTests.swift",
"LanguageModelV3CallWarningTests.swift",
"LanguageModelV3ContentTests.swift",
"LanguageModelV3DataContentTests.swift",
"LanguageModelV3PromptTests.swift",
"LanguageModelV3ResponseInfoTests.swift",
"LanguageModelV3ResponseMetadataTests.swift",
"LanguageModelV3StreamPartTests.swift",
"LanguageModelV3ToolResultTests.swift",
"LanguageModelV3ToolTests.swift",
"ProviderErrorsTests.swift"
],
"target_dependencies" : [
"AISDKProvider"
],
"type" : "test"
},
{
"c99name" : "AISDKProvider",
"module_type" : "SwiftTarget",
"name" : "AISDKProvider",
"path" : "Sources/AISDKProvider",
"product_memberships" : [
"AISDKProvider",
"AISDKProviderUtils",
"SwiftAISDK",
"OpenAIProvider",
"OpenAICompatibleProvider",
"AnthropicProvider",
"AmazonBedrockProvider",
"GatewayProvider",
"GoogleProvider",
"GoogleVertexProvider",
"AzureProvider",
"GroqProvider",
"MistralProvider",
"PerplexityProvider",
"CohereProvider",
"DeepgramProvider",
"DeepInfraProvider",
"ElevenLabsProvider",
"FalProvider",
"FireworksProvider",
"GladiaProvider",
"HuggingFaceProvider",
"HumeProvider",
"AssemblyAIProvider",
"CerebrasProvider",
"DeepSeekProvider",
"BasetenProvider",
"ReplicateProvider",
"XAIProvider",
"LMNTProvider",
"LumaProvider",
"AISDKJSONSchema",
"AISDKZodAdapter",
"playground"
],
"sources" : [
"EmbeddingModel/EmbeddingModelV2.swift",
"EmbeddingModel/EmbeddingModelV2Embedding.swift",
"EmbeddingModel/EmbeddingModelV3.swift",
"EmbeddingModel/EmbeddingModelV3Embedding.swift",
"Errors/AISDKError.swift",
"Errors/APICallError.swift",
"Errors/EmptyResponseBodyError.swift",
"Errors/GetErrorMessage.swift",
"Errors/InvalidArgumentError.swift",
"Errors/InvalidPromptError.swift",
"Errors/InvalidResponseDataError.swift",
"Errors/JSONParseError.swift",
"Errors/LoadAPIKeyError.swift",
"Errors/LoadSettingError.swift",
"Errors/NoContentGeneratedError.swift",
"Errors/NoSuchModelError.swift",
"Errors/TooManyEmbeddingValuesForCallError.swift",
"Errors/TypeValidationError.swift",
"Errors/UnsupportedFunctionalityError.swift",
"ImageModel/ImageModelV2.swift",
"ImageModel/ImageModelV2CallOptions.swift",
"ImageModel/ImageModelV2CallWarning.swift",
"ImageModel/ImageModelV3.swift",
"ImageModel/ImageModelV3CallOptions.swift",
"ImageModel/ImageModelV3CallWarning.swift",
"JSONValue/IsJSON.swift",
"JSONValue/JSONValue.swift",
"LanguageModel/Middleware/LanguageModelV2Middleware.swift",
"LanguageModel/Middleware/LanguageModelV3Middleware.swift",
"LanguageModel/V2/LanguageModelV2.swift",
"LanguageModel/V2/LanguageModelV2CallOptions.swift",
"LanguageModel/V2/LanguageModelV2CallWarning.swift",
"LanguageModel/V2/LanguageModelV2Content.swift",
"LanguageModel/V2/LanguageModelV2DataContent.swift",
"LanguageModel/V2/LanguageModelV2File.swift",
"LanguageModel/V2/LanguageModelV2FunctionTool.swift",
"LanguageModel/V2/LanguageModelV2Prompt.swift",
"LanguageModel/V2/LanguageModelV2ProviderDefinedTool.swift",
"LanguageModel/V2/LanguageModelV2Reasoning.swift",
"LanguageModel/V2/LanguageModelV2ResponseMetadata.swift",
"LanguageModel/V2/LanguageModelV2Source.swift",
"LanguageModel/V2/LanguageModelV2StreamPart.swift",
"LanguageModel/V2/LanguageModelV2Text.swift",
"LanguageModel/V2/LanguageModelV2ToolCall.swift",
"LanguageModel/V2/LanguageModelV2ToolChoice.swift",
"LanguageModel/V2/LanguageModelV2ToolResult.swift",
"LanguageModel/V3/LanguageModelV3.swift",
"LanguageModel/V3/LanguageModelV3CallOptions.swift",
"LanguageModel/V3/LanguageModelV3CallWarning.swift",
"LanguageModel/V3/LanguageModelV3Content.swift",
"LanguageModel/V3/LanguageModelV3DataContent.swift",
"LanguageModel/V3/LanguageModelV3File.swift",
"LanguageModel/V3/LanguageModelV3FunctionTool.swift",
"LanguageModel/V3/LanguageModelV3Prompt.swift",
"LanguageModel/V3/LanguageModelV3ProviderDefinedTool.swift",
"LanguageModel/V3/LanguageModelV3Reasoning.swift",
"LanguageModel/V3/LanguageModelV3ResponseMetadata.swift",
"LanguageModel/V3/LanguageModelV3Source.swift",
"LanguageModel/V3/LanguageModelV3StreamPart.swift",
"LanguageModel/V3/LanguageModelV3Text.swift",
"LanguageModel/V3/LanguageModelV3ToolCall.swift",
"LanguageModel/V3/LanguageModelV3ToolChoice.swift",
"LanguageModel/V3/LanguageModelV3ToolResult.swift",
"ProviderV2.swift",
"ProviderV3.swift",
"Shared/V2/SharedV2Headers.swift",
"Shared/V2/SharedV2ProviderMetadata.swift",
"Shared/V2/SharedV2ProviderOptions.swift",
"Shared/V3/SharedV3Headers.swift",
"Shared/V3/SharedV3ProviderMetadata.swift",
"Shared/V3/SharedV3ProviderOptions.swift",
"SpeechModel/SpeechModelV2.swift",
"SpeechModel/SpeechModelV2CallOptions.swift",
"SpeechModel/SpeechModelV2CallWarning.swift",
"SpeechModel/SpeechModelV3.swift",
"SpeechModel/SpeechModelV3CallOptions.swift",
"SpeechModel/SpeechModelV3CallWarning.swift",
"TranscriptionModel/TranscriptionModelV2.swift",
"TranscriptionModel/TranscriptionModelV2CallOptions.swift",
"TranscriptionModel/TranscriptionModelV2CallWarning.swift",
"TranscriptionModel/TranscriptionModelV3.swift",
"TranscriptionModel/TranscriptionModelV3CallOptions.swift",
"TranscriptionModel/TranscriptionModelV3CallWarning.swift"
],
"type" : "library"
},
{
"c99name" : "AISDKJSONSchemaTests",
"module_type" : "SwiftTarget",
"name" : "AISDKJSONSchemaTests",
"path" : "Tests/AISDKJSONSchemaTests",
"sources" : [
"ISO8601DecodingTests.swift",
"SchemaGeneratorBasicTests.swift"
],
"target_dependencies" : [
"AISDKJSONSchema",
"AISDKProviderUtils"
],
"type" : "test"
},
{
"c99name" : "AISDKJSONSchema",
"module_type" : "SwiftTarget",
"name" : "AISDKJSONSchema",
"path" : "Sources/AISDKJSONSchema",
"product_memberships" : [
"SwiftAISDK",
"AISDKJSONSchema",
"playground"
],
"sources" : [
"DefaultValueFactory.swift",
"FlexibleSchema+Auto.swift",
"JSONSchemaGenerator.swift"
],
"target_dependencies" : [
"AISDKProviderUtils",
"AISDKZodAdapter"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.