The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AgentKitten, reference main (422dfa), with Swift 6.4 for tvOS using Xcode 27.0 on 25 Sep 2026 13:01:39 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AgentKitten-Package -destination generic/platform=tvOS

Build Log

        "Shared/PlaygroundError.swift",
        "Shared/PlaygroundProviderConfiguration.swift",
        "Shared/PlaygroundSessionFactory.swift",
        "Shared/PlaygroundToolApprovalSupport.swift",
        "Shared/PlaygroundToolEventFormatter.swift",
        "Shared/PlaygroundTracePrinter.swift",
        "Shared/ProviderOption.swift"
      ],
      "target_dependencies" : [
        "AgentKitten",
        "AgentKittenAnthropicInference",
        "AgentKittenAppleInference",
        "AgentKittenOpenAIInference",
        "AgentKittenInferenceTestSupport"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AgentKittenTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenTests",
      "path" : "Tests/AgentKittenTests",
      "sources" : [
        "AgentKittenTests.swift"
      ],
      "target_dependencies" : [
        "AgentKitten",
        "AgentKittenInferenceTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenOpenAIInferenceTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenOpenAIInferenceTests",
      "path" : "Tests/AgentKittenOpenAIInferenceTests",
      "sources" : [
        "OpenAIContextCompactionTests.swift",
        "OpenAIContextUsageTests.swift",
        "OpenAIContextWindowTests.swift",
        "OpenAIHTTPClientTests.swift",
        "OpenAISSEParserTests.swift",
        "OpenAISessionTestFixtures.swift",
        "OpenAISessionTests.swift",
        "OpenAIStreamConformanceTests.swift",
        "OpenAIStructuredSessionTests.swift",
        "OpenAIToolResultEncodingTests.swift",
        "OpenAIToolUseTests.swift"
      ],
      "target_dependencies" : [
        "AgentKittenOpenAIInference",
        "AgentKittenInferenceSupport",
        "AgentKittenInferenceTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenOpenAIInference",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenOpenAIInference",
      "path" : "Sources/AgentKittenOpenAIInference",
      "product_memberships" : [
        "AgentKittenOpenAIInference",
        "Playground"
      ],
      "sources" : [
        "InferenceProvider+OpenAI.swift",
        "OpenAIContextWindowKey.swift",
        "OpenAICredentials.swift",
        "OpenAIHTTPClient.swift",
        "OpenAIInferenceProvider.swift",
        "OpenAIInferenceSession+Compaction.swift",
        "OpenAIInferenceSession+Context.swift",
        "OpenAIInferenceSession+Tools.swift",
        "OpenAIInferenceSession.swift",
        "OpenAIModelKey.swift",
        "OpenAIModels.swift",
        "OpenAISSEParser.swift",
        "OpenAIStructuredInferenceSession.swift",
        "OpenAIToolBridge.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore",
        "AgentKittenInferenceSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKittenMacros",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenMacros",
      "path" : "Sources/AgentKittenMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "AgentKitten",
        "AgentKittenCore",
        "AgentKittenInferenceSupport",
        "AgentKittenAnthropicInference",
        "AgentKittenAppleInference",
        "AgentKittenOpenAIInference",
        "AgentKittenInferenceTestSupport",
        "Playground",
        "AgentKittenMacros"
      ],
      "sources" : [
        "Macros.swift",
        "ParameterDescriptionMacro.swift",
        "Plugin.swift",
        "ToolMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "AgentKittenInferenceTestSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenInferenceTestSupportTests",
      "path" : "Tests/AgentKittenInferenceTestSupportTests",
      "sources" : [
        "InferenceStreamValidatorTests.swift",
        "MockProviderConformanceTests.swift"
      ],
      "target_dependencies" : [
        "AgentKittenInferenceTestSupport",
        "AgentKittenCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenInferenceTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenInferenceTestSupport",
      "path" : "Sources/AgentKittenInferenceTestSupport",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "AgentKittenInferenceTestSupport",
        "Playground"
      ],
      "sources" : [
        "InferenceStreamContractViolation.swift",
        "InferenceStreamValidator.swift",
        "Mock/InferenceProvider+Mock.swift",
        "Mock/MockInferenceProvider.swift",
        "Mock/MockInferenceSession.swift",
        "Mock/MockResponse.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKittenInferenceSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenInferenceSupportTests",
      "path" : "Tests/AgentKittenInferenceSupportTests",
      "sources" : [
        "CredentialProviderTests.swift"
      ],
      "target_dependencies" : [
        "AgentKittenInferenceSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenInferenceSupport",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenInferenceSupport",
      "path" : "Sources/AgentKittenInferenceSupport",
      "product_memberships" : [
        "AgentKittenInferenceSupport",
        "AgentKittenAnthropicInference",
        "AgentKittenAppleInference",
        "AgentKittenOpenAIInference",
        "Playground"
      ],
      "sources" : [
        "Credentials/APIKeyProviding.swift",
        "Credentials/EnvironmentAPIKeyProvider.swift",
        "Credentials/KeychainAPIKeyProvider.swift",
        "Credentials/MockAPIKeyProvider.swift",
        "HistoryRenderingConfiguration.swift",
        "InferenceProviderJSONValue+JSONSchema.swift",
        "InferenceProviderJSONValue.swift",
        "LMStudioModelMetadata.swift",
        "SSEStreamDriver.swift",
        "StructuredInferenceHelpers.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKittenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenCoreTests",
      "path" : "Tests/AgentKittenCoreTests",
      "sources" : [
        "AgentKittenCoreTests.swift",
        "AgentMessageTests.swift",
        "AgentQueuedSessionTests.swift",
        "AgentSessionClearContextTests.swift",
        "AgentSessionConcurrencyTests.swift",
        "AgentSessionContextCompactionTests.swift",
        "AgentSessionContextConcurrencyTests.swift",
        "AgentSessionStructuredTests.swift",
        "AgentSessionTestDoubles.swift",
        "AgentSessionTests.swift",
        "CompactionInferenceConfigurationTestDoubles.swift",
        "CompactionInferenceConfigurationTests.swift",
        "CompactionInferenceConfigurationTraceSupport.swift",
        "CompactionSummaryTrimmingTests.swift",
        "ContextCompactionFallbackTests.swift",
        "ContextCompactionRebuildSupport.swift",
        "ContextCompactorTests.swift",
        "ContextUsageTests.swift",
        "ContextWindowExceededTests.swift",
        "ConvenienceInitTests.swift",
        "ConversationConcurrencyTests.swift",
        "ConversationProviderTests.swift",
        "ConversationStructuredTests.swift",
        "ConversationTests.swift",
        "EventMetadataTests.swift",
        "IdentityTests.swift",
        "InferenceContextTests.swift",
        "JudgeValidatorSystemPromptTests.swift",
        "JudgeValidatorTests.swift",
        "MockInferenceProviderTests.swift",
        "MockInferenceSessionConcurrencyTests.swift",
        "MockStructuredSessionTests.swift",
        "MockToolSelectionTests.swift",
        "ProviderRegistryTests.swift",
        "ScriptedInferenceSupport.swift",
        "SessionStateTests.swift",
        "SessionStateTurnAttributionTests.swift",
        "SingleFlightOperationGateTests.swift",
        "StringFormatPlaceholderTests.swift",
        "StructuredInferenceSessionTests.swift",
        "SystemNoteTests.swift",
        "TestSupport.swift",
        "TokenCountTests.swift",
        "ToolApprovalEventTests.swift",
        "ToolApprovalRuntimeTests.swift",
        "ToolExecutionPolicyTests.swift",
        "ToolRationaleTests.swift",
        "ToolSelectionTests.swift",
        "ToolTests.swift",
        "TraceCodableTests.swift",
        "TraceQueueTests.swift",
        "TraceRetentionPolicyTests.swift",
        "TraceTestSupport.swift",
        "TraceTests.swift",
        "TraceToolMessageTests.swift",
        "ValidationBehaviorTests.swift",
        "ValidationErrorHandlingTests.swift",
        "ValidationPolicyTests.swift",
        "ValidationTestSupport.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore",
        "AgentKittenInferenceTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenCore",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenCore",
      "path" : "Sources/AgentKittenCore",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "AgentKitten",
        "AgentKittenCore",
        "AgentKittenInferenceSupport",
        "AgentKittenAnthropicInference",
        "AgentKittenAppleInference",
        "AgentKittenOpenAIInference",
        "AgentKittenInferenceTestSupport",
        "Playground"
      ],
      "sources" : [
        "Agent/Agent+ConvenienceInits.swift",
        "Agent/Agent.swift",
        "Agent/Behavior/AgentBehavior+ConvenienceInits.swift",
        "Agent/Behavior/AgentBehavior.swift",
        "Agent/Behavior/AgentPhase.swift",
        "Agent/Behavior/PhaseBehavior.swift",
        "Agent/Behavior/PhaseBehaviorSet.swift",
        "Agent/Compaction/AutomaticCompaction.swift",
        "Agent/Compaction/AutomaticCompactionOperation.swift",
        "Agent/Compaction/CompactionRequest.swift",
        "Agent/Compaction/ContextCompactableSession.swift",
        "Agent/Compaction/ContextCompacting.swift",
        "Agent/Compaction/ContextCompactionOptions.swift",
        "Agent/Compaction/ContextCompactionResult.swift",
        "Agent/Compaction/ContextCompactor.swift",
        "Agent/Compaction/RenderedSessionEntry.swift",
        "Agent/Compaction/TurnPreservationPlan.swift",
        "Agent/Conversation/ConversationAssembler.swift",
        "Agent/Conversation/ConversationEventConsumer.swift",
        "Agent/Conversation/ConversationEventMapper.swift",
        "Agent/Conversation/ConversationProvider.swift",
        "Agent/Event/AgentEvent+Kind.swift",
        "Agent/Event/AgentEvent+Metadata.swift",
        "Agent/Event/AgentEvent.swift",
        "Agent/Session/AgentSession+ClearContext.swift",
        "Agent/Session/AgentSession+ContextCompaction.swift",
        "Agent/Session/AgentSession+ContextUsage.swift",
        "Agent/Session/AgentSession+ConversationPreparation.swift",
        "Agent/Session/AgentSession+Record.swift",
        "Agent/Session/AgentSession.swift",
        "Agent/Session/AgentSessionError.swift",
        "Agent/Session/AgentSessionRuntime.swift",
        "Agent/Session/QueuedSession/AgentQueuedSession.swift",
        "Agent/Session/QueuedSession/AnyQueuedTurn.swift",
        "Agent/SessionState/SessionState.swift",
        "Agent/SessionState/SessionStateBuiltins.swift",
        "Agent/SessionState/SessionStateConfiguration.swift",
        "Agent/Trace/AgentTrace.swift",
        "Agent/Trace/AgentTraceEntry+ErrorInfo.swift",
        "Agent/Trace/AgentTraceEntry+ExecutionPreparation.swift",
        "Agent/Trace/AgentTraceEntry+Kind.swift",
        "Agent/Trace/AgentTraceEntry+StateMutation.swift",
        "Agent/Trace/AgentTraceEntry+ToolHookInvocation.swift",
        "Agent/Trace/AgentTraceEntry+TurnOutcome.swift",
        "Agent/Trace/AgentTraceEntry+Validation.swift",
        "Agent/Trace/AgentTraceEntry.swift",
        "Agent/Trace/TraceRetentionPolicy.swift",
        "Agent/Turn/Turn.swift",
        "Agent/Turn/TurnEventSink.swift",
        "Agent/Turn/TurnEventStream.swift",
        "Agent/Turn/TurnOverrides.swift",
        "Agent/Turn/TurnQueue.swift",
        "Agent/Turn/TurnRuntime.swift",
        "Agent/Turn/TurnTraceSink.swift",
        "Agent/Turn/TurnValidator.swift",
        "AgentKittenCore.swift",
        "Conversation/AnyConversation.swift",
        "Conversation/Conversation.swift",
        "Conversation/Event/ConversationEvent+Kind.swift",
        "Conversation/Event/ConversationEvent+Metadata.swift",
        "Conversation/Event/ConversationEvent.swift",
        "Conversation/InferenceDigester.swift",
        "Inference/AnyInferenceProvider.swift",
        "Inference/ContextUsage.swift",
        "Inference/InferenceConfiguration.swift",
        "Inference/InferenceContext.swift",
        "Inference/InferenceError.swift",
        "Inference/InferenceEvent.swift",
        "Inference/InferenceProvider.swift",
        "Inference/InferenceRequestParameters.swift",
        "Inference/InferenceSession.swift",
        "Inference/JSONSchemaProviding.swift",
        "Inference/ProviderReference.swift",
        "Inference/ProviderRegistry.swift",
        "Inference/StructuredInferenceSession.swift",
        "Inference/TokenCount.swift",
        "Inference/ToolSelection.swift",
        "Macros/Macros.swift",
        "Shared/AgentMessage.swift",
        "Shared/CustomContext.swift",
        "Shared/EffectiveExecutionConfiguration.swift",
        "Shared/ExecutionEnvironment.swift",
        "Shared/Identity.swift",
        "Shared/JSONSchema.swift",
        "Shared/SingleFlightOperationGate.swift",
        "Shared/StringFormatPlaceholder.swift",
        "Shared/ToolApproving.swift",
        "Tools/AgentTool.swift",
        "Tools/AnyAgentTool.swift",
        "Tools/AnyToolHook.swift",
        "Tools/ToolApprovalGate.swift",
        "Tools/ToolApprovalResolutionError.swift",
        "Tools/ToolBehavior.swift",
        "Tools/ToolCallOutcome.swift",
        "Tools/ToolCapabilities.swift",
        "Tools/ToolDefinition.swift",
        "Tools/ToolExecutionContext.swift",
        "Tools/ToolExecutionPolicy.swift",
        "Tools/ToolExecutor.swift",
        "Tools/ToolHook.swift",
        "Tools/ToolMessages.swift",
        "Tools/ToolRegistry.swift",
        "Tools/ToolResultContent.swift",
        "Tools/ToolRuntime.swift",
        "Tools/ToolRuntimeConfig.swift",
        "Tools/ToolSchema.swift",
        "Validation/AnyValidator.swift",
        "Validation/JudgeValidator+Defaults.swift",
        "Validation/JudgeValidator.swift",
        "Validation/ValidationConfiguration.swift",
        "Validation/ValidationContext.swift",
        "Validation/ValidationResult.swift",
        "Validation/Validator.swift"
      ],
      "target_dependencies" : [
        "AgentKittenMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKittenAppleInferenceTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenAppleInferenceTests",
      "path" : "Tests/AgentKittenAppleInferenceTests",
      "sources" : [
        "AppleContextCompactionTests.swift",
        "ApplePlatformSupportTests.swift",
        "AppleStreamConformanceTests.swift",
        "AppleUnitTests.swift",
        "TestSupport.swift",
        "ToolEventRelayTests.swift"
      ],
      "target_dependencies" : [
        "AgentKittenAppleInference",
        "AgentKittenInferenceTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenAppleInference",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenAppleInference",
      "path" : "Sources/AgentKittenAppleInference",
      "product_memberships" : [
        "AgentKittenAppleInference",
        "Playground"
      ],
      "sources" : [
        "AppleBridgedTool.swift",
        "AppleInferenceProvider.swift",
        "AppleInferenceSession+Compaction.swift",
        "AppleInferenceSession.swift",
        "AppleStructuredInferenceSession.swift",
        "AppleToolResultSupport.swift",
        "InferenceProvider+Apple.swift",
        "JSONSchemaBridge.swift",
        "ToolEventRelay.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore",
        "AgentKittenInferenceSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKittenAnthropicInferenceTests",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenAnthropicInferenceTests",
      "path" : "Tests/AgentKittenAnthropicInferenceTests",
      "sources" : [
        "AnthropicAgentApprovalTests.swift",
        "AnthropicContextCompactionTestDoubles.swift",
        "AnthropicContextCompactionTests.swift",
        "AnthropicContextWindowTests.swift",
        "AnthropicHTTPClientTests.swift",
        "AnthropicModelKeyTests.swift",
        "AnthropicSSEParserTests.swift",
        "AnthropicSessionConcurrencyTests.swift",
        "AnthropicSessionTestFixtures.swift",
        "AnthropicSessionTests.swift",
        "AnthropicStreamConformanceTests.swift",
        "AnthropicStructuredSessionTests.swift",
        "AnthropicToolExecutionPolicyTests.swift",
        "AnthropicToolSelectionTests.swift",
        "AnthropicToolUseTests.swift",
        "AnthropicUnitTests.swift",
        "TestSupport.swift",
        "ToolRationaleInferenceTests.swift"
      ],
      "target_dependencies" : [
        "AgentKittenAnthropicInference",
        "AgentKittenInferenceSupport",
        "AgentKittenInferenceTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AgentKittenAnthropicInference",
      "module_type" : "SwiftTarget",
      "name" : "AgentKittenAnthropicInference",
      "path" : "Sources/AgentKittenAnthropicInference",
      "product_memberships" : [
        "AgentKittenAnthropicInference",
        "Playground"
      ],
      "sources" : [
        "AnthropicContextWindowKey.swift",
        "AnthropicCredentials.swift",
        "AnthropicHTTPClient.swift",
        "AnthropicInferenceProvider.swift",
        "AnthropicInferenceSession+Compaction.swift",
        "AnthropicInferenceSession+Context.swift",
        "AnthropicInferenceSession.swift",
        "AnthropicModelConfiguration.swift",
        "AnthropicModels.swift",
        "AnthropicSSEParser.swift",
        "AnthropicStructuredInferenceSession.swift",
        "AnthropicToolBridge.swift",
        "InferenceProvider+Anthropic.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore",
        "AgentKittenInferenceSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AgentKitten",
      "module_type" : "SwiftTarget",
      "name" : "AgentKitten",
      "path" : "Sources/AgentKitten",
      "product_memberships" : [
        "AgentKitten",
        "Playground"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AgentKitten/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AgentKitten.swift"
      ],
      "target_dependencies" : [
        "AgentKittenCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "AgentKitten",
    "schemes" : [
      "AgentKitten",
      "AgentKitten-Package",
      "AgentKittenAnthropicInference",
      "AgentKittenAppleInference",
      "AgentKittenCore",
      "AgentKittenInferenceSupport",
      "AgentKittenInferenceTestSupport",
      "AgentKittenOpenAIInference",
      "Playground"
    ]
  }
}
2026-09-25 09:01:28.625 xcodebuild[1892:11379] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AgentKitten-Package -destination generic/platform=tvOS
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme AgentKitten-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
  SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
  swift-log: https://github.com/apple/swift-log @ 1.15.1
  AgentKitten: /Users/admin/builder/spi-builder-workspace
  swift-argument-parser: https://github.com/apple/swift-argument-parser @ 1.8.2
  swift-syntax: https://github.com/swiftlang/swift-syntax @ 600.0.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (40 targets)
    Target 'Playground-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKitten_Playground' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKitten' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenAnthropicInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenAppleInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenOpenAIInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceTestSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
        ➜ Explicit dependency on target 'ArgumentParser-product' in project 'swift-argument-parser'
    Target 'ArgumentParser-product' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParser' in project 'swift-argument-parser'
        ➜ Explicit dependency on target 'ArgumentParserToolInfo' in project 'swift-argument-parser'
    Target 'ArgumentParserToolInfo' in project 'swift-argument-parser' (no dependencies)
    Target 'AgentKitten_Playground' in project 'AgentKitten' (no dependencies)
    Target 'AgentKittenInferenceTestSupport-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceTestSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenInferenceTestSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenOpenAIInference-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenOpenAIInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenOpenAIInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenAppleInference-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenAppleInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenAppleInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenAnthropicInference-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenAnthropicInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenAnthropicInference' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenInferenceSupport-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenInferenceSupport' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenCore-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKitten-product' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKitten' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKitten_AgentKitten' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKitten' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKitten_AgentKitten' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'AgentKittenCore' in project 'AgentKitten'
        ➜ Explicit dependency on target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'Logging-product' in project 'swift-log'
    Target 'Logging-product' in project 'swift-log'
        ➜ Explicit dependency on target 'Logging' in project 'swift-log'
    Target 'Logging' in project 'swift-log' (no dependencies)
    Target 'AgentKittenMacros' in project 'AgentKitten'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
    Target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPlugin' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
    Target 'SwiftCompilerPlugin' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
    Target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
    Target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
    Target 'SwiftOperators' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
    Target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
    Target 'SwiftSyntaxMacros' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
    Target 'SwiftSyntaxBuilder' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
    Target 'SwiftParserDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
    Target 'SwiftBasicFormat' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftParser' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftDiagnostics' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
    Target 'SwiftSyntax' in project 'swift-syntax'
        ➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
        ➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
    Target 'SwiftSyntax600' in project 'swift-syntax' (no dependencies)
    Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
    Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
    Target '_SwiftSyntaxCShims' in project 'swift-syntax' (no dependencies)
    Target 'AgentKitten_AgentKitten' in project 'AgentKitten' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver AgentKittenAppleInference normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AgentKittenAppleInference -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos18.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AgentKittenMacros\#AgentKittenMacros -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
ExtractAppIntentsMetadata (in target 'AgentKittenAnthropicInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.e5u3ul/Metal.xctoolchain --module-name AgentKittenAnthropicInference --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk --xcode-version 27A266a --platform-family tvOS --deployment-target 18.0 --bundle-identifier spi-builder-workspace.AgentKittenAnthropicInference --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/AgentKittenAnthropicInference.appintents --target-triple arm64-apple-tvos18.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/AgentKittenAnthropicInference.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAnthropicInference-t.build/Objects-normal/arm64/AgentKittenAnthropicInference_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAnthropicInference-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAnthropicInference-t.build/Objects-normal/arm64/AgentKittenAnthropicInference.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAnthropicInference-t.build/AgentKittenAnthropicInference.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAnthropicInference-t.build/AgentKittenAnthropicInference.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAnthropicInference-t.build/Objects-normal/arm64/AgentKittenAnthropicInference.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-25 09:01:38.890 appintentsmetadataprocessor[2015:12207] Starting appintentsmetadataprocessor export
2026-09-25 09:01:38.951 appintentsmetadataprocessor[2015:12207] Extracted no relevant App Intents symbols, skipping writing output
SwiftCompile normal arm64 Compiling\ AppleInferenceProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppleInferenceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift:32:30: error: 'SystemLanguageModel' is unavailable in tvOS
 30 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 31 | extension AppleLanguageModel {
 32 |     var systemLanguageModel: SystemLanguageModel {
    |                              `- error: 'SystemLanguageModel' is unavailable in tvOS
 33 |         switch self {
 34 |         case .default:
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift:35:13: error: 'SystemLanguageModel' is unavailable in tvOS
 33 |         switch self {
 34 |         case .default:
 35 |             SystemLanguageModel.default
    |             `- error: 'SystemLanguageModel' is unavailable in tvOS
 36 |         case .contentTagging:
 37 |             SystemLanguageModel(useCase: .contentTagging)
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift:35:33: error: 'default' is unavailable in tvOS
 33 |         switch self {
 34 |         case .default:
 35 |             SystemLanguageModel.default
    |                                 `- error: 'default' is unavailable in tvOS
 36 |         case .contentTagging:
 37 |             SystemLanguageModel(useCase: .contentTagging)
FoundationModels.SystemLanguageModel.default:5:20: note: 'default' has been explicitly marked unavailable here
3 |   @available(tvOS, unavailable)
4 |   @available(watchOS, unavailable)
5 |   public class var `default`: SystemLanguageModel { get }}
  |                    `- note: 'default' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift:37:13: error: 'SystemLanguageModel' is unavailable in tvOS
 35 |             SystemLanguageModel.default
 36 |         case .contentTagging:
 37 |             SystemLanguageModel(useCase: .contentTagging)
    |             `- error: 'SystemLanguageModel' is unavailable in tvOS
 38 |         }
 39 |     }
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift:37:13: error: 'init(useCase:guardrails:)' is unavailable in tvOS
 35 |             SystemLanguageModel.default
 36 |         case .contentTagging:
 37 |             SystemLanguageModel(useCase: .contentTagging)
    |             `- error: 'init(useCase:guardrails:)' is unavailable in tvOS
 38 |         }
 39 |     }
FoundationModels.SystemLanguageModel.init:5:22: note: 'init(useCase:guardrails:)' has been explicitly marked unavailable here
3 |   @available(tvOS, unavailable)
4 |   @available(watchOS, unavailable)
5 |   public convenience init(useCase: SystemLanguageModel.UseCase = .general, guardrails: SystemLanguageModel.Guardrails = Guardrails.default)}
  |                      `- note: 'init(useCase:guardrails:)' has been explicitly marked unavailable here
6 |
SwiftCompile normal arm64 Compiling\ AppleInferenceSession+Compaction.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:52:43: error: 'Transcript' is unavailable in tvOS
 50 | extension AppleInferenceSession {
 51 |     static func compactableEntries(
 52 |         from transcript: FoundationModels.Transcript,
    |                                           `- error: 'Transcript' is unavailable in tvOS
 53 |     ) -> [FoundationModels.Transcript.Entry] {
 54 |         Array(transcript).filter {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:53:28: error: 'Transcript' is unavailable in tvOS
 51 |     static func compactableEntries(
 52 |         from transcript: FoundationModels.Transcript,
 53 |     ) -> [FoundationModels.Transcript.Entry] {
    |                            `- error: 'Transcript' is unavailable in tvOS
 54 |         Array(transcript).filter {
 55 |             if case .instructions = $0 { false } else { true }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:59:65: error: 'Transcript' is unavailable in tvOS
 57 |     }
 58 |
 59 |     private static func isTurnStarter(_ entry: FoundationModels.Transcript.Entry) -> Bool {
    |                                                                 `- error: 'Transcript' is unavailable in tvOS
 60 |         if case .prompt = entry { return true }
 61 |         return false
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:64:46: error: 'Transcript' is unavailable in tvOS
 62 |     }
 63 |
 64 |     func render(_ entries: [FoundationModels.Transcript.Entry]) -> String {
    |                                              `- error: 'Transcript' is unavailable in tvOS
 65 |         entries.compactMap { entry in
 66 |             let rendered = render(entry)
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:71:51: error: 'Transcript' is unavailable in tvOS
 69 |     }
 70 |
 71 |     private func render(_ entry: FoundationModels.Transcript.Entry) -> String {
    |                                                   `- error: 'Transcript' is unavailable in tvOS
 72 |         switch entry {
 73 |         case .instructions:
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:92:70: error: 'Transcript' is unavailable in tvOS
 90 |     }
 91 |
 92 |     private static func renderSegments(_ segments: [FoundationModels.Transcript.Segment]) -> String {
    |                                                                      `- error: 'Transcript' is unavailable in tvOS
 93 |         segments.compactMap { segment -> String? in
 94 |             switch segment {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:105:73: error: 'Transcript' is unavailable in tvOS
103 |     }
104 |
105 |     private func summaryEntries(_ summary: String) -> [FoundationModels.Transcript.Entry] {
    |                                                                         `- error: 'Transcript' is unavailable in tvOS
106 |         [
107 |             .prompt(FoundationModels.Transcript.Prompt(segments: [
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:117:40: error: 'Transcript' is unavailable in tvOS
115 |
116 |     static func contextUsage(
117 |         for entries: [FoundationModels.Transcript.Entry],
    |                                        `- error: 'Transcript' is unavailable in tvOS
118 |         model: SystemLanguageModel,
119 |     ) async throws -> ContextUsage {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:118:16: error: 'SystemLanguageModel' is unavailable in tvOS
116 |     static func contextUsage(
117 |         for entries: [FoundationModels.Transcript.Entry],
118 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
119 |     ) async throws -> ContextUsage {
120 |         guard #available(macOS 26.4, iOS 26.4, visionOS 26.4, macCatalyst 26.4, *) else {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:11:36: error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
  9 | extension AppleInferenceSession: ContextCompactableSession {
 10 |     public func compactionEntries() -> [RenderedSessionEntry] {
 11 |         languageSession.transcript.filter { if case .instructions = $0 { false } else { true } }.map {
    |                                    `- error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 12 |             RenderedSessionEntry(isTurnStart: Self.isTurnStarter($0), rendered: render($0))
 13 |         }
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:21:18: error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 19 |     ) async throws -> ContextCompactionResult {
 20 |         let usageBefore = try await Self.contextUsage(
 21 |             for: Array(languageSession.transcript),
    |                  `- error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 22 |             model: model,
 23 |         )
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:30:40: error: 'Transcript' is unavailable in tvOS
 28 |             isTurnStart: Self.isTurnStarter,
 29 |         )
 30 |         let entries: [FoundationModels.Transcript.Entry] = if let summary {
    |                                        `- error: 'Transcript' is unavailable in tvOS
 31 |             summaryEntries(summary) + plan.recentEntries(from: compactableEntries)
 32 |         } else {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:35:44: error: 'Transcript' is unavailable in tvOS
 33 |             plan.recentEntries(from: compactableEntries)
 34 |         }
 35 |         replaceTranscript(FoundationModels.Transcript(entries: entries))
    |                                            `- error: 'Transcript' is unavailable in tvOS
 36 |         let usageAfter = (try? await Self.contextUsage(
 37 |             for: Array(languageSession.transcript),
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:37:18: error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 35 |         replaceTranscript(FoundationModels.Transcript(entries: entries))
 36 |         let usageAfter = (try? await Self.contextUsage(
 37 |             for: Array(languageSession.transcript),
    |                  `- error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 38 |             model: model,
 39 |         )) ?? usageBefore
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:54:9: error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 52 |         from transcript: FoundationModels.Transcript,
 53 |     ) -> [FoundationModels.Transcript.Entry] {
 54 |         Array(transcript).filter {
    |         `- error: conformance of 'Transcript' to 'Sequence' is unavailable in tvOS
 55 |             if case .instructions = $0 { false } else { true }
 56 |         }
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Sequence' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:80:35: error: conformance of 'Transcript.ToolCalls' to 'Collection' is unavailable in tvOS
 78 |             return "\(historyRenderingConfiguration.assistantRoleLabel): \(Self.renderSegments(response.segments))"
 79 |         case .toolCalls(let toolCalls):
 80 |             let calls = toolCalls.map {
    |                                   `- error: conformance of 'Transcript.ToolCalls' to 'Collection' is unavailable in tvOS
 81 |                 String(format: historyRenderingConfiguration.toolCallFormat, $0.toolName)
 82 |             }.joined(separator: "\n")
FoundationModels.Transcript.ToolCalls:3:11: note: conformance of 'Transcript.ToolCalls' to 'Collection' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript.ToolCalls : RandomAccessCollection {
   |           `- note: conformance of 'Transcript.ToolCalls' to 'Collection' has been explicitly marked unavailable here
 4 |     public subscript(position: Int) -> Transcript.ToolCall { get }
 5 |     public var startIndex: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:88:26: error: 'description' is unavailable in tvOS
 86 |             return String(format: historyRenderingConfiguration.toolResultFormat, body)
 87 |         @unknown default:
 88 |             return entry.description
    |                          `- error: 'description' is unavailable in tvOS
 89 |         }
 90 |     }
FoundationModels.Transcript.Entry.description:3:12: note: 'description' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   enum Entry {
3 | public var description: String { get }  }
  |            `- note: 'description' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:98:35: error: 'description' is unavailable in tvOS
 96 |                 return text.content
 97 |             case .structure(let structured):
 98 |                 return structured.description
    |                                   `- error: 'description' is unavailable in tvOS
 99 |             @unknown default:
100 |                 return nil
FoundationModels.Transcript.StructuredSegment.description:3:12: note: 'description' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   struct StructuredSegment {
3 | public var description: String { get }  }
  |            `- note: 'description' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:107:38: error: 'Transcript' is unavailable in tvOS
105 |     private func summaryEntries(_ summary: String) -> [FoundationModels.Transcript.Entry] {
106 |         [
107 |             .prompt(FoundationModels.Transcript.Prompt(segments: [
    |                                      `- error: 'Transcript' is unavailable in tvOS
108 |                 .text(FoundationModels.Transcript.TextSegment(content: historyRenderingConfiguration.summaryMarker)),
109 |             ])),
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:107:49: error: 'init(id:segments:options:responseFormat:)' is unavailable in tvOS
105 |     private func summaryEntries(_ summary: String) -> [FoundationModels.Transcript.Entry] {
106 |         [
107 |             .prompt(FoundationModels.Transcript.Prompt(segments: [
    |                                                 `- error: 'init(id:segments:options:responseFormat:)' is unavailable in tvOS
108 |                 .text(FoundationModels.Transcript.TextSegment(content: historyRenderingConfiguration.summaryMarker)),
109 |             ])),
FoundationModels.Transcript.Prompt.init:3:8: note: 'init(id:segments:options:responseFormat:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   struct Prompt {
3 | public init(id: String = UUID().uuidString, segments: [Transcript.Segment], options: GenerationOptions = GenerationOptions(), responseFormat: Transcript.ResponseFormat? = nil)  }
  |        `- note: 'init(id:segments:options:responseFormat:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:108:40: error: 'Transcript' is unavailable in tvOS
106 |         [
107 |             .prompt(FoundationModels.Transcript.Prompt(segments: [
108 |                 .text(FoundationModels.Transcript.TextSegment(content: historyRenderingConfiguration.summaryMarker)),
    |                                        `- error: 'Transcript' is unavailable in tvOS
109 |             ])),
110 |             .response(FoundationModels.Transcript.Response(assetIDs: [], segments: [
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:110:40: error: 'Transcript' is unavailable in tvOS
108 |                 .text(FoundationModels.Transcript.TextSegment(content: historyRenderingConfiguration.summaryMarker)),
109 |             ])),
110 |             .response(FoundationModels.Transcript.Response(assetIDs: [], segments: [
    |                                        `- error: 'Transcript' is unavailable in tvOS
111 |                 .text(FoundationModels.Transcript.TextSegment(content: summary)),
112 |             ])),
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:110:51: error: 'init(id:assetIDs:segments:)' is unavailable in tvOS
108 |                 .text(FoundationModels.Transcript.TextSegment(content: historyRenderingConfiguration.summaryMarker)),
109 |             ])),
110 |             .response(FoundationModels.Transcript.Response(assetIDs: [], segments: [
    |                                                   `- error: 'init(id:assetIDs:segments:)' is unavailable in tvOS
111 |                 .text(FoundationModels.Transcript.TextSegment(content: summary)),
112 |             ])),
FoundationModels.Transcript.Response.init:3:8: note: 'init(id:assetIDs:segments:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   struct Response {
3 | public init(id: String = UUID().uuidString, assetIDs: [String], segments: [Transcript.Segment])  }
  |        `- note: 'init(id:assetIDs:segments:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:111:40: error: 'Transcript' is unavailable in tvOS
109 |             ])),
110 |             .response(FoundationModels.Transcript.Response(assetIDs: [], segments: [
111 |                 .text(FoundationModels.Transcript.TextSegment(content: summary)),
    |                                        `- error: 'Transcript' is unavailable in tvOS
112 |             ])),
113 |         ]
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:130:57: error: 'tokenCount(for:)' is unavailable in tvOS
128 |         #if compiler(>=6.3)
129 |         return ContextUsage(
130 |             contextTokens: .tokens(UInt(try await model.tokenCount(for: entries))),
    |                                                         `- error: 'tokenCount(for:)' is unavailable in tvOS
131 |             contextSize: TokenCount(model.contextSize),
132 |         )
FoundationModels.SystemLanguageModel.tokenCount:5:45: note: 'tokenCount(for:)' has been explicitly marked unavailable here
3 |   @available(tvOS, unavailable)
4 |   @available(watchOS, unavailable)
5 |   nonisolated(nonsending) final public func tokenCount(for transcriptEntries: some Collection<Transcript.Entry>) async throws -> Int}
  |                                             `- note: 'tokenCount(for:)' has been explicitly marked unavailable here
6 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppleInferenceSession+Compaction.swift
SwiftCompile normal arm64 Compiling\ AppleInferenceSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:36:26: error: 'LanguageModelSession' is unavailable in tvOS
 34 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 35 | public actor AppleInferenceSession: InferenceSession {
 36 |     var languageSession: LanguageModelSession
    |                          `- error: 'LanguageModelSession' is unavailable in tvOS
 37 |     let model: SystemLanguageModel
 38 |     let eventRelay: ToolEventRelay
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:37:16: error: 'SystemLanguageModel' is unavailable in tvOS
 35 | public actor AppleInferenceSession: InferenceSession {
 36 |     var languageSession: LanguageModelSession
 37 |     let model: SystemLanguageModel
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
 38 |     let eventRelay: ToolEventRelay
 39 |     let toolRuntime: ToolRuntime
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:41:28: error: 'Tool' is unavailable in tvOS
 39 |     let toolRuntime: ToolRuntime
 40 |     let toolBridgeRuntime: AppleToolBridgeRuntime
 41 |     let bridgedTools: [any Tool]
    |                            `- error: 'Tool' is unavailable in tvOS
 42 |     let historyRenderingConfiguration: HistoryRenderingConfiguration
 43 |     let operationGate = SingleFlightOperationGate<InferenceSessionOperationKind> {
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:56:16: error: 'SystemLanguageModel' is unavailable in tvOS
 54 |     init(
 55 |         systemPrompt: String?,
 56 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
 57 |         toolRuntime: ToolRuntime,
 58 |         toolSelection: ToolSelection,
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:89:38: error: 'Transcript' is unavailable in tvOS
 87 |     /// `instructions:` parameter is accepted by this `LanguageModelSession` initializer.
 88 |     init(
 89 |         transcript: FoundationModels.Transcript,
    |                                      `- error: 'Transcript' is unavailable in tvOS
 90 |         model: SystemLanguageModel,
 91 |         toolRuntime: ToolRuntime,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:90:16: error: 'SystemLanguageModel' is unavailable in tvOS
 88 |     init(
 89 |         transcript: FoundationModels.Transcript,
 90 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
 91 |         toolRuntime: ToolRuntime,
 92 |         toolSelection: ToolSelection,
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:113:50: error: 'Transcript' is unavailable in tvOS
111 |
112 |     /// Returns the current turn transcript, captured under actor isolation.
113 |     func captureTranscript() -> FoundationModels.Transcript {
    |                                                  `- error: 'Transcript' is unavailable in tvOS
114 |         languageSession.transcript
115 |     }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:117:59: error: 'Transcript' is unavailable in tvOS
115 |     }
116 |
117 |     func replaceTranscript(_ transcript: FoundationModels.Transcript) {
    |                                                           `- error: 'Transcript' is unavailable in tvOS
118 |         languageSession = LanguageModelSession(
119 |             model: model,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:130:15: error: 'Tool' is unavailable in tvOS
128 |         toolBridgeRuntime: AppleToolBridgeRuntime,
129 |         eventRelay: ToolEventRelay,
130 |     ) -> [any Tool] {
    |               `- error: 'Tool' is unavailable in tvOS
131 |         let selectedTools = toolRuntime.tools(matching: toolSelection)
132 |         let bridged: [any Tool] = selectedTools
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:162:16: error: 'SystemLanguageModel' is unavailable in tvOS
160 |     private static func makeLanguageSession(
161 |         systemPrompt: String?,
162 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
163 |         bridgedTools: [any Tool],
164 |     ) -> LanguageModelSession {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:163:28: error: 'Tool' is unavailable in tvOS
161 |         systemPrompt: String?,
162 |         model: SystemLanguageModel,
163 |         bridgedTools: [any Tool],
    |                            `- error: 'Tool' is unavailable in tvOS
164 |     ) -> LanguageModelSession {
165 |         if bridgedTools.isEmpty {
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:164:10: error: 'LanguageModelSession' is unavailable in tvOS
162 |         model: SystemLanguageModel,
163 |         bridgedTools: [any Tool],
164 |     ) -> LanguageModelSession {
    |          `- error: 'LanguageModelSession' is unavailable in tvOS
165 |         if bridgedTools.isEmpty {
166 |             if let prompt = systemPrompt {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:230:18: error: 'GenerationOptions' is unavailable in tvOS
228 |     private func runGeneration(
229 |         prompt: String,
230 |         options: GenerationOptions,
    |                  `- error: 'GenerationOptions' is unavailable in tvOS
231 |         continuation: InferenceStream.Continuation,
232 |     ) async {
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:109:27: error: 'LanguageModelSession' is unavailable in tvOS
107 |         bridgedTools = bridged
108 |         self.model = model
109 |         languageSession = LanguageModelSession(model: model, tools: bridged, transcript: transcript)
    |                           `- error: 'LanguageModelSession' is unavailable in tvOS
110 |     }
111 |
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:109:27: error: 'init(model:tools:transcript:)' is unavailable in tvOS
107 |         bridgedTools = bridged
108 |         self.model = model
109 |         languageSession = LanguageModelSession(model: model, tools: bridged, transcript: transcript)
    |                           `- error: 'init(model:tools:transcript:)' is unavailable in tvOS
110 |     }
111 |
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:transcript:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], transcript: Transcript)}
  |                    `- note: 'init(model:tools:transcript:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:118:27: error: 'LanguageModelSession' is unavailable in tvOS
116 |
117 |     func replaceTranscript(_ transcript: FoundationModels.Transcript) {
118 |         languageSession = LanguageModelSession(
    |                           `- error: 'LanguageModelSession' is unavailable in tvOS
119 |             model: model,
120 |             tools: bridgedTools,
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:118:27: error: 'init(model:tools:transcript:)' is unavailable in tvOS
116 |
117 |     func replaceTranscript(_ transcript: FoundationModels.Transcript) {
118 |         languageSession = LanguageModelSession(
    |                           `- error: 'init(model:tools:transcript:)' is unavailable in tvOS
119 |             model: model,
120 |             tools: bridgedTools,
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:transcript:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], transcript: Transcript)}
  |                    `- note: 'init(model:tools:transcript:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:132:27: error: 'Tool' is unavailable in tvOS
130 |     ) -> [any Tool] {
131 |         let selectedTools = toolRuntime.tools(matching: toolSelection)
132 |         let bridged: [any Tool] = selectedTools
    |                           `- error: 'Tool' is unavailable in tvOS
133 |             .filter {
134 |                 $0.capabilities.producesOnly(
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:167:24: error: 'LanguageModelSession' is unavailable in tvOS
165 |         if bridgedTools.isEmpty {
166 |             if let prompt = systemPrompt {
167 |                 return LanguageModelSession(model: model, instructions: Instructions(prompt))
    |                        `- error: 'LanguageModelSession' is unavailable in tvOS
168 |             } else {
169 |                 return LanguageModelSession(model: model)
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:167:24: error: 'init(model:tools:instructions:)' is unavailable in tvOS
165 |         if bridgedTools.isEmpty {
166 |             if let prompt = systemPrompt {
167 |                 return LanguageModelSession(model: model, instructions: Instructions(prompt))
    |                        `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
168 |             } else {
169 |                 return LanguageModelSession(model: model)
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], instructions: Instructions? = nil)}
  |                    `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:167:73: error: 'Instructions' is unavailable in tvOS
165 |         if bridgedTools.isEmpty {
166 |             if let prompt = systemPrompt {
167 |                 return LanguageModelSession(model: model, instructions: Instructions(prompt))
    |                                                                         `- error: 'Instructions' is unavailable in tvOS
168 |             } else {
169 |                 return LanguageModelSession(model: model)
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
  |               `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:167:73: error: 'init(_:)' is unavailable in tvOS
165 |         if bridgedTools.isEmpty {
166 |             if let prompt = systemPrompt {
167 |                 return LanguageModelSession(model: model, instructions: Instructions(prompt))
    |                                                                         `- error: 'init(_:)' is unavailable in tvOS
168 |             } else {
169 |                 return LanguageModelSession(model: model)
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(_ content: some InstructionsRepresentable)}
  |        `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:169:24: error: 'LanguageModelSession' is unavailable in tvOS
167 |                 return LanguageModelSession(model: model, instructions: Instructions(prompt))
168 |             } else {
169 |                 return LanguageModelSession(model: model)
    |                        `- error: 'LanguageModelSession' is unavailable in tvOS
170 |             }
171 |         } else {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:169:24: error: 'init(model:tools:instructions:)' is unavailable in tvOS
167 |                 return LanguageModelSession(model: model, instructions: Instructions(prompt))
168 |             } else {
169 |                 return LanguageModelSession(model: model)
    |                        `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
170 |             }
171 |         } else {
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], instructions: Instructions? = nil)}
  |                    `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:173:20: error: 'LanguageModelSession' is unavailable in tvOS
171 |         } else {
172 |             let prompt = systemPrompt ?? ""
173 |             return LanguageModelSession(model: model, tools: bridgedTools) {
    |                    `- error: 'LanguageModelSession' is unavailable in tvOS
174 |                 Instructions(prompt)
175 |             }
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:173:20: error: 'init(model:tools:instructions:)' is unavailable in tvOS
171 |         } else {
172 |             let prompt = systemPrompt ?? ""
173 |             return LanguageModelSession(model: model, tools: bridgedTools) {
    |                    `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
174 |                 Instructions(prompt)
175 |             }
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], @InstructionsBuilder instructions: () throws -> Instructions) rethrows}
  |                    `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:174:17: error: 'buildExpression' is unavailable in tvOS
172 |             let prompt = systemPrompt ?? ""
173 |             return LanguageModelSession(model: model, tools: bridgedTools) {
174 |                 Instructions(prompt)
    |                 `- error: 'buildExpression' is unavailable in tvOS
175 |             }
176 |         }
FoundationModels.InstructionsBuilder.buildExpression:2:44: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildExpression(_ expression: Instructions) -> Instructions}
  |                                            `- note: 'buildExpression' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:174:17: error: 'Instructions' is unavailable in tvOS
172 |             let prompt = systemPrompt ?? ""
173 |             return LanguageModelSession(model: model, tools: bridgedTools) {
174 |                 Instructions(prompt)
    |                 `- error: 'Instructions' is unavailable in tvOS
175 |             }
176 |         }
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
  |               `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:174:17: error: 'init(_:)' is unavailable in tvOS
172 |             let prompt = systemPrompt ?? ""
173 |             return LanguageModelSession(model: model, tools: bridgedTools) {
174 |                 Instructions(prompt)
    |                 `- error: 'init(_:)' is unavailable in tvOS
175 |             }
176 |         }
FoundationModels.Instructions.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Instructions {
2 | public init(_ content: some InstructionsRepresentable)}
  |        `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:173:76: error: 'buildBlock' is unavailable in tvOS
171 |         } else {
172 |             let prompt = systemPrompt ?? ""
173 |             return LanguageModelSession(model: model, tools: bridgedTools) {
    |                                                                            `- error: 'buildBlock' is unavailable in tvOS
174 |                 Instructions(prompt)
175 |             }
FoundationModels.InstructionsBuilder.buildBlock:2:44: note: 'buildBlock' has been explicitly marked unavailable here
1 | struct InstructionsBuilder {
2 | @export(implementation) public static func buildBlock<each I>(_ components: repeat each I) -> Instructions where repeat each I : InstructionsRepresentable}
  |                                            `- note: 'buildBlock' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:190:23: error: 'GenerationOptions' is unavailable in tvOS
188 |         }
189 |
190 |         let options = GenerationOptions(
    |                       `- error: 'GenerationOptions' is unavailable in tvOS
191 |             temperature: parameters.configuration.temperature,
192 |             maximumResponseTokens: parameters.configuration.maxTokens,
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:190:23: error: 'init(samplingMode:temperature:maximumResponseTokens:)' is unavailable in tvOS
188 |         }
189 |
190 |         let options = GenerationOptions(
    |                       `- error: 'init(samplingMode:temperature:maximumResponseTokens:)' is unavailable in tvOS
191 |             temperature: parameters.configuration.temperature,
192 |             maximumResponseTokens: parameters.configuration.maxTokens,
FoundationModels.GenerationOptions.init:5:10: note: 'init(samplingMode:temperature:maximumResponseTokens:)' has been explicitly marked unavailable here
3 |   @backDeployed(before: iOS 27.0, macOS 27.0, visionOS 27.0)
4 |   @available(tvOS, unavailable)
5 |   public init(samplingMode: GenerationOptions.SamplingMode? = nil, temperature: Double? = nil, maximumResponseTokens: Int? = nil)}
  |          `- note: 'init(samplingMode:temperature:maximumResponseTokens:)' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:233:40: error: 'streamResponse(to:options:)' is unavailable in tvOS
231 |         continuation: InferenceStream.Continuation,
232 |     ) async {
233 |         let response = languageSession.streamResponse(to: Prompt(prompt), options: options)
    |                                        `- error: 'streamResponse(to:options:)' is unavailable in tvOS
234 |         // FoundationModels streams cumulative text snapshots, not deltas.
235 |         // Track how many characters have been forwarded and yield only new content.
FoundationModels.LanguageModelSession.streamResponse:2:19: note: 'streamResponse(to:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | final public func streamResponse(to prompt: Prompt, options: GenerationOptions = GenerationOptions()) -> sending LanguageModelSession.ResponseStream<String>}
  |                   `- note: 'streamResponse(to:options:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:233:59: error: 'Prompt' is unavailable in tvOS
231 |         continuation: InferenceStream.Continuation,
232 |     ) async {
233 |         let response = languageSession.streamResponse(to: Prompt(prompt), options: options)
    |                                                           `- error: 'Prompt' is unavailable in tvOS
234 |         // FoundationModels streams cumulative text snapshots, not deltas.
235 |         // Track how many characters have been forwarded and yield only new content.
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:233:59: error: 'init(_:)' is unavailable in tvOS
231 |         continuation: InferenceStream.Continuation,
232 |     ) async {
233 |         let response = languageSession.streamResponse(to: Prompt(prompt), options: options)
    |                                                           `- error: 'init(_:)' is unavailable in tvOS
234 |         // FoundationModels streams cumulative text snapshots, not deltas.
235 |         // Track how many characters have been forwarded and yield only new content.
FoundationModels.Prompt.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Prompt {
2 | public init(_ content: some PromptRepresentable)}
  |        `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:233:13: error: conformance of 'String' to 'Generable' is unavailable in tvOS
231 |         continuation: InferenceStream.Continuation,
232 |     ) async {
233 |         let response = languageSession.streamResponse(to: Prompt(prompt), options: options)
    |             `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
234 |         // FoundationModels streams cumulative text snapshots, not deltas.
235 |         // Track how many characters have been forwarded and yield only new content.
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
  |           `- note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
4 |     public static var generationSchema: GenerationSchema { get }
5 |     public init(_ content: GeneratedContent) throws
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:243:36: error: conformance of 'String' to 'Generable' is unavailable in tvOS
241 |             for try await partial in response {
242 |                 try Task.checkCancellation()
243 |                 let text = partial.content
    |                                    `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
244 |                 fullText = text
245 |                 let delta = String(text.dropFirst(sentCount))
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
  |           `- note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
4 |     public static var generationSchema: GenerationSchema { get }
5 |     public init(_ content: GeneratedContent) throws
Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
(to display assertion configuration options: -Xllvm -assert-help)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleToolResultSupport.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/InferenceProvider+Apple.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/ToolEventRelay.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AppleInferenceSession.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AppleInferenceSession.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AppleInferenceSession.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AppleInferenceSession.dia -emit-localized-strings -emit-localized-strings-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64 -target arm64-apple-tvos18.0 -module-can-import-version FoundationModels 2.0.68.1 0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin #/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AgentKittenMacros#AgentKittenMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AgentKittenMacros#AgentKittenMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval=86400 -Xcc -fmodules-prune-after=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name AgentKittenAppleInference -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AppleInferenceSession.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.swiftmodule -index-unit-output-path /AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AppleInferenceSession.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
1.	Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(AgentKittenAppleInference.(file).AppleInferenceSession.runGeneration(prompt:options:continuation:)@/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:228:18)
5.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:232:13 - line:283:5] RangeText="{
        let response = languageSession.streamResponse(to: Prompt(prompt), options: options)
        // FoundationModels streams cumulative text snapshots, not deltas.
        // Track how many characters have been forwarded and yield only new content.
        // Tool events are emitted in real time by AppleBridgedTool via the eventRelay;
        // no post-hoc transcript scan is needed.
        var sentCount = 0
        var fullText = ""
        do {
            for try await partial in response {
                try Task.checkCancellation()
                let text = partial.content
                fullText = text
                let delta = String(text.dropFirst(sentCount))
                if !delta.isEmpty {
                    continuation.yield(.delta(delta))
                    sentCount = text.count
                }
            }
            continuation.yield(.result(fullText, .endTurn))
            continuation.finish()
        } catch is CancellationError {
            continuation.finish()
        } catch LanguageModelSession.GenerationError.exceededContextWindowSize {
            // FoundationModels.SystemLanguageModel.tokenCount(for:) and .contextSize
            // ship in the Xcode 26.4 SDK. Use Swift 6.3 as a proxy since Xcode 26.4
            // is the toolchain that vends them.
            #if compiler(>=6.3)
            var contextTokens: Int?
            if #available(macOS 26.4, iOS 26.4, visionOS 26.4, macCatalyst 26.4, *) {
                contextTokens = try? await model.tokenCount(for: languageSession.transcript)
            }
            continuation.finish(throwing: InferenceError.contextWindowExceeded(
                ContextWindowExceededInfo(
                    provider: Self.providerName,
                    message: "Context window exceeded",
                    contextTokens: contextTokens,
                    contextSize: model.contextSize,
                ),
            ))
            #else
            continuation.finish(throwing: InferenceError.contextWindowExceeded(
                ContextWindowExceededInfo(
                    provider: Self.providerName,
                    message: "Context window exceeded",
                ),
            ))
            #endif
        } catch {
            continuation.finish(throwing: error)
        }
    "
6.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:240:9 - line:282:9] RangeText="do {
            for try await partial in response {
                try Task.checkCancellation()
                let text = partial.content
                fullText = text
                let delta = String(text.dropFirst(sentCount))
                if !delta.isEmpty {
                    continuation.yield(.delta(delta))
                    sentCount = text.count
                }
            }
            continuation.yield(.result(fullText, .endTurn))
            continuation.finish()
        } catch is CancellationError {
            continuation.finish()
        } catch LanguageModelSession.GenerationError.exceededContextWindowSize {
            // FoundationModels.SystemLanguageModel.tokenCount(for:) and .contextSize
            // ship in the Xcode 26.4 SDK. Use Swift 6.3 as a proxy since Xcode 26.4
            // is the toolchain that vends them.
            #if compiler(>=6.3)
            var contextTokens: Int?
            if #available(macOS 26.4, iOS 26.4, visionOS 26.4, macCatalyst 26.4, *) {
                contextTokens = try? await model.tokenCount(for: languageSession.transcript)
            }
            continuation.finish(throwing: InferenceError.contextWindowExceeded(
                ContextWindowExceededInfo(
                    provider: Self.providerName,
                    message: "Context window exceeded",
                    contextTokens: contextTokens,
                    contextSize: model.contextSize,
                ),
            ))
            #else
            continuation.finish(throwing: InferenceError.contextWindowExceeded(
                ContextWindowExceededInfo(
                    provider: Self.providerName,
                    message: "Context window exceeded",
                ),
            ))
            #endif
        } catch {
            continuation.finish(throwing: error)
        "
7.	While evaluating request DesugarForEachStmtRequest(ForEach)
8.	Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
| 	(to display assertion configuration options: -Xllvm -assert-help)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppleInferenceSession.swift
SwiftCompile normal arm64 Compiling\ JSONSchemaBridge.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:27:87: error: 'GenerationSchema' is unavailable in tvOS
 25 |     /// - Throws: `GenerationSchema.SchemaError` if the schema graph is invalid
 26 |     ///   (e.g. duplicate property names).
 27 |     func toGenerationSchema(toolName: String, rationaleDescription: String) throws -> GenerationSchema {
    |                                                                                       `- error: 'GenerationSchema' is unavailable in tvOS
 28 |         let root = parameters.injectingRationale(description: rationaleDescription)
 29 |             .toDynamicSchema(name: toolName + "Arguments")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:37:43: error: 'DynamicGenerationSchema' is unavailable in tvOS
 35 | extension JSONSchema {
 36 |     /// Recursively converts to a ``DynamicGenerationSchema``.
 37 |     func toDynamicSchema(name: String) -> DynamicGenerationSchema {
    |                                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 38 |         switch self {
 39 |         case .string:
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:30:20: error: 'GenerationSchema' is unavailable in tvOS
 28 |         let root = parameters.injectingRationale(description: rationaleDescription)
 29 |             .toDynamicSchema(name: toolName + "Arguments")
 30 |         return try GenerationSchema(root: root, dependencies: [])
    |                    `- error: 'GenerationSchema' is unavailable in tvOS
 31 |     }
 32 | }
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:30:20: error: 'init(root:dependencies:)' is unavailable in tvOS
 28 |         let root = parameters.injectingRationale(description: rationaleDescription)
 29 |             .toDynamicSchema(name: toolName + "Arguments")
 30 |         return try GenerationSchema(root: root, dependencies: [])
    |                    `- error: 'init(root:dependencies:)' is unavailable in tvOS
 31 |     }
 32 | }
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
  |        `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:40:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 38 |         switch self {
 39 |         case .string:
 40 |             return DynamicGenerationSchema(type: String.self)
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 41 |         case .integer:
 42 |             // DynamicGenerationSchema only supports Int.self. Unsigned types (UInt*)
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:40:20: error: 'init(type:guides:)' is unavailable in tvOS
 38 |         switch self {
 39 |         case .string:
 40 |             return DynamicGenerationSchema(type: String.self)
    |                    `- error: 'init(type:guides:)' is unavailable in tvOS
 41 |         case .integer:
 42 |             // DynamicGenerationSchema only supports Int.self. Unsigned types (UInt*)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:48:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 46 |             // will fail Codable decoding. The @Tool macro emits a compile-time warning
 47 |             // for affected types to surface this before runtime.
 48 |             return DynamicGenerationSchema(type: Int.self)
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 49 |         case .number:
 50 |             return DynamicGenerationSchema(type: Double.self)
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:48:20: error: 'init(type:guides:)' is unavailable in tvOS
 46 |             // will fail Codable decoding. The @Tool macro emits a compile-time warning
 47 |             // for affected types to surface this before runtime.
 48 |             return DynamicGenerationSchema(type: Int.self)
    |                    `- error: 'init(type:guides:)' is unavailable in tvOS
 49 |         case .number:
 50 |             return DynamicGenerationSchema(type: Double.self)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:50:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 48 |             return DynamicGenerationSchema(type: Int.self)
 49 |         case .number:
 50 |             return DynamicGenerationSchema(type: Double.self)
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 51 |         case .boolean:
 52 |             return DynamicGenerationSchema(type: Bool.self)
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:50:20: error: 'init(type:guides:)' is unavailable in tvOS
 48 |             return DynamicGenerationSchema(type: Int.self)
 49 |         case .number:
 50 |             return DynamicGenerationSchema(type: Double.self)
    |                    `- error: 'init(type:guides:)' is unavailable in tvOS
 51 |         case .boolean:
 52 |             return DynamicGenerationSchema(type: Bool.self)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:52:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 50 |             return DynamicGenerationSchema(type: Double.self)
 51 |         case .boolean:
 52 |             return DynamicGenerationSchema(type: Bool.self)
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 53 |         case .array(let items, _):
 54 |             return DynamicGenerationSchema(
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:52:20: error: 'init(type:guides:)' is unavailable in tvOS
 50 |             return DynamicGenerationSchema(type: Double.self)
 51 |         case .boolean:
 52 |             return DynamicGenerationSchema(type: Bool.self)
    |                    `- error: 'init(type:guides:)' is unavailable in tvOS
 53 |         case .array(let items, _):
 54 |             return DynamicGenerationSchema(
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:54:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 52 |             return DynamicGenerationSchema(type: Bool.self)
 53 |         case .array(let items, _):
 54 |             return DynamicGenerationSchema(
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 55 |                 arrayOf: items.toDynamicSchema(name: name + "Element"),
 56 |             )
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:54:20: error: 'init(arrayOf:minimumElements:maximumElements:)' is unavailable in tvOS
 52 |             return DynamicGenerationSchema(type: Bool.self)
 53 |         case .array(let items, _):
 54 |             return DynamicGenerationSchema(
    |                    `- error: 'init(arrayOf:minimumElements:maximumElements:)' is unavailable in tvOS
 55 |                 arrayOf: items.toDynamicSchema(name: name + "Element"),
 56 |             )
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(arrayOf:minimumElements:maximumElements:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(arrayOf itemSchema: DynamicGenerationSchema, minimumElements: Int? = nil, maximumElements: Int? = nil)}
  |        `- note: 'init(arrayOf:minimumElements:maximumElements:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:59:17: error: 'DynamicGenerationSchema' is unavailable in tvOS
 57 |         case .object(let properties, let required):
 58 |             let props = properties.sorted(by: { $0.key < $1.key }).map { key, schema in
 59 |                 DynamicGenerationSchema.Property(
    |                 `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 60 |                     name: key,
 61 |                     description: schema.propertyDescription,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:59:41: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
 57 |         case .object(let properties, let required):
 58 |             let props = properties.sorted(by: { $0.key < $1.key }).map { key, schema in
 59 |                 DynamicGenerationSchema.Property(
    |                                         `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
 60 |                     name: key,
 61 |                     description: schema.propertyDescription,
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 |   struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false)  }
  |        `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:66:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 64 |                 )
 65 |             }
 66 |             return DynamicGenerationSchema(name: name, description: nil, properties: props)
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 67 |         case .enumeration:
 68 |             // No native enum case in DynamicGenerationSchema.
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:66:20: error: 'init(name:description:properties:)' is unavailable in tvOS
 64 |                 )
 65 |             }
 66 |             return DynamicGenerationSchema(name: name, description: nil, properties: props)
    |                    `- error: 'init(name:description:properties:)' is unavailable in tvOS
 67 |         case .enumeration:
 68 |             // No native enum case in DynamicGenerationSchema.
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
  |        `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:71:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
 69 |             // Represent as String; allowed values are surfaced via propertyDescription
 70 |             // on the DynamicGenerationSchema.Property wrapping this schema.
 71 |             return DynamicGenerationSchema(type: String.self)
    |                    `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 72 |         }
 73 |     }
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile JSONSchemaBridge.swift
SwiftCompile normal arm64 Compiling\ InferenceProvider+Apple.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/InferenceProvider+Apple.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/InferenceProvider+Apple.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile InferenceProvider+Apple.swift
SwiftCompile normal arm64 Compiling\ AppleToolResultSupport.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleToolResultSupport.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleToolResultSupport.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppleToolResultSupport.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AgentKittenAppleInference (in target 'AgentKittenAppleInference' from project 'AgentKitten')
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:78:27: error: 'GeneratedContent' is unavailable in tvOS
 76 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 77 | struct AppleBridgedTool: Tool {
 78 |     typealias Arguments = GeneratedContent
    |                           `- error: 'GeneratedContent' is unavailable in tvOS
 79 |     typealias Output = String
 80 |
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:83:21: error: 'GenerationSchema' is unavailable in tvOS
 81 |     let name: String
 82 |     let description: String
 83 |     let parameters: GenerationSchema
    |                     `- error: 'GenerationSchema' is unavailable in tvOS
 84 |
 85 |     private let agentTool: AnyAgentTool
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:112:26: error: 'GeneratedContent' is unavailable in tvOS
110 |     }
111 |
112 |     func call(arguments: GeneratedContent) async throws -> String {
    |                          `- error: 'GeneratedContent' is unavailable in tvOS
113 |         let callID = UUID().uuidString
114 |         let (rationale, argumentsJSON) = ToolRationale.extracting(from: arguments.jsonString)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:77:26: error: 'Tool' is unavailable in tvOS
 75 | /// human-readable explanation.
 76 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 77 | struct AppleBridgedTool: Tool {
    |                          `- error: 'Tool' is unavailable in tvOS
 78 |     typealias Arguments = GeneratedContent
 79 |     typealias Output = String
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:77:8: error: conformance of 'String' to 'PromptRepresentable' is unavailable in tvOS
 75 | /// human-readable explanation.
 76 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 77 | struct AppleBridgedTool: Tool {
    |        |- error: conformance of 'String' to 'PromptRepresentable' is unavailable in tvOS
    |        `- note: in associated type 'Self.Output' (inferred as 'String')
 78 |     typealias Arguments = GeneratedContent
 79 |     typealias Output = String
FoundationModels.String:3:11: note: conformance of 'String' to 'PromptRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : PromptRepresentable {
  |           `- note: conformance of 'String' to 'PromptRepresentable' has been explicitly marked unavailable here
4 |     public var promptRepresentation: Prompt { get }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift:32:30: error: 'SystemLanguageModel' is unavailable in tvOS
 30 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 31 | extension AppleLanguageModel {
 32 |     var systemLanguageModel: SystemLanguageModel {
    |                              `- error: 'SystemLanguageModel' is unavailable in tvOS
 33 |         switch self {
 34 |         case .default:
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:52:43: error: 'Transcript' is unavailable in tvOS
 50 | extension AppleInferenceSession {
 51 |     static func compactableEntries(
 52 |         from transcript: FoundationModels.Transcript,
    |                                           `- error: 'Transcript' is unavailable in tvOS
 53 |     ) -> [FoundationModels.Transcript.Entry] {
 54 |         Array(transcript).filter {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:53:28: error: 'Transcript' is unavailable in tvOS
 51 |     static func compactableEntries(
 52 |         from transcript: FoundationModels.Transcript,
 53 |     ) -> [FoundationModels.Transcript.Entry] {
    |                            `- error: 'Transcript' is unavailable in tvOS
 54 |         Array(transcript).filter {
 55 |             if case .instructions = $0 { false } else { true }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:59:65: error: 'Transcript' is unavailable in tvOS
 57 |     }
 58 |
 59 |     private static func isTurnStarter(_ entry: FoundationModels.Transcript.Entry) -> Bool {
    |                                                                 `- error: 'Transcript' is unavailable in tvOS
 60 |         if case .prompt = entry { return true }
 61 |         return false
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:64:46: error: 'Transcript' is unavailable in tvOS
 62 |     }
 63 |
 64 |     func render(_ entries: [FoundationModels.Transcript.Entry]) -> String {
    |                                              `- error: 'Transcript' is unavailable in tvOS
 65 |         entries.compactMap { entry in
 66 |             let rendered = render(entry)
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:71:51: error: 'Transcript' is unavailable in tvOS
 69 |     }
 70 |
 71 |     private func render(_ entry: FoundationModels.Transcript.Entry) -> String {
    |                                                   `- error: 'Transcript' is unavailable in tvOS
 72 |         switch entry {
 73 |         case .instructions:
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:92:70: error: 'Transcript' is unavailable in tvOS
 90 |     }
 91 |
 92 |     private static func renderSegments(_ segments: [FoundationModels.Transcript.Segment]) -> String {
    |                                                                      `- error: 'Transcript' is unavailable in tvOS
 93 |         segments.compactMap { segment -> String? in
 94 |             switch segment {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:105:73: error: 'Transcript' is unavailable in tvOS
103 |     }
104 |
105 |     private func summaryEntries(_ summary: String) -> [FoundationModels.Transcript.Entry] {
    |                                                                         `- error: 'Transcript' is unavailable in tvOS
106 |         [
107 |             .prompt(FoundationModels.Transcript.Prompt(segments: [
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:117:40: error: 'Transcript' is unavailable in tvOS
115 |
116 |     static func contextUsage(
117 |         for entries: [FoundationModels.Transcript.Entry],
    |                                        `- error: 'Transcript' is unavailable in tvOS
118 |         model: SystemLanguageModel,
119 |     ) async throws -> ContextUsage {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift:118:16: error: 'SystemLanguageModel' is unavailable in tvOS
116 |     static func contextUsage(
117 |         for entries: [FoundationModels.Transcript.Entry],
118 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
119 |     ) async throws -> ContextUsage {
120 |         guard #available(macOS 26.4, iOS 26.4, visionOS 26.4, macCatalyst 26.4, *) else {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:36:26: error: 'LanguageModelSession' is unavailable in tvOS
 34 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 35 | public actor AppleInferenceSession: InferenceSession {
 36 |     var languageSession: LanguageModelSession
    |                          `- error: 'LanguageModelSession' is unavailable in tvOS
 37 |     let model: SystemLanguageModel
 38 |     let eventRelay: ToolEventRelay
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:37:16: error: 'SystemLanguageModel' is unavailable in tvOS
 35 | public actor AppleInferenceSession: InferenceSession {
 36 |     var languageSession: LanguageModelSession
 37 |     let model: SystemLanguageModel
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
 38 |     let eventRelay: ToolEventRelay
 39 |     let toolRuntime: ToolRuntime
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:41:28: error: 'Tool' is unavailable in tvOS
 39 |     let toolRuntime: ToolRuntime
 40 |     let toolBridgeRuntime: AppleToolBridgeRuntime
 41 |     let bridgedTools: [any Tool]
    |                            `- error: 'Tool' is unavailable in tvOS
 42 |     let historyRenderingConfiguration: HistoryRenderingConfiguration
 43 |     let operationGate = SingleFlightOperationGate<InferenceSessionOperationKind> {
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:56:16: error: 'SystemLanguageModel' is unavailable in tvOS
 54 |     init(
 55 |         systemPrompt: String?,
 56 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
 57 |         toolRuntime: ToolRuntime,
 58 |         toolSelection: ToolSelection,
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:89:38: error: 'Transcript' is unavailable in tvOS
 87 |     /// `instructions:` parameter is accepted by this `LanguageModelSession` initializer.
 88 |     init(
 89 |         transcript: FoundationModels.Transcript,
    |                                      `- error: 'Transcript' is unavailable in tvOS
 90 |         model: SystemLanguageModel,
 91 |         toolRuntime: ToolRuntime,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:90:16: error: 'SystemLanguageModel' is unavailable in tvOS
 88 |     init(
 89 |         transcript: FoundationModels.Transcript,
 90 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
 91 |         toolRuntime: ToolRuntime,
 92 |         toolSelection: ToolSelection,
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:113:50: error: 'Transcript' is unavailable in tvOS
111 |
112 |     /// Returns the current turn transcript, captured under actor isolation.
113 |     func captureTranscript() -> FoundationModels.Transcript {
    |                                                  `- error: 'Transcript' is unavailable in tvOS
114 |         languageSession.transcript
115 |     }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:117:59: error: 'Transcript' is unavailable in tvOS
115 |     }
116 |
117 |     func replaceTranscript(_ transcript: FoundationModels.Transcript) {
    |                                                           `- error: 'Transcript' is unavailable in tvOS
118 |         languageSession = LanguageModelSession(
119 |             model: model,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:130:15: error: 'Tool' is unavailable in tvOS
128 |         toolBridgeRuntime: AppleToolBridgeRuntime,
129 |         eventRelay: ToolEventRelay,
130 |     ) -> [any Tool] {
    |               `- error: 'Tool' is unavailable in tvOS
131 |         let selectedTools = toolRuntime.tools(matching: toolSelection)
132 |         let bridged: [any Tool] = selectedTools
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:162:16: error: 'SystemLanguageModel' is unavailable in tvOS
160 |     private static func makeLanguageSession(
161 |         systemPrompt: String?,
162 |         model: SystemLanguageModel,
    |                `- error: 'SystemLanguageModel' is unavailable in tvOS
163 |         bridgedTools: [any Tool],
164 |     ) -> LanguageModelSession {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:163:28: error: 'Tool' is unavailable in tvOS
161 |         systemPrompt: String?,
162 |         model: SystemLanguageModel,
163 |         bridgedTools: [any Tool],
    |                            `- error: 'Tool' is unavailable in tvOS
164 |     ) -> LanguageModelSession {
165 |         if bridgedTools.isEmpty {
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:164:10: error: 'LanguageModelSession' is unavailable in tvOS
162 |         model: SystemLanguageModel,
163 |         bridgedTools: [any Tool],
164 |     ) -> LanguageModelSession {
    |          `- error: 'LanguageModelSession' is unavailable in tvOS
165 |         if bridgedTools.isEmpty {
166 |             if let prompt = systemPrompt {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:230:18: error: 'GenerationOptions' is unavailable in tvOS
228 |     private func runGeneration(
229 |         prompt: String,
230 |         options: GenerationOptions,
    |                  `- error: 'GenerationOptions' is unavailable in tvOS
231 |         continuation: InferenceStream.Continuation,
232 |     ) async {
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:109:27: error: 'LanguageModelSession' is unavailable in tvOS
107 |         bridgedTools = bridged
108 |         self.model = model
109 |         languageSession = LanguageModelSession(model: model, tools: bridged, transcript: transcript)
    |                           `- error: 'LanguageModelSession' is unavailable in tvOS
110 |     }
111 |
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift:109:27: error: 'init(model:tools:transcript:)' is unavailable in tvOS
107 |         bridgedTools = bridged
108 |         self.model = model
109 |         languageSession = LanguageModelSession(model: model, tools: bridged, transcript: transcript)
    |                           `- error: 'init(model:tools:transcript:)' is unavailable in tvOS
110 |     }
111 |
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:transcript:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], transcript: Transcript)}
  |                    `- note: 'init(model:tools:transcript:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:57:17: error: 'GenerationSchema' is unavailable in tvOS
55 |     private func makeStructuredSchema<T: JSONSchemaProviding>(
56 |         _ type: T.Type,
57 |     ) throws -> GenerationSchema {
   |                 `- error: 'GenerationSchema' is unavailable in tvOS
58 |         if let error = Self.availabilityError() {
59 |             throw error
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:71:17: error: 'GenerationSchema' is unavailable in tvOS
69 |     private func respondStructured(
70 |         prompt: String,
71 |         schema: GenerationSchema,
   |                 `- error: 'GenerationSchema' is unavailable in tvOS
72 |     ) async throws -> String {
73 |         let response = try await languageSession.respond(
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:27:87: error: 'GenerationSchema' is unavailable in tvOS
 25 |     /// - Throws: `GenerationSchema.SchemaError` if the schema graph is invalid
 26 |     ///   (e.g. duplicate property names).
 27 |     func toGenerationSchema(toolName: String, rationaleDescription: String) throws -> GenerationSchema {
    |                                                                                       `- error: 'GenerationSchema' is unavailable in tvOS
 28 |         let root = parameters.injectingRationale(description: rationaleDescription)
 29 |             .toDynamicSchema(name: toolName + "Arguments")
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift:37:43: error: 'DynamicGenerationSchema' is unavailable in tvOS
 35 | extension JSONSchema {
 36 |     /// Recursively converts to a ``DynamicGenerationSchema``.
 37 |     func toDynamicSchema(name: String) -> DynamicGenerationSchema {
    |                                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 38 |         switch self {
 39 |         case .string:
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession+Compaction.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleInferenceSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleToolResultSupport.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/InferenceProvider+Apple.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/JSONSchemaBridge.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/ToolEventRelay.swift -target arm64-apple-tvos18.0 -module-can-import-version FoundationModels 2.0.68.1 0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AgentKittenMacros\#AgentKittenMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AgentKittenMacros\#AgentKittenMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AgentKittenAppleInference -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AgentKitten.build/Debug-appletvos/AgentKittenAppleInference-t.build/Objects-normal/arm64/AgentKittenAppleInference.abi.json
SwiftCompile normal arm64 (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ AppleStructuredInferenceSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:57:17: error: 'GenerationSchema' is unavailable in tvOS
55 |     private func makeStructuredSchema<T: JSONSchemaProviding>(
56 |         _ type: T.Type,
57 |     ) throws -> GenerationSchema {
   |                 `- error: 'GenerationSchema' is unavailable in tvOS
58 |         if let error = Self.availabilityError() {
59 |             throw error
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:71:17: error: 'GenerationSchema' is unavailable in tvOS
69 |     private func respondStructured(
70 |         prompt: String,
71 |         schema: GenerationSchema,
   |                 `- error: 'GenerationSchema' is unavailable in tvOS
72 |     ) async throws -> String {
73 |         let response = try await languageSession.respond(
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:63:24: error: 'GenerationSchema' is unavailable in tvOS
61 |         do {
62 |             let root = T.jsonSchema.toDynamicSchema(name: "Output")
63 |             return try GenerationSchema(root: root, dependencies: [])
   |                        `- error: 'GenerationSchema' is unavailable in tvOS
64 |         } catch {
65 |             throw StructuredGenerationError.generationFailed(error)
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:63:24: error: 'init(root:dependencies:)' is unavailable in tvOS
61 |         do {
62 |             let root = T.jsonSchema.toDynamicSchema(name: "Output")
63 |             return try GenerationSchema(root: root, dependencies: [])
   |                        `- error: 'init(root:dependencies:)' is unavailable in tvOS
64 |         } catch {
65 |             throw StructuredGenerationError.generationFailed(error)
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
  |        `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:73:50: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
71 |         schema: GenerationSchema,
72 |     ) async throws -> String {
73 |         let response = try await languageSession.respond(
   |                                                  `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
74 |             to: Prompt(prompt),
75 |             schema: schema,
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 |   nonisolated(nonsending) final public func respond(to prompt: Prompt, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
  |                                             `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:74:17: error: 'Prompt' is unavailable in tvOS
72 |     ) async throws -> String {
73 |         let response = try await languageSession.respond(
74 |             to: Prompt(prompt),
   |                 `- error: 'Prompt' is unavailable in tvOS
75 |             schema: schema,
76 |             includeSchemaInPrompt: true,
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift:74:17: error: 'init(_:)' is unavailable in tvOS
72 |     ) async throws -> String {
73 |         let response = try await languageSession.respond(
74 |             to: Prompt(prompt),
   |                 `- error: 'init(_:)' is unavailable in tvOS
75 |             schema: schema,
76 |             includeSchemaInPrompt: true,
FoundationModels.Prompt.init:2:8: note: 'init(_:)' has been explicitly marked unavailable here
1 | struct Prompt {
2 | public init(_ content: some PromptRepresentable)}
  |        `- note: 'init(_:)' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleStructuredInferenceSession.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppleStructuredInferenceSession.swift
SwiftCompile normal arm64 Compiling\ AppleBridgedTool.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:78:27: error: 'GeneratedContent' is unavailable in tvOS
 76 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 77 | struct AppleBridgedTool: Tool {
 78 |     typealias Arguments = GeneratedContent
    |                           `- error: 'GeneratedContent' is unavailable in tvOS
 79 |     typealias Output = String
 80 |
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:83:21: error: 'GenerationSchema' is unavailable in tvOS
 81 |     let name: String
 82 |     let description: String
 83 |     let parameters: GenerationSchema
    |                     `- error: 'GenerationSchema' is unavailable in tvOS
 84 |
 85 |     private let agentTool: AnyAgentTool
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:112:26: error: 'GeneratedContent' is unavailable in tvOS
110 |     }
111 |
112 |     func call(arguments: GeneratedContent) async throws -> String {
    |                          `- error: 'GeneratedContent' is unavailable in tvOS
113 |         let callID = UUID().uuidString
114 |         let (rationale, argumentsJSON) = ToolRationale.extracting(from: arguments.jsonString)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:77:26: error: 'Tool' is unavailable in tvOS
 75 | /// human-readable explanation.
 76 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 77 | struct AppleBridgedTool: Tool {
    |                          `- error: 'Tool' is unavailable in tvOS
 78 |     typealias Arguments = GeneratedContent
 79 |     typealias Output = String
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift:77:8: error: conformance of 'String' to 'PromptRepresentable' is unavailable in tvOS
 75 | /// human-readable explanation.
 76 | @available(macOS 26, iOS 26, visionOS 26, macCatalyst 26, *)
 77 | struct AppleBridgedTool: Tool {
    |        |- error: conformance of 'String' to 'PromptRepresentable' is unavailable in tvOS
    |        `- note: in associated type 'Self.Output' (inferred as 'String')
 78 |     typealias Arguments = GeneratedContent
 79 |     typealias Output = String
FoundationModels.String:3:11: note: conformance of 'String' to 'PromptRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : PromptRepresentable {
  |           `- note: conformance of 'String' to 'PromptRepresentable' has been explicitly marked unavailable here
4 |     public var promptRepresentation: Prompt { get }
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/AppleBridgedTool.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AppleBridgedTool.swift
SwiftCompile normal arm64 Compiling\ ToolEventRelay.swift /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/ToolEventRelay.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AgentKittenAppleInference/ToolEventRelay.swift (in target 'AgentKittenAppleInference' from project 'AgentKitten')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ToolEventRelay.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-25 09:01:36.848 xcodebuild[1952:11780] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ AgentKittenAppleInference (in target 'AgentKittenAppleInference' from project 'AgentKitten')
	SwiftCompile normal arm64 (in target 'AgentKittenAppleInference' from project 'AgentKitten')
	Building workspace AgentKitten with scheme AgentKitten-Package
(3 failures)
BUILD FAILURE 6.4 tvOS