@iblai/iblai-js 2.36.2 → 2.37.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.
@@ -4198,6 +4198,10 @@ var embedTabLabels$3 = {
4198
4198
  label: "Allow Agent Selection",
4199
4199
  tooltip: "Let signed-in visitors open Explore from the embed and switch to another agent."
4200
4200
  },
4201
+ allowFullscreen: {
4202
+ label: "Allow Full Screen",
4203
+ tooltip: "Show a button in the chat that switches between the small window and full screen."
4204
+ },
4201
4205
  shareableLink: {
4202
4206
  label: "Shareable Link",
4203
4207
  tooltip: "Generate a link users can use to chat with this agent anonymously"
@@ -4838,13 +4842,10 @@ var memoryTabLabels$3 = {
4838
4842
  subTabs: {
4839
4843
  ariaLabel: "Memory sections",
4840
4844
  personal: "Personal Memories",
4841
- shared: "Shared Memory"
4845
+ shared: "Shared Memories"
4842
4846
  },
4843
4847
  sharedMemory: {
4844
- title: "Shared Memory",
4845
- description: "Facts, rules, and background this agent should always keep in mind. Every person who chats with this agent gets these memories.",
4846
- gatingHint: "Shared memories reach chats only while Long-term Memory is on for this agent and the person chatting has memory turned on.",
4847
- addButton: "Add Shared Memory",
4848
+ addButton: "Add Memory",
4848
4849
  addButtonShort: "Add",
4849
4850
  listAriaLabel: "Shared memories",
4850
4851
  actionsAria: "Shared memory actions",
@@ -4852,19 +4853,17 @@ var memoryTabLabels$3 = {
4852
4853
  "delete": "Delete",
4853
4854
  loading: "Loading shared memories...",
4854
4855
  loadError: "Couldn't load this agent's shared memories. Please try again.",
4855
- unknownAuthor: "Unknown",
4856
- addedBy: "Added by {name}",
4857
4856
  empty: {
4858
4857
  title: "No Shared Memories Yet",
4859
4858
  description: "Add anything this agent should always keep in mind — how to behave, key facts, or house rules. Every person who chats with this agent gets these memories."
4860
4859
  },
4861
4860
  denied: {
4862
- title: "No Access to Shared Memory",
4861
+ title: "No Access to Shared Memories",
4863
4862
  description: "You don't have permission to view this agent's shared memories. Ask an administrator for access."
4864
4863
  },
4865
4864
  modal: {
4866
- addTitle: "Add Shared Memory",
4867
- editTitle: "Edit Shared Memory",
4865
+ addTitle: "Add Memory",
4866
+ editTitle: "Edit Memory",
4868
4867
  contentLabel: "Memory",
4869
4868
  placeholder: "Write what this agent should always keep in mind...",
4870
4869
  charCountMinimum: "{count}/10 characters minimum",
@@ -4874,8 +4873,8 @@ var memoryTabLabels$3 = {
4874
4873
  cancel: "Cancel"
4875
4874
  },
4876
4875
  deleteModal: {
4877
- title: "Delete Shared Memory",
4878
- description: "Are you sure you want to delete this shared memory? Everyone who chats with this agent will stop seeing it. This action cannot be undone.",
4876
+ title: "Delete Memory",
4877
+ description: "Are you sure you want to delete this memory? This action cannot be undone.",
4879
4878
  "delete": "Delete",
4880
4879
  deleting: "Deleting...",
4881
4880
  cancel: "Cancel"
@@ -4948,7 +4947,6 @@ var memoryTabManageMemories$3 = {
4948
4947
  addMemory: "Add Memory",
4949
4948
  add: "Add",
4950
4949
  loadingMemories: "Loading memories...",
4951
- unknown: "Unknown",
4952
4950
  edit: "Edit",
4953
4951
  "delete": "Delete",
4954
4952
  deleteAll: "Delete All",
@@ -6842,6 +6840,9 @@ var tabsEmbedTab$3 = {
6842
6840
  moreInfoAllowMentorSelection: "More info about agent selection",
6843
6841
  allowMentorSelectionEnabled: "Agent selection enabled",
6844
6842
  allowMentorSelectionDisabled: "Agent selection disabled",
6843
+ moreInfoAllowFullscreen: "More info about full screen",
6844
+ allowFullscreenEnabled: "Full screen enabled",
6845
+ allowFullscreenDisabled: "Full screen disabled",
6845
6846
  moreInfoStarterPrompts: "More info about starter prompts",
6846
6847
  moreInfoShareableLink: "More info about shareable link",
6847
6848
  shareableLinkEnabled: "Generate / Revoke shareable link enabled",
@@ -12667,6 +12668,10 @@ var embedTabLabels$2 = {
12667
12668
  label: "Autoriser la sélection d'agent",
12668
12669
  tooltip: "Permettre aux visiteurs connectés d'ouvrir Explorer depuis l'intégration et de passer à un autre agent."
12669
12670
  },
12671
+ allowFullscreen: {
12672
+ label: "Autoriser le plein écran",
12673
+ tooltip: "Affiche un bouton dans le chat pour passer de la petite fenêtre au plein écran."
12674
+ },
12670
12675
  shareableLink: {
12671
12676
  label: "Lien partageable",
12672
12677
  tooltip: "Générer un lien que les utilisateurs peuvent utiliser pour discuter avec cet agent de manière anonyme"
@@ -13307,13 +13312,10 @@ var memoryTabLabels$2 = {
13307
13312
  subTabs: {
13308
13313
  ariaLabel: "Sections de la mémoire",
13309
13314
  personal: "Souvenirs personnels",
13310
- shared: "Mémoire partagée"
13315
+ shared: "Souvenirs partagés"
13311
13316
  },
13312
13317
  sharedMemory: {
13313
- title: "Mémoire partagée",
13314
- description: "Faits, règles et contexte que cet agent doit toujours garder à l'esprit. Chaque personne qui discute avec cet agent bénéficie de ces souvenirs.",
13315
- gatingHint: "Les souvenirs partagés n'atteignent les conversations que lorsque la mémoire à long terme est activée pour cet agent et que la personne qui discute a activé sa mémoire.",
13316
- addButton: "Ajouter un souvenir partagé",
13318
+ addButton: "Ajouter un souvenir",
13317
13319
  addButtonShort: "Ajouter",
13318
13320
  listAriaLabel: "Souvenirs partagés",
13319
13321
  actionsAria: "Actions sur le souvenir partagé",
@@ -13321,19 +13323,17 @@ var memoryTabLabels$2 = {
13321
13323
  "delete": "Supprimer",
13322
13324
  loading: "Chargement des souvenirs partagés...",
13323
13325
  loadError: "Impossible de charger les souvenirs partagés de cet agent. Veuillez réessayer.",
13324
- unknownAuthor: "Inconnu",
13325
- addedBy: "Ajouté par {name}",
13326
13326
  empty: {
13327
13327
  title: "Aucun souvenir partagé pour l'instant",
13328
13328
  description: "Ajoutez tout ce que cet agent doit toujours garder à l'esprit — comment se comporter, faits essentiels ou règles internes. Chaque personne qui discute avec cet agent bénéficie de ces souvenirs."
13329
13329
  },
13330
13330
  denied: {
13331
- title: "Pas d'accès à la mémoire partagée",
13331
+ title: "Pas d'accès aux souvenirs partagés",
13332
13332
  description: "Vous n'avez pas la permission de voir les souvenirs partagés de cet agent. Demandez l'accès à un administrateur."
13333
13333
  },
13334
13334
  modal: {
13335
- addTitle: "Ajouter un souvenir partagé",
13336
- editTitle: "Modifier le souvenir partagé",
13335
+ addTitle: "Ajouter un souvenir",
13336
+ editTitle: "Modifier la mémoire",
13337
13337
  contentLabel: "Souvenir",
13338
13338
  placeholder: "Écrivez ce que cet agent doit toujours garder à l'esprit...",
13339
13339
  charCountMinimum: "{count}/10 caractères minimum",
@@ -13343,8 +13343,8 @@ var memoryTabLabels$2 = {
13343
13343
  cancel: "Annuler"
13344
13344
  },
13345
13345
  deleteModal: {
13346
- title: "Supprimer le souvenir partagé",
13347
- description: "Voulez-vous vraiment supprimer ce souvenir partagé ? Tous ceux qui discutent avec cet agent cesseront de le voir. Cette action est irréversible.",
13346
+ title: "Supprimer la mémoire",
13347
+ description: "Êtes-vous sûr de vouloir supprimer cette mémoire ? Cette action ne peut pas être annulée.",
13348
13348
  "delete": "Supprimer",
13349
13349
  deleting: "Suppression...",
13350
13350
  cancel: "Annuler"
@@ -13417,7 +13417,6 @@ var memoryTabManageMemories$2 = {
13417
13417
  addMemory: "Ajouter un souvenir",
13418
13418
  add: "Ajouter",
13419
13419
  loadingMemories: "Chargement des souvenirs...",
13420
- unknown: "Inconnu",
13421
13420
  edit: "Modifier",
13422
13421
  "delete": "Supprimer",
13423
13422
  deleteAll: "Tout supprimer",
@@ -15311,6 +15310,9 @@ var tabsEmbedTab$2 = {
15311
15310
  moreInfoAllowMentorSelection: "Plus d'informations sur la sélection d'agent",
15312
15311
  allowMentorSelectionEnabled: "Sélection d'agent activée",
15313
15312
  allowMentorSelectionDisabled: "Sélection d'agent désactivée",
15313
+ moreInfoAllowFullscreen: "Plus d'informations sur le plein écran",
15314
+ allowFullscreenEnabled: "Plein écran activé",
15315
+ allowFullscreenDisabled: "Plein écran désactivé",
15314
15316
  moreInfoStarterPrompts: "Plus d'informations sur les suggestions de départ",
15315
15317
  moreInfoShareableLink: "Plus d'informations sur le lien partageable",
15316
15318
  shareableLinkEnabled: "Lien partageable activé",
@@ -20970,6 +20972,10 @@ var embedTabLabels$1 = {
20970
20972
  label: "Permitir selección de agente",
20971
20973
  tooltip: "Permite a los visitantes con sesión iniciada abrir Explorar desde la inserción y cambiar a otro agente."
20972
20974
  },
20975
+ allowFullscreen: {
20976
+ label: "Permitir pantalla completa",
20977
+ tooltip: "Muestra un botón en el chat para cambiar entre la ventana pequeña y la pantalla completa."
20978
+ },
20973
20979
  shareableLink: {
20974
20980
  label: "Enlace compartible",
20975
20981
  tooltip: "Genere un enlace que los usuarios puedan usar para chatear con este agente de forma anónima"
@@ -21610,13 +21616,10 @@ var memoryTabLabels$1 = {
21610
21616
  subTabs: {
21611
21617
  ariaLabel: "Secciones de memoria",
21612
21618
  personal: "Memorias personales",
21613
- shared: "Memoria compartida"
21619
+ shared: "Memorias compartidas"
21614
21620
  },
21615
21621
  sharedMemory: {
21616
- title: "Memoria compartida",
21617
- description: "Hechos, reglas y contexto que este agente debe tener siempre presentes. Todas las personas que chatean con este agente reciben estas memorias.",
21618
- gatingHint: "Las memorias compartidas llegan a los chats solo mientras la memoria a largo plazo esté activada para este agente y la persona que chatea tenga la memoria activada.",
21619
- addButton: "Agregar memoria compartida",
21622
+ addButton: "Agregar memoria",
21620
21623
  addButtonShort: "Agregar",
21621
21624
  listAriaLabel: "Memorias compartidas",
21622
21625
  actionsAria: "Acciones de memoria compartida",
@@ -21624,19 +21627,17 @@ var memoryTabLabels$1 = {
21624
21627
  "delete": "Eliminar",
21625
21628
  loading: "Cargando memorias compartidas...",
21626
21629
  loadError: "No se pudieron cargar las memorias compartidas de este agente. Inténtalo de nuevo.",
21627
- unknownAuthor: "Desconocido",
21628
- addedBy: "Agregado por {name}",
21629
21630
  empty: {
21630
21631
  title: "Aún no hay memorias compartidas",
21631
21632
  description: "Agrega todo lo que este agente debe tener siempre presente: cómo comportarse, hechos clave o reglas internas. Todas las personas que chatean con este agente reciben estas memorias."
21632
21633
  },
21633
21634
  denied: {
21634
- title: "Sin acceso a la memoria compartida",
21635
+ title: "Sin acceso a las memorias compartidas",
21635
21636
  description: "No tienes permiso para ver las memorias compartidas de este agente. Pide acceso a un administrador."
21636
21637
  },
21637
21638
  modal: {
21638
- addTitle: "Agregar memoria compartida",
21639
- editTitle: "Editar memoria compartida",
21639
+ addTitle: "Agregar memoria",
21640
+ editTitle: "Editar memoria",
21640
21641
  contentLabel: "Memoria",
21641
21642
  placeholder: "Escribe lo que este agente debe tener siempre presente...",
21642
21643
  charCountMinimum: "{count}/10 caracteres mínimo",
@@ -21646,8 +21647,8 @@ var memoryTabLabels$1 = {
21646
21647
  cancel: "Cancelar"
21647
21648
  },
21648
21649
  deleteModal: {
21649
- title: "Eliminar memoria compartida",
21650
- description: "¿Seguro que quieres eliminar esta memoria compartida? Todas las personas que chatean con este agente dejarán de verla. Esta acción no se puede deshacer.",
21650
+ title: "Eliminar memoria",
21651
+ description: "¿Está seguro de que desea eliminar esta memoria? Esta acción no se puede deshacer.",
21651
21652
  "delete": "Eliminar",
21652
21653
  deleting: "Eliminando...",
21653
21654
  cancel: "Cancelar"
@@ -21720,7 +21721,6 @@ var memoryTabManageMemories$1 = {
21720
21721
  addMemory: "Agregar memoria",
21721
21722
  add: "Agregar",
21722
21723
  loadingMemories: "Cargando memorias...",
21723
- unknown: "Desconocido",
21724
21724
  edit: "Editar",
21725
21725
  "delete": "Eliminar",
21726
21726
  deleteAll: "Eliminar todo",
@@ -23614,6 +23614,9 @@ var tabsEmbedTab$1 = {
23614
23614
  moreInfoAllowMentorSelection: "Más información sobre la selección de agente",
23615
23615
  allowMentorSelectionEnabled: "Selección de agente habilitada",
23616
23616
  allowMentorSelectionDisabled: "Selección de agente deshabilitada",
23617
+ moreInfoAllowFullscreen: "Más información sobre la pantalla completa",
23618
+ allowFullscreenEnabled: "Pantalla completa habilitada",
23619
+ allowFullscreenDisabled: "Pantalla completa deshabilitada",
23617
23620
  moreInfoStarterPrompts: "Más información sobre las sugerencias iniciales",
23618
23621
  moreInfoShareableLink: "Más información sobre el enlace compartible",
23619
23622
  shareableLinkEnabled: "Enlace compartible habilitado",
@@ -29273,6 +29276,10 @@ var embedTabLabels = {
29273
29276
  label: "允许选择智能体",
29274
29277
  tooltip: "允许已登录的访问者从嵌入中打开探索并切换到其他智能体。"
29275
29278
  },
29279
+ allowFullscreen: {
29280
+ label: "允许全屏",
29281
+ tooltip: "在聊天中显示一个按钮,可在小窗口和全屏之间切换。"
29282
+ },
29276
29283
  shareableLink: {
29277
29284
  label: "可分享链接",
29278
29285
  tooltip: "生成一个链接,用户可使用该链接匿名与此智能体聊天"
@@ -29916,10 +29923,7 @@ var memoryTabLabels = {
29916
29923
  shared: "共享记忆"
29917
29924
  },
29918
29925
  sharedMemory: {
29919
- title: "共享记忆",
29920
- description: "此智能体应始终牢记的事实、规则和背景信息。所有与此智能体聊天的人都会获得这些记忆。",
29921
- gatingHint: "只有在此智能体开启长期记忆、且聊天者也开启了记忆时,共享记忆才会用于聊天。",
29922
- addButton: "添加共享记忆",
29926
+ addButton: "添加记忆",
29923
29927
  addButtonShort: "添加",
29924
29928
  listAriaLabel: "共享记忆",
29925
29929
  actionsAria: "共享记忆操作",
@@ -29927,8 +29931,6 @@ var memoryTabLabels = {
29927
29931
  "delete": "删除",
29928
29932
  loading: "加载共享记忆中...",
29929
29933
  loadError: "无法加载此智能体的共享记忆。请重试。",
29930
- unknownAuthor: "未知",
29931
- addedBy: "由 {name} 添加",
29932
29934
  empty: {
29933
29935
  title: "暂无共享记忆",
29934
29936
  description: "添加此智能体应始终牢记的内容——行为方式、关键事实或内部规则。所有与此智能体聊天的人都会获得这些记忆。"
@@ -29938,8 +29940,8 @@ var memoryTabLabels = {
29938
29940
  description: "您没有权限查看此智能体的共享记忆。请向管理员申请访问权限。"
29939
29941
  },
29940
29942
  modal: {
29941
- addTitle: "添加共享记忆",
29942
- editTitle: "编辑共享记忆",
29943
+ addTitle: "添加记忆",
29944
+ editTitle: "编辑记忆",
29943
29945
  contentLabel: "记忆",
29944
29946
  placeholder: "写下此智能体应始终牢记的内容...",
29945
29947
  charCountMinimum: "{count}/10 个字符(最少)",
@@ -29949,8 +29951,8 @@ var memoryTabLabels = {
29949
29951
  cancel: "取消"
29950
29952
  },
29951
29953
  deleteModal: {
29952
- title: "删除共享记忆",
29953
- description: "确定要删除这条共享记忆吗?所有与此智能体聊天的人将不再看到它。此操作无法撤销。",
29954
+ title: "删除记忆",
29955
+ description: "您确定要删除此记忆吗?此操作无法撤销。",
29954
29956
  "delete": "删除",
29955
29957
  deleting: "删除中...",
29956
29958
  cancel: "取消"
@@ -30023,7 +30025,6 @@ var memoryTabManageMemories = {
30023
30025
  addMemory: "添加记忆",
30024
30026
  add: "添加",
30025
30027
  loadingMemories: "加载记忆中...",
30026
- unknown: "未知",
30027
30028
  edit: "编辑",
30028
30029
  "delete": "删除",
30029
30030
  deleteAll: "全部删除",
@@ -31917,6 +31918,9 @@ var tabsEmbedTab = {
31917
31918
  moreInfoAllowMentorSelection: "有关选择智能体的更多信息",
31918
31919
  allowMentorSelectionEnabled: "选择智能体已启用",
31919
31920
  allowMentorSelectionDisabled: "选择智能体已禁用",
31921
+ moreInfoAllowFullscreen: "有关全屏的更多信息",
31922
+ allowFullscreenEnabled: "全屏已启用",
31923
+ allowFullscreenDisabled: "全屏已禁用",
31920
31924
  moreInfoStarterPrompts: "更多关于起始提示的信息",
31921
31925
  moreInfoShareableLink: "更多关于可分享链接的信息",
31922
31926
  shareableLinkEnabled: "可分享链接已启用",
@@ -265918,6 +265922,7 @@ function ManageMemories({ tenantKey, username, mentorId }) {
265918
265922
  name: memory.category.name,
265919
265923
  slug: memory.category.slug,
265920
265924
  },
265925
+ username: memory.username,
265921
265926
  email: memory.email,
265922
265927
  createdAt: memory.created_at,
265923
265928
  }));
@@ -266122,8 +266127,8 @@ function ManageMemories({ tenantKey, username, mentorId }) {
266122
266127
  locale: dateFnsLocale,
266123
266128
  })
266124
266129
  : '';
266125
- const displayUser = memory.email || t('memoryTabManageMemories.unknown');
266126
- return (jsxs("div", { role: "listitem", className: "flex items-start gap-3 rounded-lg border border-gray-200 bg-white p-3", children: [jsxs("div", { className: "flex-1", children: [(timeAgo || displayUser) && (jsxs("div", { className: "mb-2 flex items-center justify-between", children: [timeAgo && jsx("span", { className: "text-sm text-gray-600", children: timeAgo }), displayUser && (jsx("span", { className: "max-w-[100px] truncate text-sm text-gray-900 sm:max-w-[200px]", children: displayUser }))] })), jsx("p", { className: "text-sm leading-relaxed text-gray-900", children: memory.content })] }), jsxs(DropdownMenu, { children: [jsx(DropdownMenuTrigger, { asChild: true, children: jsx(Button$2, { variant: "ghost", size: "sm", "aria-label": t('memoryTabManageMemories.memoryActionsAriaLabel'), className: "h-6 w-6 flex-shrink-0 p-0 text-gray-600 hover:text-gray-900", children: jsx(Ellipsis, { className: "h-4 w-4" }) }) }), jsxs(DropdownMenuContent, { align: "end", children: [jsx(DropdownMenuItem, { onClick: () => startEdit(memory), children: t('memoryTabManageMemories.edit') }), jsx(DropdownMenuItem, { onClick: () => setShowDeleteConfirm(memory.id), children: t('memoryTabManageMemories.delete') })] })] })] }, memory.id));
266130
+ const displayUser = memory.email || memory.username;
266131
+ return (jsxs("div", { role: "listitem", className: "flex items-start gap-3 rounded-lg border border-gray-200 bg-white p-3", children: [jsxs("div", { className: "flex-1", children: [(timeAgo || displayUser) && (jsxs("div", { className: "mb-2 flex items-center justify-between", children: [timeAgo && jsx("span", { className: "text-sm text-gray-600", children: timeAgo }), displayUser && (jsx(UserProfileLink, { tenantKey: tenantKey, username: memory.username, display: displayUser, className: "max-w-[100px] truncate text-sm text-gray-900 sm:max-w-[200px]" }))] })), jsx("p", { className: "text-sm leading-relaxed text-gray-900", children: memory.content })] }), jsxs(DropdownMenu, { children: [jsx(DropdownMenuTrigger, { asChild: true, children: jsx(Button$2, { variant: "ghost", size: "sm", "aria-label": t('memoryTabManageMemories.memoryActionsAriaLabel'), className: "h-6 w-6 flex-shrink-0 p-0 text-gray-600 hover:text-gray-900", children: jsx(Ellipsis, { className: "h-4 w-4" }) }) }), jsxs(DropdownMenuContent, { align: "end", children: [jsx(DropdownMenuItem, { onClick: () => startEdit(memory), children: t('memoryTabManageMemories.edit') }), jsx(DropdownMenuItem, { onClick: () => setShowDeleteConfirm(memory.id), children: t('memoryTabManageMemories.delete') })] })] })] }, memory.id));
266127
266132
  })) }), filteredMemories.length > 0 && selectedCategorySlug !== 'all' && (jsx("div", { className: "flex justify-end", children: jsx(Button$2, { variant: "outline", onClick: () => setShowBulkDeleteConfirm(true), children: t('memoryTabManageMemories.deleteAll') }) })), filteredMemories.length === 0 && !isLoadingMemories && (jsx("div", { className: "py-8 text-center text-gray-600", children: jsx("p", { children: t('memoryTabManageMemories.noSavedMemories') }) })), totalPages > 1 && (jsx("div", { className: "flex justify-center pt-2", children: jsx(IblPagination, { currentPage: page, totalPages: totalPages, onPageChange: setPage, disabled: isLoadingMemories }) }))] }), jsx(EditMemoryModal$1, { open: !!editingMemory, onOpenChange: (open) => !open && cancelEdit(), editContent: editContent, editCategory: editCategory, onContentChange: setEditContent, onCategoryChange: setEditCategory, onSave: saveEdit, onCancel: cancelEdit, categories: categoryNames, isSaving: isEditing }), jsx(AddMemoryModal$1, { open: showAddMemory, onOpenChange: (open) => !open && cancelAddMemory(), newMemoryContent: newMemoryContent, newMemoryCategory: newMemoryCategory, onContentChange: setNewMemoryContent, onCategoryChange: setNewMemoryCategory, onSave: saveNewMemory, onCancel: cancelAddMemory, categories: categoryNames, isSaving: isSaving }), jsx(DeleteMemoryModal, { open: !!showDeleteConfirm, onOpenChange: (open) => !open && setShowDeleteConfirm(null), onConfirm: () => showDeleteConfirm !== null && handleDeleteMemory(showDeleteConfirm), onCancel: () => setShowDeleteConfirm(null), isDeleting: isDeleting }), jsx(ManageCategoriesModal$1, { open: showManageCategories, onOpenChange: setShowManageCategories, tenantKey: tenantKey, mentorId: mentorId }), jsx(BulkDeleteMemoryModal$1, { open: showBulkDeleteConfirm, onOpenChange: setShowBulkDeleteConfirm, onConfirm: handleBulkDelete, onCancel: () => setShowBulkDeleteConfirm(false), isDeleting: isBulkDeleting, selectedCategory: selectedCategoryName })] }));
266128
266133
  }
266129
266134
 
@@ -98742,6 +98742,10 @@ var embedTabLabels$3 = {
98742
98742
  label: "Allow Agent Selection",
98743
98743
  tooltip: "Let signed-in visitors open Explore from the embed and switch to another agent."
98744
98744
  },
98745
+ allowFullscreen: {
98746
+ label: "Allow Full Screen",
98747
+ tooltip: "Show a button in the chat that switches between the small window and full screen."
98748
+ },
98745
98749
  shareableLink: {
98746
98750
  label: "Shareable Link",
98747
98751
  tooltip: "Generate a link users can use to chat with this agent anonymously"
@@ -99382,13 +99386,10 @@ var memoryTabLabels$3 = {
99382
99386
  subTabs: {
99383
99387
  ariaLabel: "Memory sections",
99384
99388
  personal: "Personal Memories",
99385
- shared: "Shared Memory"
99389
+ shared: "Shared Memories"
99386
99390
  },
99387
99391
  sharedMemory: {
99388
- title: "Shared Memory",
99389
- description: "Facts, rules, and background this agent should always keep in mind. Every person who chats with this agent gets these memories.",
99390
- gatingHint: "Shared memories reach chats only while Long-term Memory is on for this agent and the person chatting has memory turned on.",
99391
- addButton: "Add Shared Memory",
99392
+ addButton: "Add Memory",
99392
99393
  addButtonShort: "Add",
99393
99394
  listAriaLabel: "Shared memories",
99394
99395
  actionsAria: "Shared memory actions",
@@ -99396,19 +99397,17 @@ var memoryTabLabels$3 = {
99396
99397
  "delete": "Delete",
99397
99398
  loading: "Loading shared memories...",
99398
99399
  loadError: "Couldn't load this agent's shared memories. Please try again.",
99399
- unknownAuthor: "Unknown",
99400
- addedBy: "Added by {name}",
99401
99400
  empty: {
99402
99401
  title: "No Shared Memories Yet",
99403
99402
  description: "Add anything this agent should always keep in mind — how to behave, key facts, or house rules. Every person who chats with this agent gets these memories."
99404
99403
  },
99405
99404
  denied: {
99406
- title: "No Access to Shared Memory",
99405
+ title: "No Access to Shared Memories",
99407
99406
  description: "You don't have permission to view this agent's shared memories. Ask an administrator for access."
99408
99407
  },
99409
99408
  modal: {
99410
- addTitle: "Add Shared Memory",
99411
- editTitle: "Edit Shared Memory",
99409
+ addTitle: "Add Memory",
99410
+ editTitle: "Edit Memory",
99412
99411
  contentLabel: "Memory",
99413
99412
  placeholder: "Write what this agent should always keep in mind...",
99414
99413
  charCountMinimum: "{count}/10 characters minimum",
@@ -99418,8 +99417,8 @@ var memoryTabLabels$3 = {
99418
99417
  cancel: "Cancel"
99419
99418
  },
99420
99419
  deleteModal: {
99421
- title: "Delete Shared Memory",
99422
- description: "Are you sure you want to delete this shared memory? Everyone who chats with this agent will stop seeing it. This action cannot be undone.",
99420
+ title: "Delete Memory",
99421
+ description: "Are you sure you want to delete this memory? This action cannot be undone.",
99423
99422
  "delete": "Delete",
99424
99423
  deleting: "Deleting...",
99425
99424
  cancel: "Cancel"
@@ -99492,7 +99491,6 @@ var memoryTabManageMemories$3 = {
99492
99491
  addMemory: "Add Memory",
99493
99492
  add: "Add",
99494
99493
  loadingMemories: "Loading memories...",
99495
- unknown: "Unknown",
99496
99494
  edit: "Edit",
99497
99495
  "delete": "Delete",
99498
99496
  deleteAll: "Delete All",
@@ -101386,6 +101384,9 @@ var tabsEmbedTab$3 = {
101386
101384
  moreInfoAllowMentorSelection: "More info about agent selection",
101387
101385
  allowMentorSelectionEnabled: "Agent selection enabled",
101388
101386
  allowMentorSelectionDisabled: "Agent selection disabled",
101387
+ moreInfoAllowFullscreen: "More info about full screen",
101388
+ allowFullscreenEnabled: "Full screen enabled",
101389
+ allowFullscreenDisabled: "Full screen disabled",
101389
101390
  moreInfoStarterPrompts: "More info about starter prompts",
101390
101391
  moreInfoShareableLink: "More info about shareable link",
101391
101392
  shareableLinkEnabled: "Generate / Revoke shareable link enabled",
@@ -107211,6 +107212,10 @@ var embedTabLabels$2 = {
107211
107212
  label: "Autoriser la sélection d'agent",
107212
107213
  tooltip: "Permettre aux visiteurs connectés d'ouvrir Explorer depuis l'intégration et de passer à un autre agent."
107213
107214
  },
107215
+ allowFullscreen: {
107216
+ label: "Autoriser le plein écran",
107217
+ tooltip: "Affiche un bouton dans le chat pour passer de la petite fenêtre au plein écran."
107218
+ },
107214
107219
  shareableLink: {
107215
107220
  label: "Lien partageable",
107216
107221
  tooltip: "Générer un lien que les utilisateurs peuvent utiliser pour discuter avec cet agent de manière anonyme"
@@ -107851,13 +107856,10 @@ var memoryTabLabels$2 = {
107851
107856
  subTabs: {
107852
107857
  ariaLabel: "Sections de la mémoire",
107853
107858
  personal: "Souvenirs personnels",
107854
- shared: "Mémoire partagée"
107859
+ shared: "Souvenirs partagés"
107855
107860
  },
107856
107861
  sharedMemory: {
107857
- title: "Mémoire partagée",
107858
- description: "Faits, règles et contexte que cet agent doit toujours garder à l'esprit. Chaque personne qui discute avec cet agent bénéficie de ces souvenirs.",
107859
- gatingHint: "Les souvenirs partagés n'atteignent les conversations que lorsque la mémoire à long terme est activée pour cet agent et que la personne qui discute a activé sa mémoire.",
107860
- addButton: "Ajouter un souvenir partagé",
107862
+ addButton: "Ajouter un souvenir",
107861
107863
  addButtonShort: "Ajouter",
107862
107864
  listAriaLabel: "Souvenirs partagés",
107863
107865
  actionsAria: "Actions sur le souvenir partagé",
@@ -107865,19 +107867,17 @@ var memoryTabLabels$2 = {
107865
107867
  "delete": "Supprimer",
107866
107868
  loading: "Chargement des souvenirs partagés...",
107867
107869
  loadError: "Impossible de charger les souvenirs partagés de cet agent. Veuillez réessayer.",
107868
- unknownAuthor: "Inconnu",
107869
- addedBy: "Ajouté par {name}",
107870
107870
  empty: {
107871
107871
  title: "Aucun souvenir partagé pour l'instant",
107872
107872
  description: "Ajoutez tout ce que cet agent doit toujours garder à l'esprit — comment se comporter, faits essentiels ou règles internes. Chaque personne qui discute avec cet agent bénéficie de ces souvenirs."
107873
107873
  },
107874
107874
  denied: {
107875
- title: "Pas d'accès à la mémoire partagée",
107875
+ title: "Pas d'accès aux souvenirs partagés",
107876
107876
  description: "Vous n'avez pas la permission de voir les souvenirs partagés de cet agent. Demandez l'accès à un administrateur."
107877
107877
  },
107878
107878
  modal: {
107879
- addTitle: "Ajouter un souvenir partagé",
107880
- editTitle: "Modifier le souvenir partagé",
107879
+ addTitle: "Ajouter un souvenir",
107880
+ editTitle: "Modifier la mémoire",
107881
107881
  contentLabel: "Souvenir",
107882
107882
  placeholder: "Écrivez ce que cet agent doit toujours garder à l'esprit...",
107883
107883
  charCountMinimum: "{count}/10 caractères minimum",
@@ -107887,8 +107887,8 @@ var memoryTabLabels$2 = {
107887
107887
  cancel: "Annuler"
107888
107888
  },
107889
107889
  deleteModal: {
107890
- title: "Supprimer le souvenir partagé",
107891
- description: "Voulez-vous vraiment supprimer ce souvenir partagé ? Tous ceux qui discutent avec cet agent cesseront de le voir. Cette action est irréversible.",
107890
+ title: "Supprimer la mémoire",
107891
+ description: "Êtes-vous sûr de vouloir supprimer cette mémoire ? Cette action ne peut pas être annulée.",
107892
107892
  "delete": "Supprimer",
107893
107893
  deleting: "Suppression...",
107894
107894
  cancel: "Annuler"
@@ -107961,7 +107961,6 @@ var memoryTabManageMemories$2 = {
107961
107961
  addMemory: "Ajouter un souvenir",
107962
107962
  add: "Ajouter",
107963
107963
  loadingMemories: "Chargement des souvenirs...",
107964
- unknown: "Inconnu",
107965
107964
  edit: "Modifier",
107966
107965
  "delete": "Supprimer",
107967
107966
  deleteAll: "Tout supprimer",
@@ -109855,6 +109854,9 @@ var tabsEmbedTab$2 = {
109855
109854
  moreInfoAllowMentorSelection: "Plus d'informations sur la sélection d'agent",
109856
109855
  allowMentorSelectionEnabled: "Sélection d'agent activée",
109857
109856
  allowMentorSelectionDisabled: "Sélection d'agent désactivée",
109857
+ moreInfoAllowFullscreen: "Plus d'informations sur le plein écran",
109858
+ allowFullscreenEnabled: "Plein écran activé",
109859
+ allowFullscreenDisabled: "Plein écran désactivé",
109858
109860
  moreInfoStarterPrompts: "Plus d'informations sur les suggestions de départ",
109859
109861
  moreInfoShareableLink: "Plus d'informations sur le lien partageable",
109860
109862
  shareableLinkEnabled: "Lien partageable activé",
@@ -115514,6 +115516,10 @@ var embedTabLabels$1 = {
115514
115516
  label: "Permitir selección de agente",
115515
115517
  tooltip: "Permite a los visitantes con sesión iniciada abrir Explorar desde la inserción y cambiar a otro agente."
115516
115518
  },
115519
+ allowFullscreen: {
115520
+ label: "Permitir pantalla completa",
115521
+ tooltip: "Muestra un botón en el chat para cambiar entre la ventana pequeña y la pantalla completa."
115522
+ },
115517
115523
  shareableLink: {
115518
115524
  label: "Enlace compartible",
115519
115525
  tooltip: "Genere un enlace que los usuarios puedan usar para chatear con este agente de forma anónima"
@@ -116154,13 +116160,10 @@ var memoryTabLabels$1 = {
116154
116160
  subTabs: {
116155
116161
  ariaLabel: "Secciones de memoria",
116156
116162
  personal: "Memorias personales",
116157
- shared: "Memoria compartida"
116163
+ shared: "Memorias compartidas"
116158
116164
  },
116159
116165
  sharedMemory: {
116160
- title: "Memoria compartida",
116161
- description: "Hechos, reglas y contexto que este agente debe tener siempre presentes. Todas las personas que chatean con este agente reciben estas memorias.",
116162
- gatingHint: "Las memorias compartidas llegan a los chats solo mientras la memoria a largo plazo esté activada para este agente y la persona que chatea tenga la memoria activada.",
116163
- addButton: "Agregar memoria compartida",
116166
+ addButton: "Agregar memoria",
116164
116167
  addButtonShort: "Agregar",
116165
116168
  listAriaLabel: "Memorias compartidas",
116166
116169
  actionsAria: "Acciones de memoria compartida",
@@ -116168,19 +116171,17 @@ var memoryTabLabels$1 = {
116168
116171
  "delete": "Eliminar",
116169
116172
  loading: "Cargando memorias compartidas...",
116170
116173
  loadError: "No se pudieron cargar las memorias compartidas de este agente. Inténtalo de nuevo.",
116171
- unknownAuthor: "Desconocido",
116172
- addedBy: "Agregado por {name}",
116173
116174
  empty: {
116174
116175
  title: "Aún no hay memorias compartidas",
116175
116176
  description: "Agrega todo lo que este agente debe tener siempre presente: cómo comportarse, hechos clave o reglas internas. Todas las personas que chatean con este agente reciben estas memorias."
116176
116177
  },
116177
116178
  denied: {
116178
- title: "Sin acceso a la memoria compartida",
116179
+ title: "Sin acceso a las memorias compartidas",
116179
116180
  description: "No tienes permiso para ver las memorias compartidas de este agente. Pide acceso a un administrador."
116180
116181
  },
116181
116182
  modal: {
116182
- addTitle: "Agregar memoria compartida",
116183
- editTitle: "Editar memoria compartida",
116183
+ addTitle: "Agregar memoria",
116184
+ editTitle: "Editar memoria",
116184
116185
  contentLabel: "Memoria",
116185
116186
  placeholder: "Escribe lo que este agente debe tener siempre presente...",
116186
116187
  charCountMinimum: "{count}/10 caracteres mínimo",
@@ -116190,8 +116191,8 @@ var memoryTabLabels$1 = {
116190
116191
  cancel: "Cancelar"
116191
116192
  },
116192
116193
  deleteModal: {
116193
- title: "Eliminar memoria compartida",
116194
- description: "¿Seguro que quieres eliminar esta memoria compartida? Todas las personas que chatean con este agente dejarán de verla. Esta acción no se puede deshacer.",
116194
+ title: "Eliminar memoria",
116195
+ description: "¿Está seguro de que desea eliminar esta memoria? Esta acción no se puede deshacer.",
116195
116196
  "delete": "Eliminar",
116196
116197
  deleting: "Eliminando...",
116197
116198
  cancel: "Cancelar"
@@ -116264,7 +116265,6 @@ var memoryTabManageMemories$1 = {
116264
116265
  addMemory: "Agregar memoria",
116265
116266
  add: "Agregar",
116266
116267
  loadingMemories: "Cargando memorias...",
116267
- unknown: "Desconocido",
116268
116268
  edit: "Editar",
116269
116269
  "delete": "Eliminar",
116270
116270
  deleteAll: "Eliminar todo",
@@ -118158,6 +118158,9 @@ var tabsEmbedTab$1 = {
118158
118158
  moreInfoAllowMentorSelection: "Más información sobre la selección de agente",
118159
118159
  allowMentorSelectionEnabled: "Selección de agente habilitada",
118160
118160
  allowMentorSelectionDisabled: "Selección de agente deshabilitada",
118161
+ moreInfoAllowFullscreen: "Más información sobre la pantalla completa",
118162
+ allowFullscreenEnabled: "Pantalla completa habilitada",
118163
+ allowFullscreenDisabled: "Pantalla completa deshabilitada",
118161
118164
  moreInfoStarterPrompts: "Más información sobre las sugerencias iniciales",
118162
118165
  moreInfoShareableLink: "Más información sobre el enlace compartible",
118163
118166
  shareableLinkEnabled: "Enlace compartible habilitado",
@@ -123817,6 +123820,10 @@ var embedTabLabels = {
123817
123820
  label: "允许选择智能体",
123818
123821
  tooltip: "允许已登录的访问者从嵌入中打开探索并切换到其他智能体。"
123819
123822
  },
123823
+ allowFullscreen: {
123824
+ label: "允许全屏",
123825
+ tooltip: "在聊天中显示一个按钮,可在小窗口和全屏之间切换。"
123826
+ },
123820
123827
  shareableLink: {
123821
123828
  label: "可分享链接",
123822
123829
  tooltip: "生成一个链接,用户可使用该链接匿名与此智能体聊天"
@@ -124460,10 +124467,7 @@ var memoryTabLabels = {
124460
124467
  shared: "共享记忆"
124461
124468
  },
124462
124469
  sharedMemory: {
124463
- title: "共享记忆",
124464
- description: "此智能体应始终牢记的事实、规则和背景信息。所有与此智能体聊天的人都会获得这些记忆。",
124465
- gatingHint: "只有在此智能体开启长期记忆、且聊天者也开启了记忆时,共享记忆才会用于聊天。",
124466
- addButton: "添加共享记忆",
124470
+ addButton: "添加记忆",
124467
124471
  addButtonShort: "添加",
124468
124472
  listAriaLabel: "共享记忆",
124469
124473
  actionsAria: "共享记忆操作",
@@ -124471,8 +124475,6 @@ var memoryTabLabels = {
124471
124475
  "delete": "删除",
124472
124476
  loading: "加载共享记忆中...",
124473
124477
  loadError: "无法加载此智能体的共享记忆。请重试。",
124474
- unknownAuthor: "未知",
124475
- addedBy: "由 {name} 添加",
124476
124478
  empty: {
124477
124479
  title: "暂无共享记忆",
124478
124480
  description: "添加此智能体应始终牢记的内容——行为方式、关键事实或内部规则。所有与此智能体聊天的人都会获得这些记忆。"
@@ -124482,8 +124484,8 @@ var memoryTabLabels = {
124482
124484
  description: "您没有权限查看此智能体的共享记忆。请向管理员申请访问权限。"
124483
124485
  },
124484
124486
  modal: {
124485
- addTitle: "添加共享记忆",
124486
- editTitle: "编辑共享记忆",
124487
+ addTitle: "添加记忆",
124488
+ editTitle: "编辑记忆",
124487
124489
  contentLabel: "记忆",
124488
124490
  placeholder: "写下此智能体应始终牢记的内容...",
124489
124491
  charCountMinimum: "{count}/10 个字符(最少)",
@@ -124493,8 +124495,8 @@ var memoryTabLabels = {
124493
124495
  cancel: "取消"
124494
124496
  },
124495
124497
  deleteModal: {
124496
- title: "删除共享记忆",
124497
- description: "确定要删除这条共享记忆吗?所有与此智能体聊天的人将不再看到它。此操作无法撤销。",
124498
+ title: "删除记忆",
124499
+ description: "您确定要删除此记忆吗?此操作无法撤销。",
124498
124500
  "delete": "删除",
124499
124501
  deleting: "删除中...",
124500
124502
  cancel: "取消"
@@ -124567,7 +124569,6 @@ var memoryTabManageMemories = {
124567
124569
  addMemory: "添加记忆",
124568
124570
  add: "添加",
124569
124571
  loadingMemories: "加载记忆中...",
124570
- unknown: "未知",
124571
124572
  edit: "编辑",
124572
124573
  "delete": "删除",
124573
124574
  deleteAll: "全部删除",
@@ -126461,6 +126462,9 @@ var tabsEmbedTab = {
126461
126462
  moreInfoAllowMentorSelection: "有关选择智能体的更多信息",
126462
126463
  allowMentorSelectionEnabled: "选择智能体已启用",
126463
126464
  allowMentorSelectionDisabled: "选择智能体已禁用",
126465
+ moreInfoAllowFullscreen: "有关全屏的更多信息",
126466
+ allowFullscreenEnabled: "全屏已启用",
126467
+ allowFullscreenDisabled: "全屏已禁用",
126464
126468
  moreInfoStarterPrompts: "更多关于起始提示的信息",
126465
126469
  moreInfoShareableLink: "更多关于可分享链接的信息",
126466
126470
  shareableLinkEnabled: "可分享链接已启用",
@@ -297703,6 +297707,7 @@ function ManageMemories({ tenantKey, username, mentorId }) {
297703
297707
  name: memory.category.name,
297704
297708
  slug: memory.category.slug,
297705
297709
  },
297710
+ username: memory.username,
297706
297711
  email: memory.email,
297707
297712
  createdAt: memory.created_at,
297708
297713
  }));
@@ -297907,8 +297912,8 @@ function ManageMemories({ tenantKey, username, mentorId }) {
297907
297912
  locale: dateFnsLocale,
297908
297913
  })
297909
297914
  : '';
297910
- const displayUser = memory.email || t('memoryTabManageMemories.unknown');
297911
- return (jsxs("div", { role: "listitem", className: "flex items-start gap-3 rounded-lg border border-gray-200 bg-white p-3", children: [jsxs("div", { className: "flex-1", children: [(timeAgo || displayUser) && (jsxs("div", { className: "mb-2 flex items-center justify-between", children: [timeAgo && jsx("span", { className: "text-sm text-gray-600", children: timeAgo }), displayUser && (jsx("span", { className: "max-w-[100px] truncate text-sm text-gray-900 sm:max-w-[200px]", children: displayUser }))] })), jsx("p", { className: "text-sm leading-relaxed text-gray-900", children: memory.content })] }), jsxs(DropdownMenu, { children: [jsx(DropdownMenuTrigger, { asChild: true, children: jsx(Button$2, { variant: "ghost", size: "sm", "aria-label": t('memoryTabManageMemories.memoryActionsAriaLabel'), className: "h-6 w-6 flex-shrink-0 p-0 text-gray-600 hover:text-gray-900", children: jsx(Ellipsis, { className: "h-4 w-4" }) }) }), jsxs(DropdownMenuContent, { align: "end", children: [jsx(DropdownMenuItem, { onClick: () => startEdit(memory), children: t('memoryTabManageMemories.edit') }), jsx(DropdownMenuItem, { onClick: () => setShowDeleteConfirm(memory.id), children: t('memoryTabManageMemories.delete') })] })] })] }, memory.id));
297915
+ const displayUser = memory.email || memory.username;
297916
+ return (jsxs("div", { role: "listitem", className: "flex items-start gap-3 rounded-lg border border-gray-200 bg-white p-3", children: [jsxs("div", { className: "flex-1", children: [(timeAgo || displayUser) && (jsxs("div", { className: "mb-2 flex items-center justify-between", children: [timeAgo && jsx("span", { className: "text-sm text-gray-600", children: timeAgo }), displayUser && (jsx(UserProfileLink, { tenantKey: tenantKey, username: memory.username, display: displayUser, className: "max-w-[100px] truncate text-sm text-gray-900 sm:max-w-[200px]" }))] })), jsx("p", { className: "text-sm leading-relaxed text-gray-900", children: memory.content })] }), jsxs(DropdownMenu, { children: [jsx(DropdownMenuTrigger, { asChild: true, children: jsx(Button$2, { variant: "ghost", size: "sm", "aria-label": t('memoryTabManageMemories.memoryActionsAriaLabel'), className: "h-6 w-6 flex-shrink-0 p-0 text-gray-600 hover:text-gray-900", children: jsx(Ellipsis, { className: "h-4 w-4" }) }) }), jsxs(DropdownMenuContent, { align: "end", children: [jsx(DropdownMenuItem, { onClick: () => startEdit(memory), children: t('memoryTabManageMemories.edit') }), jsx(DropdownMenuItem, { onClick: () => setShowDeleteConfirm(memory.id), children: t('memoryTabManageMemories.delete') })] })] })] }, memory.id));
297912
297917
  })) }), filteredMemories.length > 0 && selectedCategorySlug !== 'all' && (jsx("div", { className: "flex justify-end", children: jsx(Button$2, { variant: "outline", onClick: () => setShowBulkDeleteConfirm(true), children: t('memoryTabManageMemories.deleteAll') }) })), filteredMemories.length === 0 && !isLoadingMemories && (jsx("div", { className: "py-8 text-center text-gray-600", children: jsx("p", { children: t('memoryTabManageMemories.noSavedMemories') }) })), totalPages > 1 && (jsx("div", { className: "flex justify-center pt-2", children: jsx(IblPagination, { currentPage: page, totalPages: totalPages, onPageChange: setPage, disabled: isLoadingMemories }) }))] }), jsx(EditMemoryModal$1, { open: !!editingMemory, onOpenChange: (open) => !open && cancelEdit(), editContent: editContent, editCategory: editCategory, onContentChange: setEditContent, onCategoryChange: setEditCategory, onSave: saveEdit, onCancel: cancelEdit, categories: categoryNames, isSaving: isEditing }), jsx(AddMemoryModal$1, { open: showAddMemory, onOpenChange: (open) => !open && cancelAddMemory(), newMemoryContent: newMemoryContent, newMemoryCategory: newMemoryCategory, onContentChange: setNewMemoryContent, onCategoryChange: setNewMemoryCategory, onSave: saveNewMemory, onCancel: cancelAddMemory, categories: categoryNames, isSaving: isSaving }), jsx(DeleteMemoryModal, { open: !!showDeleteConfirm, onOpenChange: (open) => !open && setShowDeleteConfirm(null), onConfirm: () => showDeleteConfirm !== null && handleDeleteMemory(showDeleteConfirm), onCancel: () => setShowDeleteConfirm(null), isDeleting: isDeleting }), jsx(ManageCategoriesModal$1, { open: showManageCategories, onOpenChange: setShowManageCategories, tenantKey: tenantKey, mentorId: mentorId }), jsx(BulkDeleteMemoryModal$1, { open: showBulkDeleteConfirm, onOpenChange: setShowBulkDeleteConfirm, onConfirm: handleBulkDelete, onCancel: () => setShowBulkDeleteConfirm(false), isDeleting: isBulkDeleting, selectedCategory: selectedCategoryName })] }));
297913
297918
  }
297914
297919
 
@@ -317902,10 +317907,13 @@ function SharedMemorySection({ tenantKey, mentorId, labels, canWrite, }) {
317902
317907
  }
317903
317908
  }
317904
317909
  };
317905
- return (jsxs("div", { className: "space-y-4", "data-testid": "shared-memory-section", children: [jsxs("div", { className: "flex items-start justify-between gap-4", children: [jsxs("div", { className: "min-w-0", children: [jsx("h4", { className: "text-sm font-medium text-gray-900", children: labels.title }), jsx("p", { className: "text-xs text-gray-600", children: labels.description })] }), canEdit && (jsxs(Button$2, { onClick: () => openEditor({ mode: 'add' }), size: "sm", className: "ibl-button-primary flex-shrink-0", "data-testid": "shared-memory-add-button", children: [jsx(Plus, { className: "mr-1 h-4 w-4 sm:mr-2" }), jsx("span", { className: "hidden sm:inline", children: labels.addButton }), jsx("span", { className: "sm:hidden", children: labels.addButtonShort })] }))] }), jsx("div", { className: "rounded-md border border-gray-200 bg-gray-50 p-3 text-xs text-gray-600", "data-testid": "shared-memory-info-box", children: labels.gatingHint }), showLoading ? (jsx("div", { className: "py-8 text-center text-gray-600", children: jsx("p", { children: labels.loading }) })) : isListForbidden ? (jsxs("div", { className: "flex flex-col items-center gap-2 rounded-lg border border-gray-200 bg-gray-50 px-4 py-10 text-center", "data-testid": "shared-memory-denied", children: [jsx(ShieldAlert, { className: "h-6 w-6 text-gray-400" }), jsx("p", { className: "text-sm font-medium text-gray-900", children: labels.denied.title }), jsx("p", { className: "max-w-sm text-xs text-gray-600", children: labels.denied.description })] })) : error ? (jsx("div", { className: "py-8 text-center text-gray-600", "data-testid": "shared-memory-error", children: jsx("p", { children: labels.loadError }) })) : entries.length === 0 ? (jsxs("div", { className: "rounded-lg border border-dashed border-gray-300 px-4 py-8 text-center", "data-testid": "shared-memory-empty", children: [jsx("h5", { className: "text-sm font-medium text-gray-900", children: labels.empty.title }), jsx("p", { className: "mx-auto mt-1 max-w-md text-xs text-gray-600", children: labels.empty.description })] })) : (jsx("div", { role: "list", "aria-label": labels.listAriaLabel, className: "space-y-3", children: entries.map((entry) => {
317906
- const author = entry.created_by_full_name || entry.created_by || labels.unknownAuthor;
317910
+ return (jsxs("div", { className: "space-y-4", "data-testid": "shared-memory-section", children: [canEdit && (jsx("div", { className: "flex justify-end", children: jsxs(Button$2, { onClick: () => openEditor({ mode: 'add' }), size: "sm", className: "ibl-button-primary shrink-0", "data-testid": "shared-memory-add-button", children: [jsx(Plus, { className: "mr-1 h-4 w-4 sm:mr-2" }), jsx("span", { className: "hidden sm:inline", children: labels.addButton }), jsx("span", { className: "sm:hidden", children: labels.addButtonShort })] }) })), showLoading ? (jsx("div", { className: "py-8 text-center text-gray-600", children: jsx("p", { children: labels.loading }) })) : isListForbidden ? (jsxs("div", { className: "flex flex-col items-center gap-2 rounded-lg border border-gray-200 bg-gray-50 px-4 py-10 text-center", "data-testid": "shared-memory-denied", children: [jsx(ShieldAlert, { className: "h-6 w-6 text-gray-400" }), jsx("p", { className: "text-sm font-medium text-gray-900", children: labels.denied.title }), jsx("p", { className: "max-w-sm text-xs text-gray-600", children: labels.denied.description })] })) : error ? (jsx("div", { className: "py-8 text-center text-gray-600", "data-testid": "shared-memory-error", children: jsx("p", { children: labels.loadError }) })) : entries.length === 0 ? (jsxs("div", { className: "rounded-lg border border-dashed border-gray-300 px-4 py-8 text-center", "data-testid": "shared-memory-empty", children: [jsx("h5", { className: "text-sm font-medium text-gray-900", children: labels.empty.title }), jsx("p", { className: "mx-auto mt-1 max-w-md text-xs text-gray-600", children: labels.empty.description })] })) : (jsx("div", { role: "list", "aria-label": labels.listAriaLabel, className: "space-y-3", children: entries.map((entry) => {
317911
+ // Only a row with a known creator gets an identity; service / API-token rows have none.
317912
+ const author = entry.created_by
317913
+ ? entry.created_by_email || entry.created_by_full_name || entry.created_by
317914
+ : null;
317907
317915
  const added = timeAgo(entry.created_at, dateFnsLocale);
317908
- return (jsxs("div", { role: "listitem", className: "flex items-start gap-3 rounded-lg border border-gray-200 bg-white p-3", "data-testid": "shared-memory-entry", children: [jsxs("div", { className: "min-w-0 flex-1", children: [jsx("p", { className: "text-sm leading-relaxed whitespace-pre-wrap break-words text-gray-900", "data-testid": "shared-memory-entry-content", children: entry.content }), jsx("span", { className: "mt-2 block text-xs text-gray-500", children: added ? `${labels.addedBy(author)} · ${added}` : labels.addedBy(author) })] }), canEdit && (jsxs(DropdownMenu, { children: [jsx(DropdownMenuTrigger, { asChild: true, children: jsx(Button$2, { variant: "ghost", size: "sm", className: "h-6 w-6 flex-shrink-0 p-0 text-gray-600 hover:text-gray-900", "aria-label": labels.actionsAria, children: jsx(Ellipsis, { className: "h-4 w-4" }) }) }), jsxs(DropdownMenuContent, { align: "end", children: [jsx(DropdownMenuItem, { onClick: () => openEditor({ mode: 'edit', entry }), children: labels.edit }), jsx(DropdownMenuItem, { className: "text-red-600 focus:text-red-700", onClick: () => setEntryToDelete(entry), children: labels.delete })] })] }))] }, entry.id));
317916
+ return (jsxs("div", { role: "listitem", className: "flex items-start gap-3 rounded-lg border border-gray-200 bg-white p-3", "data-testid": "shared-memory-entry", children: [jsxs("div", { className: "min-w-0 flex-1", children: [(added || author) && (jsxs("div", { className: "mb-2 flex items-center justify-between", children: [added && jsx("span", { className: "text-sm text-gray-600", children: added }), author && (jsx(UserProfileLink, { tenantKey: tenantKey, username: entry.created_by, display: author, className: "max-w-[100px] truncate text-sm text-gray-900 sm:max-w-[200px]" }))] })), jsx("p", { className: "text-sm leading-relaxed whitespace-pre-wrap break-words text-gray-900", "data-testid": "shared-memory-entry-content", children: entry.content })] }), canEdit && (jsxs(DropdownMenu, { children: [jsx(DropdownMenuTrigger, { asChild: true, children: jsx(Button$2, { variant: "ghost", size: "sm", className: "h-6 w-6 flex-shrink-0 p-0 text-gray-600 hover:text-gray-900", "aria-label": labels.actionsAria, children: jsx(Ellipsis, { className: "h-4 w-4" }) }) }), jsxs(DropdownMenuContent, { align: "end", children: [jsx(DropdownMenuItem, { onClick: () => openEditor({ mode: 'edit', entry }), children: labels.edit }), jsx(DropdownMenuItem, { onClick: () => setEntryToDelete(entry), children: labels.delete })] })] }))] }, entry.id));
317909
317917
  }) })), count > PAGE_SIZE$4 && (jsx("div", { className: "flex justify-center pt-2", "data-testid": "shared-memory-pagination", children: jsx(IblPagination, { currentPage: page, totalPages: totalPages, onPageChange: setPage, disabled: isFetching }) })), jsx(SharedMemoryModal, { open: editor !== null, mode: (_c = editor === null || editor === void 0 ? void 0 : editor.mode) !== null && _c !== void 0 ? _c : 'add', initialContent: (editor === null || editor === void 0 ? void 0 : editor.mode) === 'edit' ? editor.entry.content : '', isSaving: isCreating || isUpdating, fieldError: fieldError, labels: labels.modal, onOpenChange: (open) => {
317910
317918
  if (!open)
317911
317919
  closeEditor();
@@ -317928,13 +317936,10 @@ const AGENT_MEMORY_TAB_LABELS = {
317928
317936
  subTabs: {
317929
317937
  ariaLabel: 'Memory sections',
317930
317938
  personal: 'Personal Memories',
317931
- shared: 'Shared Memory',
317939
+ shared: 'Shared Memories',
317932
317940
  },
317933
317941
  sharedMemory: {
317934
- title: 'Shared Memory',
317935
- description: 'Facts, rules, and background this agent should always keep in mind. Every person who chats with this agent gets these memories.',
317936
- gatingHint: 'Shared memories reach chats only while Long-term Memory is on for this agent and the person chatting has memory turned on.',
317937
- addButton: 'Add Shared Memory',
317942
+ addButton: 'Add Memory',
317938
317943
  addButtonShort: 'Add',
317939
317944
  listAriaLabel: 'Shared memories',
317940
317945
  actionsAria: 'Shared memory actions',
@@ -317942,19 +317947,17 @@ const AGENT_MEMORY_TAB_LABELS = {
317942
317947
  delete: 'Delete',
317943
317948
  loading: 'Loading shared memories...',
317944
317949
  loadError: "Couldn't load this agent's shared memories. Please try again.",
317945
- unknownAuthor: 'Unknown',
317946
- addedBy: (name) => `Added by ${name}`,
317947
317950
  empty: {
317948
317951
  title: 'No Shared Memories Yet',
317949
317952
  description: 'Add anything this agent should always keep in mind — how to behave, key facts, or house rules. Every person who chats with this agent gets these memories.',
317950
317953
  },
317951
317954
  denied: {
317952
- title: 'No Access to Shared Memory',
317955
+ title: 'No Access to Shared Memories',
317953
317956
  description: "You don't have permission to view this agent's shared memories. Ask an administrator for access.",
317954
317957
  },
317955
317958
  modal: {
317956
- addTitle: 'Add Shared Memory',
317957
- editTitle: 'Edit Shared Memory',
317959
+ addTitle: 'Add Memory',
317960
+ editTitle: 'Edit Memory',
317958
317961
  contentLabel: 'Memory',
317959
317962
  placeholder: 'Write what this agent should always keep in mind...',
317960
317963
  charCountMinimum: (count) => `${count}/10 characters minimum`,
@@ -317964,8 +317967,8 @@ const AGENT_MEMORY_TAB_LABELS = {
317964
317967
  cancel: 'Cancel',
317965
317968
  },
317966
317969
  deleteModal: {
317967
- title: 'Delete Shared Memory',
317968
- description: 'Are you sure you want to delete this shared memory? Everyone who chats with this agent will stop seeing it. This action cannot be undone.',
317970
+ title: 'Delete Memory',
317971
+ description: 'Are you sure you want to delete this memory? This action cannot be undone.',
317969
317972
  delete: 'Delete',
317970
317973
  deleting: 'Deleting...',
317971
317974
  cancel: 'Cancel',
@@ -318006,9 +318009,6 @@ function buildMemoryTabLabels(t) {
318006
318009
  shared: t('memoryTabLabels.subTabs.shared'),
318007
318010
  },
318008
318011
  sharedMemory: {
318009
- title: t('memoryTabLabels.sharedMemory.title'),
318010
- description: t('memoryTabLabels.sharedMemory.description'),
318011
- gatingHint: t('memoryTabLabels.sharedMemory.gatingHint'),
318012
318012
  addButton: t('memoryTabLabels.sharedMemory.addButton'),
318013
318013
  addButtonShort: t('memoryTabLabels.sharedMemory.addButtonShort'),
318014
318014
  listAriaLabel: t('memoryTabLabels.sharedMemory.listAriaLabel'),
@@ -318017,8 +318017,6 @@ function buildMemoryTabLabels(t) {
318017
318017
  delete: t('memoryTabLabels.sharedMemory.delete'),
318018
318018
  loading: t('memoryTabLabels.sharedMemory.loading'),
318019
318019
  loadError: t('memoryTabLabels.sharedMemory.loadError'),
318020
- unknownAuthor: t('memoryTabLabels.sharedMemory.unknownAuthor'),
318021
- addedBy: (name) => t('memoryTabLabels.sharedMemory.addedBy', { name }),
318022
318020
  empty: {
318023
318021
  title: t('memoryTabLabels.sharedMemory.empty.title'),
318024
318022
  description: t('memoryTabLabels.sharedMemory.empty.description'),
@@ -318130,7 +318128,7 @@ const MEMORY_SUB_TABS = {
318130
318128
  * Standalone top-level tab for the agent's memory: the in-tab toggle flips
318131
318129
  * `enable_memory_component` on the agent, and the gated content splits into
318132
318130
  * two sub-tabs — Personal Memories (what the agent remembered per person) and
318133
- * Shared Memory (memories every chat gets). Both sit under the same gate
318131
+ * Shared Memories (memories every chat gets). Both sit under the same gate
318134
318132
  * because the backend injects neither into chats while that flag is off.
318135
318133
  */
318136
318134
  function AgentMemoryTab({ labels: labelsOverride, tenantKey: tenantKeyProp, mentorId: mentorIdProp, username: usernameProp, enableRBAC: enableRBACProp, rbacPermissions: rbacPermissionsProp, }) {
@@ -325600,6 +325598,9 @@ const getUrl = (settings, tenant, mentorIframeUrl, extraBodyClasses = '') => {
325600
325598
  if (settings.allow_mentor_selection) {
325601
325599
  url += `&allow-mentor-selection=true`;
325602
325600
  }
325601
+ if (settings.allow_fullscreen) {
325602
+ url += `&allow-fullscreen=true`;
325603
+ }
325603
325604
  return url;
325604
325605
  };
325605
325606
  const getEmbedCode = async (tenant, settings, redirectToken, urls, useCustomFloatingBubble, customFloatingBubbleConfig) => {
@@ -325755,6 +325756,36 @@ const getEmbedCode = async (tenant, settings, redirectToken, urls, useCustomFloa
325755
325756
  return { iframeContainer, iframe };
325756
325757
  }
325757
325758
 
325759
+ ${settings.allow_fullscreen
325760
+ ? `
325761
+ let savedNormalStyles = null;
325762
+
325763
+ function setWidgetFullscreen(fullscreen) {
325764
+ const widget = document.getElementById('ibl-chat-widget-container');
325765
+ const bubble = document.querySelector('.ibl-chat-bubble');
325766
+ const iframe = widget?.querySelector('iframe');
325767
+ if (!widget) return;
325768
+ if (fullscreen) {
325769
+ if (savedNormalStyles === null) {
325770
+ savedNormalStyles = {
325771
+ widget: widget.style.cssText,
325772
+ iframeRadius: iframe ? iframe.style.borderRadius : '',
325773
+ bubbleDisplay: bubble ? bubble.style.display : '',
325774
+ };
325775
+ }
325776
+ widget.style.cssText = 'position: fixed !important; inset: 0 !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100vw !important; max-width: 100vw !important; height: 100vh !important; border: none !important; z-index: 2147483647;';
325777
+ if (iframe) iframe.style.borderRadius = '0';
325778
+ if (bubble) bubble.style.display = 'none';
325779
+ } else if (savedNormalStyles !== null) {
325780
+ widget.style.cssText = savedNormalStyles.widget;
325781
+ if (iframe) iframe.style.borderRadius = savedNormalStyles.iframeRadius;
325782
+ if (bubble) bubble.style.display = savedNormalStyles.bubbleDisplay;
325783
+ savedNormalStyles = null;
325784
+ }
325785
+ }
325786
+ `
325787
+ : ''}
325788
+
325758
325789
  function toggleWidget() {
325759
325790
  let widget = document.getElementById('ibl-chat-widget-container');
325760
325791
  const bubble = document.querySelector('.ibl-chat-bubble');
@@ -325783,6 +325814,7 @@ const getEmbedCode = async (tenant, settings, redirectToken, urls, useCustomFloa
325783
325814
  setupFocusTrap(iframe);
325784
325815
  }, 100);
325785
325816
  } else {
325817
+ ${settings.allow_fullscreen ? 'setWidgetFullscreen(false);' : ''}
325786
325818
  widget.style.display = 'none';
325787
325819
  bubble.setAttribute('aria-expanded', 'false');
325788
325820
  bubble.focus();
@@ -325979,6 +326011,11 @@ const getEmbedCode = async (tenant, settings, redirectToken, urls, useCustomFloa
325979
326011
  if (message?.closeEmbed) {
325980
326012
  toggleWidget();
325981
326013
  }
326014
+ ${settings.allow_fullscreen
326015
+ ? `if (typeof message?.embedFullscreen === 'boolean') {
326016
+ setWidgetFullscreen(message.embedFullscreen);
326017
+ }`
326018
+ : ''}
325982
326019
  });
325983
326020
  };
325984
326021
  </script>
@@ -326013,6 +326050,7 @@ const useEmbedTab = (urls) => {
326013
326050
  var _a, _b, _c, _d, _e, _f;
326014
326051
  const [embedCode, setEmbedCode] = useState('');
326015
326052
  const [allowMentorSelection, setAllowMentorSelection] = useState(false);
326053
+ const [allowFullscreen, setAllowFullscreen] = useState(false);
326016
326054
  const { tenantKey, mentorId, username } = useAgentSettings();
326017
326055
  const { data: mentorPublicSettings } = useGetMentorPublicSettingsQuery({
326018
326056
  mentor: mentorId,
@@ -326148,7 +326186,11 @@ const useEmbedTab = (urls) => {
326148
326186
  }
326149
326187
  const embed = await getEmbedCode(tenantKey,
326150
326188
  // @ts-expect-error - value is not typed correctly
326151
- { ...value, allow_mentor_selection: allowMentorSelection }, (_a = syncResult.redirectToken) !== null && _a !== void 0 ? _a : '', urls, value.icon_selection === 'custom', customFloatingBubbleConfig);
326189
+ {
326190
+ ...value,
326191
+ allow_mentor_selection: allowMentorSelection,
326192
+ allow_fullscreen: allowFullscreen,
326193
+ }, (_a = syncResult.redirectToken) !== null && _a !== void 0 ? _a : '', urls, value.icon_selection === 'custom', customFloatingBubbleConfig);
326152
326194
  setEmbedCode(embed);
326153
326195
  },
326154
326196
  });
@@ -326181,6 +326223,8 @@ const useEmbedTab = (urls) => {
326181
326223
  return {
326182
326224
  allowMentorSelection,
326183
326225
  setAllowMentorSelection,
326226
+ allowFullscreen,
326227
+ setAllowFullscreen,
326184
326228
  createTokenHandler,
326185
326229
  form,
326186
326230
  createTokenError,
@@ -326264,6 +326308,10 @@ const AGENT_EMBED_TAB_LABELS = {
326264
326308
  label: 'Allow Agent Selection',
326265
326309
  tooltip: 'Let signed-in visitors open Explore from the embed and switch to another agent.',
326266
326310
  },
326311
+ allowFullscreen: {
326312
+ label: 'Allow Full Screen',
326313
+ tooltip: 'Show a button in the chat that switches between the small window and full screen.',
326314
+ },
326267
326315
  shareableLink: {
326268
326316
  label: 'Shareable Link',
326269
326317
  tooltip: 'Generate a link users can use to chat with this agent anonymously',
@@ -326351,6 +326399,10 @@ function buildEmbedTabLabels(t) {
326351
326399
  label: t('embedTabLabels.fields.allowMentorSelection.label'),
326352
326400
  tooltip: t('embedTabLabels.fields.allowMentorSelection.tooltip'),
326353
326401
  },
326402
+ allowFullscreen: {
326403
+ label: t('embedTabLabels.fields.allowFullscreen.label'),
326404
+ tooltip: t('embedTabLabels.fields.allowFullscreen.tooltip'),
326405
+ },
326354
326406
  shareableLink: {
326355
326407
  label: t('embedTabLabels.fields.shareableLink.label'),
326356
326408
  tooltip: t('embedTabLabels.fields.shareableLink.tooltip'),
@@ -326487,7 +326539,7 @@ function AgentEmbedTab({ labels: labelsProp, urls, CopyCodeBlock, visibilityOpti
326487
326539
  useEffect(() => {
326488
326540
  setShareableToken(shareableTokenData);
326489
326541
  }, [shareableTokenData]);
326490
- const { allowMentorSelection, setAllowMentorSelection, form, createTokenHandler, createTokenError, setCreateTokenError, isCreateTokenLoading, redirectTokenData, embedCode, setEmbedCode, customFloatingBubbleConfig, handleFloatingBubbleImageError, focusEditCustomFloatingBubble, setFocusEditCustomFloatingBubble, updateConfig, updateMultipleConfig, syncEmbedSettings, } = useEmbedTab(urls);
326542
+ const { allowMentorSelection, setAllowMentorSelection, allowFullscreen, setAllowFullscreen, form, createTokenHandler, createTokenError, setCreateTokenError, isCreateTokenLoading, redirectTokenData, embedCode, setEmbedCode, customFloatingBubbleConfig, handleFloatingBubbleImageError, focusEditCustomFloatingBubble, setFocusEditCustomFloatingBubble, updateConfig, updateMultipleConfig, syncEmbedSettings, } = useEmbedTab(urls);
326491
326543
  const { data: mentorSettings, isLoading: isLoadingSettings } = useGetMentorSettingsQuery(
326492
326544
  // @ts-expect-error userId is not part of useGetMentorSettingsQuery Query definition
326493
326545
  { mentor: mentorId, org: tenantKey, userId: username !== null && username !== void 0 ? username : '' }, { skip: !username || !mentorId || !tenantKey });
@@ -326756,7 +326808,9 @@ function AgentEmbedTab({ labels: labelsProp, urls, CopyCodeBlock, visibilityOpti
326756
326808
  ? t('tabsEmbedTab.showVoiceRecordEnabled')
326757
326809
  : t('tabsEmbedTab.showVoiceRecordDisabled') })] })) }), jsxs("div", { className: "flex items-center justify-between", children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { className: "text-sm font-medium text-[#646464]", children: labels.fields.allowMentorSelection.label }), jsx(TooltipProvider, { children: jsxs(Tooltip$1, { children: [jsx(TooltipTrigger, { "aria-label": t('tabsEmbedTab.moreInfoAllowMentorSelection'), children: jsx(Info$3, { className: "h-4 w-4 text-gray-400" }) }), jsx(TooltipContent, { className: "ibl-tooltip-content", children: jsx("p", { children: labels.fields.allowMentorSelection.tooltip }) })] }) })] }), jsx(CustomSwitch, { "data-testid": "embed-allow-mentor-selection-switch", checked: allowMentorSelection, onCheckedChange: setAllowMentorSelection, disabled: form.state.isSubmitting, "aria-label": allowMentorSelection
326758
326810
  ? t('tabsEmbedTab.allowMentorSelectionEnabled')
326759
- : t('tabsEmbedTab.allowMentorSelectionDisabled') })] }), jsx("hr", { className: "my-4 border-t border-gray-200" }), jsx(form.Field, { name: "generateShareableLink", children: (field) => (jsxs("div", { className: "flex items-center justify-between", children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { className: "text-sm font-medium text-[#646464]", children: labels.fields.shareableLink.label }), jsx(TooltipProvider, { children: jsxs(Tooltip$1, { children: [jsx(TooltipTrigger, { "aria-label": t('tabsEmbedTab.moreInfoShareableLink'), children: jsx(Info$3, { className: "h-4 w-4 text-gray-400" }) }), jsx(TooltipContent, { className: "ibl-tooltip-content", children: jsx("p", { children: labels.fields.shareableLink.tooltip }) })] }) })] }), isLoadingShareableLink ? (jsx(Spinner$1, {})) : (jsxs("div", { className: "flex", children: [jsx(RefreshCw, { onClick: handleRegenerateToken, className: "mr-2 cursor-pointer text-[#646464]" }), jsx(CustomSwitch, { checked: shareableToken && shareableToken.enabled, onCheckedChange: (checked) => handleShareableTokenToggle(checked), "aria-label": field.state.value
326811
+ : t('tabsEmbedTab.allowMentorSelectionDisabled') })] }), jsxs("div", { className: "flex items-center justify-between", children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { className: "text-sm font-medium text-[#646464]", children: labels.fields.allowFullscreen.label }), jsx(TooltipProvider, { children: jsxs(Tooltip$1, { children: [jsx(TooltipTrigger, { "aria-label": t('tabsEmbedTab.moreInfoAllowFullscreen'), children: jsx(Info$3, { className: "h-4 w-4 text-gray-400" }) }), jsx(TooltipContent, { className: "ibl-tooltip-content", children: jsx("p", { children: labels.fields.allowFullscreen.tooltip }) })] }) })] }), jsx(CustomSwitch, { "data-testid": "embed-allow-fullscreen-switch", checked: allowFullscreen, onCheckedChange: setAllowFullscreen, disabled: form.state.isSubmitting, "aria-label": allowFullscreen
326812
+ ? t('tabsEmbedTab.allowFullscreenEnabled')
326813
+ : t('tabsEmbedTab.allowFullscreenDisabled') })] }), jsx("hr", { className: "my-4 border-t border-gray-200" }), jsx(form.Field, { name: "generateShareableLink", children: (field) => (jsxs("div", { className: "flex items-center justify-between", children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { className: "text-sm font-medium text-[#646464]", children: labels.fields.shareableLink.label }), jsx(TooltipProvider, { children: jsxs(Tooltip$1, { children: [jsx(TooltipTrigger, { "aria-label": t('tabsEmbedTab.moreInfoShareableLink'), children: jsx(Info$3, { className: "h-4 w-4 text-gray-400" }) }), jsx(TooltipContent, { className: "ibl-tooltip-content", children: jsx("p", { children: labels.fields.shareableLink.tooltip }) })] }) })] }), isLoadingShareableLink ? (jsx(Spinner$1, {})) : (jsxs("div", { className: "flex", children: [jsx(RefreshCw, { onClick: handleRegenerateToken, className: "mr-2 cursor-pointer text-[#646464]" }), jsx(CustomSwitch, { checked: shareableToken && shareableToken.enabled, onCheckedChange: (checked) => handleShareableTokenToggle(checked), "aria-label": field.state.value
326760
326814
  ? t('tabsEmbedTab.shareableLinkEnabled')
326761
326815
  : t('tabsEmbedTab.shareableLinkDisabled') })] }))] })) }), jsx("div", { children: shareableToken && (jsx("div", { className: "mb-4 w-full lg:w-[500px]", children: jsx(CopyCodeBlock, { code: `${window.location.origin}?mentor=${mentorId}&tenant=${tenantKey}&token=${shareableToken.token}` }) })) })] }), jsx("div", { className: "h-[75vh] overflow-hidden rounded-lg border bg-gray-50", children: jsx(form.Subscribe, { selector: (formState) => [formState.values.mode], children: ([mode]) => (jsx("iframe", { id: "embed-mentor-preview", title: "embed-mentor-preview", src: `${window.location.origin}${urls.getMentorPageUrl ? urls.getMentorPageUrl(tenantKey, mentorId) : `/platform/${tenantKey}/${mentorId}`}`, style: {
326762
326816
  height: '100%',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-js",
3
- "version": "2.36.2",
3
+ "version": "2.37.0",
4
4
  "description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
5
5
  "type": "module",
6
6
  "engines": {
@@ -76,9 +76,9 @@
76
76
  "axios": "1.13.6",
77
77
  "dotenv": "16.6.1",
78
78
  "winston": "3.19.0",
79
+ "@iblai/mcp": "1.29.1",
80
+ "@iblai/web-containers": "1.42.0",
79
81
  "@iblai/data-layer": "1.30.1",
80
- "@iblai/mcp": "1.29.0",
81
- "@iblai/web-containers": "1.41.1",
82
82
  "@iblai/web-utils": "2.8.0"
83
83
  },
84
84
  "peerDependencies": {