pika-shared 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/types/chatbot/chatbot-types.d.mts +288 -14
  2. package/dist/types/chatbot/chatbot-types.d.ts +288 -14
  3. package/dist/types/chatbot/chatbot-types.js +5 -3
  4. package/dist/types/chatbot/chatbot-types.js.map +1 -1
  5. package/dist/types/chatbot/chatbot-types.mjs +5 -3
  6. package/dist/types/chatbot/chatbot-types.mjs.map +1 -1
  7. package/dist/types/chatbot/intent-router-types.d.mts +138 -0
  8. package/dist/types/chatbot/intent-router-types.d.ts +138 -0
  9. package/dist/types/chatbot/intent-router-types.js +4 -0
  10. package/dist/types/chatbot/intent-router-types.js.map +1 -0
  11. package/dist/types/chatbot/intent-router-types.mjs +3 -0
  12. package/dist/types/chatbot/intent-router-types.mjs.map +1 -0
  13. package/dist/types/chatbot/webcomp-types.d.mts +147 -10
  14. package/dist/types/chatbot/webcomp-types.d.ts +147 -10
  15. package/dist/util/intent-router-validation.d.mts +30 -0
  16. package/dist/util/intent-router-validation.d.ts +30 -0
  17. package/dist/util/intent-router-validation.js +275 -0
  18. package/dist/util/intent-router-validation.js.map +1 -0
  19. package/dist/util/intent-router-validation.mjs +271 -0
  20. package/dist/util/intent-router-validation.mjs.map +1 -0
  21. package/dist/util/json-extraction.d.mts +39 -0
  22. package/dist/util/json-extraction.d.ts +39 -0
  23. package/dist/util/json-extraction.js +43 -0
  24. package/dist/util/json-extraction.js.map +1 -0
  25. package/dist/util/json-extraction.mjs +39 -0
  26. package/dist/util/json-extraction.mjs.map +1 -0
  27. package/dist/util/server-utils.js +19 -0
  28. package/dist/util/server-utils.js.map +1 -1
  29. package/dist/util/server-utils.mjs +19 -0
  30. package/dist/util/server-utils.mjs.map +1 -1
  31. package/dist/util/template-interpolation.d.mts +101 -0
  32. package/dist/util/template-interpolation.d.ts +101 -0
  33. package/dist/util/template-interpolation.js +71 -0
  34. package/dist/util/template-interpolation.js.map +1 -0
  35. package/dist/util/template-interpolation.mjs +65 -0
  36. package/dist/util/template-interpolation.mjs.map +1 -0
  37. package/package.json +1 -1
@@ -699,7 +699,190 @@ interface ChatAppOverridableFeatures {
699
699
  agentInstructionAssistance: AgentInstructionChatAppOverridableFeature;
700
700
  instructionAugmentation: InstructionAugmentationFeature;
701
701
  userMemory: UserMemoryFeature;
702
+ /**
703
+ * Intent Router configuration. When enabled, user messages are classified
704
+ * using a fast LLM before invoking the Bedrock agent, allowing fast
705
+ * routing to widgets for known intents.
706
+ *
707
+ * @since 0.18.0
708
+ */
709
+ intentRouter?: IntentRouterFeature;
710
+ }
711
+ /**
712
+ * Intent Router feature configuration for a chat app.
713
+ * @since 0.18.0
714
+ */
715
+ interface IntentRouterFeature {
716
+ /** Whether the Intent Router is enabled for this chat app */
717
+ enabled: boolean;
718
+ /** Default confidence threshold for command matching (default 0.85) */
719
+ confidenceThreshold?: number;
720
+ /**
721
+ * Optional command overrides per tag definition.
722
+ * Allows disabling or adjusting priority of specific commands.
723
+ * Key is "scope.tag", value is a record of commandId to override config.
724
+ */
725
+ commandOverrides?: Record<string, Record<string, {
726
+ /** Disable this command for this chat app */
727
+ disabled?: boolean;
728
+ /** Adjust priority (added to command's base priority) */
729
+ priorityBoost?: number;
730
+ }>>;
731
+ }
732
+ /**
733
+ * Commands that can be streamed back and executed by the Pika client.
734
+ * These map to existing ChatAppState methods for consistency.
735
+ * @since 0.18.0
736
+ */
737
+ type PikaCommand = PikaRenderTagCommand | PikaCloseCanvasCommand | PikaCloseDialogCommand | PikaCloseHeroCommand | PikaShowHeroCommand | PikaHideHeroCommand | PikaShowToastCommand | PikaNavigateToCommand | PikaCustomCommand;
738
+ interface PikaRenderTagCommand {
739
+ type: 'renderTag';
740
+ /** Tag ID in format "scope.tag" (e.g., "rcs.job") */
741
+ tagId: string;
742
+ /** Which rendering context to use */
743
+ renderingContext: Exclude<WidgetRenderingContextType, 'inline' | 'static'>;
744
+ /** Data to pass to the widget */
745
+ data?: Record<string, unknown>;
746
+ /** Optional metadata for the widget */
747
+ metadata?: {
748
+ title?: string;
749
+ companionMode?: boolean;
750
+ chatPaneMinimized?: boolean;
751
+ };
752
+ }
753
+ interface PikaCloseCanvasCommand {
754
+ type: 'closeCanvas';
755
+ }
756
+ interface PikaCloseDialogCommand {
757
+ type: 'closeDialog';
758
+ }
759
+ interface PikaCloseHeroCommand {
760
+ type: 'closeHero';
761
+ }
762
+ interface PikaShowHeroCommand {
763
+ type: 'showHero';
764
+ }
765
+ interface PikaHideHeroCommand {
766
+ type: 'hideHero';
702
767
  }
768
+ interface PikaShowToastCommand {
769
+ type: 'showToast';
770
+ message: string;
771
+ variant: 'success' | 'error' | 'info' | 'warning';
772
+ }
773
+ interface PikaNavigateToCommand {
774
+ type: 'navigateTo';
775
+ path: string;
776
+ }
777
+ interface PikaCustomCommand {
778
+ type: 'custom';
779
+ /** Action identifier for the handler to dispatch on */
780
+ action: string;
781
+ /** Parameters for the action */
782
+ params: Record<string, unknown>;
783
+ }
784
+ /**
785
+ * A command definition that can be matched by the Intent Router.
786
+ * These are defined on tag definitions in the `intentRouterCommands` array.
787
+ * @since 0.18.0
788
+ */
789
+ interface IntentRouterCommand {
790
+ /** Unique ID within this tag definition (e.g., "view_jobs", "fix_errors") */
791
+ commandId: string;
792
+ /** Human-readable name for admin UI */
793
+ name: string;
794
+ /** Description shown to classifier for classification */
795
+ description: string;
796
+ /** Example user queries that should match this command */
797
+ examples: string[];
798
+ /** Queries that should NOT match (helps classifier distinguish similar intents) */
799
+ antiExamples?: string[];
800
+ /** Priority when multiple commands match across tag definitions (higher = preferred) */
801
+ priority: number;
802
+ /** Minimum confidence required to match (default 0.85) */
803
+ confidenceThreshold?: number;
804
+ /**
805
+ * Context requirements (command only eligible if these paths exist in context).
806
+ * Uses dot notation for nested paths (e.g., "currentJob.jobId").
807
+ */
808
+ requiresContext?: string[];
809
+ /** How to execute when matched */
810
+ execution: IntentRouterCommandExecution;
811
+ }
812
+ /**
813
+ * How a matched command should be executed.
814
+ */
815
+ type IntentRouterCommandExecution = IntentRouterDirectExecution | IntentRouterDispatchExecution;
816
+ /**
817
+ * Direct execution: Router immediately executes a PikaCommand and returns a response.
818
+ * Use for simple cases where no custom logic is needed.
819
+ */
820
+ interface IntentRouterDirectExecution {
821
+ mode: 'direct';
822
+ /** The PikaCommand to execute (supports template interpolation in string values) */
823
+ command: PikaCommand;
824
+ /** Response template to show user (supports {{context.xxx}} interpolation) */
825
+ responseTemplate?: string;
826
+ /** If true, still call Bedrock after executing command (for richer response) */
827
+ passToAgent?: boolean;
828
+ }
829
+ /**
830
+ * Dispatch execution: Router sends event to a handler widget for custom logic.
831
+ * Use when you need runtime decision-making (API calls, conditional rendering, etc.).
832
+ *
833
+ * In dispatch mode, the server sends the dispatch event and the response template,
834
+ * then completes the turn (no Bedrock agent call). The orchestrator widget handles
835
+ * the command entirely on the client side.
836
+ */
837
+ interface IntentRouterDispatchExecution {
838
+ mode: 'dispatch';
839
+ /** Tag ID of the widget that will handle this command (e.g., "rcs.orchestrator") */
840
+ handlerTagId: string;
841
+ /** Custom payload to send to handler */
842
+ payload?: Record<string, unknown>;
843
+ /** Response to show user (e.g., "Opening jobs..."). Supports {{context.xxx}} interpolation. */
844
+ responseTemplate?: string;
845
+ }
846
+ /**
847
+ * Event dispatched to a handler widget when a command is matched.
848
+ * @since 0.18.0
849
+ */
850
+ interface IntentRouterCommandEvent {
851
+ /** The matched command ID */
852
+ commandId: string;
853
+ /** The intent that was matched (same as commandId in most cases) */
854
+ intent: string;
855
+ /** Classification confidence (0-1) */
856
+ confidence: number;
857
+ /** Tag ID of the handler widget (e.g., "rcs.orchestrator") */
858
+ handlerTagId?: string;
859
+ /** Custom payload from command definition's execution.payload */
860
+ payload?: Record<string, unknown>;
861
+ /** Context from widgets (interpolated from llmContextItems) */
862
+ context: Record<string, unknown>;
863
+ /** The original user message */
864
+ userMessage: string;
865
+ /** Session info */
866
+ sessionId: string;
867
+ userId: string;
868
+ }
869
+ /**
870
+ * Result returned by a command handler widget.
871
+ * @since 0.18.0
872
+ */
873
+ interface IntentRouterHandlerResult {
874
+ /** Whether this handler processed the command */
875
+ handled: boolean;
876
+ /** Response to stream back to user (if handled). Supports markdown. */
877
+ response?: string;
878
+ /** Additional commands to execute after the response (optional) */
879
+ commands?: PikaCommand[];
880
+ }
881
+ /**
882
+ * Handler function type for intent router command dispatch.
883
+ * @since 0.18.0
884
+ */
885
+ type IntentRouterHandler = (event: IntentRouterCommandEvent) => Promise<IntentRouterHandlerResult>;
703
886
  interface AgentInstructionChatAppOverridableFeature {
704
887
  enabled: boolean;
705
888
  includeOutputFormattingRequirements: boolean;
@@ -799,7 +982,7 @@ interface ConverseRequestWithCommand {
799
982
  agentId?: string;
800
983
  userId: string;
801
984
  }
802
- declare const ClearConverseLambdaCacheTypes: readonly ["agent", "tagDefinitions", "instructionAssistanceConfig", "all"];
985
+ declare const ClearConverseLambdaCacheTypes: readonly ["agent", "tagDefinitions", "instructionAssistanceConfig", "intentRouterCommands", "all"];
803
986
  type ClearConverseLambdaCacheType = (typeof ClearConverseLambdaCacheTypes)[number];
804
987
  interface ConverseRequest extends BaseRequestData {
805
988
  message: string;
@@ -1932,7 +2115,7 @@ interface ChatAppDataRequest {
1932
2115
  /**
1933
2116
  * These are the features that are available to be overridden by the chat app.
1934
2117
  */
1935
- type ChatAppFeature = FileUploadFeatureForChatApp | SuggestionsFeatureForChatApp | PromptInputFieldLabelFeatureForChatApp | UiCustomizationFeatureForChatApp | VerifyResponseFeatureForChatApp | TracesFeatureForChatApp | ChatDisclaimerNoticeFeatureForChatApp | LogoutFeatureForChatApp | SessionInsightsFeatureForChatApp | UserDataOverrideFeatureForChatApp | TagsFeatureForChatApp | AgentInstructionAssistanceFeatureForChatApp | InstructionAugmentationFeatureForChatApp | UserMemoryFeatureForChatApp | EntityFeatureForChatApp;
2118
+ type ChatAppFeature = FileUploadFeatureForChatApp | SuggestionsFeatureForChatApp | PromptInputFieldLabelFeatureForChatApp | UiCustomizationFeatureForChatApp | VerifyResponseFeatureForChatApp | TracesFeatureForChatApp | ChatDisclaimerNoticeFeatureForChatApp | LogoutFeatureForChatApp | SessionInsightsFeatureForChatApp | UserDataOverrideFeatureForChatApp | TagsFeatureForChatApp | AgentInstructionAssistanceFeatureForChatApp | InstructionAugmentationFeatureForChatApp | UserMemoryFeatureForChatApp | EntityFeatureForChatApp | IntentRouterFeatureForChatApp;
1936
2119
  interface Feature {
1937
2120
  /**
1938
2121
  * Must be unique, only alphanumeric and - _ allowed, may not start with a number
@@ -1943,7 +2126,7 @@ interface Feature {
1943
2126
  /** Whether the feature is on or off for the chat app in question. Most features are off by default, see the specific feature for details. */
1944
2127
  enabled: boolean;
1945
2128
  }
1946
- declare const FeatureIdList: readonly ["fileUpload", "promptInputFieldLabel", "suggestions", "uiCustomization", "verifyResponse", "traces", "chatDisclaimerNotice", "logout", "sessionInsights", "userDataOverrides", "tags", "agentInstructionAssistance", "instructionAugmentation", "userMemory", "entity"];
2129
+ declare const FeatureIdList: readonly ["fileUpload", "promptInputFieldLabel", "suggestions", "uiCustomization", "verifyResponse", "traces", "chatDisclaimerNotice", "logout", "sessionInsights", "userDataOverrides", "tags", "agentInstructionAssistance", "instructionAugmentation", "userMemory", "entity", "intentRouter"];
1947
2130
  type FeatureIdType = (typeof FeatureIdList)[number];
1948
2131
  declare const EndToEndFeatureIdList: readonly ["verifyResponse", "traces"];
1949
2132
  type EndToEndFeatureIdType = (typeof EndToEndFeatureIdList)[number];
@@ -2180,6 +2363,14 @@ interface EntityFeatureForChatApp extends Feature {
2180
2363
  enabled: boolean;
2181
2364
  attributeName?: string;
2182
2365
  }
2366
+ /**
2367
+ * Intent Router feature configuration for a chat app.
2368
+ * Enables fast command routing to widgets without full LLM inference.
2369
+ * @since 0.18.0
2370
+ */
2371
+ interface IntentRouterFeatureForChatApp extends IntentRouterFeature, Feature {
2372
+ featureId: 'intentRouter';
2373
+ }
2183
2374
  /**
2184
2375
  * The prompt instruction assistance feature is used to add a markdown section to the prompt that instructs the agent on how to format its response.
2185
2376
  *
@@ -2890,6 +3081,8 @@ interface SiteFeatures {
2890
3081
  instructionAugmentation?: InstructionAugmentationFeature;
2891
3082
  /** Configure whether the user memory feature is enabled. */
2892
3083
  userMemory?: UserMemoryFeature;
3084
+ /** Configure whether the Intent Router feature is enabled. @since 0.18.0 */
3085
+ intentRouter?: IntentRouterFeature;
2893
3086
  }
2894
3087
  /**
2895
3088
  * Configure whether the user memory feature is enabled.
@@ -3655,6 +3848,20 @@ interface SpotlightContextConfig {
3655
3848
  singleton?: boolean;
3656
3849
  /** If false, widget won't appear in unpinned menu. Default: true. Use false for base widgets that only create instances */
3657
3850
  showInUnpinnedMenu?: boolean;
3851
+ /**
3852
+ * If true (default), widget is automatically created in spotlight on startup.
3853
+ * If false, widget must be explicitly rendered via `renderTag('scope.tag', 'spotlight')`.
3854
+ * @default true
3855
+ * @since 0.18.0
3856
+ */
3857
+ autoCreateInstance?: boolean;
3858
+ /**
3859
+ * If true, spotlight starts in collapsed/hidden state on startup.
3860
+ * User can expand it by clicking the header.
3861
+ * @default false
3862
+ * @since 0.18.0
3863
+ */
3864
+ startCollapsed?: boolean;
3658
3865
  }
3659
3866
  interface InlineContextConfig {
3660
3867
  enabled: boolean;
@@ -3666,25 +3873,60 @@ interface DialogContextConfig {
3666
3873
  interface CanvasContextConfig {
3667
3874
  enabled: boolean;
3668
3875
  }
3876
+ /**
3877
+ * Sizing configuration for hero widgets.
3878
+ * Allows developers to control the dimensions of their hero widget.
3879
+ *
3880
+ * Behavior:
3881
+ * - If width/height specified, use that value (clamped to min/max)
3882
+ * - If not specified, use content's intrinsic size (clamped to min/max)
3883
+ * - Hero container is always centered horizontally
3884
+ * - Percentage values are responsive to viewport changes
3885
+ *
3886
+ * @since 0.18.0
3887
+ */
3888
+ interface HeroSizeConfig {
3889
+ /** Fixed width (e.g., '600px', '80%'). If not set, uses content width. */
3890
+ width?: string;
3891
+ /** Fixed height (e.g., '300px', 'auto'). If not set, uses content height. */
3892
+ height?: string;
3893
+ /** Minimum width constraint (e.g., '400px'). @default '200px' */
3894
+ minWidth?: string;
3895
+ /** Maximum width constraint (e.g., '900px', '90%'). @default '90%' */
3896
+ maxWidth?: string;
3897
+ /** Minimum height constraint in pixels. @default 100 */
3898
+ minHeight?: number;
3899
+ /** Maximum height constraint in pixels. @default 600 */
3900
+ maxHeight?: number;
3901
+ }
3669
3902
  /**
3670
3903
  * Hero rendering context configuration.
3671
3904
  * Hero is a singleton widget that displays dominantly above the chat input area,
3672
- * below spotlight (if both are shown). Unlike spotlight, hero can be shown/hidden
3673
- * via API and is controlled by a static widget (orchestrator).
3905
+ * below spotlight (if both are shown). Hero can be shown/hidden via API.
3674
3906
  */
3675
3907
  interface HeroContextConfig {
3676
3908
  enabled: boolean;
3909
+ /**
3910
+ * If true, hero widget is automatically rendered on startup.
3911
+ * If false (default), hero must be explicitly rendered via `renderTag('scope.tag', 'hero')`.
3912
+ * @default false
3913
+ * @since 0.18.0
3914
+ */
3915
+ autoCreateInstance?: boolean;
3916
+ /**
3917
+ * If true, hero starts in collapsed state on startup.
3918
+ * User can expand it by clicking the header.
3919
+ * Only applies when autoCreateInstance is true.
3920
+ * @default false
3921
+ * @since 0.18.0
3922
+ */
3923
+ startCollapsed?: boolean;
3677
3924
  /**
3678
3925
  * Sizing configuration for the hero widget.
3926
+ * Controls width and height constraints.
3927
+ * @since 0.18.0 - Extended with width controls
3679
3928
  */
3680
- sizing?: {
3681
- /** Minimum height in pixels. @default 150 */
3682
- minHeight?: number;
3683
- /** Maximum height in pixels. @default 400 */
3684
- maxHeight?: number;
3685
- /** Preferred height - number (pixels) or 'auto'. @default 'auto' */
3686
- preferredHeight?: number | 'auto';
3687
- };
3929
+ sizing?: HeroSizeConfig;
3688
3930
  }
3689
3931
  /**
3690
3932
  * Tag definition for widgets that have static context enabled.
@@ -3937,6 +4179,38 @@ interface TagDefinition<T extends TagDefinitionWidget> {
3937
4179
  *
3938
4180
  */
3939
4181
  componentAgentInstructionsMd?: Record<string, string>;
4182
+ /**
4183
+ * Commands that the Intent Router can use to match user messages and trigger this widget.
4184
+ * When a user's message matches a command's intent, the router will execute the specified
4185
+ * action (render widget, dispatch event to handler, etc.).
4186
+ *
4187
+ * @example
4188
+ * ```typescript
4189
+ * intentRouterCommands: [
4190
+ * {
4191
+ * commandId: 'view_job',
4192
+ * name: 'View Job',
4193
+ * description: 'Opens the job the user is working on',
4194
+ * examples: ['show me my job', 'open my job'],
4195
+ * priority: 100,
4196
+ * requiresContext: ['currentJob.jobId'],
4197
+ * execution: {
4198
+ * mode: 'direct',
4199
+ * command: {
4200
+ * type: 'renderTag',
4201
+ * tagId: 'rcs.job',
4202
+ * renderingContext: 'canvas',
4203
+ * data: { jobId: '{{context.currentJob.jobId}}' }
4204
+ * },
4205
+ * responseTemplate: 'Opening your job: {{context.currentJob.name}}'
4206
+ * }
4207
+ * }
4208
+ * ]
4209
+ * ```
4210
+ *
4211
+ * @since 0.18.0
4212
+ */
4213
+ intentRouterCommands?: IntentRouterCommand[];
3940
4214
  /** The user id of the user who created the tag definition */
3941
4215
  createdBy: string;
3942
4216
  /** The user id of the user who last updated the tag definition */
@@ -4846,4 +5120,4 @@ interface MarkdownRendererConfig {
4846
5120
  highlightCacheKey?: string;
4847
5121
  }
4848
5122
 
4849
- export { type AccessRule, type AccessRules, Accurate, AccurateWithStatedAssumptions, AccurateWithUnstatedAssumptions, type AddChatSessionFeedbackAdminRequest, type AddChatSessionFeedbackRequest, type AddChatSessionFeedbackResponse, type AgentAndTools, type AgentDataRequest, type AgentDataResponse, type AgentDefinition, type AgentDefinitionForCreate, type AgentDefinitionForIdempotentCreateOrUpdate, type AgentDefinitionForUpdate, type AgentFramework, type AgentInstructionAssistanceFeature, type AgentInstructionAssistanceFeatureForChatApp, type AgentInstructionChatAppOverridableFeature, type ApplyRulesAs, type AssistantMessageContent, type AssistantRationaleContent, type Attachment, type AuthenticateResult, type AuthenticatedUser, type BaseRequestData, type BaseStackConfig, type CanvasContextConfig, type ChatApp, type ChatAppAction, type ChatAppActionGroup, type ChatAppActionMenu, type ChatAppActionMenuElements, type ChatAppComponentConfig, type ChatAppDataRequest, type ChatAppDataResponse, type ChatAppFeature, type ChatAppForCreate, type ChatAppForIdempotentCreateOrUpdate, type ChatAppForUpdate, type ChatAppLite, type ChatAppMode, type ChatAppOverridableFeatures, type ChatAppOverridableFeaturesForConverseFn, type ChatAppOverride, type ChatAppOverrideDdb, type ChatAppOverrideForCreateOrUpdate, type ChatDisclaimerNoticeFeature, type ChatDisclaimerNoticeFeatureForChatApp, type ChatMessage, type ChatMessageFile, type ChatMessageFileBase, ChatMessageFileLocationType, type ChatMessageFileS3, ChatMessageFileUseCase, type ChatMessageForCreate, type ChatMessageForRendering, type ChatMessageResponse, type ChatMessageUsage, type ChatMessagesResponse, type ChatSession, type ChatSessionFeedback, type ChatSessionFeedbackForCreate, type ChatSessionFeedbackForUpdate, type ChatSessionForCreate, type ChatSessionLiteForUpdate, type ChatSessionResponse, type ChatSessionsResponse, type ChatTitleUpdateRequest, type ChatUser, type ChatUserAddOrUpdateResponse, type ChatUserFeature, type ChatUserFeatureBase, type ChatUserLite, type ChatUserResponse, type ChatUserSearchResponse, type ClearConverseLambdaCacheRequest, type ClearConverseLambdaCacheResponse, type ClearConverseLambdaCacheType, ClearConverseLambdaCacheTypes, type ClearSvelteKitCacheType, ClearSvelteKitCacheTypes, type ClearSvelteKitCachesRequest, type ClearSvelteKitCachesResponse, type ClearUserOverrideDataRequest, type ClearUserOverrideDataResponse, type CompanyType, type ComponentTagDefinition, ContentAdminCommand, type ContentAdminCommandRequestBase, type ContentAdminCommandResponseBase, type ContentAdminData, type ContentAdminRequest, type ContentAdminResponse, type ContentAdminSiteFeature, type ContextSource, type ContextSourceDef, type ConverseInvocationMode, ConverseInvocationModes, type ConverseRequest, type ConverseRequestWithCommand, ConverseSource, type CostDistributionBucket, type CreateAgentRequest, type CreateChatAppRequest, type CreateOrUpdateChatAppOverrideRequest, type CreateOrUpdateChatAppOverrideResponse, type CreateOrUpdateMockAgentRequest, type CreateOrUpdateMockAgentResponse, type CreateOrUpdateMockChatAppRequest, type CreateOrUpdateMockChatAppResponse, type CreateOrUpdateMockSessionRequest, type CreateOrUpdateMockSessionResponse, type CreateOrUpdateMockToolRequest, type CreateOrUpdateMockToolResponse, type CreateOrUpdateMockUserRequest, type CreateOrUpdateMockUserResponse, type CreateOrUpdateTagDefinitionAdminRequest, type CreateSharedSessionRequest, type CreateSharedSessionResponse, type CreateToolRequest, type CustomDataUiRepresentation, DEFAULT_EVENT_EXPIRY_DURATION, DEFAULT_MAX_K_MATCHES_PER_STRATEGY, DEFAULT_MAX_MEMORY_RECORDS_PER_PROMPT, DEFAULT_MEMORY_STRATEGIES, type DeleteAllMockAgentsRequest, type DeleteAllMockAgentsResponse, type DeleteAllMockChatAppsRequest, type DeleteAllMockChatAppsResponse, type DeleteAllMockDataRequest, type DeleteAllMockDataResponse, type DeleteAllMockPinnedSessionsRequest, type DeleteAllMockPinnedSessionsResponse, type DeleteAllMockSessionsRequest, type DeleteAllMockSessionsResponse, type DeleteAllMockSharedSessionVisitsRequest, type DeleteAllMockSharedSessionVisitsResponse, type DeleteAllMockToolsRequest, type DeleteAllMockToolsResponse, type DeleteAllMockUsersRequest, type DeleteAllMockUsersResponse, type DeleteChatAppOverrideRequest, type DeleteChatAppOverrideResponse, type DeleteMockAgentRequest, type DeleteMockAgentResponse, type DeleteMockChatAppRequest, type DeleteMockChatAppResponse, type DeleteMockDataRequest, type DeleteMockDataResponse, type DeleteMockSessionRequest, type DeleteMockSessionResponse, type DeleteMockToolRequest, type DeleteMockToolResponse, type DeleteMockUserRequest, type DeleteMockUserResponse, type DeleteTagDefinitionAdminRequest, type DeleteUserWidgetDataRequest, type DeleteUserWidgetDataResponse, type DialogContextConfig, EndToEndFeatureIdList, type EndToEndFeatureIdType, type EntityFeatureForChatApp, type EntitySiteFeature, type ExecutionType, FEATURE_NAMES, FEEDBACK_INTERNAL_COMMENT_STATUS, FEEDBACK_INTERNAL_COMMENT_STATUS_VALUES, FEEDBACK_INTERNAL_COMMENT_TYPE, FEEDBACK_INTERNAL_COMMENT_TYPE_VALUES, type Feature, type FeatureError, FeatureIdList, type FeatureIdType, type FeatureType, FeatureTypeArr, type FeedbackInternalComment, type FeedbackInternalCommentStatus, type FeedbackInternalCommentType, type FileUploadFeature, type FileUploadFeatureForChatApp, type GetAgentRequest, type GetAgentResponse, type GetAllAgentsAdminRequest, type GetAllAgentsAdminResponse, type GetAllChatAppsAdminRequest, type GetAllChatAppsAdminResponse, type GetAllMemoryRecordsAdminRequest, type GetAllMemoryRecordsAdminResponse, type GetAllMockAgentsRequest, type GetAllMockAgentsResponse, type GetAllMockChatAppsRequest, type GetAllMockChatAppsResponse, type GetAllMockDataRequest, type GetAllMockDataResponse, type GetAllMockPinnedSessionsRequest, type GetAllMockPinnedSessionsResponse, type GetAllMockSessionsRequest, type GetAllMockSessionsResponse, type GetAllMockSharedSessionVisitsRequest, type GetAllMockSharedSessionVisitsResponse, type GetAllMockToolsRequest, type GetAllMockToolsResponse, type GetAllMockUsersRequest, type GetAllMockUsersResponse, type GetAllToolsAdminRequest, type GetAllToolsAdminResponse, type GetChatAppsByRulesRequest, type GetChatAppsByRulesResponse, type GetChatMessagesAsAdminRequest, type GetChatMessagesAsAdminResponse, type GetChatSessionFeedbackResponse, type GetChatUserPrefsResponse, type GetInitialDataRequest, type GetInitialDataResponse, type GetInitialDialogDataRequest, type GetInitialDialogDataResponse, type GetInstructionAssistanceConfigFromSsmRequest, type GetInstructionAssistanceConfigFromSsmResponse, type GetInstructionsAddedForUserMemoryAdminRequest, type GetInstructionsAddedForUserMemoryAdminResponse, type GetInstructionsAddedForUserMemoryRequest, type GetInstructionsAddedForUserMemoryResponse, type GetMockSessionByUserIdAndSessionIdRequest, type GetMockSessionByUserIdAndSessionIdResponse, type GetPinnedSessionsRequest, type GetPinnedSessionsResponse, type GetRecentSharedRequest, type GetRecentSharedResponse, type GetSessionAnalyticsAdminRequest, type GetUserWidgetDataRequest, type GetUserWidgetDataResponse, type GetUsersForUserListRequest, type GetUsersForUserListResponse, type GetValuesForAutoCompleteRequest, type GetValuesForAutoCompleteResponse, type GetValuesForContentAdminAutoCompleteRequest, type GetValuesForContentAdminAutoCompleteResponse, type GetValuesForEntityAutoCompleteRequest, type GetValuesForEntityAutoCompleteResponse, type GetValuesForEntityListRequest, type GetValuesForEntityListResponse, type GetValuesForUserAutoCompleteRequest, type GetValuesForUserAutoCompleteResponse, type GetViewingContentForUserResponse, type HeroContextConfig, type HistoryFeature, type HomePageLinksToChatAppsSiteFeature, type HomePageSiteFeature, INSIGHT_STATUS_NEEDS_INSIGHTS_ANALYSIS, type IUserWidgetDataStoreState, Inaccurate, type InlineContextConfig, type InlineToolDefinition, type InsightStatusNeedsInsightsAnalysis, type InsightsSearchParams, type InstructionAssistanceConfig, type InstructionAugmentationFeature, type InstructionAugmentationFeatureForChatApp, type InstructionAugmentationScopeType, type InstructionAugmentationScopeTypeDisplayName, InstructionAugmentationScopeTypeDisplayNames, InstructionAugmentationScopeTypes, type InstructionAugmentationType, type InstructionAugmentationTypeDisplayName, InstructionAugmentationTypeDisplayNames, InstructionAugmentationTypes, type InstructionFeature, type InvocationScopes, type InvokeAgentAsComponentOptions, type KnowledgeBase, type LLMContextItem, type LambdaToolDefinition, type LifecycleStatus, type LogoutFeature, type LogoutFeatureForChatApp, type MarkdownRendererConfig, type McpToolDefinition, type MemoryContent, type MemoryQueryOptions, type MessageSegment, type MessageSegmentBase, MessageSource, type NameValueDescTriple, type NameValuePair, type OAuth, type PagedRecordsResult, type PikaConfig, type PikaStack, type PikaUserRole, PikaUserRoles, type PinSessionRequest, type PinSessionResponse, type PinnedObjAndChatSession, type PinnedSession, type PinnedSessionDynamoDb, type PromptInputFieldLabelFeature, type PromptInputFieldLabelFeatureForChatApp, type RecordOrUndef, type RecordShareVisitRequest, type RecordShareVisitResponse, type RefreshChatAppRequest, type RefreshChatAppResponse, type RetrievedMemoryContent, type RetrievedMemoryRecordSummary, type RetryableVerifyResponseClassification, RetryableVerifyResponseClassifications, type RevokeSharedSessionRequest, type RevokeSharedSessionResponse, type RolloutPolicy, SCORE_SEARCH_OPERATORS, SCORE_SEARCH_OPERATORS_VALUES, SESSION_FEEDBACK_SEVERITY, SESSION_FEEDBACK_SEVERITY_VALUES, SESSION_FEEDBACK_STATUS, SESSION_FEEDBACK_STATUS_VALUES, SESSION_FEEDBACK_TYPE, SESSION_FEEDBACK_TYPE_VALUES, SESSION_INSIGHT_GOAL_COMPLETION_STATUS, SESSION_INSIGHT_GOAL_COMPLETION_STATUS_VALUES, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL_VALUES, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL_VALUES, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE_VALUES, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED_VALUES, SESSION_INSIGHT_SATISFACTION_LEVEL, SESSION_INSIGHT_SATISFACTION_LEVEL_VALUES, SESSION_INSIGHT_USER_SENTIMENT, SESSION_INSIGHT_USER_SENTIMENT_VALUES, SESSION_SEARCH_DATE_PRESETS, SESSION_SEARCH_DATE_PRESETS_SHORT_VALUES, SESSION_SEARCH_DATE_PRESETS_VALUES, SESSION_SEARCH_DATE_TYPES, SESSION_SEARCH_DATE_TYPES_VALUES, SESSION_SEARCH_SORT_FIELDS, SESSION_SEARCH_SORT_FIELDS_VALUES, type SaveUserOverrideDataRequest, type SaveUserOverrideDataResponse, type ScoreSearchOperator, type ScoreSearchParams, type SearchAllMemoryRecordsRequest, type SearchAllMemoryRecordsResponse, type SearchAllMyMemoryRecordsRequest, type SearchAllMyMemoryRecordsResponse, type SearchSemanticDirectivesAdminRequest, type SearchSemanticDirectivesRequest, type SearchSemanticDirectivesResponse, type SearchTagDefinitionsAdminRequest, type SearchToolsRequest, type SegmentType, type SemanticDirective, type SemanticDirectiveCreateOrUpdateAdminRequest, type SemanticDirectiveCreateOrUpdateRequest, type SemanticDirectiveCreateOrUpdateResponse, type SemanticDirectiveDataRequest, type SemanticDirectiveDeleteAdminRequest, type SemanticDirectiveDeleteRequest, type SemanticDirectiveDeleteResponse, type SemanticDirectiveForCreateOrUpdate, type SemanticDirectiveScope, type SentContextRecord, type SessionAnalyticsChatAppUsage, type SessionAnalyticsCostByMode, type SessionAnalyticsEntityUsage, type SessionAnalyticsRequest, type SessionAnalyticsResponse, type SessionAnalyticsSummary, type SessionAnalyticsTimeSeriesPoint, type SessionAttributes, type SessionAttributesWithoutToken, type SessionData, type SessionDataWithChatUserCustomDataSpreadIn, type SessionFeedbackSeverity, type SessionFeedbackStatus, type SessionFeedbackType, type SessionInsightGoalCompletionStatus, type SessionInsightMetricsAiConfidenceLevel, type SessionInsightMetricsComplexityLevel, type SessionInsightMetricsSessionDurationEstimate, type SessionInsightMetricsUserEffortRequired, type SessionInsightSatisfactionLevel, type SessionInsightScoring, type SessionInsightUsage, type SessionInsightUserSentiment, type SessionInsights, type SessionInsightsFeature, type SessionInsightsFeatureForChatApp, type SessionInsightsOpenSearchConfig, type SessionSearchAdminRequest, type SessionSearchDateFilter, type SessionSearchDatePreset, type SessionSearchDateType, type SessionSearchRequest, type SessionSearchResponse, type SessionSearchSortField, type SetChatUserPrefsRequest, type SetChatUserPrefsResponse, type SetUserWidgetDataRequest, type SetUserWidgetDataResponse, type ShareSessionState, ShareSessionStateList, type SharedSessionVisitHistory, type SharedSessionVisitHistoryDynamoDb, type ShowToastFn, type ShowToastOptions, type SimpleAuthenticatedUser, type SimpleOption, SiteAdminCommand, type SiteAdminCommandRequestBase, type SiteAdminCommandResponseBase, type SiteAdminFeature, type SiteAdminRequest, type SiteAdminResponse, type SiteFeatures, type SpotlightContextConfig, type SpotlightInstanceMetadata, type StaticContextConfig, type StaticWidgetTagDefinition, type StopViewingContentForUserRequest, type StopViewingContentForUserResponse, type StreamingStatus, type SuggestionsFeature, type SuggestionsFeatureForChatApp, TAG_DEFINITION_STATUSES, TAG_DEFINITION_USAGE_MODES, TAG_DEFINITION_WIDGET_TYPES, type TagDefInJsonFile, type TagDefinition, type TagDefinitionCreateOrUpdateRequest, type TagDefinitionCreateOrUpdateResponse, type TagDefinitionDeleteRequest, type TagDefinitionDeleteResponse, type TagDefinitionForCreateOrUpdate, type TagDefinitionLite, type TagDefinitionSearchRequest, type TagDefinitionSearchResponse, type TagDefinitionStatus, type TagDefinitionUsageMode, type TagDefinitionWebComponent, type TagDefinitionWebComponentForCreateOrUpdate, type TagDefinitionWidget, type TagDefinitionWidgetBase, type TagDefinitionWidgetCustomCompiledIn, type TagDefinitionWidgetForCreateOrUpdate, type TagDefinitionWidgetPassThrough, type TagDefinitionWidgetPikaCompiledIn, type TagDefinitionWidgetType, type TagDefinitionWidgetWebComponent, type TagDefinitionWidgetWebComponentForCreateOrUpdate, type TagDefinitionsJsonFile, type TagMessageSegment, type TagWebComponentEncoding, type TagsChatAppOverridableFeature, type TagsFeatureForChatApp, type TagsSiteFeature, type TextMessageSegment, type ToolDefinition, type ToolDefinitionBase, type ToolDefinitionForCreate, type ToolDefinitionForIdempotentCreateOrUpdate, type ToolDefinitionForUpdate, type ToolIdToLambdaArnMap, type ToolInvocationContent, type ToolLifecycle, type TracesFeature, type TracesFeatureForChatApp, type TypedContentWithRole, UPDATEABLE_FEEDBACK_FIELDS, type UiCustomizationFeature, type UiCustomizationFeatureForChatApp, Unclassified, type UnpinSessionRequest, type UnpinSessionResponse, type UnrevokeSharedSessionRequest, type UnrevokeSharedSessionResponse, type UpdateAgentRequest, type UpdateChatAppRequest, type UpdateChatSessionFeedbackAdminRequest, type UpdateChatSessionFeedbackRequest, type UpdateChatSessionFeedbackResponse, type UpdateToolRequest, type UpdateableAgentDefinitionFields, type UpdateableChatAppFields, type UpdateableChatAppOverrideFields, type UpdateableFeedbackFields, type UpdateableToolDefinitionFields, type UserAwsCredentials, type UserAwsCredentialsResponse, type UserChatAppRule, type UserCognitoIdentity, type UserDataOverrideFeatureForChatApp, type UserDataOverrideSettings, type UserDataOverridesSiteFeature, type UserMemoryFeature, type UserMemoryFeatureForChatApp, type UserMemoryFeatureWithMemoryInfo, UserMemoryStrategies, type UserMemoryStrategy, type UserMessageContent, type UserOverrideData, UserOverrideDataCommand, type UserOverrideDataCommandRequest, type UserOverrideDataCommandRequestBase, type UserOverrideDataCommandResponse, type UserOverrideDataCommandResponseBase, type UserPrefs, type UserRole, type UserType, UserTypes, type UserWidgetData, type ValidateShareAccessRequest, type ValidateShareAccessResponse, type VerifyResponseClassification, type VerifyResponseClassificationDescription, VerifyResponseClassificationDescriptions, VerifyResponseClassifications, type VerifyResponseFeature, type VerifyResponseFeatureForChatApp, type VerifyResponseRetryableClassificationDescription, VerifyResponseRetryableClassificationDescriptions, type ViewContentForUserRequest, type ViewContentForUserResponse, type VitePreviewConfig, type ViteServerConfig, WIDGET_RENDERING_CONTEXT_TYPES, type WidgetContextSourceDef, type WidgetContextSourceOrigin, WidgetContextSourceOrigins, type WidgetDialogSizeCustom, type WidgetDialogSizePreset, type WidgetDialogSizing, type WidgetInlineSizing, type WidgetInstance, type WidgetRenderingContextType, type WidgetRenderingContexts, type WidgetSizing };
5123
+ export { type AccessRule, type AccessRules, Accurate, AccurateWithStatedAssumptions, AccurateWithUnstatedAssumptions, type AddChatSessionFeedbackAdminRequest, type AddChatSessionFeedbackRequest, type AddChatSessionFeedbackResponse, type AgentAndTools, type AgentDataRequest, type AgentDataResponse, type AgentDefinition, type AgentDefinitionForCreate, type AgentDefinitionForIdempotentCreateOrUpdate, type AgentDefinitionForUpdate, type AgentFramework, type AgentInstructionAssistanceFeature, type AgentInstructionAssistanceFeatureForChatApp, type AgentInstructionChatAppOverridableFeature, type ApplyRulesAs, type AssistantMessageContent, type AssistantRationaleContent, type Attachment, type AuthenticateResult, type AuthenticatedUser, type BaseRequestData, type BaseStackConfig, type CanvasContextConfig, type ChatApp, type ChatAppAction, type ChatAppActionGroup, type ChatAppActionMenu, type ChatAppActionMenuElements, type ChatAppComponentConfig, type ChatAppDataRequest, type ChatAppDataResponse, type ChatAppFeature, type ChatAppForCreate, type ChatAppForIdempotentCreateOrUpdate, type ChatAppForUpdate, type ChatAppLite, type ChatAppMode, type ChatAppOverridableFeatures, type ChatAppOverridableFeaturesForConverseFn, type ChatAppOverride, type ChatAppOverrideDdb, type ChatAppOverrideForCreateOrUpdate, type ChatDisclaimerNoticeFeature, type ChatDisclaimerNoticeFeatureForChatApp, type ChatMessage, type ChatMessageFile, type ChatMessageFileBase, ChatMessageFileLocationType, type ChatMessageFileS3, ChatMessageFileUseCase, type ChatMessageForCreate, type ChatMessageForRendering, type ChatMessageResponse, type ChatMessageUsage, type ChatMessagesResponse, type ChatSession, type ChatSessionFeedback, type ChatSessionFeedbackForCreate, type ChatSessionFeedbackForUpdate, type ChatSessionForCreate, type ChatSessionLiteForUpdate, type ChatSessionResponse, type ChatSessionsResponse, type ChatTitleUpdateRequest, type ChatUser, type ChatUserAddOrUpdateResponse, type ChatUserFeature, type ChatUserFeatureBase, type ChatUserLite, type ChatUserResponse, type ChatUserSearchResponse, type ClearConverseLambdaCacheRequest, type ClearConverseLambdaCacheResponse, type ClearConverseLambdaCacheType, ClearConverseLambdaCacheTypes, type ClearSvelteKitCacheType, ClearSvelteKitCacheTypes, type ClearSvelteKitCachesRequest, type ClearSvelteKitCachesResponse, type ClearUserOverrideDataRequest, type ClearUserOverrideDataResponse, type CompanyType, type ComponentTagDefinition, ContentAdminCommand, type ContentAdminCommandRequestBase, type ContentAdminCommandResponseBase, type ContentAdminData, type ContentAdminRequest, type ContentAdminResponse, type ContentAdminSiteFeature, type ContextSource, type ContextSourceDef, type ConverseInvocationMode, ConverseInvocationModes, type ConverseRequest, type ConverseRequestWithCommand, ConverseSource, type CostDistributionBucket, type CreateAgentRequest, type CreateChatAppRequest, type CreateOrUpdateChatAppOverrideRequest, type CreateOrUpdateChatAppOverrideResponse, type CreateOrUpdateMockAgentRequest, type CreateOrUpdateMockAgentResponse, type CreateOrUpdateMockChatAppRequest, type CreateOrUpdateMockChatAppResponse, type CreateOrUpdateMockSessionRequest, type CreateOrUpdateMockSessionResponse, type CreateOrUpdateMockToolRequest, type CreateOrUpdateMockToolResponse, type CreateOrUpdateMockUserRequest, type CreateOrUpdateMockUserResponse, type CreateOrUpdateTagDefinitionAdminRequest, type CreateSharedSessionRequest, type CreateSharedSessionResponse, type CreateToolRequest, type CustomDataUiRepresentation, DEFAULT_EVENT_EXPIRY_DURATION, DEFAULT_MAX_K_MATCHES_PER_STRATEGY, DEFAULT_MAX_MEMORY_RECORDS_PER_PROMPT, DEFAULT_MEMORY_STRATEGIES, type DeleteAllMockAgentsRequest, type DeleteAllMockAgentsResponse, type DeleteAllMockChatAppsRequest, type DeleteAllMockChatAppsResponse, type DeleteAllMockDataRequest, type DeleteAllMockDataResponse, type DeleteAllMockPinnedSessionsRequest, type DeleteAllMockPinnedSessionsResponse, type DeleteAllMockSessionsRequest, type DeleteAllMockSessionsResponse, type DeleteAllMockSharedSessionVisitsRequest, type DeleteAllMockSharedSessionVisitsResponse, type DeleteAllMockToolsRequest, type DeleteAllMockToolsResponse, type DeleteAllMockUsersRequest, type DeleteAllMockUsersResponse, type DeleteChatAppOverrideRequest, type DeleteChatAppOverrideResponse, type DeleteMockAgentRequest, type DeleteMockAgentResponse, type DeleteMockChatAppRequest, type DeleteMockChatAppResponse, type DeleteMockDataRequest, type DeleteMockDataResponse, type DeleteMockSessionRequest, type DeleteMockSessionResponse, type DeleteMockToolRequest, type DeleteMockToolResponse, type DeleteMockUserRequest, type DeleteMockUserResponse, type DeleteTagDefinitionAdminRequest, type DeleteUserWidgetDataRequest, type DeleteUserWidgetDataResponse, type DialogContextConfig, EndToEndFeatureIdList, type EndToEndFeatureIdType, type EntityFeatureForChatApp, type EntitySiteFeature, type ExecutionType, FEATURE_NAMES, FEEDBACK_INTERNAL_COMMENT_STATUS, FEEDBACK_INTERNAL_COMMENT_STATUS_VALUES, FEEDBACK_INTERNAL_COMMENT_TYPE, FEEDBACK_INTERNAL_COMMENT_TYPE_VALUES, type Feature, type FeatureError, FeatureIdList, type FeatureIdType, type FeatureType, FeatureTypeArr, type FeedbackInternalComment, type FeedbackInternalCommentStatus, type FeedbackInternalCommentType, type FileUploadFeature, type FileUploadFeatureForChatApp, type GetAgentRequest, type GetAgentResponse, type GetAllAgentsAdminRequest, type GetAllAgentsAdminResponse, type GetAllChatAppsAdminRequest, type GetAllChatAppsAdminResponse, type GetAllMemoryRecordsAdminRequest, type GetAllMemoryRecordsAdminResponse, type GetAllMockAgentsRequest, type GetAllMockAgentsResponse, type GetAllMockChatAppsRequest, type GetAllMockChatAppsResponse, type GetAllMockDataRequest, type GetAllMockDataResponse, type GetAllMockPinnedSessionsRequest, type GetAllMockPinnedSessionsResponse, type GetAllMockSessionsRequest, type GetAllMockSessionsResponse, type GetAllMockSharedSessionVisitsRequest, type GetAllMockSharedSessionVisitsResponse, type GetAllMockToolsRequest, type GetAllMockToolsResponse, type GetAllMockUsersRequest, type GetAllMockUsersResponse, type GetAllToolsAdminRequest, type GetAllToolsAdminResponse, type GetChatAppsByRulesRequest, type GetChatAppsByRulesResponse, type GetChatMessagesAsAdminRequest, type GetChatMessagesAsAdminResponse, type GetChatSessionFeedbackResponse, type GetChatUserPrefsResponse, type GetInitialDataRequest, type GetInitialDataResponse, type GetInitialDialogDataRequest, type GetInitialDialogDataResponse, type GetInstructionAssistanceConfigFromSsmRequest, type GetInstructionAssistanceConfigFromSsmResponse, type GetInstructionsAddedForUserMemoryAdminRequest, type GetInstructionsAddedForUserMemoryAdminResponse, type GetInstructionsAddedForUserMemoryRequest, type GetInstructionsAddedForUserMemoryResponse, type GetMockSessionByUserIdAndSessionIdRequest, type GetMockSessionByUserIdAndSessionIdResponse, type GetPinnedSessionsRequest, type GetPinnedSessionsResponse, type GetRecentSharedRequest, type GetRecentSharedResponse, type GetSessionAnalyticsAdminRequest, type GetUserWidgetDataRequest, type GetUserWidgetDataResponse, type GetUsersForUserListRequest, type GetUsersForUserListResponse, type GetValuesForAutoCompleteRequest, type GetValuesForAutoCompleteResponse, type GetValuesForContentAdminAutoCompleteRequest, type GetValuesForContentAdminAutoCompleteResponse, type GetValuesForEntityAutoCompleteRequest, type GetValuesForEntityAutoCompleteResponse, type GetValuesForEntityListRequest, type GetValuesForEntityListResponse, type GetValuesForUserAutoCompleteRequest, type GetValuesForUserAutoCompleteResponse, type GetViewingContentForUserResponse, type HeroContextConfig, type HeroSizeConfig, type HistoryFeature, type HomePageLinksToChatAppsSiteFeature, type HomePageSiteFeature, INSIGHT_STATUS_NEEDS_INSIGHTS_ANALYSIS, type IUserWidgetDataStoreState, Inaccurate, type InlineContextConfig, type InlineToolDefinition, type InsightStatusNeedsInsightsAnalysis, type InsightsSearchParams, type InstructionAssistanceConfig, type InstructionAugmentationFeature, type InstructionAugmentationFeatureForChatApp, type InstructionAugmentationScopeType, type InstructionAugmentationScopeTypeDisplayName, InstructionAugmentationScopeTypeDisplayNames, InstructionAugmentationScopeTypes, type InstructionAugmentationType, type InstructionAugmentationTypeDisplayName, InstructionAugmentationTypeDisplayNames, InstructionAugmentationTypes, type InstructionFeature, type IntentRouterCommand, type IntentRouterCommandEvent, type IntentRouterCommandExecution, type IntentRouterDirectExecution, type IntentRouterDispatchExecution, type IntentRouterFeature, type IntentRouterFeatureForChatApp, type IntentRouterHandler, type IntentRouterHandlerResult, type InvocationScopes, type InvokeAgentAsComponentOptions, type KnowledgeBase, type LLMContextItem, type LambdaToolDefinition, type LifecycleStatus, type LogoutFeature, type LogoutFeatureForChatApp, type MarkdownRendererConfig, type McpToolDefinition, type MemoryContent, type MemoryQueryOptions, type MessageSegment, type MessageSegmentBase, MessageSource, type NameValueDescTriple, type NameValuePair, type OAuth, type PagedRecordsResult, type PikaCloseCanvasCommand, type PikaCloseDialogCommand, type PikaCloseHeroCommand, type PikaCommand, type PikaConfig, type PikaCustomCommand, type PikaHideHeroCommand, type PikaNavigateToCommand, type PikaRenderTagCommand, type PikaShowHeroCommand, type PikaShowToastCommand, type PikaStack, type PikaUserRole, PikaUserRoles, type PinSessionRequest, type PinSessionResponse, type PinnedObjAndChatSession, type PinnedSession, type PinnedSessionDynamoDb, type PromptInputFieldLabelFeature, type PromptInputFieldLabelFeatureForChatApp, type RecordOrUndef, type RecordShareVisitRequest, type RecordShareVisitResponse, type RefreshChatAppRequest, type RefreshChatAppResponse, type RetrievedMemoryContent, type RetrievedMemoryRecordSummary, type RetryableVerifyResponseClassification, RetryableVerifyResponseClassifications, type RevokeSharedSessionRequest, type RevokeSharedSessionResponse, type RolloutPolicy, SCORE_SEARCH_OPERATORS, SCORE_SEARCH_OPERATORS_VALUES, SESSION_FEEDBACK_SEVERITY, SESSION_FEEDBACK_SEVERITY_VALUES, SESSION_FEEDBACK_STATUS, SESSION_FEEDBACK_STATUS_VALUES, SESSION_FEEDBACK_TYPE, SESSION_FEEDBACK_TYPE_VALUES, SESSION_INSIGHT_GOAL_COMPLETION_STATUS, SESSION_INSIGHT_GOAL_COMPLETION_STATUS_VALUES, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL, SESSION_INSIGHT_METRICS_AI_CONFIDENCE_LEVEL_VALUES, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL, SESSION_INSIGHT_METRICS_COMPLEXITY_LEVEL_VALUES, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE, SESSION_INSIGHT_METRICS_SESSION_DURATION_ESTIMATE_VALUES, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED, SESSION_INSIGHT_METRICS_USER_EFFORT_REQUIRED_VALUES, SESSION_INSIGHT_SATISFACTION_LEVEL, SESSION_INSIGHT_SATISFACTION_LEVEL_VALUES, SESSION_INSIGHT_USER_SENTIMENT, SESSION_INSIGHT_USER_SENTIMENT_VALUES, SESSION_SEARCH_DATE_PRESETS, SESSION_SEARCH_DATE_PRESETS_SHORT_VALUES, SESSION_SEARCH_DATE_PRESETS_VALUES, SESSION_SEARCH_DATE_TYPES, SESSION_SEARCH_DATE_TYPES_VALUES, SESSION_SEARCH_SORT_FIELDS, SESSION_SEARCH_SORT_FIELDS_VALUES, type SaveUserOverrideDataRequest, type SaveUserOverrideDataResponse, type ScoreSearchOperator, type ScoreSearchParams, type SearchAllMemoryRecordsRequest, type SearchAllMemoryRecordsResponse, type SearchAllMyMemoryRecordsRequest, type SearchAllMyMemoryRecordsResponse, type SearchSemanticDirectivesAdminRequest, type SearchSemanticDirectivesRequest, type SearchSemanticDirectivesResponse, type SearchTagDefinitionsAdminRequest, type SearchToolsRequest, type SegmentType, type SemanticDirective, type SemanticDirectiveCreateOrUpdateAdminRequest, type SemanticDirectiveCreateOrUpdateRequest, type SemanticDirectiveCreateOrUpdateResponse, type SemanticDirectiveDataRequest, type SemanticDirectiveDeleteAdminRequest, type SemanticDirectiveDeleteRequest, type SemanticDirectiveDeleteResponse, type SemanticDirectiveForCreateOrUpdate, type SemanticDirectiveScope, type SentContextRecord, type SessionAnalyticsChatAppUsage, type SessionAnalyticsCostByMode, type SessionAnalyticsEntityUsage, type SessionAnalyticsRequest, type SessionAnalyticsResponse, type SessionAnalyticsSummary, type SessionAnalyticsTimeSeriesPoint, type SessionAttributes, type SessionAttributesWithoutToken, type SessionData, type SessionDataWithChatUserCustomDataSpreadIn, type SessionFeedbackSeverity, type SessionFeedbackStatus, type SessionFeedbackType, type SessionInsightGoalCompletionStatus, type SessionInsightMetricsAiConfidenceLevel, type SessionInsightMetricsComplexityLevel, type SessionInsightMetricsSessionDurationEstimate, type SessionInsightMetricsUserEffortRequired, type SessionInsightSatisfactionLevel, type SessionInsightScoring, type SessionInsightUsage, type SessionInsightUserSentiment, type SessionInsights, type SessionInsightsFeature, type SessionInsightsFeatureForChatApp, type SessionInsightsOpenSearchConfig, type SessionSearchAdminRequest, type SessionSearchDateFilter, type SessionSearchDatePreset, type SessionSearchDateType, type SessionSearchRequest, type SessionSearchResponse, type SessionSearchSortField, type SetChatUserPrefsRequest, type SetChatUserPrefsResponse, type SetUserWidgetDataRequest, type SetUserWidgetDataResponse, type ShareSessionState, ShareSessionStateList, type SharedSessionVisitHistory, type SharedSessionVisitHistoryDynamoDb, type ShowToastFn, type ShowToastOptions, type SimpleAuthenticatedUser, type SimpleOption, SiteAdminCommand, type SiteAdminCommandRequestBase, type SiteAdminCommandResponseBase, type SiteAdminFeature, type SiteAdminRequest, type SiteAdminResponse, type SiteFeatures, type SpotlightContextConfig, type SpotlightInstanceMetadata, type StaticContextConfig, type StaticWidgetTagDefinition, type StopViewingContentForUserRequest, type StopViewingContentForUserResponse, type StreamingStatus, type SuggestionsFeature, type SuggestionsFeatureForChatApp, TAG_DEFINITION_STATUSES, TAG_DEFINITION_USAGE_MODES, TAG_DEFINITION_WIDGET_TYPES, type TagDefInJsonFile, type TagDefinition, type TagDefinitionCreateOrUpdateRequest, type TagDefinitionCreateOrUpdateResponse, type TagDefinitionDeleteRequest, type TagDefinitionDeleteResponse, type TagDefinitionForCreateOrUpdate, type TagDefinitionLite, type TagDefinitionSearchRequest, type TagDefinitionSearchResponse, type TagDefinitionStatus, type TagDefinitionUsageMode, type TagDefinitionWebComponent, type TagDefinitionWebComponentForCreateOrUpdate, type TagDefinitionWidget, type TagDefinitionWidgetBase, type TagDefinitionWidgetCustomCompiledIn, type TagDefinitionWidgetForCreateOrUpdate, type TagDefinitionWidgetPassThrough, type TagDefinitionWidgetPikaCompiledIn, type TagDefinitionWidgetType, type TagDefinitionWidgetWebComponent, type TagDefinitionWidgetWebComponentForCreateOrUpdate, type TagDefinitionsJsonFile, type TagMessageSegment, type TagWebComponentEncoding, type TagsChatAppOverridableFeature, type TagsFeatureForChatApp, type TagsSiteFeature, type TextMessageSegment, type ToolDefinition, type ToolDefinitionBase, type ToolDefinitionForCreate, type ToolDefinitionForIdempotentCreateOrUpdate, type ToolDefinitionForUpdate, type ToolIdToLambdaArnMap, type ToolInvocationContent, type ToolLifecycle, type TracesFeature, type TracesFeatureForChatApp, type TypedContentWithRole, UPDATEABLE_FEEDBACK_FIELDS, type UiCustomizationFeature, type UiCustomizationFeatureForChatApp, Unclassified, type UnpinSessionRequest, type UnpinSessionResponse, type UnrevokeSharedSessionRequest, type UnrevokeSharedSessionResponse, type UpdateAgentRequest, type UpdateChatAppRequest, type UpdateChatSessionFeedbackAdminRequest, type UpdateChatSessionFeedbackRequest, type UpdateChatSessionFeedbackResponse, type UpdateToolRequest, type UpdateableAgentDefinitionFields, type UpdateableChatAppFields, type UpdateableChatAppOverrideFields, type UpdateableFeedbackFields, type UpdateableToolDefinitionFields, type UserAwsCredentials, type UserAwsCredentialsResponse, type UserChatAppRule, type UserCognitoIdentity, type UserDataOverrideFeatureForChatApp, type UserDataOverrideSettings, type UserDataOverridesSiteFeature, type UserMemoryFeature, type UserMemoryFeatureForChatApp, type UserMemoryFeatureWithMemoryInfo, UserMemoryStrategies, type UserMemoryStrategy, type UserMessageContent, type UserOverrideData, UserOverrideDataCommand, type UserOverrideDataCommandRequest, type UserOverrideDataCommandRequestBase, type UserOverrideDataCommandResponse, type UserOverrideDataCommandResponseBase, type UserPrefs, type UserRole, type UserType, UserTypes, type UserWidgetData, type ValidateShareAccessRequest, type ValidateShareAccessResponse, type VerifyResponseClassification, type VerifyResponseClassificationDescription, VerifyResponseClassificationDescriptions, VerifyResponseClassifications, type VerifyResponseFeature, type VerifyResponseFeatureForChatApp, type VerifyResponseRetryableClassificationDescription, VerifyResponseRetryableClassificationDescriptions, type ViewContentForUserRequest, type ViewContentForUserResponse, type VitePreviewConfig, type ViteServerConfig, WIDGET_RENDERING_CONTEXT_TYPES, type WidgetContextSourceDef, type WidgetContextSourceOrigin, WidgetContextSourceOrigins, type WidgetDialogSizeCustom, type WidgetDialogSizePreset, type WidgetDialogSizing, type WidgetInlineSizing, type WidgetInstance, type WidgetRenderingContextType, type WidgetRenderingContexts, type WidgetSizing };