pika-shared 1.2.0 → 1.4.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 (43) hide show
  1. package/dist/types/chatbot/bedrock.d.mts +1 -0
  2. package/dist/types/chatbot/bedrock.d.ts +1 -0
  3. package/dist/types/chatbot/chatbot-types.d.mts +584 -22
  4. package/dist/types/chatbot/chatbot-types.d.ts +584 -22
  5. package/dist/types/chatbot/chatbot-types.js +19 -3
  6. package/dist/types/chatbot/chatbot-types.js.map +1 -1
  7. package/dist/types/chatbot/chatbot-types.mjs +15 -4
  8. package/dist/types/chatbot/chatbot-types.mjs.map +1 -1
  9. package/dist/util/api-gateway-utils.js +14 -1
  10. package/dist/util/api-gateway-utils.js.map +1 -1
  11. package/dist/util/api-gateway-utils.mjs +14 -1
  12. package/dist/util/api-gateway-utils.mjs.map +1 -1
  13. package/dist/util/bad-request-error.d.mts +7 -0
  14. package/dist/util/bad-request-error.d.ts +7 -0
  15. package/dist/util/bad-request-error.js +20 -0
  16. package/dist/util/bad-request-error.js.map +1 -0
  17. package/dist/util/bad-request-error.mjs +18 -0
  18. package/dist/util/bad-request-error.mjs.map +1 -0
  19. package/dist/util/bedrock.d.mts +1 -0
  20. package/dist/util/bedrock.d.ts +1 -0
  21. package/dist/util/forbidden-error.d.mts +7 -0
  22. package/dist/util/forbidden-error.d.ts +7 -0
  23. package/dist/util/forbidden-error.js +20 -0
  24. package/dist/util/forbidden-error.js.map +1 -0
  25. package/dist/util/forbidden-error.mjs +18 -0
  26. package/dist/util/forbidden-error.mjs.map +1 -0
  27. package/dist/util/instruction-assistance-utils.d.mts +1 -0
  28. package/dist/util/instruction-assistance-utils.d.ts +1 -0
  29. package/dist/util/jwt.d.mts +1 -0
  30. package/dist/util/jwt.d.ts +1 -0
  31. package/dist/util/server-utils.d.mts +41 -1
  32. package/dist/util/server-utils.d.ts +41 -1
  33. package/dist/util/server-utils.js +303 -0
  34. package/dist/util/server-utils.js.map +1 -1
  35. package/dist/util/server-utils.mjs +301 -1
  36. package/dist/util/server-utils.mjs.map +1 -1
  37. package/dist/util/unauthorized-error.d.mts +7 -0
  38. package/dist/util/unauthorized-error.d.ts +7 -0
  39. package/dist/util/unauthorized-error.js +20 -0
  40. package/dist/util/unauthorized-error.js.map +1 -0
  41. package/dist/util/unauthorized-error.mjs +18 -0
  42. package/dist/util/unauthorized-error.mjs.map +1 -0
  43. package/package.json +3 -2
@@ -1,6 +1,11 @@
1
- import { Trace, AgentCollaboration, RetrievalFilter, FunctionDefinition } from '@aws-sdk/client-bedrock-agent-runtime';
1
+ import { Trace, AgentCollaboration, RetrievalFilter, FunctionDefinition, ActionGroupInvocationInput } from '@aws-sdk/client-bedrock-agent-runtime';
2
+ import { Role } from '@aws-sdk/client-bedrock-agentcore';
2
3
 
3
4
  type CompanyType = 'retailer' | 'supplier';
5
+ declare const DEFAULT_MAX_MEMORY_RECORDS_PER_PROMPT = 25;
6
+ declare const DEFAULT_MAX_K_MATCHES_PER_STRATEGY = 5;
7
+ declare const DEFAULT_MEMORY_STRATEGIES: UserMemoryStrategy[];
8
+ declare const DEFAULT_EVENT_EXPIRY_DURATION = 7;
4
9
  /**
5
10
  * Data persisted by Bedrock Agent for each session, set
6
11
  * by calling the `initSession` function for a lambda
@@ -33,8 +38,6 @@ interface ChatSession<T extends RecordOrUndef = undefined> {
33
38
  sessionId: string;
34
39
  /** Unique identifier of the user participating in the session */
35
40
  userId: string;
36
- /** Identifier for the agent alias being used */
37
- agentAliasId: string;
38
41
  /** Identifier for the specific agent instance */
39
42
  agentId: string;
40
43
  /** Identifier for the chat app */
@@ -63,6 +66,15 @@ interface ChatSession<T extends RecordOrUndef = undefined> {
63
66
  createDate: string;
64
67
  /** ISO 8601 formatted timestamp of the last session update */
65
68
  lastUpdate: string;
69
+ /**
70
+ * If the entity feature is enabled, this is the entity ID of the user who created the session at the moment of creation.
71
+ *
72
+ * If the site wide entity feature is not enabled or if the associated chat app has disabled the entity feature or
73
+ * if this session is being created in the context of a direct invocation (no chat app involved) then this is the string
74
+ * "chat-app-global" indicating that if the user chooses to share this session, it will be accessible to anyone with access to the chat app who has the link.
75
+ * Otherwise, only those who have access to the chat app and are associated with the same entity ID as the session owner will be able to access the session.
76
+ */
77
+ entityId: string;
66
78
  /**
67
79
  * Last Message that has been analyzed by the system for insights, this lets us detect if the user came back to
68
80
  * the chat after the session is believed to be complete and added another message that we should analyze again.
@@ -126,6 +138,16 @@ interface ChatSession<T extends RecordOrUndef = undefined> {
126
138
  * when the session is created and when the last message ID is added. This should be fine.
127
139
  */
128
140
  insightStatus?: InsightStatusNeedsInsightsAnalysis | undefined;
141
+ /** The share ID if this session is shared */
142
+ shareId?: string;
143
+ /** User ID of the user who created the share */
144
+ shareCreatedByUserId?: string;
145
+ /** When this session was first shared */
146
+ shareDate?: string;
147
+ /** When this session's share was revoked */
148
+ shareRevokedDate?: string;
149
+ /** If set to 'mock', this session is used for integration testing purposes. */
150
+ testType?: 'mock';
129
151
  }
130
152
  /**
131
153
  * Convenience type for updating a session with the last analyzed message id and insights s3 url.
@@ -478,6 +500,8 @@ interface ChatUser<T extends RecordOrUndef = undefined> {
478
500
  features: {
479
501
  [K in FeatureType]: K extends 'instruction' ? InstructionFeature : K extends 'history' ? HistoryFeature : never;
480
502
  };
503
+ /** If set to 'mock', this user is used for integration testing purposes. */
504
+ testType?: 'mock';
481
505
  }
482
506
  interface ChatUserLite {
483
507
  userId: string;
@@ -518,6 +542,27 @@ interface SimpleAuthenticatedUser<T extends RecordOrUndef = undefined> {
518
542
  * to use the various features of pika. It is not persisted to the database or in cookies. We use it
519
543
  */
520
544
  interface ChatAppOverridableFeatures {
545
+ /**
546
+ * If enabled, entity-based access control and filtering is active for this chat app.
547
+ * Chat apps can only disable the entity feature, not modify the site-level configuration
548
+ * like attributeName or display settings.
549
+ */
550
+ entity: {
551
+ /**
552
+ * If false, entity features are disabled for this chat app regardless of site settings. This
553
+ * affects the session share feature. If this is false, then a shared session will be
554
+ * accessible to anyone with access to the chat app that the session exists within.
555
+ */
556
+ enabled: boolean;
557
+ /**
558
+ * The attribute name in the user's custom data that is used to match against the entity access control lists.
559
+ *
560
+ * This value is copied from the site level entity feature configuration and may not be overridden at the chat app level.
561
+ *
562
+ * It enabled is true and this is not set, then an error will be thrown.
563
+ */
564
+ attributeName?: string;
565
+ };
521
566
  /**
522
567
  *
523
568
  * If true then the verify response feature is enabled.
@@ -591,6 +636,7 @@ interface ChatAppOverridableFeatures {
591
636
  tags?: TagsChatAppOverridableFeature;
592
637
  agentInstructionAssistance: AgentInstructionChatAppOverridableFeature;
593
638
  instructionAugmentation: InstructionAugmentationFeature;
639
+ userMemory: UserMemoryFeature;
594
640
  }
595
641
  interface AgentInstructionChatAppOverridableFeature {
596
642
  enabled: boolean;
@@ -811,9 +857,9 @@ interface SetChatUserPrefsResponse {
811
857
  prefs?: UserPrefs;
812
858
  error?: string;
813
859
  }
814
- interface ChatUserAddOrUpdateResponse<T extends RecordOrUndef = undefined> {
860
+ interface ChatUserAddOrUpdateResponse {
815
861
  success: boolean;
816
- user: ChatUser<T>;
862
+ user: ChatUser<RecordOrUndef>;
817
863
  error?: string;
818
864
  }
819
865
  interface ChatMessageResponse {
@@ -1047,8 +1093,8 @@ interface AgentDefinition {
1047
1093
  createdAt: string;
1048
1094
  /** ISO 8601 formatted timestamp of last update */
1049
1095
  updatedAt: string;
1050
- /** If true, this is a test agent that will get deleted after 1 day. This is used for testing. */
1051
- test?: boolean;
1096
+ /** If set to 'mock', this is a test agent that will get deleted after 1 day. This is used for integration testing. */
1097
+ testType?: 'mock';
1052
1098
  }
1053
1099
  type UpdateableAgentDefinitionFields = Extract<keyof AgentDefinition, 'basePrompt' | 'toolIds' | 'accessRules' | 'runtimeAdapter' | 'rolloutPolicy' | 'dontCacheThis' | 'knowledgeBases'>;
1054
1100
  type AgentDefinitionForUpdate = Partial<Omit<AgentDefinition, 'version' | 'createdAt' | 'createdBy' | 'updatedAt' | 'lastModifiedBy' | 'test'>> & {
@@ -1171,8 +1217,8 @@ interface ToolDefinitionBase {
1171
1217
  createdAt: string;
1172
1218
  /** ISO 8601 formatted timestamp of last update */
1173
1219
  updatedAt: string;
1174
- /** If true, this is a test tool that will get deleted after 1 day. This is used for testing. */
1175
- test?: boolean;
1220
+ /** If set to 'mock', this is a test tool that will get deleted after 1 day. This is used for integration testing. */
1221
+ testType?: 'mock';
1176
1222
  }
1177
1223
  interface LambdaToolDefinition extends ToolDefinitionBase {
1178
1224
  executionType: 'lambda';
@@ -1187,18 +1233,28 @@ interface McpToolDefinition extends ToolDefinitionBase {
1187
1233
  url: string;
1188
1234
  auth?: OAuth;
1189
1235
  }
1190
- type ToolDefinition = LambdaToolDefinition | McpToolDefinition;
1191
- type UpdateableToolDefinitionFields = Extract<keyof ToolDefinitionBase, 'name' | 'displayName' | 'description' | 'executionType' | 'executionTimeout' | 'supportedAgentFrameworks' | 'functionSchema' | 'tags' | 'lifecycle' | 'accessRules'> | 'lambdaArn' | 'url' | 'auth';
1236
+ interface InlineToolDefinition extends ToolDefinitionBase {
1237
+ executionType: 'inline';
1238
+ code: string;
1239
+ handler?: (event: ActionGroupInvocationInput, params: Record<string, any>) => Promise<unknown>;
1240
+ }
1241
+ type ToolDefinition = LambdaToolDefinition | McpToolDefinition | InlineToolDefinition;
1242
+ type UpdateableToolDefinitionFields = Extract<keyof ToolDefinitionBase, 'name' | 'displayName' | 'description' | 'executionType' | 'executionTimeout' | 'supportedAgentFrameworks' | 'functionSchema' | 'tags' | 'lifecycle' | 'accessRules'> | 'lambdaArn' | 'url' | 'auth' | 'code';
1192
1243
  type ToolDefinitionForCreate = (Omit<LambdaToolDefinition, 'version' | 'createdAt' | 'updatedAt' | 'lastModifiedBy' | 'createdBy'> & {
1193
1244
  toolId?: ToolDefinition['toolId'];
1194
1245
  }) | (Omit<McpToolDefinition, 'version' | 'createdAt' | 'updatedAt' | 'lastModifiedBy' | 'createdBy'> & {
1195
1246
  toolId?: ToolDefinition['toolId'];
1196
1247
  });
1197
- type ToolDefinitionForIdempotentCreateOrUpdate = Omit<ToolDefinition, 'version' | 'createdAt' | 'updatedAt' | 'lastModifiedBy' | 'createdBy'> & {
1198
- lambdaArn: string;
1248
+ type ToolDefinitionForIdempotentCreateOrUpdate = (Omit<LambdaToolDefinition, 'version' | 'createdAt' | 'updatedAt' | 'lastModifiedBy' | 'createdBy'> & {
1199
1249
  functionSchema: FunctionDefinition[];
1200
1250
  supportedAgentFrameworks: ['bedrock'];
1201
- };
1251
+ }) | (Omit<InlineToolDefinition, 'version' | 'createdAt' | 'updatedAt' | 'lastModifiedBy' | 'createdBy'> & {
1252
+ functionSchema: FunctionDefinition[];
1253
+ supportedAgentFrameworks: ['bedrock'];
1254
+ }) | (Omit<McpToolDefinition, 'version' | 'createdAt' | 'updatedAt' | 'lastModifiedBy' | 'createdBy'> & {
1255
+ functionSchema: FunctionDefinition[];
1256
+ supportedAgentFrameworks: ['bedrock'];
1257
+ });
1202
1258
  interface OAuth {
1203
1259
  clientId: string;
1204
1260
  clientSecret: string;
@@ -1272,6 +1328,266 @@ interface UpdateChatAppRequest {
1272
1328
  chatApp: ChatAppForUpdate;
1273
1329
  userId: string;
1274
1330
  }
1331
+ interface DeleteMockDataRequest {
1332
+ userId: string;
1333
+ sessions?: {
1334
+ sessionId: string;
1335
+ sessionUserId: string;
1336
+ }[];
1337
+ chatApps?: {
1338
+ chatAppId: string;
1339
+ }[];
1340
+ agents?: {
1341
+ agentId: string;
1342
+ }[];
1343
+ tools?: {
1344
+ toolId: string;
1345
+ }[];
1346
+ users?: {
1347
+ userId: string;
1348
+ }[];
1349
+ }
1350
+ interface DeleteMockDataResponse {
1351
+ success: boolean;
1352
+ }
1353
+ interface CreateOrUpdateMockSessionRequest {
1354
+ session: ChatSessionForCreate & {
1355
+ test: 'test';
1356
+ };
1357
+ userId: string;
1358
+ }
1359
+ interface CreateOrUpdateMockSessionResponse {
1360
+ success: boolean;
1361
+ session: ChatSession<RecordOrUndef>;
1362
+ }
1363
+ interface DeleteMockSessionRequest {
1364
+ sessionId: string;
1365
+ sessionUserId: string;
1366
+ userId: string;
1367
+ }
1368
+ interface DeleteMockSessionResponse {
1369
+ success: boolean;
1370
+ }
1371
+ interface CreateOrUpdateMockChatAppRequest {
1372
+ chatApp: ChatApp & {
1373
+ test: 'test';
1374
+ };
1375
+ userId: string;
1376
+ }
1377
+ interface CreateOrUpdateMockChatAppResponse {
1378
+ success: boolean;
1379
+ chatApp: ChatApp;
1380
+ }
1381
+ interface DeleteMockChatAppRequest {
1382
+ chatAppId: string;
1383
+ userId: string;
1384
+ }
1385
+ interface DeleteMockChatAppResponse {
1386
+ success: boolean;
1387
+ }
1388
+ interface CreateOrUpdateMockAgentRequest {
1389
+ agent: AgentDefinition & {
1390
+ test: 'test';
1391
+ };
1392
+ userId: string;
1393
+ }
1394
+ interface CreateOrUpdateMockAgentResponse {
1395
+ success: boolean;
1396
+ agent: AgentDefinition;
1397
+ }
1398
+ interface DeleteMockAgentRequest {
1399
+ agentId: string;
1400
+ userId: string;
1401
+ }
1402
+ interface DeleteMockAgentResponse {
1403
+ success: boolean;
1404
+ }
1405
+ interface CreateOrUpdateMockToolRequest {
1406
+ tool: ToolDefinition & {
1407
+ test: 'test';
1408
+ };
1409
+ userId: string;
1410
+ }
1411
+ interface CreateOrUpdateMockToolResponse {
1412
+ success: boolean;
1413
+ tool: ToolDefinition;
1414
+ }
1415
+ interface DeleteMockToolRequest {
1416
+ toolId: string;
1417
+ userId: string;
1418
+ }
1419
+ interface DeleteMockToolResponse {
1420
+ success: boolean;
1421
+ }
1422
+ interface CreateOrUpdateMockUserRequest {
1423
+ user: ChatUser<RecordOrUndef> & {
1424
+ test: 'test';
1425
+ };
1426
+ userId: string;
1427
+ }
1428
+ interface CreateOrUpdateMockUserResponse {
1429
+ success: boolean;
1430
+ user: ChatUser<RecordOrUndef>;
1431
+ }
1432
+ interface DeleteMockUserRequest {
1433
+ mockUserId: string;
1434
+ userId: string;
1435
+ }
1436
+ interface DeleteMockUserResponse {
1437
+ success: boolean;
1438
+ }
1439
+ interface GetAllMockSessionsRequest {
1440
+ limit?: number;
1441
+ nextToken?: string;
1442
+ }
1443
+ interface GetAllMockSessionsResponse {
1444
+ success: boolean;
1445
+ chatSessions: ChatSession<RecordOrUndef>[];
1446
+ nextToken?: string;
1447
+ }
1448
+ interface GetMockSessionByUserIdAndSessionIdRequest {
1449
+ sessionId: string;
1450
+ userId: string;
1451
+ }
1452
+ interface GetMockSessionByUserIdAndSessionIdResponse {
1453
+ success: boolean;
1454
+ chatSession?: ChatSession<RecordOrUndef>;
1455
+ }
1456
+ interface GetAllMockUsersRequest {
1457
+ limit?: number;
1458
+ nextToken?: string;
1459
+ }
1460
+ interface GetAllMockUsersResponse {
1461
+ success: boolean;
1462
+ chatUsers: ChatUser<RecordOrUndef>[];
1463
+ nextToken?: string;
1464
+ }
1465
+ interface GetAllMockAgentsRequest {
1466
+ limit?: number;
1467
+ nextToken?: string;
1468
+ }
1469
+ interface GetAllMockAgentsResponse {
1470
+ success: boolean;
1471
+ agents: AgentDefinition[];
1472
+ nextToken?: string;
1473
+ }
1474
+ interface GetAllMockToolsRequest {
1475
+ limit?: number;
1476
+ nextToken?: string;
1477
+ }
1478
+ interface GetAllMockToolsResponse {
1479
+ success: boolean;
1480
+ tools: ToolDefinition[];
1481
+ nextToken?: string;
1482
+ }
1483
+ interface GetAllMockChatAppsRequest {
1484
+ limit?: number;
1485
+ nextToken?: string;
1486
+ }
1487
+ interface GetAllMockChatAppsResponse {
1488
+ success: boolean;
1489
+ chatApps: ChatApp[];
1490
+ nextToken?: string;
1491
+ }
1492
+ interface GetAllMockSharedSessionVisitsRequest {
1493
+ limit?: number;
1494
+ nextToken?: string;
1495
+ }
1496
+ interface GetAllMockSharedSessionVisitsResponse {
1497
+ success: boolean;
1498
+ sharedSessionVisits: SharedSessionVisitHistory[];
1499
+ nextToken?: string;
1500
+ }
1501
+ interface GetAllMockPinnedSessionsRequest {
1502
+ limit?: number;
1503
+ nextToken?: string;
1504
+ }
1505
+ interface GetAllMockPinnedSessionsResponse {
1506
+ success: boolean;
1507
+ pinnedSessions: PinnedSession[];
1508
+ nextToken?: string;
1509
+ }
1510
+ interface GetAllMockDataRequest {
1511
+ limit?: number;
1512
+ }
1513
+ interface GetAllMockDataResponse {
1514
+ success: boolean;
1515
+ data: {
1516
+ sessions: ChatSession<RecordOrUndef>[];
1517
+ users: ChatUser<RecordOrUndef>[];
1518
+ agents: AgentDefinition[];
1519
+ tools: ToolDefinition[];
1520
+ chatApps: ChatApp[];
1521
+ sharedSessionVisits: SharedSessionVisitHistory[];
1522
+ pinnedSessions: PinnedSession[];
1523
+ };
1524
+ }
1525
+ interface DeleteAllMockSessionsRequest {
1526
+ userId: string;
1527
+ }
1528
+ interface DeleteAllMockSessionsResponse {
1529
+ success: boolean;
1530
+ deletedCount: number;
1531
+ }
1532
+ interface DeleteAllMockUsersRequest {
1533
+ userId: string;
1534
+ }
1535
+ interface DeleteAllMockUsersResponse {
1536
+ success: boolean;
1537
+ deletedCount: number;
1538
+ }
1539
+ interface DeleteAllMockAgentsRequest {
1540
+ userId: string;
1541
+ }
1542
+ interface DeleteAllMockAgentsResponse {
1543
+ success: boolean;
1544
+ deletedCount: number;
1545
+ }
1546
+ interface DeleteAllMockToolsRequest {
1547
+ userId: string;
1548
+ }
1549
+ interface DeleteAllMockToolsResponse {
1550
+ success: boolean;
1551
+ deletedCount: number;
1552
+ }
1553
+ interface DeleteAllMockChatAppsRequest {
1554
+ userId: string;
1555
+ }
1556
+ interface DeleteAllMockChatAppsResponse {
1557
+ success: boolean;
1558
+ deletedCount: number;
1559
+ }
1560
+ interface DeleteAllMockSharedSessionVisitsRequest {
1561
+ userId: string;
1562
+ }
1563
+ interface DeleteAllMockSharedSessionVisitsResponse {
1564
+ success: boolean;
1565
+ deletedCount: number;
1566
+ }
1567
+ interface DeleteAllMockPinnedSessionsRequest {
1568
+ userId: string;
1569
+ }
1570
+ interface DeleteAllMockPinnedSessionsResponse {
1571
+ success: boolean;
1572
+ deletedCount: number;
1573
+ }
1574
+ interface DeleteAllMockDataRequest {
1575
+ userId: string;
1576
+ confirm?: boolean;
1577
+ }
1578
+ interface DeleteAllMockDataResponse {
1579
+ success: boolean;
1580
+ deletedCounts: {
1581
+ sessions: number;
1582
+ users: number;
1583
+ agents: number;
1584
+ tools: number;
1585
+ chatApps: number;
1586
+ sharedSessionVisits: number;
1587
+ pinnedSessions: number;
1588
+ total: number;
1589
+ };
1590
+ }
1275
1591
  type ChatAppMode = 'standalone' | 'embedded';
1276
1592
  /**
1277
1593
  * This extends AccessRules so you can enable/disable the chat app for certain users.
@@ -1332,8 +1648,8 @@ interface ChatApp extends AccessRules {
1332
1648
  createDate: string;
1333
1649
  /** ISO 8601 formatted timestamp of the last chat app update */
1334
1650
  lastUpdate: string;
1335
- /** If true, this is a test chat app that will get deleted after 1 day. This is used for testing. */
1336
- test?: boolean;
1651
+ /** If set to 'mock', this is a test chat app that will get deleted after 1 day. This is used for integration testing. */
1652
+ testType?: 'mock';
1337
1653
  }
1338
1654
  interface ChatAppLite {
1339
1655
  /**
@@ -1425,7 +1741,7 @@ interface ChatAppDataRequest {
1425
1741
  /**
1426
1742
  * These are the features that are available to be overridden by the chat app.
1427
1743
  */
1428
- type ChatAppFeature = FileUploadFeatureForChatApp | SuggestionsFeatureForChatApp | PromptInputFieldLabelFeatureForChatApp | UiCustomizationFeatureForChatApp | VerifyResponseFeatureForChatApp | TracesFeatureForChatApp | ChatDisclaimerNoticeFeatureForChatApp | LogoutFeatureForChatApp | SessionInsightsFeatureForChatApp | UserDataOverrideFeatureForChatApp | TagsFeatureForChatApp | AgentInstructionAssistanceFeatureForChatApp | InstructionAugmentationFeatureForChatApp;
1744
+ type ChatAppFeature = FileUploadFeatureForChatApp | SuggestionsFeatureForChatApp | PromptInputFieldLabelFeatureForChatApp | UiCustomizationFeatureForChatApp | VerifyResponseFeatureForChatApp | TracesFeatureForChatApp | ChatDisclaimerNoticeFeatureForChatApp | LogoutFeatureForChatApp | SessionInsightsFeatureForChatApp | UserDataOverrideFeatureForChatApp | TagsFeatureForChatApp | AgentInstructionAssistanceFeatureForChatApp | InstructionAugmentationFeatureForChatApp | UserMemoryFeatureForChatApp | EntityFeatureForChatApp;
1429
1745
  interface Feature {
1430
1746
  /**
1431
1747
  * Must be unique, only alphanumeric and - _ allowed, may not start with a number
@@ -1436,7 +1752,7 @@ interface Feature {
1436
1752
  /** 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. */
1437
1753
  enabled: boolean;
1438
1754
  }
1439
- declare const FeatureIdList: readonly ["fileUpload", "promptInputFieldLabel", "suggestions", "uiCustomization", "verifyResponse", "traces", "chatDisclaimerNotice", "logout", "sessionInsights", "userDataOverrides", "tags", "agentInstructionAssistance", "instructionAugmentation"];
1755
+ declare const FeatureIdList: readonly ["fileUpload", "promptInputFieldLabel", "suggestions", "uiCustomization", "verifyResponse", "traces", "chatDisclaimerNotice", "logout", "sessionInsights", "userDataOverrides", "tags", "agentInstructionAssistance", "instructionAugmentation", "userMemory", "entity"];
1440
1756
  type FeatureIdType = (typeof FeatureIdList)[number];
1441
1757
  declare const EndToEndFeatureIdList: readonly ["verifyResponse", "traces"];
1442
1758
  type EndToEndFeatureIdType = (typeof EndToEndFeatureIdList)[number];
@@ -1643,6 +1959,15 @@ interface AgentInstructionAssistanceFeatureForChatApp extends Feature, AgentInst
1643
1959
  interface InstructionAugmentationFeatureForChatApp extends InstructionAugmentationFeature, Feature {
1644
1960
  featureId: 'instructionAugmentation';
1645
1961
  }
1962
+ interface UserMemoryFeatureForChatApp extends UserMemoryFeature, Feature {
1963
+ featureId: 'userMemory';
1964
+ }
1965
+ interface EntityFeatureForChatApp extends Feature {
1966
+ featureId: 'entity';
1967
+ /** Whether entity feature is enabled for this chat app. Can only be set to false to disable site-level configuration. */
1968
+ enabled: boolean;
1969
+ attributeName?: string;
1970
+ }
1646
1971
  /**
1647
1972
  * 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.
1648
1973
  *
@@ -1779,8 +2104,8 @@ interface TextMessageSegment extends MessageSegmentBase {
1779
2104
  segmentType: 'text';
1780
2105
  }
1781
2106
  type MessageSegment = TagMessageSegment | TextMessageSegment;
1782
- type SiteAdminRequest = GetAgentRequest | GetInitialDataRequest | RefreshChatAppRequest | CreateOrUpdateChatAppOverrideRequest | DeleteChatAppOverrideRequest | GetValuesForEntityAutoCompleteRequest | GetValuesForUserAutoCompleteRequest | ClearConverseLambdaCacheRequest | ClearSvelteKitCachesRequest | AddChatSessionFeedbackAdminRequest | UpdateChatSessionFeedbackAdminRequest | SessionSearchAdminRequest | GetChatMessagesAsAdminRequest | CreateOrUpdateTagDefinitionAdminRequest | DeleteTagDefinitionAdminRequest | SearchTagDefinitionsAdminRequest | SearchSemanticDirectivesAdminRequest | SemanticDirectiveCreateOrUpdateAdminRequest | SemanticDirectiveDeleteAdminRequest | GetInstructionAssistanceConfigFromSsmRequest | GetAllChatAppsAdminRequest | GetAllAgentsAdminRequest | GetAllToolsAdminRequest;
1783
- declare const SiteAdminCommand: readonly ["getAgent", "getInitialData", "refreshChatApp", "createOrUpdateChatAppOverride", "deleteChatAppOverride", "getValuesForEntityAutoComplete", "getValuesForUserAutoComplete", "clearConverseLambdaCache", "clearSvelteKitCaches", "addChatSessionFeedback", "updateChatSessionFeedback", "sessionSearch", "getChatMessagesAsAdmin", "createOrUpdateTagDefinition", "deleteTagDefinition", "searchTagDefinitions", "searchSemanticDirectives", "createOrUpdateSemanticDirective", "deleteSemanticDirective", "getInstructionAssistanceConfigFromSsm", "getAllChatApps", "getAllAgents", "getAllTools"];
2107
+ type SiteAdminRequest = GetAgentRequest | GetInitialDataRequest | RefreshChatAppRequest | CreateOrUpdateChatAppOverrideRequest | DeleteChatAppOverrideRequest | GetValuesForEntityAutoCompleteRequest | GetValuesForUserAutoCompleteRequest | ClearConverseLambdaCacheRequest | ClearSvelteKitCachesRequest | AddChatSessionFeedbackAdminRequest | UpdateChatSessionFeedbackAdminRequest | SessionSearchAdminRequest | GetChatMessagesAsAdminRequest | CreateOrUpdateTagDefinitionAdminRequest | DeleteTagDefinitionAdminRequest | SearchTagDefinitionsAdminRequest | SearchSemanticDirectivesAdminRequest | SemanticDirectiveCreateOrUpdateAdminRequest | SemanticDirectiveDeleteAdminRequest | GetInstructionAssistanceConfigFromSsmRequest | GetAllChatAppsAdminRequest | GetAllAgentsAdminRequest | GetAllToolsAdminRequest | GetAllMemoryRecordsAdminRequest | GetInstructionsAddedForUserMemoryAdminRequest;
2108
+ declare const SiteAdminCommand: readonly ["getAgent", "getInitialData", "refreshChatApp", "createOrUpdateChatAppOverride", "deleteChatAppOverride", "getValuesForEntityAutoComplete", "getValuesForUserAutoComplete", "clearConverseLambdaCache", "clearSvelteKitCaches", "addChatSessionFeedback", "updateChatSessionFeedback", "sessionSearch", "getChatMessagesAsAdmin", "createOrUpdateTagDefinition", "deleteTagDefinition", "searchTagDefinitions", "searchSemanticDirectives", "createOrUpdateSemanticDirective", "deleteSemanticDirective", "getInstructionAssistanceConfigFromSsm", "getAllChatApps", "getAllAgents", "getAllTools", "getAllMemoryRecords", "getInstructionsAddedForUserMemory"];
1784
2109
  type SiteAdminCommand = (typeof SiteAdminCommand)[number];
1785
2110
  interface SiteAdminCommandRequestBase {
1786
2111
  command: SiteAdminCommand;
@@ -1824,6 +2149,14 @@ interface GetAllAgentsAdminRequest extends SiteAdminCommandRequestBase {
1824
2149
  interface GetAllToolsAdminRequest extends SiteAdminCommandRequestBase {
1825
2150
  command: 'getAllTools';
1826
2151
  }
2152
+ interface GetAllMemoryRecordsAdminRequest extends SiteAdminCommandRequestBase {
2153
+ command: 'getAllMemoryRecords';
2154
+ request: SearchAllMemoryRecordsRequest;
2155
+ }
2156
+ interface GetInstructionsAddedForUserMemoryAdminRequest extends SiteAdminCommandRequestBase {
2157
+ command: 'getInstructionsAddedForUserMemory';
2158
+ request: GetInstructionsAddedForUserMemoryRequest;
2159
+ }
1827
2160
  /**
1828
2161
  * Request format for semantic directive data passed to custom CloudFormation resource
1829
2162
  */
@@ -1892,7 +2225,13 @@ interface GetAllAgentsAdminResponse extends SiteAdminCommandResponseBase {
1892
2225
  interface GetAllToolsAdminResponse extends SiteAdminCommandResponseBase {
1893
2226
  tools: ToolDefinition[];
1894
2227
  }
1895
- type SiteAdminResponse = GetAgentResponse | GetInitialDataResponse | RefreshChatAppResponse | CreateOrUpdateChatAppOverrideResponse | DeleteChatAppOverrideResponse | GetValuesForEntityAutoCompleteResponse | GetValuesForUserAutoCompleteResponse | ClearConverseLambdaCacheResponse | ClearSvelteKitCachesResponse | AddChatSessionFeedbackResponse | UpdateChatSessionFeedbackResponse | SessionSearchResponse | GetChatMessagesAsAdminResponse | GetInstructionAssistanceConfigFromSsmResponse | GetAllChatAppsAdminResponse | GetAllAgentsAdminResponse | GetAllToolsAdminResponse;
2228
+ interface GetAllMemoryRecordsAdminResponse extends SiteAdminCommandResponseBase {
2229
+ memoryRecords: PagedRecordsResult;
2230
+ }
2231
+ interface GetInstructionsAddedForUserMemoryAdminResponse extends SiteAdminCommandResponseBase {
2232
+ instructions: string;
2233
+ }
2234
+ type SiteAdminResponse = GetAgentResponse | GetInitialDataResponse | RefreshChatAppResponse | CreateOrUpdateChatAppOverrideResponse | DeleteChatAppOverrideResponse | GetValuesForEntityAutoCompleteResponse | GetValuesForUserAutoCompleteResponse | ClearConverseLambdaCacheResponse | ClearSvelteKitCachesResponse | AddChatSessionFeedbackResponse | UpdateChatSessionFeedbackResponse | SessionSearchResponse | GetChatMessagesAsAdminResponse | GetInstructionAssistanceConfigFromSsmResponse | GetAllChatAppsAdminResponse | GetAllAgentsAdminResponse | GetAllToolsAdminResponse | GetAllMemoryRecordsAdminResponse | GetInstructionsAddedForUserMemoryAdminResponse;
1896
2235
  interface SiteAdminCommandResponseBase {
1897
2236
  success: boolean;
1898
2237
  error?: string;
@@ -2239,6 +2578,110 @@ interface SiteFeatures {
2239
2578
  agentInstructionAssistance?: AgentInstructionAssistanceFeature;
2240
2579
  /** Configure whether the instruction augmentation feature is enabled. */
2241
2580
  instructionAugmentation?: InstructionAugmentationFeature;
2581
+ /** Configure whether the user memory feature is enabled. */
2582
+ userMemory?: UserMemoryFeature;
2583
+ }
2584
+ /**
2585
+ * Configure whether the user memory feature is enabled.
2586
+ *
2587
+ * When turned on, we will create a global memory space that will be used to store the user's memory
2588
+ * and then we will automatically store memory evnents based on the strategies turned on and the
2589
+ * queries made by the user. Then, we will query the memory to augment the prompt given to the LLM.
2590
+ */
2591
+ interface UserMemoryFeature {
2592
+ enabled: boolean;
2593
+ /** The maximum number of memory recrods to enrich a single prompt with. Defaults to 25. */
2594
+ maxMemoryRecordsPerPrompt?: number;
2595
+ /** The maximum number of top matches to consider per strategy. Defaults to 5. */
2596
+ maxKMatchesPerStrategy?: number;
2597
+ }
2598
+ interface UserMemoryFeatureWithMemoryInfo extends UserMemoryFeature {
2599
+ memoryId: string;
2600
+ strategies: UserMemoryStrategy[];
2601
+ maxMemoryRecordsPerPrompt: number;
2602
+ maxKMatchesPerStrategy: number;
2603
+ }
2604
+ declare const UserMemoryStrategies: readonly ["preferences", "semantic", "summary"];
2605
+ type UserMemoryStrategy = (typeof UserMemoryStrategies)[number];
2606
+ interface UserMessageContent {
2607
+ type: 'user_message';
2608
+ text: string;
2609
+ }
2610
+ interface AssistantMessageContent {
2611
+ type: 'assistant_message';
2612
+ text: string;
2613
+ }
2614
+ interface AssistantRationaleContent {
2615
+ type: 'assistant_rationale';
2616
+ text: string;
2617
+ }
2618
+ interface ToolInvocationContent {
2619
+ type: 'tool_invocation';
2620
+ invocation: {
2621
+ actionGroupInvocationInput?: any;
2622
+ knowledgeBaseLookupInput?: any;
2623
+ agentCollaboratorInvocationInput?: any;
2624
+ codeInterpreterInvocationInput?: any;
2625
+ };
2626
+ }
2627
+ type MemoryContent = UserMessageContent | AssistantMessageContent | AssistantRationaleContent | ToolInvocationContent;
2628
+ type TypedContentWithRole = {
2629
+ content: MemoryContent;
2630
+ role: Role;
2631
+ };
2632
+ interface MemoryQueryOptions {
2633
+ /** natural-language query for semantic search, default to '*' if not sure what to provide */
2634
+ query: string;
2635
+ /** how many highest-scoring hits to consider (server-side); we still cap with `maxResults` */
2636
+ maxResults: number;
2637
+ /** if you are paging, you can provide the nextToken from the previous response */
2638
+ nextToken?: string;
2639
+ /** how many highest-scoring hits to consider (server-side); we still cap with `maxResults` */
2640
+ topK?: number;
2641
+ }
2642
+ type RetrievedMemoryContent = MemoryContent | string;
2643
+ interface RetrievedMemoryRecordSummary {
2644
+ memoryRecordId: string | undefined;
2645
+ content: RetrievedMemoryContent | undefined;
2646
+ memoryStrategyId: string | undefined;
2647
+ namespaces: string[] | undefined;
2648
+ createdAt: Date | undefined;
2649
+ score?: number | undefined;
2650
+ }
2651
+ type PagedRecordsResult = {
2652
+ records: RetrievedMemoryRecordSummary[];
2653
+ nextToken?: string;
2654
+ };
2655
+ interface SearchAllMyMemoryRecordsRequest {
2656
+ strategy: UserMemoryStrategy;
2657
+ nextToken?: string;
2658
+ }
2659
+ interface SearchAllMyMemoryRecordsResponse {
2660
+ success: boolean;
2661
+ error?: string;
2662
+ results: PagedRecordsResult;
2663
+ }
2664
+ interface SearchAllMemoryRecordsRequest {
2665
+ userId: string;
2666
+ strategy: UserMemoryStrategy;
2667
+ nextToken?: string;
2668
+ }
2669
+ interface SearchAllMemoryRecordsResponse {
2670
+ success: boolean;
2671
+ error?: string;
2672
+ results: PagedRecordsResult;
2673
+ }
2674
+ interface GetInstructionsAddedForUserMemoryRequest {
2675
+ userId: string;
2676
+ strategies: UserMemoryStrategy[];
2677
+ maxMemoryRecordsPerPrompt: number;
2678
+ maxKMatchesPerStrategy: number;
2679
+ prompt: string;
2680
+ }
2681
+ interface GetInstructionsAddedForUserMemoryResponse {
2682
+ success: boolean;
2683
+ error?: string;
2684
+ instructions: string;
2242
2685
  }
2243
2686
  /**
2244
2687
  * Sometimes you need to augment the prompt you will give to the LLM with additional information.
@@ -3016,5 +3459,124 @@ interface TagDefInJsonFile {
3016
3459
  scope: string;
3017
3460
  gzippedBase64EncodedString: string;
3018
3461
  }
3462
+ /**
3463
+ * SharedSessionVisitHistory tracks user visits to shared sessions
3464
+ */
3465
+ interface SharedSessionVisitHistory {
3466
+ shareId: string;
3467
+ entityId: string;
3468
+ chatAppId: string;
3469
+ firstVisitedAt: string;
3470
+ lastVisitedAt: string;
3471
+ visitCount: number;
3472
+ title: string;
3473
+ /** If set to 'mock', this is a test shared session visit history. This is used for integration testing. */
3474
+ testType?: 'mock';
3475
+ }
3476
+ interface SharedSessionVisitHistoryDynamoDb extends SharedSessionVisitHistory {
3477
+ userIdChatAppId: string;
3478
+ }
3479
+ /**
3480
+ * PinnedSession represents user-curated sidebar items (both own and shared sessions)
3481
+ */
3482
+ interface PinnedSession {
3483
+ shareId?: string;
3484
+ sessionId?: string;
3485
+ userId: string;
3486
+ chatAppId: string;
3487
+ pinnedAt: string;
3488
+ /** If set to 'mock', this is a test pinned session. This is used for integration testing. */
3489
+ testType?: 'mock';
3490
+ }
3491
+ type PinnedSessionDynamoDb = PinnedSession & {
3492
+ userIdChatAppId: string;
3493
+ sessionOrShareId: string;
3494
+ };
3495
+ interface PinnedObjAndChatSession {
3496
+ pinnedSession: PinnedSession;
3497
+ chatSession: ChatSession<RecordOrUndef>;
3498
+ }
3499
+ interface CreateSharedSessionRequest {
3500
+ sessionId: string;
3501
+ sessionUserId: string;
3502
+ chatAppId: string;
3503
+ }
3504
+ interface CreateSharedSessionResponse {
3505
+ success: boolean;
3506
+ shareId: string;
3507
+ chatAppId: string;
3508
+ error?: string;
3509
+ }
3510
+ interface RevokeSharedSessionRequest {
3511
+ shareId: string;
3512
+ }
3513
+ interface RevokeSharedSessionResponse {
3514
+ success: boolean;
3515
+ error?: string;
3516
+ }
3517
+ interface UnrevokeSharedSessionRequest {
3518
+ shareId: string;
3519
+ }
3520
+ interface UnrevokeSharedSessionResponse {
3521
+ success: boolean;
3522
+ error?: string;
3523
+ }
3524
+ interface GetRecentSharedRequest {
3525
+ chatAppId: string;
3526
+ limit?: number;
3527
+ entityId?: string;
3528
+ nextToken?: string;
3529
+ }
3530
+ interface GetRecentSharedResponse {
3531
+ success: boolean;
3532
+ recentShared: SharedSessionVisitHistory[];
3533
+ error?: string;
3534
+ nextToken?: string;
3535
+ }
3536
+ interface GetPinnedSessionsRequest {
3537
+ chatAppId: string;
3538
+ limit?: number;
3539
+ nextToken?: string;
3540
+ }
3541
+ interface GetPinnedSessionsResponse {
3542
+ success: boolean;
3543
+ results: PinnedObjAndChatSession[];
3544
+ nextToken?: string;
3545
+ error?: string;
3546
+ }
3547
+ interface PinSessionRequest {
3548
+ pinnedSession: PinnedSession;
3549
+ }
3550
+ interface PinSessionResponse {
3551
+ success: boolean;
3552
+ error?: string;
3553
+ }
3554
+ interface UnpinSessionRequest {
3555
+ sessionId?: string;
3556
+ shareId?: string;
3557
+ chatAppId: string;
3558
+ }
3559
+ interface UnpinSessionResponse {
3560
+ success: boolean;
3561
+ error?: string;
3562
+ }
3563
+ interface ValidateShareAccessRequest {
3564
+ shareId: string;
3565
+ chatAppId: string;
3566
+ entityId?: string;
3567
+ }
3568
+ interface ValidateShareAccessResponse {
3569
+ success: boolean;
3570
+ hasAccess: boolean;
3571
+ sessionData?: ChatSession<RecordOrUndef>;
3572
+ error?: string;
3573
+ }
3574
+ interface RecordShareVisitRequest {
3575
+ shareId: string;
3576
+ }
3577
+ interface RecordShareVisitResponse {
3578
+ success: boolean;
3579
+ error?: string;
3580
+ }
3019
3581
 
3020
- 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 Attachment, type AuthenticateResult, type AuthenticatedUser, type BaseRequestData, type BaseStackConfig, type ChatApp, 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 ConverseInvocationMode, ConverseInvocationModes, type ConverseRequest, type ConverseRequestWithCommand, type CreateAgentRequest, type CreateChatAppRequest, type CreateOrUpdateChatAppOverrideRequest, type CreateOrUpdateChatAppOverrideResponse, type CreateOrUpdateTagDefinitionAdminRequest, type CreateToolRequest, type CustomDataUiRepresentation, type DeleteChatAppOverrideRequest, type DeleteChatAppOverrideResponse, type DeleteTagDefinitionAdminRequest, EndToEndFeatureIdList, type EndToEndFeatureIdType, 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 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 GetValuesForAutoCompleteRequest, type GetValuesForAutoCompleteResponse, type GetValuesForContentAdminAutoCompleteRequest, type GetValuesForContentAdminAutoCompleteResponse, type GetValuesForEntityAutoCompleteRequest, type GetValuesForEntityAutoCompleteResponse, type GetValuesForUserAutoCompleteRequest, type GetValuesForUserAutoCompleteResponse, type GetViewingContentForUserResponse, type HistoryFeature, type HomePageLinksToChatAppsSiteFeature, type HomePageSiteFeature, INSIGHT_STATUS_NEEDS_INSIGHTS_ANALYSIS, Inaccurate, 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 KnowledgeBase, type LambdaToolDefinition, type LifecycleStatus, type LogoutFeature, type LogoutFeatureForChatApp, type McpToolDefinition, type MessageSegment, type MessageSegmentBase, MessageSource, type NameValueDescTriple, type NameValuePair, type OAuth, type PikaConfig, type PikaStack, type PikaUserRole, PikaUserRoles, type PromptInputFieldLabelFeature, type PromptInputFieldLabelFeatureForChatApp, type RecordOrUndef, type RefreshChatAppRequest, type RefreshChatAppResponse, type RetryableVerifyResponseClassification, RetryableVerifyResponseClassifications, 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 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 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 SimpleAuthenticatedUser, type SimpleOption, SiteAdminCommand, type SiteAdminCommandRequestBase, type SiteAdminCommandResponseBase, type SiteAdminFeature, type SiteAdminRequest, type SiteAdminResponse, type SiteFeatures, type StopViewingContentForUserRequest, type StopViewingContentForUserResponse, type StreamingStatus, type SuggestionsFeature, type SuggestionsFeatureForChatApp, type TagDefInJsonFile, type TagDefinition, type TagDefinitionCreateOrUpdateRequest, type TagDefinitionCreateOrUpdateResponse, type TagDefinitionDeleteRequest, type TagDefinitionDeleteResponse, type TagDefinitionForCreateOrUpdate, type TagDefinitionLite, type TagDefinitionSearchRequest, type TagDefinitionSearchResponse, type TagDefinitionWebComponent, type TagDefinitionWidget, type TagDefinitionWidgetBase, type TagDefinitionWidgetCustomCompiledIn, type TagDefinitionWidgetPassThrough, type TagDefinitionWidgetPikaCompiledIn, type TagDefinitionWidgetType, type TagDefinitionWidgetWebComponent, 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 ToolLifecycle, type TracesFeature, type TracesFeatureForChatApp, UPDATEABLE_FEEDBACK_FIELDS, type UiCustomizationFeature, type UiCustomizationFeatureForChatApp, Unclassified, type UpdateAgentRequest, type UpdateChatAppRequest, type UpdateChatSessionFeedbackAdminRequest, type UpdateChatSessionFeedbackRequest, type UpdateChatSessionFeedbackResponse, type UpdateToolRequest, type UpdateableAgentDefinitionFields, type UpdateableChatAppFields, type UpdateableChatAppOverrideFields, type UpdateableFeedbackFields, type UpdateableToolDefinitionFields, type UserChatAppRule, type UserDataOverrideFeatureForChatApp, type UserDataOverrideSettings, type UserDataOverridesSiteFeature, type UserOverrideData, UserOverrideDataCommand, type UserOverrideDataCommandRequest, type UserOverrideDataCommandRequestBase, type UserOverrideDataCommandResponse, type UserOverrideDataCommandResponseBase, type UserPrefs, type UserRole, type UserType, UserTypes, type VerifyResponseClassification, type VerifyResponseClassificationDescription, VerifyResponseClassificationDescriptions, VerifyResponseClassifications, type VerifyResponseFeature, type VerifyResponseFeatureForChatApp, type VerifyResponseRetryableClassificationDescription, VerifyResponseRetryableClassificationDescriptions, type ViewContentForUserRequest, type ViewContentForUserResponse, type VitePreviewConfig, type ViteServerConfig };
3582
+ 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 ChatApp, 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 ConverseInvocationMode, ConverseInvocationModes, type ConverseRequest, type ConverseRequestWithCommand, 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, 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 GetValuesForAutoCompleteRequest, type GetValuesForAutoCompleteResponse, type GetValuesForContentAdminAutoCompleteRequest, type GetValuesForContentAdminAutoCompleteResponse, type GetValuesForEntityAutoCompleteRequest, type GetValuesForEntityAutoCompleteResponse, type GetValuesForUserAutoCompleteRequest, type GetValuesForUserAutoCompleteResponse, type GetViewingContentForUserResponse, type HistoryFeature, type HomePageLinksToChatAppsSiteFeature, type HomePageSiteFeature, INSIGHT_STATUS_NEEDS_INSIGHTS_ANALYSIS, Inaccurate, 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 KnowledgeBase, type LambdaToolDefinition, type LifecycleStatus, type LogoutFeature, type LogoutFeatureForChatApp, 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 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 SharedSessionVisitHistory, type SharedSessionVisitHistoryDynamoDb, type SimpleAuthenticatedUser, type SimpleOption, SiteAdminCommand, type SiteAdminCommandRequestBase, type SiteAdminCommandResponseBase, type SiteAdminFeature, type SiteAdminRequest, type SiteAdminResponse, type SiteFeatures, type StopViewingContentForUserRequest, type StopViewingContentForUserResponse, type StreamingStatus, type SuggestionsFeature, type SuggestionsFeatureForChatApp, type TagDefInJsonFile, type TagDefinition, type TagDefinitionCreateOrUpdateRequest, type TagDefinitionCreateOrUpdateResponse, type TagDefinitionDeleteRequest, type TagDefinitionDeleteResponse, type TagDefinitionForCreateOrUpdate, type TagDefinitionLite, type TagDefinitionSearchRequest, type TagDefinitionSearchResponse, type TagDefinitionWebComponent, type TagDefinitionWidget, type TagDefinitionWidgetBase, type TagDefinitionWidgetCustomCompiledIn, type TagDefinitionWidgetPassThrough, type TagDefinitionWidgetPikaCompiledIn, type TagDefinitionWidgetType, type TagDefinitionWidgetWebComponent, 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 UserChatAppRule, 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 ValidateShareAccessRequest, type ValidateShareAccessResponse, type VerifyResponseClassification, type VerifyResponseClassificationDescription, VerifyResponseClassificationDescriptions, VerifyResponseClassifications, type VerifyResponseFeature, type VerifyResponseFeatureForChatApp, type VerifyResponseRetryableClassificationDescription, VerifyResponseRetryableClassificationDescriptions, type ViewContentForUserRequest, type ViewContentForUserResponse, type VitePreviewConfig, type ViteServerConfig };