SwiftextensionIntelligenceFlowPlannerSupport
TailTranscriptProtocol
extension IntelligenceFlowPlannerSupport.TailTranscriptProtocol
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
Members 166
- var
static var localDeviceIDSIdentifier: String? { get } - func
actionCreatedEvents(queryEventId: Foundation.UUID) -> [IntelligenceFlow.Action] - func
agentFunctionCall(for: IntelligenceFlow.StatementID) -> (event: IntelligenceFlowPlannerSupport.Session.Event, functionCall: IntelligenceFlow.AgentFunctionCall)? - func
allContextRetrievedEvents() -> [IntelligenceFlowPlannerSupport.Session.Event] - func
allEmergencyServiceSpans() -> [IntelligenceFlowPlannerSupport.EmergencyServiceSpan] - func
allRetrievedTools() -> [IntelligenceFlowShared.RetrievedTool]? - func
allSpanMatchEvents() -> [IntelligenceFlowPlannerSupport.Session.Event] - func
allTextOrSpeechRequestEvents() -> [(index: Int, request: IntelligenceFlowPlannerSupport.Session.Event)] - func
allTextOrSpeechRequests() -> [(index: Int, request: String)] - func
clientActionStepExists(id: Foundation.UUID) -> Bool - func
collectTextSpeechPromptResolutionRequests() -> [(index: Int, request: String)] - func
consecutiveOutputGuardrailViolationCount() -> Int - func
constructLatestSiriRequestContext(instrumentUserSelected: Bool) -> IntelligenceFlowShared.StructuredContext.SiriRequestContext? - func
contextRetrievedEvent(for: Foundation.UUID?) -> IntelligenceFlowPlannerSupport.Session.Event? - func
countClientSentEvents() -> Int - func
currentSessionEvents(sessionId: Foundation.UUID) -> [IntelligenceFlowPlannerSupport.Session.Event] - func
currentSystemPromptState() -> IntelligenceFlowPlannerSupport.SystemPromptState - func
currentUserLocation() -> CLLocation? - func
currentUserResponseLocation() -> IntelligenceFlow.SystemResponse.ResponseContext.UserLocation? - func
didRuntimeCommit(toTurn: Foundation.UUID) -> Bool - func
event(forId: Foundation.UUID) -> (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event)? - func
finalizedSelectedRequestEvent(forTurn: Foundation.UUID) -> IntelligenceFlowPlannerSupport.Session.Event? - func
firstActionProgramStatementId() -> IntelligenceFlow.StatementID? - func
firstRequest() -> IntelligenceFlowPlannerSupport.Request? - func
firstTextOrSpeechRequest() -> (index: Int, request: String)? - func
forCurrentUserTurn<A>(boundary: IntelligenceFlowPlannerSupport.UserTurnBoundary, _: ([IntelligenceFlowPlannerSupport.Session.Event]) throws -> A1) throws -> A1 - func
forKeyedCurrentUserTurn<A>(boundary: IntelligenceFlowPlannerSupport.UserTurnBoundary, _: ([IntelligenceFlowPlannerSupport.Session.Event]) throws -> A1) throws -> (A1, IntelligenceFlowPlannerSupport.UserTurnBoundary.FilterKey?) - func
getLatestQueryEventId() throws -> Foundation.UUID - func
getPreviousTurnToolCalls() -> IntelligenceFlow.PreviousTurnToolCalls? - func
getQueryDecorationLookback() -> IntelligenceFlowShared.QueryDecorationLookback - func
hasOutstandingRemotePrimitiveAction(where: (IntelligenceFlow.AgentID) -> Bool) -> Bool - func
hasStatementEvaluated(for: Foundation.UUID) -> Bool - func
hasSuccessfulSystemResponseRendered(for: Foundation.UUID?) -> Bool - func
hasToolCall(named: String) -> Bool - func
hasToolCallSinceLatestUserRequest(named: String) -> Bool - func
imageCaptureRequest(for: Foundation.UUID) -> IntelligenceFlowPlannerSupport.ImageCaptureRequest? - func
imageCaptureRequest(for: String) -> IntelligenceFlowPlannerSupport.ImageCaptureRequest? - func
imageRetrievalResponses(for: Foundation.UUID) -> [IntelligenceFlowPlannerSupport.ImageRetrievalResponse] - func
inFocusAppBundleIDs(queryEventId: Foundation.UUID) -> Set<String> - func
isDirectToolCallTurn(for: Foundation.UUID) -> Bool - func
isFirstSession() -> Bool - func
isFirstTurnOfConversation(sessionId: Foundation.UUID, currentUserTurnId: Foundation.UUID?) -> Bool - func
isFirstTurnOfSession(sessionId: Foundation.UUID, currentUserTurnId: Foundation.UUID?) -> Bool - func
isFirstTurnOfTask(sessionId: Foundation.UUID, currentUserTurnId: Foundation.UUID?) -> Bool - func
isFirstTurnSinceLastSessionResume(currentUserTurnId: Foundation.UUID) -> Bool - func
isFromSelectedRequest(IntelligenceFlowPlannerSupport.Session.Event) -> Bool - func
isLongformInput(userTurnId: Foundation.UUID, userTurnStartIndexByTurnId: [Foundation.UUID : Int]?) -> Bool - func
isMitigationDecisionMade(for: IntelligenceFlowPlannerSupport.Session.Event?) -> Bool? - func
isRemotePlanningSession() -> Bool - func
isRemoteRequest(localDeviceIDSIdentifier: String?) -> Bool - func
isRemoteRequest() -> Bool - func
isRemoteTVOSRequest(localDeviceIDSIdentifier: String?) -> Bool - func
isRemoteTVOSRequest() -> Bool - func
isSiriXDirectInvocationTurn(for: Foundation.UUID) -> Bool - func
isStatementSkipped(id: IntelligenceFlow.StatementID) -> Bool - func
isTurnActivated(for: Foundation.UUID) -> Bool - func
lastNSpeechPackages(numPackages: Int) -> [IntelligenceFlow.SpeechPackage] - func
lastSpeechContent() -> IntelligenceFlowPlannerSupport.RequestContent.SpeechContent? - func
latestActionCreated(actionEventId: Foundation.UUID) -> (index: Int, action: IntelligenceFlow.Action)? - func
latestActionCreated(for: IntelligenceFlow.StatementID) -> IntelligenceFlow.Action? - func
latestAgentFunctionCall(forAgentId: IntelligenceFlow.AgentID) -> (event: IntelligenceFlowPlannerSupport.Session.Event, functionCall: IntelligenceFlow.AgentFunctionCall)? - func
latestAgentFunctionCall() -> (IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlow.AgentFunctionCall)? - func
latestAgentFunctionResult(with: IntelligenceFlow.StatementID) -> IntelligenceFlow.AgentFunctionResult? - func
latestAgentPrimitiveAction() -> (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.AgentPrimitiveAction)? - func
latestContextRetrieved() -> IntelligenceFlowPlannerSupport.ContextRetrieved? - func
latestContextRetrievedEvent() -> IntelligenceFlowPlannerSupport.Session.Event? - func
latestEntitySpanMatchResult() -> IntelligenceFlowPlannerSupport.EntitySpanMatchResult? - func
latestEntitySpanMatchedEvent() -> IntelligenceFlowPlannerSupport.Session.Event? - func
latestExecutorGateResult(for: Foundation.UUID) -> (IntelligenceFlowPlannerSupport.ExecutorGateResult, IntelligenceFlowPlannerSupport.Session.Event)? - func
latestGatingResult(for: Foundation.UUID) -> (IntelligenceFlowPlannerSupport.GatingResult, IntelligenceFlowPlannerSupport.Session.Event)? - func
latestModularQueryDecorationRequestEvent() -> IntelligenceFlowPlannerSupport.Session.Event? - func
latestPendingHandoffRequest(queryEventId: Foundation.UUID, agentID: IntelligenceFlow.AgentID) -> IntelligenceFlowPlannerSupport.AgentHandoffRequest? - func
latestPlan() -> IntelligenceFlowPlannerSupport.Session.Plan? - func
latestPlanAndIndex() -> (index: Int, plan: IntelligenceFlowPlannerSupport.Session.Plan)? - func
latestPromptToolsRetrieved(using: IntelligenceFlowPlannerSupport.PlannerToolbox) -> [IntelligenceFlowPlannerSupport.PromptTool] - func
latestQueryDecorationResult() -> IntelligenceFlowPlannerSupport.QueryDecorationResult? - func
latestQueryDecorationResultEvent() -> IntelligenceFlowPlannerSupport.Session.Event? - func
latestRequest() -> IntelligenceFlowPlannerSupport.Request? - func
latestRequestEvent() -> (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event)? - func
latestSearchResultInCurrentSession() -> IntelligenceFlow.SearchAndResolveResult? - func
latestSpanMatchEntities() -> [IntelligenceFlowShared.SpanMatchedEntity] - func
latestStatementEvaluated(for: IntelligenceFlow.StatementID) -> IntelligenceFlowPlannerSupport.StatementResult? - func
latestStatementEvaluatedEvent(for: IntelligenceFlow.StatementID) -> IntelligenceFlowPlannerSupport.Session.Event? - func
latestSystemResponseGeneratedEvent(for: IntelligenceFlowPlannerSupport.Session.Event) -> (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlow.SystemResponse)? - func
latestSystemResponseGeneratedEvent(for: String) -> (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlow.SystemResponse)? - func
latestTextOrSpeechRequest() -> (index: Int, request: String)? - func
latestToolCallStmt() -> IntelligenceFlowPlannerSupport.ProgramStatement? - func
latestToolRetrievalResponse() -> IntelligenceFlowPlannerSupport.ToolRetrievalResponse? - func
latestToolWillExecute(for: Foundation.UUID) -> IntelligenceFlowPlannerSupport.ToolWillExecute? - func
latestUserConfirmationRequestHandoff(destinationAgentID: IntelligenceFlow.AgentID) -> (primitiveAction: IntelligenceFlowPlannerSupport.AgentPrimitiveAction, handoffRequest: IntelligenceFlowPlannerSupport.AgentHandoffRequest, userConfirmationRequest: IntelligenceFlowPlannerSupport.UserConfirmationRequest)? - func
localSourcedEntityIdentifiers() -> Set<String> - func
mayHaveSelectedUser() -> Bool - func
originAlternateAuthentication() -> IntelligenceFlowShared.AlternateAuthenticationMethods - func
originAlternateAuthentication(localDeviceIDSIdentifier: String?) -> IntelligenceFlowShared.AlternateAuthenticationMethods - func
previousTurnId(before: Foundation.UUID) -> Foundation.UUID? - func
providerActedMostRecently(IntelligenceFlow.AgentID) -> Bool - func
queryContextPrediction(forQueryEventId: Foundation.UUID) -> IntelligenceFlowPlannerSupport.QueryContextPrediction? - func
resolvedRequestDateTimeContext(fallback: IntelligenceFlowPlannerSupport.DateTimeContext) -> IntelligenceFlowPlannerSupport.DateTimeContext - func
safetyInformation(for: IntelligenceFlowPlannerSupport.Session.Event?) -> IntelligenceFlow.SafetyInformation? - func
siriDeviceRoutingCommit(forTransactionId: String) -> IntelligenceFlowPlannerSupport.SiriDeviceRoutingCommit? - func
siriRequestContext(for: IntelligenceFlowPlannerSupport.Session.Event) -> IntelligenceFlowShared.StructuredContext.SiriRequestContext? - func
spanMatchEvent(for: Foundation.UUID?) -> IntelligenceFlowPlannerSupport.Session.Event? - func
systemPromptStateAtBeginningOfUserTurn(withId: Foundation.UUID, userTurnStartIndexByTurnId: [Foundation.UUID : Int]?) -> IntelligenceFlowPlannerSupport.SystemPromptState - func
toolCallCount(named: Set<String>, queryEventId: Foundation.UUID?) -> Int - func
turnIssuedLocalScopedSearch(inTurn: Foundation.UUID) -> Bool - func
userContext(forUserTurnId: Foundation.UUID) -> IntelligenceFlowShared.UserContext? - func
userTurnEnded(for: Foundation.UUID) -> (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnEnded)? - func
userTurnFinalized(for: Foundation.UUID) -> (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnFinalized)? - func
userTurnId(for: String) -> Foundation.UUID? - func
userTurnStartIndexByTurnId() -> [Foundation.UUID : Int] - func
userTurnStartedEvent(for: Foundation.UUID) -> (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnStarted)? - func
value(for: IntelligenceFlow.AncestorID) -> ToolKit.TypedValue? - var
var allImageRetrievalResponseEvents: [(IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.ImageRetrievalResponse)] { get } - var
var allImageRetrievalResponses: [IntelligenceFlowPlannerSupport.ImageRetrievalResponse] { get } - var
var carPlayPrescribedAppBundleId: String? { get } - var
var firstSiriActivatedIsAnnounceActivatedSession: Bool { get } - var
var firstUnusedStatementIdIndex: UInt32 { get } - var
var imageRetrievalResponsesByTurnId: [Foundation.UUID : [IntelligenceFlowPlannerSupport.ImageRetrievalResponse]] { get } - var
var lastAgentFunctionCall: IntelligenceFlow.AgentFunctionCall? { get } - var
var lastImageCaptureRequest: IntelligenceFlowPlannerSupport.ImageCaptureRequest? { get } - var
var lastQueryContextPrediction: IntelligenceFlowPlannerSupport.QueryContextPrediction? { get } - var
var latestAgentHandoffAction: (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlow.Action)? { get } - var
var latestAttendingRequestEvent: (Int, IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.AttendingRequest)? { get } - var
var latestClientAirplayRouteId: String? { get } - var
var latestClientDeviceIDSId: String? { get } - var
var latestCompanionRequired: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestContext: [IntelligenceFlowPlannerSupport.RetrievedContextStatement]? { get } - var
var latestCriticalError: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SessionError)? { get } - var
var latestDeviceSelectionEvent: (IntelligenceFlowPlannerSupport.DeviceSelectionDecision, IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestFinalRuntimeActivationChanged: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.RuntimeActivationChanged)? { get } - var
var latestHomeMembersInfoEvent: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowShared.HomeMembersInfo)? { get } - var
var latestPromptStateEvent: (Int, IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.PromptState)? { get } - var
var latestRuntimeActivationChanged: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.RuntimeActivationChanged)? { get } - var
var latestSessionEndEvent: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SessionEnd)? { get } - var
var latestSessionResumeEvent: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestSessionStartEvent: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SessionStart)? { get } - var
var latestSiriActivatedEvent: (IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.SiriActivated)? { get } - var
var latestSiriActivationRequestedEvent: (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SiriActivationRequested)? { get } - var
var latestSiriDeviceRoutingOffers: IntelligenceFlowPlannerSupport.SiriDeviceRoutingOffers? { get } - var
var latestSiriDismissed: (index: Int, payload: IntelligenceFlowPlannerSupport.SiriDismissed, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestSiriRequestCanceled: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SiriRequestCanceled)? { get } - var
var latestSiriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext? { get } - var
var latestSpeechReadyForNewUserTurn: (index: Int, payload: IntelligenceFlowPlannerSupport.SpeechReadyForNewUserTurn, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestSuccessfulResponseEventFromLatestRequest: IntelligenceFlow.InterpretedStatementResult? { get } - var
var latestSystemResponse: (IntelligenceFlow.SystemResponse, IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestSystemResponseRendered: (payload: IntelligenceFlowPlannerSupport.SystemResponseRendered, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestSystemTurnCanceled: (index: Int, payload: IntelligenceFlowPlannerSupport.SystemTurnCanceled, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestSystemTurnEnded: (index: Int, payload: IntelligenceFlowPlannerSupport.SystemTurnEnded, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestToolEvent: IntelligenceFlowPlannerSupport.Session.Event? { get } - var
var latestToolResolution: IntelligenceFlowPlannerSupport.ToolResolution? { get } - var
var latestTurnInterruptionEnded: (index: Int, payload: IntelligenceFlowPlannerSupport.SystemTurnInterruptionEnded, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestTurnInterruptionStarted: (index: Int, payload: IntelligenceFlowPlannerSupport.SystemTurnInterruptionStarted, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } - var
var latestUserIdentityConfirmation: IntelligenceFlow.SystemRequirementResult.UserIdentityConfirmationResult? { get } - var
var latestUserSelected: IntelligenceFlowShared.User? { get } - var
var latestUserSelectedEventFromUserSelector: IntelligenceFlowPlannerSupport.Session.Event? { get } - var
var latestUserSelectedFromUserSelector: IntelligenceFlowShared.User? { get } - var
var latestUserTurnCanceledEvent: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnCanceled)? { get } - var
var latestUserTurnEndedEvent: (Int, IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.UserTurnEnded)? { get } - var
var latestUserTurnFinalizedEvent: (index: Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnFinalized)? { get } - var
var latestUserTurnStartedEvent: (IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.UserTurnStarted)? { get } - var
var originatingDeviceWasLocal: Bool? { get } - var
var pendingSpeechUserTurnStartedEvents: [(IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.UserTurnStarted)] { get } - var
var requestLocale: Foundation.Locale? { get } - var
var requestLocaleOrCurrent: Foundation.Locale { get } - var
var shortcutsSupportedOnOriginatingDevice: Bool { get } - var
var toolForLatestIncompleteAction: String? { get }
Header
extension IntelligenceFlowPlannerSupport.TailTranscriptProtocol { var allImageRetrievalResponseEvents: [(IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.ImageRetrievalResponse)] { get } var allImageRetrievalResponses: [IntelligenceFlowPlannerSupport.ImageRetrievalResponse] { get } var carPlayPrescribedAppBundleId: Swift.String? { get } var firstSiriActivatedIsAnnounceActivatedSession: Swift.Bool { get } var firstUnusedStatementIdIndex: Swift.UInt32 { get } var imageRetrievalResponsesByTurnId: [Foundation.UUID : [IntelligenceFlowPlannerSupport.ImageRetrievalResponse]] { get } var lastAgentFunctionCall: IntelligenceFlow.AgentFunctionCall? { get } var lastImageCaptureRequest: IntelligenceFlowPlannerSupport.ImageCaptureRequest? { get } var lastQueryContextPrediction: IntelligenceFlowPlannerSupport.QueryContextPrediction? { get } var latestAgentHandoffAction: (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlow.Action)? { get } var latestAttendingRequestEvent: (Swift.Int, IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.AttendingRequest)? { get } var latestClientAirplayRouteId: Swift.String? { get } var latestClientDeviceIDSId: Swift.String? { get } var latestCompanionRequired: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestContext: [IntelligenceFlowPlannerSupport.RetrievedContextStatement]? { get } var latestCriticalError: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SessionError)? { get } var latestDeviceSelectionEvent: (IntelligenceFlowPlannerSupport.DeviceSelectionDecision, IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestFinalRuntimeActivationChanged: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.RuntimeActivationChanged)? { get } var latestHomeMembersInfoEvent: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowShared.HomeMembersInfo)? { get } var latestPromptStateEvent: (Swift.Int, IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.PromptState)? { get } var latestRuntimeActivationChanged: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.RuntimeActivationChanged)? { get } var latestSessionEndEvent: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SessionEnd)? { get } var latestSessionResumeEvent: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestSessionStartEvent: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SessionStart)? { get } var latestSiriActivatedEvent: (IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.SiriActivated)? { get } var latestSiriActivationRequestedEvent: (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SiriActivationRequested)? { get } var latestSiriDeviceRoutingOffers: IntelligenceFlowPlannerSupport.SiriDeviceRoutingOffers? { get } var latestSiriDismissed: (index: Swift.Int, payload: IntelligenceFlowPlannerSupport.SiriDismissed, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestSiriRequestCanceled: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.SiriRequestCanceled)? { get } var latestSiriRequestContext: IntelligenceFlowShared.StructuredContext.SiriRequestContext? { get } var latestSpeechReadyForNewUserTurn: (index: Swift.Int, payload: IntelligenceFlowPlannerSupport.SpeechReadyForNewUserTurn, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestSuccessfulResponseEventFromLatestRequest: IntelligenceFlow.InterpretedStatementResult? { get } var latestSystemResponse: (IntelligenceFlow.SystemResponse, IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestSystemResponseRendered: (payload: IntelligenceFlowPlannerSupport.SystemResponseRendered, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestSystemTurnCanceled: (index: Swift.Int, payload: IntelligenceFlowPlannerSupport.SystemTurnCanceled, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestSystemTurnEnded: (index: Swift.Int, payload: IntelligenceFlowPlannerSupport.SystemTurnEnded, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestToolEvent: IntelligenceFlowPlannerSupport.Session.Event? { get } var latestToolResolution: IntelligenceFlowPlannerSupport.ToolResolution? { get } var latestTurnInterruptionEnded: (index: Swift.Int, payload: IntelligenceFlowPlannerSupport.SystemTurnInterruptionEnded, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestTurnInterruptionStarted: (index: Swift.Int, payload: IntelligenceFlowPlannerSupport.SystemTurnInterruptionStarted, event: IntelligenceFlowPlannerSupport.Session.Event)? { get } var latestUserIdentityConfirmation: IntelligenceFlow.SystemRequirementResult.UserIdentityConfirmationResult? { get } var latestUserSelected: IntelligenceFlowShared.User? { get } var latestUserSelectedEventFromUserSelector: IntelligenceFlowPlannerSupport.Session.Event? { get } var latestUserSelectedFromUserSelector: IntelligenceFlowShared.User? { get } var latestUserTurnCanceledEvent: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnCanceled)? { get } var latestUserTurnEndedEvent: (Swift.Int, IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.UserTurnEnded)? { get } var latestUserTurnFinalizedEvent: (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnFinalized)? { get } var latestUserTurnStartedEvent: (IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.UserTurnStarted)? { get } var originatingDeviceWasLocal: Swift.Bool? { get } var pendingSpeechUserTurnStartedEvents: [(IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlowPlannerSupport.UserTurnStarted)] { get } var requestLocale: Foundation.Locale? { get } var requestLocaleOrCurrent: Foundation.Locale { get } var shortcutsSupportedOnOriginatingDevice: Swift.Bool { get } var toolForLatestIncompleteAction: Swift.String? { get } func userTurnStartIndexByTurnId() -> [Foundation.UUID : Swift.Int] func latestPlan() -> IntelligenceFlowPlannerSupport.Session.Plan? func userTurnId(for: Swift.String) -> Foundation.UUID? func hasToolCall(named: Swift.String) -> Swift.Bool func userContext(forUserTurnId: Foundation.UUID) -> IntelligenceFlowShared.UserContext? func firstRequest() -> IntelligenceFlowPlannerSupport.Request? func latestRequest() -> IntelligenceFlowPlannerSupport.Request? func toolCallCount(named: Swift.Set<Swift.String>, queryEventId: Foundation.UUID?) -> Swift.Int func userTurnEnded(for: Foundation.UUID) -> (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnEnded)? func isFirstSession() -> Swift.Bool func previousTurnId(before: Foundation.UUID) -> Foundation.UUID? func spanMatchEvent(for: Foundation.UUID?) -> IntelligenceFlowPlannerSupport.Session.Event? func isLongformInput(userTurnId: Foundation.UUID, userTurnStartIndexByTurnId: [Foundation.UUID : Swift.Int]?) -> Swift.Bool func isRemoteRequest(localDeviceIDSIdentifier: Swift.String?) -> Swift.Bool func isRemoteRequest() -> Swift.Bool func isTurnActivated(for: Foundation.UUID) -> Swift.Bool func didRuntimeCommit(toTurn: Foundation.UUID) -> Swift.Bool func agentFunctionCall(for: IntelligenceFlow.StatementID) -> (event: IntelligenceFlowPlannerSupport.Session.Event, functionCall: IntelligenceFlow.AgentFunctionCall)? func allRetrievedTools() -> [IntelligenceFlowShared.RetrievedTool]? func isFirstTurnOfTask(sessionId: Foundation.UUID, currentUserTurnId: Foundation.UUID?) -> Swift.Bool func lastSpeechContent() -> IntelligenceFlowPlannerSupport.RequestContent.SpeechContent? func safetyInformation(for: IntelligenceFlowPlannerSupport.Session.Event?) -> (any IntelligenceFlow.SafetyInformation)? func userTurnFinalized(for: Foundation.UUID) -> (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnFinalized)? func allSpanMatchEvents() -> [IntelligenceFlowPlannerSupport.Session.Event] func forCurrentUserTurn<A1>(boundary: IntelligenceFlowPlannerSupport.UserTurnBoundary, _: (_: [IntelligenceFlowPlannerSupport.Session.Event]) throws -> A1) throws -> A1 func isStatementSkipped(id: IntelligenceFlow.StatementID) -> Swift.Bool func latestGatingResult(for: Foundation.UUID) -> (IntelligenceFlowPlannerSupport.GatingResult, IntelligenceFlowPlannerSupport.Session.Event)? func latestPlanAndIndex() -> (index: Swift.Int, plan: IntelligenceFlowPlannerSupport.Session.Plan)? func latestRequestEvent() -> (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event)? func latestToolCallStmt() -> IntelligenceFlowPlannerSupport.ProgramStatement? func siriRequestContext(for: IntelligenceFlowPlannerSupport.Session.Event) -> IntelligenceFlowShared.StructuredContext.SiriRequestContext? func actionCreatedEvents(queryEventId: Foundation.UUID) -> [IntelligenceFlow.Action] func currentUserLocation() -> __C.CLLocation? func imageCaptureRequest(for: Foundation.UUID) -> IntelligenceFlowPlannerSupport.ImageCaptureRequest? func imageCaptureRequest(for: Swift.String) -> IntelligenceFlowPlannerSupport.ImageCaptureRequest? func inFocusAppBundleIDs(queryEventId: Foundation.UUID) -> Swift.Set<Swift.String> func isRemoteTVOSRequest(localDeviceIDSIdentifier: Swift.String?) -> Swift.Bool func isRemoteTVOSRequest() -> Swift.Bool func lastNSpeechPackages(numPackages: Swift.Int) -> [IntelligenceFlow.SpeechPackage] func latestActionCreated(actionEventId: Foundation.UUID) -> (index: Swift.Int, action: IntelligenceFlow.Action)? func latestActionCreated(for: IntelligenceFlow.StatementID) -> IntelligenceFlow.Action? func mayHaveSelectedUser() -> Swift.Bool func currentSessionEvents(sessionId: Foundation.UUID) -> [IntelligenceFlowPlannerSupport.Session.Event] func isDirectToolCallTurn(for: Foundation.UUID) -> Swift.Bool func isFirstTurnOfSession(sessionId: Foundation.UUID, currentUserTurnId: Foundation.UUID?) -> Swift.Bool func userTurnStartedEvent(for: Foundation.UUID) -> (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.UserTurnStarted)? func contextRetrievedEvent(for: Foundation.UUID?) -> IntelligenceFlowPlannerSupport.Session.Event? func countClientSentEvents() -> Swift.Int func getLatestQueryEventId() throws -> Foundation.UUID func hasStatementEvaluated(for: Foundation.UUID) -> Swift.Bool func isFromSelectedRequest(_: IntelligenceFlowPlannerSupport.Session.Event) -> Swift.Bool func latestToolWillExecute(for: Foundation.UUID) -> IntelligenceFlowPlannerSupport.ToolWillExecute? func clientActionStepExists(id: Foundation.UUID) -> Swift.Bool func latestContextRetrieved() -> IntelligenceFlowPlannerSupport.ContextRetrieved? func queryContextPrediction(forQueryEventId: Foundation.UUID) -> IntelligenceFlowPlannerSupport.QueryContextPrediction? func allTextOrSpeechRequests() -> [(index: Swift.Int, request: Swift.String)] func forKeyedCurrentUserTurn<A1>(boundary: IntelligenceFlowPlannerSupport.UserTurnBoundary, _: (_: [IntelligenceFlowPlannerSupport.Session.Event]) throws -> A1) throws -> (A1, IntelligenceFlowPlannerSupport.UserTurnBoundary.FilterKey?) func imageRetrievalResponses(for: Foundation.UUID) -> [IntelligenceFlowPlannerSupport.ImageRetrievalResponse] func isRemotePlanningSession() -> Swift.Bool func latestAgentFunctionCall(forAgentId: IntelligenceFlow.AgentID) -> (event: IntelligenceFlowPlannerSupport.Session.Event, functionCall: IntelligenceFlow.AgentFunctionCall)? func latestAgentFunctionCall() -> (IntelligenceFlowPlannerSupport.Session.Event, IntelligenceFlow.AgentFunctionCall)? func latestSpanMatchEntities() -> [IntelligenceFlowShared.SpanMatchedEntity] func siriDeviceRoutingCommit(forTransactionId: Swift.String) -> IntelligenceFlowPlannerSupport.SiriDeviceRoutingCommit? func allEmergencyServiceSpans() -> [IntelligenceFlowPlannerSupport.EmergencyServiceSpan] func currentSystemPromptState() -> IntelligenceFlowPlannerSupport.SystemPromptState func firstTextOrSpeechRequest() -> (index: Swift.Int, request: Swift.String)? func getPreviousTurnToolCalls() -> IntelligenceFlow.PreviousTurnToolCalls? func isMitigationDecisionMade(for: IntelligenceFlowPlannerSupport.Session.Event?) -> Swift.Bool? func latestExecutorGateResult(for: Foundation.UUID) -> (IntelligenceFlowPlannerSupport.ExecutorGateResult, IntelligenceFlowPlannerSupport.Session.Event)? func latestStatementEvaluated(for: IntelligenceFlow.StatementID) -> IntelligenceFlowPlannerSupport.StatementResult? func allContextRetrievedEvents() -> [IntelligenceFlowPlannerSupport.Session.Event] func isFirstTurnOfConversation(sessionId: Foundation.UUID, currentUserTurnId: Foundation.UUID?) -> Swift.Bool func latestAgentFunctionResult(with: IntelligenceFlow.StatementID) -> IntelligenceFlow.AgentFunctionResult? func latestTextOrSpeechRequest() -> (index: Swift.Int, request: Swift.String)? func providerActedMostRecently(_: IntelligenceFlow.AgentID) -> Swift.Bool func getQueryDecorationLookback() -> IntelligenceFlowShared.QueryDecorationLookback func latestAgentPrimitiveAction() -> (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlowPlannerSupport.AgentPrimitiveAction)? func latestPromptToolsRetrieved(using: IntelligenceFlowPlannerSupport.PlannerToolbox) -> [IntelligenceFlowPlannerSupport.PromptTool] func currentUserResponseLocation() -> IntelligenceFlow.SystemResponse.ResponseContext.UserLocation? func isSiriXDirectInvocationTurn(for: Foundation.UUID) -> Swift.Bool func latestContextRetrievedEvent() -> IntelligenceFlowPlannerSupport.Session.Event? func latestEntitySpanMatchResult() -> IntelligenceFlowPlannerSupport.EntitySpanMatchResult? func latestPendingHandoffRequest(queryEventId: Foundation.UUID, agentID: IntelligenceFlow.AgentID) -> IntelligenceFlowPlannerSupport.AgentHandoffRequest? func latestQueryDecorationResult() -> IntelligenceFlowPlannerSupport.QueryDecorationResult? func latestToolRetrievalResponse() -> IntelligenceFlowPlannerSupport.ToolRetrievalResponse? func turnIssuedLocalScopedSearch(inTurn: Foundation.UUID) -> Swift.Bool func allTextOrSpeechRequestEvents() -> [(index: Swift.Int, request: IntelligenceFlowPlannerSupport.Session.Event)] func latestEntitySpanMatchedEvent() -> IntelligenceFlowPlannerSupport.Session.Event? func finalizedSelectedRequestEvent(forTurn: Foundation.UUID) -> IntelligenceFlowPlannerSupport.Session.Event? func firstActionProgramStatementId() -> IntelligenceFlow.StatementID? func latestStatementEvaluatedEvent(for: IntelligenceFlow.StatementID) -> IntelligenceFlowPlannerSupport.Session.Event? func localSourcedEntityIdentifiers() -> Swift.Set<Swift.String> func originAlternateAuthentication() -> IntelligenceFlowShared.AlternateAuthenticationMethods func originAlternateAuthentication(localDeviceIDSIdentifier: Swift.String?) -> IntelligenceFlowShared.AlternateAuthenticationMethods func resolvedRequestDateTimeContext(fallback: IntelligenceFlowPlannerSupport.DateTimeContext) -> IntelligenceFlowPlannerSupport.DateTimeContext func latestQueryDecorationResultEvent() -> IntelligenceFlowPlannerSupport.Session.Event? func constructLatestSiriRequestContext(instrumentUserSelected: Swift.Bool) -> IntelligenceFlowShared.StructuredContext.SiriRequestContext? func hasToolCallSinceLatestUserRequest(named: Swift.String) -> Swift.Bool func isFirstTurnSinceLastSessionResume(currentUserTurnId: Foundation.UUID) -> Swift.Bool func latestSearchResultInCurrentSession() -> IntelligenceFlow.SearchAndResolveResult? func latestSystemResponseGeneratedEvent(for: IntelligenceFlowPlannerSupport.Session.Event) -> (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlow.SystemResponse)? func latestSystemResponseGeneratedEvent(for: Swift.String) -> (event: IntelligenceFlowPlannerSupport.Session.Event, payload: IntelligenceFlow.SystemResponse)? func hasOutstandingRemotePrimitiveAction(where: (_: IntelligenceFlow.AgentID) -> Swift.Bool) -> Swift.Bool func hasSuccessfulSystemResponseRendered(for: Foundation.UUID?) -> Swift.Bool func latestUserConfirmationRequestHandoff(destinationAgentID: IntelligenceFlow.AgentID) -> (primitiveAction: IntelligenceFlowPlannerSupport.AgentPrimitiveAction, handoffRequest: IntelligenceFlowPlannerSupport.AgentHandoffRequest, userConfirmationRequest: IntelligenceFlowPlannerSupport.UserConfirmationRequest)? func systemPromptStateAtBeginningOfUserTurn(withId: Foundation.UUID, userTurnStartIndexByTurnId: [Foundation.UUID : Swift.Int]?) -> IntelligenceFlowPlannerSupport.SystemPromptState func consecutiveOutputGuardrailViolationCount() -> Swift.Int func latestModularQueryDecorationRequestEvent() -> IntelligenceFlowPlannerSupport.Session.Event? func collectTextSpeechPromptResolutionRequests() -> [(index: Swift.Int, request: Swift.String)] func event(forId: Foundation.UUID) -> (index: Swift.Int, event: IntelligenceFlowPlannerSupport.Session.Event)? func value(for: IntelligenceFlow.AncestorID) -> ToolKit.TypedValue? static var localDeviceIDSIdentifier: Swift.String? { get } }