68 declarations · 1089 ms
let _renderer: Synchronization.Mutex<(@Sendable (IntelligenceFlowPlannerSupport.Session.SessionState) async -> PromptKit.PromptRequest?)?>attribute(statementResultPayload: IntelligenceFlowPlannerSupport.StatementResultPayload, tool: ToolKit.ToolDefinition, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlow.ResponseDialog?constructQueryDecorationInput(query: String, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext, services: [IntelligenceFlowShared.QueryDecorationCoreService]) -> IntelligenceFlowShared.QueryDecorationInput?constructQueryDecorationInput(query: String, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext, service: IntelligenceFlowShared.QueryDecorationCoreService) -> IntelligenceFlowShared.QueryDecorationInput?static events(for: IntelligenceFlowShared.QueryDecorationOutput, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, queryDecorator: IntelligenceFlowPlannerRuntime.QueryDecorator?, qdInput: IntelligenceFlowShared.QueryDecorationInput?, sessionId: IntelligenceFlow.SessionID?) -> [IntelligenceFlowPlannerSupport.Session.Event]execute(transcript: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlow.ResponseDialogfilter(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) -> IntelligenceFlowPlannerSupport.Session.SessionStatefilter(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) -> IntelligenceFlowPlannerSupport.Session.SessionStatefilter(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) -> IntelligenceFlowPlannerSupport.Session.SessionStatemethod descriptor for filter(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) -> IntelligenceFlowPlannerSupport.Session.SessionStatefilter(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) -> IntelligenceFlowPlannerSupport.Session.SessionStategenerateGMSTranscript(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlowPlannerRuntime.SessionTranscriptLoggenerateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]generateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]generateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]generateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]generateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]method descriptor for generateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]generateInstructions(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, planningStepCount: Int, requestQueryEventId: Foundation.UUID, userContext: IntelligenceFlowShared.UserContext?) async throws -> [IntelligenceFlowPlannerSupport.AgentInstructions]static generatePrerequestToolCallPairs(using: IntelligenceFlowProto.PlannerToolMetadata_SystemPromptData, inputMode: IntelligenceFlowPlannerSupport.AgentInputMode, responseMode: IntelligenceFlowPlannerSupport.AgentResponseMode, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, promptRenderingContext: IntelligenceFlowPlannerSupport.PromptRenderingContext, userContext: IntelligenceFlowShared.UserContext?, contextPromptRenderer: IntelligenceFlowPlannerRuntime.ContextPromptRenderer, previousSpanMatchEntities: [IntelligenceFlowShared.SpanMatchedEntity], currentSpanMatchEntities: [IntelligenceFlowShared.SpanMatchedEntity], spanMatchingPromptRenderer: IntelligenceFlowPlannerRuntime.SpanMatchPromptRenderer, mitigationFeatureEnabled: Bool, prerequestTemplateAdditionalInput: IntelligenceFlowPlannerRuntime.PrerequestTemplateAdditionalInput, renderedConversationFragments: String?, gazeCoordinates: IntelligenceFlowPlannerSupport.GazeCoordinates?, userUtterance: String?, mode: IntelligenceFlowPlannerRuntime.PlannerServiceMode) async throws -> (payloads: [IntelligenceFlowPlannerSupport.Session.Event.Payload], templateContextAutoGenerateToolCall: IntelligenceFlowPlannerRuntime.TemplateContextAutoGenerateToolCall?)generateSummarization(request: IntelligenceFlowPlannerSupport.SessionSummarizationRequest, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, requestEventId: Foundation.UUID) async -> IntelligenceFlowPlannerSupport.SessionSummarizationResponsegenerateSummary(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> (summary: IntelligenceFlowPlannerSupport.SessionSummary, platformEventsToRecord: [IntelligenceFlowPlannerSupport.Session.Event.Payload])getRetrievedPlannerTools(query: String, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, includeQueryContext: Bool, userContext: IntelligenceFlowShared.UserContext?, useSystemToolClassifier: Bool, agentInputMode: IntelligenceFlowPlannerSupport.AgentInputMode, agentResponseMode: IntelligenceFlowPlannerSupport.AgentResponseMode) async throws -> IntelligenceFlowShared.QueryDecorationToolRetrievalResponse?method descriptor for getSessionState() async -> IntelligenceFlowPlannerSupport.Session.SessionStatehandle(tool: ToolKit.ToolDefinition, statementResultPayload: IntelligenceFlowPlannerSupport.StatementResultPayload, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlow.Action?handle(tool: ToolKit.ToolDefinition, statementResultPayload: IntelligenceFlowPlannerSupport.StatementResultPayload, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlow.Action?handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]method descriptor for handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]handle(statementResult: IntelligenceFlowPlannerSupport.StatementResultPayload, action: IntelligenceFlow.Action, tool: ToolKit.ToolDefinition, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, isSuppressionRequested: Bool, isFlowTool: Bool, traceId: Foundation.UUID?) async throws -> IntelligenceFlowPlannerRuntime.DialogResponse?handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]handle(tool: ToolKit.ToolDefinition, action: IntelligenceFlow.Action, statementResult: IntelligenceFlowPlannerSupport.StatementResultPayload, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlow.Action?handle(_: IntelligenceFlowPlannerSupport.Session.SessionState, plannerServiceContext: IntelligenceFlowPlannerRuntime.PlannerServiceContext) async throws -> [IntelligenceFlowPlannerSupport.Session.Event]handle(tool: ToolKit.ToolDefinition, statementResultPayload: IntelligenceFlowPlannerSupport.StatementResultPayload, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) async throws -> IntelligenceFlow.Action?hasUnansweredSystemPrompt(sessionState: IntelligenceFlowPlannerSupport.Session.SessionState) -> Boolinit(events: [IntelligenceFlowPlannerSupport.Session.Event]) -> IntelligenceFlowPlannerSupport.Session.SessionState?init(planText: String, prompt: String, sessionState: IntelligenceFlowPlannerSupport.Session.SessionState, fullyResolvedProgram: IntelligenceFlow.AST.Program, overrideId: String?, source: IntelligenceFlowPlannerSupport.Session.Plan.Source, eventId: IntelligenceFlowPlannerSupport.PreassignedEventID) throws -> IntelligenceFlowPlannerSupport.Session.Eventinit(transcript: IntelligenceFlowPlannerSupport.Session.Transcript) -> IntelligenceFlowPlannerSupport.Session.SessionState