@iblai/iblai-js 2.15.0 → 2.17.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.
@@ -5671,6 +5671,10 @@ var settingsTabLabels$3 = {
5671
5671
  label: "Featured",
5672
5672
  tooltip: "Feature this agent to highlight it in listings."
5673
5673
  },
5674
+ showExploreMentors: {
5675
+ label: "Show additional agents",
5676
+ tooltip: "Shows the additional agents section on this agent's welcome screen."
5677
+ },
5674
5678
  showAttachment: {
5675
5679
  label: "Show Attachment",
5676
5680
  tooltip: "Lets people attach files to a conversation. Each surface has its own switch: In-app chat covers conversations hosted in the app, Embed widget covers the widget on your own site."
@@ -6489,6 +6493,7 @@ var tabsSettingsTab$3 = {
6489
6493
  whoCanViewTooltipAriaLabel: "More info about chat access",
6490
6494
  whoCanChatTooltipAriaLabel: "More info about chat access",
6491
6495
  featuredTooltipAriaLabel: "More info about featured",
6496
+ showExploreMentorsTooltipAriaLabel: "More info about show additional agents",
6492
6497
  showAttachmentTooltipAriaLabel: "More info about show attachment",
6493
6498
  showVoiceRecordTooltipAriaLabel: "More info about show voice record",
6494
6499
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -12990,6 +12995,10 @@ var settingsTabLabels$2 = {
12990
12995
  label: "En vedette",
12991
12996
  tooltip: "Mettez cet agent en avant pour le mettre en valeur dans les listes."
12992
12997
  },
12998
+ showExploreMentors: {
12999
+ label: "Afficher les agents supplémentaires",
13000
+ tooltip: "Affiche la section des agents supplémentaires sur l'écran d'accueil de cet agent."
13001
+ },
12993
13002
  showAttachment: {
12994
13003
  label: "Afficher les pièces jointes",
12995
13004
  tooltip: "Permet aux personnes de joindre des fichiers à une conversation. Chaque surface a son propre interrupteur : In-app chat couvre les conversations hébergées dans l'application et Embed widget couvre le widget sur votre propre site."
@@ -13808,6 +13817,7 @@ var tabsSettingsTab$2 = {
13808
13817
  whoCanViewTooltipAriaLabel: "Plus d'informations sur l'accès à la consultation",
13809
13818
  whoCanChatTooltipAriaLabel: "Plus d'informations sur l'accès au chat",
13810
13819
  featuredTooltipAriaLabel: "Plus d'informations sur la mise en avant",
13820
+ showExploreMentorsTooltipAriaLabel: "Plus d'informations sur l'affichage des agents supplémentaires",
13811
13821
  showAttachmentTooltipAriaLabel: "Plus d'informations sur l'affichage des pièces jointes",
13812
13822
  showVoiceRecordTooltipAriaLabel: "Plus d'informations sur l'affichage de l'enregistrement vocal",
13813
13823
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -20143,6 +20153,10 @@ var settingsTabLabels$1 = {
20143
20153
  label: "Destacado",
20144
20154
  tooltip: "Destaque este agente para resaltarlo en los listados."
20145
20155
  },
20156
+ showExploreMentors: {
20157
+ label: "Mostrar agentes adicionales",
20158
+ tooltip: "Muestra la sección de agentes adicionales en la pantalla de bienvenida de este agente."
20159
+ },
20146
20160
  showAttachment: {
20147
20161
  label: "Mostrar archivos adjuntos",
20148
20162
  tooltip: "Permite que las personas adjunten archivos a una conversación. Cada superficie tiene su propio interruptor: In-app chat cubre las conversaciones alojadas en la aplicación y Embed widget cubre el widget en tu propio sitio."
@@ -20961,6 +20975,7 @@ var tabsSettingsTab$1 = {
20961
20975
  whoCanViewTooltipAriaLabel: "Más información sobre el acceso de visualización",
20962
20976
  whoCanChatTooltipAriaLabel: "Más información sobre el acceso al chat",
20963
20977
  featuredTooltipAriaLabel: "Más información sobre destacado",
20978
+ showExploreMentorsTooltipAriaLabel: "Más información sobre mostrar agentes adicionales",
20964
20979
  showAttachmentTooltipAriaLabel: "Más información sobre mostrar adjuntos",
20965
20980
  showVoiceRecordTooltipAriaLabel: "Más información sobre mostrar grabación de voz",
20966
20981
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -27296,6 +27311,10 @@ var settingsTabLabels = {
27296
27311
  label: "推荐",
27297
27312
  tooltip: "将此智能体设为推荐,使其在列表中突出显示。"
27298
27313
  },
27314
+ showExploreMentors: {
27315
+ label: "显示其他智能体",
27316
+ tooltip: "在此智能体的欢迎界面上显示“其他智能体”部分。"
27317
+ },
27299
27318
  showAttachment: {
27300
27319
  label: "显示附件",
27301
27320
  tooltip: "允许用户在对话中添加附件。每个界面都有独立的开关:In-app chat 用于应用内托管的对话,Embed widget 用于您自己网站上的小组件。"
@@ -28114,6 +28133,7 @@ var tabsSettingsTab = {
28114
28133
  whoCanViewTooltipAriaLabel: "关于查看访问权限的更多信息",
28115
28134
  whoCanChatTooltipAriaLabel: "关于聊天访问权限的更多信息",
28116
28135
  featuredTooltipAriaLabel: "关于精选的更多信息",
28136
+ showExploreMentorsTooltipAriaLabel: "关于显示其他智能体的更多信息",
28117
28137
  showAttachmentTooltipAriaLabel: "关于显示附件的更多信息",
28118
28138
  showVoiceRecordTooltipAriaLabel: "关于显示语音录制的更多信息",
28119
28139
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -100454,6 +100454,10 @@ var settingsTabLabels$3 = {
100454
100454
  label: "Featured",
100455
100455
  tooltip: "Feature this agent to highlight it in listings."
100456
100456
  },
100457
+ showExploreMentors: {
100458
+ label: "Show additional agents",
100459
+ tooltip: "Shows the additional agents section on this agent's welcome screen."
100460
+ },
100457
100461
  showAttachment: {
100458
100462
  label: "Show Attachment",
100459
100463
  tooltip: "Lets people attach files to a conversation. Each surface has its own switch: In-app chat covers conversations hosted in the app, Embed widget covers the widget on your own site."
@@ -101272,6 +101276,7 @@ var tabsSettingsTab$3 = {
101272
101276
  whoCanViewTooltipAriaLabel: "More info about chat access",
101273
101277
  whoCanChatTooltipAriaLabel: "More info about chat access",
101274
101278
  featuredTooltipAriaLabel: "More info about featured",
101279
+ showExploreMentorsTooltipAriaLabel: "More info about show additional agents",
101275
101280
  showAttachmentTooltipAriaLabel: "More info about show attachment",
101276
101281
  showVoiceRecordTooltipAriaLabel: "More info about show voice record",
101277
101282
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -107773,6 +107778,10 @@ var settingsTabLabels$2 = {
107773
107778
  label: "En vedette",
107774
107779
  tooltip: "Mettez cet agent en avant pour le mettre en valeur dans les listes."
107775
107780
  },
107781
+ showExploreMentors: {
107782
+ label: "Afficher les agents supplémentaires",
107783
+ tooltip: "Affiche la section des agents supplémentaires sur l'écran d'accueil de cet agent."
107784
+ },
107776
107785
  showAttachment: {
107777
107786
  label: "Afficher les pièces jointes",
107778
107787
  tooltip: "Permet aux personnes de joindre des fichiers à une conversation. Chaque surface a son propre interrupteur : In-app chat couvre les conversations hébergées dans l'application et Embed widget couvre le widget sur votre propre site."
@@ -108591,6 +108600,7 @@ var tabsSettingsTab$2 = {
108591
108600
  whoCanViewTooltipAriaLabel: "Plus d'informations sur l'accès à la consultation",
108592
108601
  whoCanChatTooltipAriaLabel: "Plus d'informations sur l'accès au chat",
108593
108602
  featuredTooltipAriaLabel: "Plus d'informations sur la mise en avant",
108603
+ showExploreMentorsTooltipAriaLabel: "Plus d'informations sur l'affichage des agents supplémentaires",
108594
108604
  showAttachmentTooltipAriaLabel: "Plus d'informations sur l'affichage des pièces jointes",
108595
108605
  showVoiceRecordTooltipAriaLabel: "Plus d'informations sur l'affichage de l'enregistrement vocal",
108596
108606
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -114926,6 +114936,10 @@ var settingsTabLabels$1 = {
114926
114936
  label: "Destacado",
114927
114937
  tooltip: "Destaque este agente para resaltarlo en los listados."
114928
114938
  },
114939
+ showExploreMentors: {
114940
+ label: "Mostrar agentes adicionales",
114941
+ tooltip: "Muestra la sección de agentes adicionales en la pantalla de bienvenida de este agente."
114942
+ },
114929
114943
  showAttachment: {
114930
114944
  label: "Mostrar archivos adjuntos",
114931
114945
  tooltip: "Permite que las personas adjunten archivos a una conversación. Cada superficie tiene su propio interruptor: In-app chat cubre las conversaciones alojadas en la aplicación y Embed widget cubre el widget en tu propio sitio."
@@ -115744,6 +115758,7 @@ var tabsSettingsTab$1 = {
115744
115758
  whoCanViewTooltipAriaLabel: "Más información sobre el acceso de visualización",
115745
115759
  whoCanChatTooltipAriaLabel: "Más información sobre el acceso al chat",
115746
115760
  featuredTooltipAriaLabel: "Más información sobre destacado",
115761
+ showExploreMentorsTooltipAriaLabel: "Más información sobre mostrar agentes adicionales",
115747
115762
  showAttachmentTooltipAriaLabel: "Más información sobre mostrar adjuntos",
115748
115763
  showVoiceRecordTooltipAriaLabel: "Más información sobre mostrar grabación de voz",
115749
115764
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -122079,6 +122094,10 @@ var settingsTabLabels = {
122079
122094
  label: "推荐",
122080
122095
  tooltip: "将此智能体设为推荐,使其在列表中突出显示。"
122081
122096
  },
122097
+ showExploreMentors: {
122098
+ label: "显示其他智能体",
122099
+ tooltip: "在此智能体的欢迎界面上显示“其他智能体”部分。"
122100
+ },
122082
122101
  showAttachment: {
122083
122102
  label: "显示附件",
122084
122103
  tooltip: "允许用户在对话中添加附件。每个界面都有独立的开关:In-app chat 用于应用内托管的对话,Embed widget 用于您自己网站上的小组件。"
@@ -122897,6 +122916,7 @@ var tabsSettingsTab = {
122897
122916
  whoCanViewTooltipAriaLabel: "关于查看访问权限的更多信息",
122898
122917
  whoCanChatTooltipAriaLabel: "关于聊天访问权限的更多信息",
122899
122918
  featuredTooltipAriaLabel: "关于精选的更多信息",
122919
+ showExploreMentorsTooltipAriaLabel: "关于显示其他智能体的更多信息",
122900
122920
  showAttachmentTooltipAriaLabel: "关于显示附件的更多信息",
122901
122921
  showVoiceRecordTooltipAriaLabel: "关于显示语音录制的更多信息",
122902
122922
  showVoiceCallTooltipAriaLabel: "More info about show voice call",
@@ -270025,6 +270045,10 @@ const AGENT_SETTINGS_TAB_LABELS = {
270025
270045
  label: 'Featured',
270026
270046
  tooltip: 'Feature this agent to highlight it in listings.',
270027
270047
  },
270048
+ showExploreMentors: {
270049
+ label: 'Show additional agents',
270050
+ tooltip: "Shows the additional agents section on this agent's welcome screen.",
270051
+ },
270028
270052
  showAttachment: {
270029
270053
  label: 'Show Attachment',
270030
270054
  tooltip: 'Lets people attach files to a conversation. Each surface has its own switch: In-app chat covers conversations hosted in the app, Embed widget covers the widget on your own site.',
@@ -270191,6 +270215,10 @@ function buildSettingsTabLabels(t) {
270191
270215
  label: t('settingsTabLabels.fields.featured.label'),
270192
270216
  tooltip: t('settingsTabLabels.fields.featured.tooltip'),
270193
270217
  },
270218
+ showExploreMentors: {
270219
+ label: t('settingsTabLabels.fields.showExploreMentors.label'),
270220
+ tooltip: t('settingsTabLabels.fields.showExploreMentors.tooltip'),
270221
+ },
270194
270222
  showAttachment: {
270195
270223
  label: t('settingsTabLabels.fields.showAttachment.label'),
270196
270224
  tooltip: t('settingsTabLabels.fields.showAttachment.tooltip'),
@@ -270302,7 +270330,7 @@ function resolveSettingsTabLabels(override, t) {
270302
270330
  }
270303
270331
 
270304
270332
  function useEditMentorSettings({ onSuccessfulSave, labels }) {
270305
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
270333
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
270306
270334
  const { tenantKey, mentorId, username, enableRBAC, executeGatedAction } = useAgentSettings();
270307
270335
  const dispatch = useDispatch();
270308
270336
  const { data: categories, isLoading: isLoadingCategories } = useGetMentorCategoriesQuery(
@@ -270341,18 +270369,19 @@ function useEditMentorSettings({ onSuccessfulSave, labels }) {
270341
270369
  mentor_visibility: ((_c = m === null || m === void 0 ? void 0 : m.mentor_visibility) === null || _c === void 0 ? void 0 : _c.toString()) || '',
270342
270370
  allow_anonymous: (m === null || m === void 0 ? void 0 : m.allow_anonymous) ? 'true' : 'false',
270343
270371
  is_featured: (_d = m === null || m === void 0 ? void 0 : m.is_featured) !== null && _d !== void 0 ? _d : false,
270344
- show_attachment: (_e = m === null || m === void 0 ? void 0 : m.show_attachment) !== null && _e !== void 0 ? _e : true,
270345
- show_voice_record: (_f = m === null || m === void 0 ? void 0 : m.show_voice_record) !== null && _f !== void 0 ? _f : true,
270346
- show_voice_call: (_g = m === null || m === void 0 ? void 0 : m.show_voice_call) !== null && _g !== void 0 ? _g : true,
270347
- embed_show_attachment: (_h = m === null || m === void 0 ? void 0 : m.embed_show_attachment) !== null && _h !== void 0 ? _h : true,
270348
- embed_show_voice_record: (_j = m === null || m === void 0 ? void 0 : m.embed_show_voice_record) !== null && _j !== void 0 ? _j : true,
270349
- embed_show_voice_call: (_k = m === null || m === void 0 ? void 0 : m.embed_show_voice_call) !== null && _k !== void 0 ? _k : true,
270350
- forkable: (_l = m === null || m === void 0 ? void 0 : m.forkable) !== null && _l !== void 0 ? _l : false,
270351
- show_reasoning: (_m = m === null || m === void 0 ? void 0 : m.show_reasoning) !== null && _m !== void 0 ? _m : false,
270352
- enable_multi_query_rag: (_o = m === null || m === void 0 ? void 0 : m.enable_multi_query_rag) !== null && _o !== void 0 ? _o : false,
270353
- enable_prompt_caching: (_p = m === null || m === void 0 ? void 0 : m.enable_prompt_caching) !== null && _p !== void 0 ? _p : false,
270354
- disable_chathistory: (_q = m === null || m === void 0 ? void 0 : m.disable_chathistory) !== null && _q !== void 0 ? _q : false,
270355
- use_function_calling_for_rag: (_r = existingCallConfig === null || existingCallConfig === void 0 ? void 0 : existingCallConfig.use_function_calling_for_rag) !== null && _r !== void 0 ? _r : false,
270372
+ show_explore_mentors: (_e = m === null || m === void 0 ? void 0 : m.show_explore_mentors) !== null && _e !== void 0 ? _e : false,
270373
+ show_attachment: (_f = m === null || m === void 0 ? void 0 : m.show_attachment) !== null && _f !== void 0 ? _f : true,
270374
+ show_voice_record: (_g = m === null || m === void 0 ? void 0 : m.show_voice_record) !== null && _g !== void 0 ? _g : true,
270375
+ show_voice_call: (_h = m === null || m === void 0 ? void 0 : m.show_voice_call) !== null && _h !== void 0 ? _h : true,
270376
+ embed_show_attachment: (_j = m === null || m === void 0 ? void 0 : m.embed_show_attachment) !== null && _j !== void 0 ? _j : true,
270377
+ embed_show_voice_record: (_k = m === null || m === void 0 ? void 0 : m.embed_show_voice_record) !== null && _k !== void 0 ? _k : true,
270378
+ embed_show_voice_call: (_l = m === null || m === void 0 ? void 0 : m.embed_show_voice_call) !== null && _l !== void 0 ? _l : true,
270379
+ forkable: (_m = m === null || m === void 0 ? void 0 : m.forkable) !== null && _m !== void 0 ? _m : false,
270380
+ show_reasoning: (_o = m === null || m === void 0 ? void 0 : m.show_reasoning) !== null && _o !== void 0 ? _o : false,
270381
+ enable_multi_query_rag: (_p = m === null || m === void 0 ? void 0 : m.enable_multi_query_rag) !== null && _p !== void 0 ? _p : false,
270382
+ enable_prompt_caching: (_q = m === null || m === void 0 ? void 0 : m.enable_prompt_caching) !== null && _q !== void 0 ? _q : false,
270383
+ disable_chathistory: (_r = m === null || m === void 0 ? void 0 : m.disable_chathistory) !== null && _r !== void 0 ? _r : false,
270384
+ use_function_calling_for_rag: (_s = existingCallConfig === null || existingCallConfig === void 0 ? void 0 : existingCallConfig.use_function_calling_for_rag) !== null && _s !== void 0 ? _s : false,
270356
270385
  },
270357
270386
  onSubmit: async ({ value }) => {
270358
270387
  var _a;
@@ -270378,6 +270407,9 @@ function useEditMentorSettings({ onSuccessfulSave, labels }) {
270378
270407
  if (value.is_featured !== undefined) {
270379
270408
  values.is_featured = value.is_featured;
270380
270409
  }
270410
+ if (value.show_explore_mentors !== undefined) {
270411
+ values.show_explore_mentors = value.show_explore_mentors;
270412
+ }
270381
270413
  if (value.show_attachment !== undefined) {
270382
270414
  values.show_attachment = value.show_attachment;
270383
270415
  }
@@ -270755,7 +270787,7 @@ function CapabilitiesSubTab({ form, labels, mentor, isDisabled, tenantAllowsChat
270755
270787
  // field-permission map, and `WithFormPermissions` HIDES a control
270756
270788
  // whose key is missing on an RBAC tenant. The Voice tab treats the
270757
270789
  // same field the same way.
270758
- jsx(CapabilityMatrixSwitch, { form: form, name: "show_voice_call", label: labels.fields.showVoiceCall.label, isDisabled: isDisabled }), embedWidget: jsx(CapabilityMatrixSwitch, { form: form, name: "embed_show_voice_call", label: labels.fields.embedShowVoiceCall.label, isDisabled: isDisabled }) })] })] }), jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 px-4 py-3", "data-testid": "capabilities-global-settings-banner", children: [jsx("h4", { className: "text-sm font-medium text-gray-900", children: labels.sections.globalSettings }), jsx("p", { className: "mt-1 text-xs text-gray-600", children: labels.notes.globalSettings })] }), jsxs("div", { className: "space-y-4", children: [jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.chatExperience }), jsx(SettingToggleField, { form: form, name: "show_reasoning", label: labels.fields.showReasoning.label, tooltip: labels.fields.showReasoning.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showReasoningTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_multi_query_rag", label: labels.fields.enhancedDocRetrieval.label, tooltip: labels.fields.enhancedDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.enhancedDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_multi_query_rag", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "use_function_calling_for_rag", label: labels.fields.smartDocRetrieval.label, tooltip: labels.fields.smartDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.smartDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, testId: "settings-use-function-calling-for-rag-switch", alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_prompt_caching", label: labels.fields.promptCaching.label, tooltip: labels.fields.promptCaching.tooltip, tooltipAriaLabel: t('tabsSettingsTab.promptCachingTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_prompt_caching", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true })] }), jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.advanced }), tenantAllowsChatPrivacyControl && (jsx(SettingToggleField, { form: form, name: "disable_chathistory", label: labels.fields.privateMode.label, tooltip: labels.fields.privateMode.tooltip, tooltipAriaLabel: t('tabsSettingsTab.privateModeTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "disable_chathistory", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-disable-chathistory-switch", alignToMatrix: true })), jsx(SettingToggleField, { form: form, name: "forkable", label: labels.fields.allowCopies.label, tooltip: labels.fields.allowCopies.tooltip, tooltipAriaLabel: t('tabsSettingsTab.allowCopiesTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true })] })] })] }));
270790
+ jsx(CapabilityMatrixSwitch, { form: form, name: "show_voice_call", label: labels.fields.showVoiceCall.label, isDisabled: isDisabled }), embedWidget: jsx(CapabilityMatrixSwitch, { form: form, name: "embed_show_voice_call", label: labels.fields.embedShowVoiceCall.label, isDisabled: isDisabled }) })] })] }), jsxs("div", { className: "rounded-lg border border-gray-200 bg-gray-50 px-4 py-3", "data-testid": "capabilities-global-settings-banner", children: [jsx("h4", { className: "text-sm font-medium text-gray-900", children: labels.sections.globalSettings }), jsx("p", { className: "mt-1 text-xs text-gray-600", children: labels.notes.globalSettings })] }), jsxs("div", { className: "space-y-4", children: [jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.chatExperience }), jsx(SettingToggleField, { form: form, name: "show_reasoning", label: labels.fields.showReasoning.label, tooltip: labels.fields.showReasoning.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showReasoningTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_multi_query_rag", label: labels.fields.enhancedDocRetrieval.label, tooltip: labels.fields.enhancedDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.enhancedDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_multi_query_rag", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "use_function_calling_for_rag", label: labels.fields.smartDocRetrieval.label, tooltip: labels.fields.smartDocRetrieval.tooltip, tooltipAriaLabel: t('tabsSettingsTab.smartDocRetrievalTooltipAriaLabel'), isDisabled: isDisabled, testId: "settings-use-function-calling-for-rag-switch", alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "enable_prompt_caching", label: labels.fields.promptCaching.label, tooltip: labels.fields.promptCaching.tooltip, tooltipAriaLabel: t('tabsSettingsTab.promptCachingTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "enable_prompt_caching", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, alignToMatrix: true })] }), jsxs("div", { className: "space-y-3", children: [jsx("h4", { className: "text-xs font-semibold tracking-wide text-gray-500 uppercase", children: labels.sections.advanced }), tenantAllowsChatPrivacyControl && (jsx(SettingToggleField, { form: form, name: "disable_chathistory", label: labels.fields.privateMode.label, tooltip: labels.fields.privateMode.tooltip, tooltipAriaLabel: t('tabsSettingsTab.privateModeTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "disable_chathistory", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-disable-chathistory-switch", alignToMatrix: true })), jsx(SettingToggleField, { form: form, name: "forkable", label: labels.fields.allowCopies.label, tooltip: labels.fields.allowCopies.tooltip, tooltipAriaLabel: t('tabsSettingsTab.allowCopiesTooltipAriaLabel'), isDisabled: isDisabled, alignToMatrix: true }), jsx(SettingToggleField, { form: form, name: "show_explore_mentors", label: labels.fields.showExploreMentors.label, tooltip: labels.fields.showExploreMentors.tooltip, tooltipAriaLabel: t('tabsSettingsTab.showExploreMentorsTooltipAriaLabel'), isDisabled: isDisabled, permissionName: "show_explore_mentors", fieldPermissions: fieldPermissions, enableRBAC: enableRBAC, testId: "settings-show-explore-mentors-switch", alignToMatrix: true })] })] })] }));
270759
270791
  }
270760
270792
 
270761
270793
  /* istanbul ignore next -- @preserve dynamic import is not testable in unit tests */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/iblai-js",
3
- "version": "2.15.0",
3
+ "version": "2.17.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,10 +76,10 @@
76
76
  "axios": "1.13.6",
77
77
  "dotenv": "16.6.1",
78
78
  "winston": "3.19.0",
79
- "@iblai/mcp": "1.14.0",
80
- "@iblai/data-layer": "1.17.0",
81
- "@iblai/web-containers": "1.23.0",
82
- "@iblai/web-utils": "2.4.8"
79
+ "@iblai/mcp": "1.15.0",
80
+ "@iblai/web-containers": "1.24.0",
81
+ "@iblai/web-utils": "2.4.8",
82
+ "@iblai/data-layer": "1.18.0"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "@iblai/iblai-api": "4.166.0-ai",