@8wave/ai-elements 0.119.0-beta.31 → 0.119.0-beta.45
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.
- package/dist/_chunks/Agent-Gdgpd3LA.js.map +1 -1
- package/dist/_chunks/{PkChatbotFilePreview-DiuzVVKH.js → PkChatbotFilePreview-3i9jZIdS.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-DiuzVVKH.js.map → PkChatbotFilePreview-3i9jZIdS.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-DKyHYHUN.js → PkStreamingMarkdown-B1t1tBvW.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-DKyHYHUN.js.map → PkStreamingMarkdown-B1t1tBvW.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-CfJ3BWMe.js → PkToolEditSpreadsheet-Xzum_9NH.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-CfJ3BWMe.js.map → PkToolEditSpreadsheet-Xzum_9NH.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-klmrRZWz.js → PkToolRequestOAuthConnection-W3ilzpr7.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-klmrRZWz.js.map → PkToolRequestOAuthConnection-W3ilzpr7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-ChDm6ZEK.js → PkToolShowArtifact-DGGEb2LF.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-ChDm6ZEK.js.map → PkToolShowArtifact-DGGEb2LF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-CRVtR3oP.js → PkToolShowCalendarEvent-D8DMh3-P.js} +2 -2
- package/dist/_chunks/{PkToolShowCalendarEvent-CRVtR3oP.js.map → PkToolShowCalendarEvent-D8DMh3-P.js.map} +1 -1
- package/dist/_chunks/PkToolShowContactForm-Dn6CEXF_.js +158 -0
- package/dist/_chunks/PkToolShowContactForm-Dn6CEXF_.js.map +1 -0
- package/dist/_chunks/{PkToolShowDiagram-JpRMa4Jj.js → PkToolShowDiagram-WregKAJO.js} +3 -3
- package/dist/_chunks/{PkToolShowDiagram-JpRMa4Jj.js.map → PkToolShowDiagram-WregKAJO.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-DnIwTGl4.js → PkToolShowForm-CbuToc8O.js} +2 -2
- package/dist/_chunks/{PkToolShowForm-DnIwTGl4.js.map → PkToolShowForm-CbuToc8O.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-Ab8fJ9jY.js → PkToolShowImageGallery-Dh0v2Df8.js} +4 -4
- package/dist/_chunks/{PkToolShowImageGallery-Ab8fJ9jY.js.map → PkToolShowImageGallery-Dh0v2Df8.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-D5d6bbP-.js → PkToolShowLocation-jRZtqoBO.js} +2 -2
- package/dist/_chunks/{PkToolShowLocation-D5d6bbP-.js.map → PkToolShowLocation-jRZtqoBO.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-DztzZVDd.js → PkToolShowProductList-bAis8u1t.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-DztzZVDd.js.map → PkToolShowProductList-bAis8u1t.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Bvg3f3GC.js → PkToolShowSources-B1zXilsH.js} +4 -4
- package/dist/_chunks/{PkToolShowSources-Bvg3f3GC.js.map → PkToolShowSources-B1zXilsH.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DdoYLl7R.js → PkToolShowVideo-DcMzLibC.js} +3 -3
- package/dist/_chunks/{PkToolShowVideo-DdoYLl7R.js.map → PkToolShowVideo-DcMzLibC.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-CnpPZCLm.js → PkToolShowWeather-DTrZ7r1t.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-CnpPZCLm.js.map → PkToolShowWeather-DTrZ7r1t.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-BooCEJrs.js → PkToolShowWebPages-RuwkZDMH.js} +3 -3
- package/dist/_chunks/{PkToolShowWebPages-BooCEJrs.js.map → PkToolShowWebPages-RuwkZDMH.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-CfJt8_9Z.js → chatImagePolicy-BL4O14e9.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-CfJt8_9Z.js.map → chatImagePolicy-BL4O14e9.js.map} +1 -1
- package/dist/_chunks/{index.es-oI6RqNZW.js → index.es-DkFMpDsf.js} +2 -2
- package/dist/_chunks/{index.es-oI6RqNZW.js.map → index.es-DkFMpDsf.js.map} +1 -1
- package/dist/_chunks/{markdown-BbaLt57-.js → markdown-DtdG9Krq.js} +95 -89
- package/dist/_chunks/markdown-DtdG9Krq.js.map +1 -0
- package/dist/_chunks/{src-DL9TKN-Z.js → src-CggZ5M7x.js} +46 -3
- package/dist/_chunks/src-CggZ5M7x.js.map +1 -0
- package/dist/_chunks/{useLightbox-1KKLemEE.js → useLightbox-3HiaRtzY.js} +2 -2
- package/dist/_chunks/{useLightbox-1KKLemEE.js.map → useLightbox-3HiaRtzY.js.map} +1 -1
- package/dist/ai-elements.es.js +961 -943
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAudioTranscript.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotFilePreview.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-DU1WWaHR.js → Agent-DGCZCx4Y.js} +102 -101
- package/dist-vue/_chunks/Agent-DGCZCx4Y.js.map +1 -0
- package/dist-vue/_chunks/{Document-Cto-Qws0.js → Document-BZea8ewV.js} +8 -4
- package/dist-vue/_chunks/Document-BZea8ewV.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-C18mnGJ9.js → PkChatbot-BVWLvaXb.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-C18mnGJ9.js.map → PkChatbot-BVWLvaXb.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAudioTranscript-0rvrhSRQ.js → PkChatbotAudioTranscript-CC9M-zDv.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotAudioTranscript-0rvrhSRQ.js.map → PkChatbotAudioTranscript-CC9M-zDv.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-BKiyP0Ga.js → PkChatbotEmptyState-B7fZ51v1.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BKiyP0Ga.js.map → PkChatbotEmptyState-B7fZ51v1.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFilePreview-D5H-RIk2.js → PkChatbotFilePreview-Lxgu89Hg.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFilePreview-D5H-RIk2.js.map → PkChatbotFilePreview-Lxgu89Hg.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-GvgsYsUw.js → PkChatbotInput-Bo4Ewf6A.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-GvgsYsUw.js.map → PkChatbotInput-Bo4Ewf6A.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CDLsj7qw.js → PkChatbotMessages-DHZNG6YM.js} +195 -190
- package/dist-vue/_chunks/PkChatbotMessages-DHZNG6YM.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-Dm-HCHcG.js → PkChatbotStepPayload-DuI9ZYqp.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-Dm-HCHcG.js.map → PkChatbotStepPayload-DuI9ZYqp.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bpd_cZEO.js → PkChatbotStepToolDetail-B9hBMl15.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bpd_cZEO.js.map → PkChatbotStepToolDetail-B9hBMl15.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotSteps-3qySSEYh.js +189 -0
- package/dist-vue/_chunks/PkChatbotSteps-3qySSEYh.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-By2TY72m.js → PkChatbotViewChat-CLyoZH3C.js} +8 -8
- package/dist-vue/_chunks/{PkChatbotViewChat-By2TY72m.js.map → PkChatbotViewChat-CLyoZH3C.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-CU5NfEO4.js → PkChatbotViewConversations-BbXFoEOv.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotViewConversations-CU5NfEO4.js.map → PkChatbotViewConversations-BbXFoEOv.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-CD-UZPT5.js → PkChatbotViewFiles-7vcERhnZ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-CD-UZPT5.js.map → PkChatbotViewFiles-7vcERhnZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DPlb_Wca.js → PkChatbotViewProfile-RgFp-LpV.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-DPlb_Wca.js.map → PkChatbotViewProfile-RgFp-LpV.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-CsHzdW69.js → PkStreamingMarkdown-Bmm1kZpL.js} +4 -4
- package/dist-vue/_chunks/{PkStreamingMarkdown-CsHzdW69.js.map → PkStreamingMarkdown-Bmm1kZpL.js.map} +1 -1
- package/dist-vue/_chunks/{PkSvgViewer-D6DJ2jVO.js → PkSvgViewer-DU8K_gAD.js} +2 -2
- package/dist-vue/_chunks/{PkSvgViewer-D6DJ2jVO.js.map → PkSvgViewer-DU8K_gAD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D8Zp9gzW.js → PkToolEditSpreadsheet-BIQky1RK.js} +3 -3
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D8Zp9gzW.js.map → PkToolEditSpreadsheet-BIQky1RK.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-JZYgc-2X.js → PkToolRequestGeolocation-CYEyXZSh.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-JZYgc-2X.js.map → PkToolRequestGeolocation-CYEyXZSh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DosWR9I4.js → PkToolRequestOAuthConnection-B243GJ1-.js} +3 -3
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DosWR9I4.js.map → PkToolRequestOAuthConnection-B243GJ1-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BVofKJ7b.js → PkToolShowArtifact-CJG-B9mE.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BVofKJ7b.js.map → PkToolShowArtifact-CJG-B9mE.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-u9O_Sl3-.js → PkToolShowCalendarEvent-CFODjoDV.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-u9O_Sl3-.js.map → PkToolShowCalendarEvent-CFODjoDV.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowContactForm-CG1H7xBz.js +160 -0
- package/dist-vue/_chunks/PkToolShowContactForm-CG1H7xBz.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowDiagram-CaoB4k6y.js → PkToolShowDiagram-Cq0457a3.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowDiagram-CaoB4k6y.js.map → PkToolShowDiagram-Cq0457a3.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-vYuaPtu0.js → PkToolShowForm-IJ8B8_yT.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-vYuaPtu0.js.map → PkToolShowForm-IJ8B8_yT.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-ooygXk7j.js → PkToolShowImageGallery-ala8nlAj.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowImageGallery-ooygXk7j.js.map → PkToolShowImageGallery-ala8nlAj.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowLocation-DVMpFdRk.js → PkToolShowLocation-BipZrvw7.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowLocation-DVMpFdRk.js.map → PkToolShowLocation-BipZrvw7.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-D-HJ9a_h.js → PkToolShowProductList-BDg84ZQN.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-D-HJ9a_h.js.map → PkToolShowProductList-BDg84ZQN.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-DJ35l3Z3.js → PkToolShowSources-DaSijN_L.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowSources-DJ35l3Z3.js.map → PkToolShowSources-DaSijN_L.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-I6FBos-F.js → PkToolShowSuggestedReply-CLEFPrHP.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-I6FBos-F.js.map → PkToolShowSuggestedReply-CLEFPrHP.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-xcg1gdIE.js → PkToolShowVideo-FmE-IRE7.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowVideo-xcg1gdIE.js.map → PkToolShowVideo-FmE-IRE7.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWeather-DJxKxVp_.js → PkToolShowWeather-BD0w6BA1.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWeather-DJxKxVp_.js.map → PkToolShowWeather-BD0w6BA1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-BuaRjavD.js → PkToolShowWebPages-B554-MlD.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowWebPages-BuaRjavD.js.map → PkToolShowWebPages-B554-MlD.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-G3Tt1I67.js → createChatbotApiClient-CDS3C4i6.js} +3 -3
- package/dist-vue/_chunks/createChatbotApiClient-CDS3C4i6.js.map +1 -0
- package/dist-vue/_chunks/{mcpOAuthReport-3A9v_gW_.js → mcpOAuthReport-BHCMTtgf.js} +2 -2
- package/dist-vue/_chunks/{mcpOAuthReport-3A9v_gW_.js.map → mcpOAuthReport-BHCMTtgf.js.map} +1 -1
- package/dist-vue/_chunks/{src-DpkuiHam.js → src-BZRiAJsH.js} +46 -3
- package/dist-vue/_chunks/src-BZRiAJsH.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-C1sgxgD1.js → useChatbotStore-CBjBe7GI.js} +5 -5
- package/dist-vue/_chunks/{useChatbotStore-C1sgxgD1.js.map → useChatbotStore-CBjBe7GI.js.map} +1 -1
- package/dist-vue/_chunks/{useSafeLocalStorage-DLIc8pkn.js → useSafeLocalStorage-B1mX0eKb.js} +2 -2
- package/dist-vue/_chunks/{useSafeLocalStorage-DLIc8pkn.js.map → useSafeLocalStorage-B1mX0eKb.js.map} +1 -1
- package/dist-vue/_chunks/{utils-DsnEcdW3.js → utils-Cvijhryt.js} +3 -3
- package/dist-vue/_chunks/{utils-DsnEcdW3.js.map → utils-Cvijhryt.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +24 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +33 -33
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +6 -2
- package/dist-vue/packages/components/src/chat/PkToolShowContactForm.d.ts +6 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/Branding.d.ts +5 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/Member.d.ts +15 -0
- package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +12 -1
- package/dist-vue/packages/models/src/schema/constants.d.ts +26 -1
- package/package.json +1 -1
- package/dist/_chunks/PkToolShowContactForm-CfCy-b8w.js +0 -120
- package/dist/_chunks/PkToolShowContactForm-CfCy-b8w.js.map +0 -1
- package/dist/_chunks/markdown-BbaLt57-.js.map +0 -1
- package/dist/_chunks/src-DL9TKN-Z.js.map +0 -1
- package/dist-vue/_chunks/Agent-DU1WWaHR.js.map +0 -1
- package/dist-vue/_chunks/Document-Cto-Qws0.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-CDLsj7qw.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotSteps-C4qBM3_t.js +0 -191
- package/dist-vue/_chunks/PkChatbotSteps-C4qBM3_t.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowContactForm-BzdIFTnC.js +0 -122
- package/dist-vue/_chunks/PkToolShowContactForm-BzdIFTnC.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-G3Tt1I67.js.map +0 -1
- package/dist-vue/_chunks/src-DpkuiHam.js.map +0 -1
package/dist-vue/PkChatbot.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbot-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbot-BVWLvaXb.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotAudioTranscript-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotAudioTranscript-CC9M-zDv.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotEmptyState-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotEmptyState-B7fZ51v1.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotFilePreview-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotFilePreview-Lxgu89Hg.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotInput-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotInput-Bo4Ewf6A.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotMessages-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotMessages-DHZNG6YM.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotStepPayload-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotStepPayload-DuI9ZYqp.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotStepToolDetail-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotStepToolDetail-B9hBMl15.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotSteps-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotSteps-3qySSEYh.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotViewChat-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotViewChat-CLyoZH3C.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotViewConversations-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotViewConversations-BbXFoEOv.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotViewFiles-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotViewFiles-7vcERhnZ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as default } from "./_chunks/PkChatbotViewProfile-
|
|
1
|
+
export { t as default } from "./_chunks/PkChatbotViewProfile-RgFp-LpV.js";
|
|
@@ -160,15 +160,16 @@ function he(e) {
|
|
|
160
160
|
});
|
|
161
161
|
return .2126 * n + .7152 * r + .0722 * i;
|
|
162
162
|
}
|
|
163
|
-
|
|
163
|
+
var ge = (e) => he(e) > .179 ? "#000000" : "#ffffff";
|
|
164
|
+
function _e(e) {
|
|
164
165
|
let t = e.match(/[\p{L}\p{N}]/u)?.[0] ?? "", n = t.toUpperCase();
|
|
165
166
|
return n.length === t.length ? n : t;
|
|
166
167
|
}
|
|
167
|
-
function
|
|
168
|
-
let r = _.test(t) ? t : D.colors.light.brand, i =
|
|
168
|
+
function ve(e, t, { rounded: n = !0 } = {}) {
|
|
169
|
+
let r = _.test(t) ? t : D.colors.light.brand, i = ge(r), a = _e(e);
|
|
169
170
|
return `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><rect width="32" height="32"${n ? " rx=\"7\"" : ""} fill="${r}"/><text x="16" y="16" dy="0.35em" text-anchor="middle" font-family="system-ui, sans-serif" font-size="18" font-weight="600" fill="${i}">${a}</text></svg>`;
|
|
170
171
|
}
|
|
171
|
-
var
|
|
172
|
+
var ye = (e, t) => `data:image/svg+xml,${encodeURIComponent(ve(e, t))}`;
|
|
172
173
|
function O(e) {
|
|
173
174
|
if (e && typeof e == "object") {
|
|
174
175
|
for (let t of Object.values(e)) O(t);
|
|
@@ -179,7 +180,7 @@ function O(e) {
|
|
|
179
180
|
function k(e) {
|
|
180
181
|
return Array.isArray(e) ? `[${e.map(k).join(",")}]` : e && typeof e == "object" ? `{${Object.entries(e).filter(([, e]) => e !== void 0).sort(([e], [t]) => e < t ? -1 : +(e > t)).map(([e, t]) => `${JSON.stringify(e)}:${k(t)}`).join(",")}}` : JSON.stringify(e);
|
|
181
182
|
}
|
|
182
|
-
function
|
|
183
|
+
function be(e) {
|
|
183
184
|
let t = 2166136261, n = 16777619 ^ e.length;
|
|
184
185
|
for (let r = 0; r < e.length; r++) {
|
|
185
186
|
let i = e.charCodeAt(r);
|
|
@@ -187,22 +188,22 @@ function ye(e) {
|
|
|
187
188
|
}
|
|
188
189
|
return t.toString(16).padStart(8, "0") + n.toString(16).padStart(8, "0");
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
-
return
|
|
191
|
+
function xe(e) {
|
|
192
|
+
return be(`${Oe(e)}:${k(e)}`);
|
|
192
193
|
}
|
|
193
|
-
var
|
|
194
|
-
RegExp(`^${
|
|
195
|
-
function
|
|
194
|
+
var Se = "/api/v1/public/branding", Ce = (e) => `${Se}/assets/${e}`, we = (e, t) => `${e.replace(/\/+$/, "")}${Ce(t)}`;
|
|
195
|
+
RegExp(`^${Se}(?:\\.css|/manifest\\.webmanifest|/icon/(?:\\d+|maskable)|/assets/[0-9a-f]{64}(?:/icon/\\d+)?)?(?:\\?|$)`);
|
|
196
|
+
function Te(e) {
|
|
196
197
|
return {
|
|
197
198
|
...e,
|
|
198
|
-
version:
|
|
199
|
+
version: xe(e)
|
|
199
200
|
};
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
+
function Ee(e) {
|
|
202
203
|
return v.safeParse(e).success ? `--color-brand:${e.brand};--color-accent:${e.accent};--color-info:${e.info};` : "";
|
|
203
204
|
}
|
|
204
|
-
function
|
|
205
|
-
let t =
|
|
205
|
+
function De(e) {
|
|
206
|
+
let t = Ee(e.colors.light), n = Ee(e.colors.dark);
|
|
206
207
|
return [
|
|
207
208
|
`:where(:root,.theme){${t}${t ? `--color-tint:${e.colors.light.brand};` : ""}}`,
|
|
208
209
|
`@media (prefers-color-scheme: dark){:where(:root:not(.theme--light),.theme:not(.theme--light)){${n}}}`,
|
|
@@ -210,7 +211,7 @@ function Ee(e) {
|
|
|
210
211
|
`:where(.theme.theme--dark){${n}}`
|
|
211
212
|
].join("\n");
|
|
212
213
|
}
|
|
213
|
-
var
|
|
214
|
+
var Oe = (e) => be(De(e)), ke = d({
|
|
214
215
|
dateTime: n().optional(),
|
|
215
216
|
timezone: n().optional(),
|
|
216
217
|
language: n().optional(),
|
|
@@ -270,10 +271,10 @@ var De = (e) => ye(Ee(e)), Oe = d({
|
|
|
270
271
|
"auto",
|
|
271
272
|
"detailed",
|
|
272
273
|
"concise"
|
|
273
|
-
],
|
|
274
|
+
], Ae = d({
|
|
274
275
|
reasoningEffort: l(P).optional(),
|
|
275
276
|
reasoningSummary: l(L).optional()
|
|
276
|
-
}),
|
|
277
|
+
}), je = d({
|
|
277
278
|
type: l([
|
|
278
279
|
"adaptive",
|
|
279
280
|
"enabled",
|
|
@@ -282,11 +283,11 @@ var De = (e) => ye(Ee(e)), Oe = d({
|
|
|
282
283
|
effort: l(F).optional(),
|
|
283
284
|
display: l(["summarized", "omitted"]).optional(),
|
|
284
285
|
budgetTokens: i().int().positive().optional()
|
|
285
|
-
}),
|
|
286
|
+
}), Me = d({
|
|
286
287
|
thinkingLevel: l(I).optional(),
|
|
287
288
|
thinkingBudget: i().int().optional(),
|
|
288
289
|
includeThoughts: u().optional()
|
|
289
|
-
}),
|
|
290
|
+
}), Ne = d({ type: l(["enabled", "disabled"]).optional() }), R = [
|
|
290
291
|
"alibaba",
|
|
291
292
|
"meta",
|
|
292
293
|
"moonshotai",
|
|
@@ -294,7 +295,7 @@ var De = (e) => ye(Ee(e)), Oe = d({
|
|
|
294
295
|
"xiaomi",
|
|
295
296
|
"zai"
|
|
296
297
|
];
|
|
297
|
-
function
|
|
298
|
+
function Pe(e) {
|
|
298
299
|
return R.includes(e);
|
|
299
300
|
}
|
|
300
301
|
var z = [
|
|
@@ -308,11 +309,11 @@ var z = [
|
|
|
308
309
|
function V(e, t) {
|
|
309
310
|
return e && t.includes(e) ? e : void 0;
|
|
310
311
|
}
|
|
311
|
-
var
|
|
312
|
-
openai:
|
|
313
|
-
anthropic:
|
|
314
|
-
google:
|
|
315
|
-
deepseek:
|
|
312
|
+
var Fe = d({
|
|
313
|
+
openai: Ae.optional(),
|
|
314
|
+
anthropic: je.optional(),
|
|
315
|
+
google: Me.optional(),
|
|
316
|
+
deepseek: Ne.optional(),
|
|
316
317
|
alibaba: B.optional(),
|
|
317
318
|
meta: B.optional(),
|
|
318
319
|
moonshotai: B.optional(),
|
|
@@ -320,7 +321,7 @@ var Pe = d({
|
|
|
320
321
|
xiaomi: B.optional(),
|
|
321
322
|
zai: B.optional()
|
|
322
323
|
});
|
|
323
|
-
function
|
|
324
|
+
function Ie(e) {
|
|
324
325
|
if (!e || typeof e != "object") return e;
|
|
325
326
|
let t = e, n = [
|
|
326
327
|
"openai",
|
|
@@ -354,7 +355,7 @@ function Fe(e) {
|
|
|
354
355
|
}
|
|
355
356
|
return e;
|
|
356
357
|
}
|
|
357
|
-
var
|
|
358
|
+
var Le = h(f(), Fe, Ie).optional(), Re = {
|
|
358
359
|
openai: { reasoningEffort: "low" },
|
|
359
360
|
anthropic: {
|
|
360
361
|
type: "adaptive",
|
|
@@ -368,23 +369,23 @@ var Ie = h(f(), Pe, Fe).optional(), Le = {
|
|
|
368
369
|
xiaomi: { reasoningEffort: "low" },
|
|
369
370
|
zai: { reasoningEffort: "low" }
|
|
370
371
|
};
|
|
371
|
-
function
|
|
372
|
+
function ze(e) {
|
|
372
373
|
return !!e && typeof e == "object" && Object.values(e).some((e) => e !== void 0);
|
|
373
374
|
}
|
|
374
|
-
function
|
|
375
|
+
function Be(e, t) {
|
|
375
376
|
let n = t?.[e];
|
|
376
|
-
return
|
|
377
|
+
return ze(n) ? n : Re[e];
|
|
377
378
|
}
|
|
378
379
|
var H = /* @__PURE__ */ function(e) {
|
|
379
380
|
return e.Geocode = "geocode", e.GetWeather = "getWeather", e.ReadDocumentFile = "readDocumentFile", e.RequestConfirm = "requestConfirm", e.RequestGeolocation = "requestGeolocation", e.RetrieveRevisedAnswers = "retrieveRevisedAnswers", e.SearchInKnowledgeBase = "searchInKnowledgeBase", e.SearchInUserFiles = "searchInUserFiles", e.UserMemory = "userMemory", e.Spreadsheet = "spreadsheet", e.QuerySpreadsheet = "querySpreadsheet", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowComparison = "showComparison", e.ShowContactForm = "showContactForm", e.ShowDiagram = "showDiagram", e.ShowEmail = "showEmail", e.ShowImageGallery = "showImageGallery", e.ShowLocation = "showLocation", e.ShowMessage = "showMessage", e.ShowForm = "showForm", e.ShowProductList = "showProductList", e.ShowQrCode = "showQrCode", e.ShowSources = "showSources", e.ShowSuggestedReply = "showSuggestedReply", e.ShowVideo = "showVideo", e.ShowWeather = "showWeather", e.ShowWebPages = "showWebPages", e.ShowMultipleChoice = "showMultipleChoice", e;
|
|
380
|
-
}({}),
|
|
381
|
-
function We(e) {
|
|
382
|
-
return !Ge(e) && e !== H.RequestGeolocation;
|
|
383
|
-
}
|
|
381
|
+
}({}), Ve = "mcp-", He = "api-", Ue = "subagent-", We = "enableTools";
|
|
384
382
|
function Ge(e) {
|
|
383
|
+
return !Ke(e) && e !== H.RequestGeolocation;
|
|
384
|
+
}
|
|
385
|
+
function Ke(e) {
|
|
385
386
|
return e === H.RequestConfirm || e === H.ShowArtifact || e === H.ShowCalendarEvent || e === H.ShowComparison || e === H.ShowContactForm || e === H.ShowDiagram || e === H.ShowEmail || e === H.ShowImageGallery || e === H.ShowLocation || e === H.ShowMessage || e === H.ShowForm || e === H.ShowMultipleChoice || e === H.ShowProductList || e === H.ShowQrCode || e === H.ShowSources || e === H.ShowSuggestedReply || e === H.ShowVideo || e === H.ShowWeather || e === H.ShowWebPages;
|
|
386
387
|
}
|
|
387
|
-
var
|
|
388
|
+
var qe = /* @__PURE__ */ new Set([
|
|
388
389
|
H.RequestConfirm,
|
|
389
390
|
H.ShowArtifact,
|
|
390
391
|
H.ShowWeather,
|
|
@@ -401,22 +402,22 @@ var Ke = /* @__PURE__ */ new Set([
|
|
|
401
402
|
H.ShowMessage,
|
|
402
403
|
H.ShowForm
|
|
403
404
|
]);
|
|
404
|
-
function
|
|
405
|
-
return
|
|
405
|
+
function Je(e) {
|
|
406
|
+
return qe.has(e);
|
|
406
407
|
}
|
|
407
|
-
var
|
|
408
|
+
var Ye = /* @__PURE__ */ new Set([
|
|
408
409
|
H.RequestConfirm,
|
|
409
410
|
H.RequestGeolocation,
|
|
410
411
|
H.ShowForm,
|
|
411
412
|
H.ShowMultipleChoice,
|
|
412
413
|
"requestOAuthConnection"
|
|
413
414
|
]);
|
|
414
|
-
function
|
|
415
|
-
return
|
|
415
|
+
function Xe(e) {
|
|
416
|
+
return Ye.has(e);
|
|
416
417
|
}
|
|
417
|
-
var
|
|
418
|
+
var Ze = /* @__PURE__ */ function(e) {
|
|
418
419
|
return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
|
|
419
|
-
}({}),
|
|
420
|
+
}({}), Qe = /* @__PURE__ */ new Set([
|
|
420
421
|
H.RequestConfirm,
|
|
421
422
|
H.RequestGeolocation,
|
|
422
423
|
H.ShowArtifact,
|
|
@@ -437,16 +438,16 @@ var Xe = /* @__PURE__ */ function(e) {
|
|
|
437
438
|
H.ShowVideo,
|
|
438
439
|
H.ShowWeather,
|
|
439
440
|
H.ShowWebPages
|
|
440
|
-
]),
|
|
441
|
-
function
|
|
442
|
-
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(
|
|
441
|
+
]), $e = "Shown on the caller's screen";
|
|
442
|
+
function et(e) {
|
|
443
|
+
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith($e));
|
|
443
444
|
}
|
|
444
|
-
var
|
|
445
|
+
var tt = d({
|
|
445
446
|
maxSteps: i().int().min(1).max(10).optional().default(5),
|
|
446
447
|
maxOptionsPerStep: i().int().min(2).max(10).optional().default(5)
|
|
447
448
|
}), U = /* @__PURE__ */ function(e) {
|
|
448
449
|
return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
|
|
449
|
-
}({}),
|
|
450
|
+
}({}), nt = d({
|
|
450
451
|
maxResults: i().int().min(1).max(20).optional(),
|
|
451
452
|
maxTokens: i().int().positive().max(1e6).optional(),
|
|
452
453
|
maxTokensPerPage: i().int().positive().optional(),
|
|
@@ -459,7 +460,7 @@ var et = d({
|
|
|
459
460
|
"month",
|
|
460
461
|
"year"
|
|
461
462
|
]).optional()
|
|
462
|
-
}),
|
|
463
|
+
}), rt = d({
|
|
463
464
|
mode: l(["one-shot", "agentic"]).optional(),
|
|
464
465
|
maxResults: i().int().min(1).max(20).optional(),
|
|
465
466
|
sourcePolicy: d({
|
|
@@ -472,7 +473,7 @@ var et = d({
|
|
|
472
473
|
maxCharsTotal: i().int().positive().optional()
|
|
473
474
|
}).optional(),
|
|
474
475
|
fetchPolicy: d({ maxAgeSeconds: i().int().positive().optional() }).optional()
|
|
475
|
-
}),
|
|
476
|
+
}), it = d({
|
|
476
477
|
openai: d({}).optional(),
|
|
477
478
|
anthropic: d({
|
|
478
479
|
maxUses: i().int().positive().optional(),
|
|
@@ -490,10 +491,10 @@ var et = d({
|
|
|
490
491
|
}), W = d({
|
|
491
492
|
enabled: u().default(!1),
|
|
492
493
|
provider: l(U).optional().default(U.Native),
|
|
493
|
-
perplexity:
|
|
494
|
-
parallel:
|
|
495
|
-
native:
|
|
496
|
-
}), G = d({ useAllUserKb: u().default(!1) }),
|
|
494
|
+
perplexity: nt.optional(),
|
|
495
|
+
parallel: rt.optional(),
|
|
496
|
+
native: it.optional()
|
|
497
|
+
}), G = d({ useAllUserKb: u().default(!1) }), at = d({ useAllUserFiles: u().default(!1) }), ot = d({ tools: c(n()).default([]) }), st = d({
|
|
497
498
|
disabled: c(l(H)).default([
|
|
498
499
|
H.UserMemory,
|
|
499
500
|
H.SearchInUserFiles,
|
|
@@ -501,11 +502,11 @@ var et = d({
|
|
|
501
502
|
H.FetchTeamsChannelHistory,
|
|
502
503
|
H.ScheduleWakeup
|
|
503
504
|
]),
|
|
504
|
-
showForm:
|
|
505
|
+
showForm: tt.optional().default(() => tt.parse({})),
|
|
505
506
|
webSearch: W.optional().default(() => W.parse({})),
|
|
506
507
|
userMemory: G.optional().default(() => G.parse({})),
|
|
507
|
-
userFiles:
|
|
508
|
-
approval:
|
|
508
|
+
userFiles: at.optional().default(() => at.parse({})),
|
|
509
|
+
approval: ot.optional().default(() => ot.parse({}))
|
|
509
510
|
}), K = d({
|
|
510
511
|
freshness: d({
|
|
511
512
|
enabled: u().default(!1),
|
|
@@ -518,7 +519,7 @@ var et = d({
|
|
|
518
519
|
diversity: i().min(0).max(1).default(.3),
|
|
519
520
|
candidatesLimit: i().int().min(20).max(100).default(50)
|
|
520
521
|
}).prefault({})
|
|
521
|
-
}).prefault({}),
|
|
522
|
+
}).prefault({}), ct = d({
|
|
522
523
|
prompt: n().optional(),
|
|
523
524
|
temperature: i().min(0).max(2).optional().default(.6),
|
|
524
525
|
maxOutputTokens: i().positive().optional(),
|
|
@@ -527,14 +528,14 @@ var et = d({
|
|
|
527
528
|
searchMode: l(N).optional().default(N.Balanced),
|
|
528
529
|
limit: i().positive().max(100).optional().default(10),
|
|
529
530
|
maxStepCount: i().int().min(1).max(40).optional().default(10),
|
|
530
|
-
reasoning:
|
|
531
|
+
reasoning: Le,
|
|
531
532
|
ranking: K.optional().default(() => K.parse({}))
|
|
532
|
-
}), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e),
|
|
533
|
+
}), q = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), lt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", J = /* @__PURE__ */ function(e) {
|
|
533
534
|
return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
|
|
534
535
|
}({}), Y = /* @__PURE__ */ function(e) {
|
|
535
536
|
return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
|
|
536
|
-
}({}),
|
|
537
|
-
function
|
|
537
|
+
}({}), ut = Object.values(Y), dt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
|
|
538
|
+
function ft(e) {
|
|
538
539
|
let t = e.trim().toLowerCase();
|
|
539
540
|
if (!t) return "";
|
|
540
541
|
try {
|
|
@@ -568,14 +569,14 @@ var X = d({
|
|
|
568
569
|
welcomePopup: u().optional().default(!1),
|
|
569
570
|
floatingButtonPosition: l(["left", "right"]).optional().default("right"),
|
|
570
571
|
maxMessageLength: i().int().positive().optional(),
|
|
571
|
-
widgetUrl: r().default(
|
|
572
|
+
widgetUrl: r().default(lt),
|
|
572
573
|
loadDelay: i().int().min(0).max(3e4).optional().default(0),
|
|
573
574
|
loaderStrategy: l(J).optional().default(J.InlineModule),
|
|
574
575
|
customCss: n().optional(),
|
|
575
576
|
smoothStream: u().optional().default(!1),
|
|
576
577
|
showExtendedSteps: u().optional().default(!1),
|
|
577
|
-
imageHosts: c(n().overwrite(
|
|
578
|
-
}),
|
|
578
|
+
imageHosts: c(n().overwrite(ft).refine((e) => e === "" || dt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
|
|
579
|
+
}), pt = [
|
|
579
580
|
"image/jpeg",
|
|
580
581
|
"image/png",
|
|
581
582
|
"image/gif",
|
|
@@ -584,19 +585,19 @@ var X = d({
|
|
|
584
585
|
"text/plain",
|
|
585
586
|
"text/markdown",
|
|
586
587
|
"text/csv"
|
|
587
|
-
],
|
|
588
|
+
], mt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Z = d({
|
|
588
589
|
enabled: u().default(!1),
|
|
589
590
|
maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
|
|
590
|
-
allowedMimeTypes: c(n().regex(re)).optional().default([...
|
|
591
|
+
allowedMimeTypes: c(n().regex(re)).optional().default([...pt]),
|
|
591
592
|
maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
|
|
592
593
|
maxFilesPerChat: i().int().positive().max(50).optional().default(20)
|
|
593
594
|
}), Q = d({
|
|
594
595
|
zeroDataRetention: u().default(!0),
|
|
595
596
|
disallowPromptTraining: u().default(!0),
|
|
596
597
|
providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
|
|
597
|
-
}),
|
|
598
|
+
}), ht = d({ enabled: u().default(!1) }), $ = /* @__PURE__ */ function(e) {
|
|
598
599
|
return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
|
|
599
|
-
}({}),
|
|
600
|
+
}({}), gt = d({ mode: l($).default($.Off) }), _t = d({
|
|
600
601
|
enabled: u().default(!1),
|
|
601
602
|
voiceId: n().optional(),
|
|
602
603
|
language: n().min(2).max(5).default("it"),
|
|
@@ -615,38 +616,38 @@ var X = d({
|
|
|
615
616
|
providerAgentId: n().optional(),
|
|
616
617
|
providerSecretId: n().optional(),
|
|
617
618
|
providerApiKeyId: n().optional()
|
|
618
|
-
}),
|
|
619
|
+
}), vt = d({ enabled: u() });
|
|
619
620
|
d({
|
|
620
621
|
chatId: n().min(1).optional(),
|
|
621
|
-
deviceContext:
|
|
622
|
+
deviceContext: ke.optional(),
|
|
622
623
|
externalContext: p(n(), f()).optional()
|
|
623
624
|
});
|
|
624
|
-
var
|
|
625
|
+
var yt = d({
|
|
625
626
|
sessionId: n(),
|
|
626
627
|
signedUrl: n(),
|
|
627
628
|
providerAgentId: n(),
|
|
628
629
|
chatId: n(),
|
|
629
630
|
maxSessionSeconds: i().int()
|
|
630
|
-
}),
|
|
631
|
+
}), bt = d({
|
|
631
632
|
voiceId: n(),
|
|
632
633
|
name: n(),
|
|
633
634
|
category: n().optional(),
|
|
634
635
|
previewUrl: n().optional(),
|
|
635
636
|
labels: p(n(), n()).optional()
|
|
636
637
|
});
|
|
637
|
-
c(
|
|
638
|
-
var
|
|
639
|
-
model:
|
|
638
|
+
c(bt);
|
|
639
|
+
var xt = d({
|
|
640
|
+
model: ct,
|
|
640
641
|
interface: X,
|
|
641
|
-
tools:
|
|
642
|
+
tools: st.optional().default(() => st.parse({})),
|
|
642
643
|
fileUpload: Z.optional().default(() => Z.parse({})),
|
|
643
644
|
gatewayOptions: Q.optional().default(() => Q.parse({})),
|
|
644
|
-
channels: c(l(Y)).optional().default(() => [...
|
|
645
|
+
channels: c(l(Y)).optional().default(() => [...ut]),
|
|
645
646
|
externalContextSchema: ae.optional(),
|
|
646
|
-
openaiApi:
|
|
647
|
-
voice:
|
|
648
|
-
toolWorkingSet:
|
|
649
|
-
}),
|
|
647
|
+
openaiApi: ht.optional().default(() => ht.parse({})),
|
|
648
|
+
voice: _t.optional().default(() => _t.parse({})),
|
|
649
|
+
toolWorkingSet: gt.optional().default(() => gt.parse({}))
|
|
650
|
+
}), St = d({
|
|
650
651
|
rateLimits: d({
|
|
651
652
|
minuteRateLimit: i().int().min(0).optional(),
|
|
652
653
|
hourRateLimit: i().int().min(0).optional(),
|
|
@@ -663,8 +664,8 @@ d({
|
|
|
663
664
|
fallbackModels: c(n()).default([]),
|
|
664
665
|
status: l(A).default(A.Draft),
|
|
665
666
|
visibility: l(j).default(j.Organization),
|
|
666
|
-
settings:
|
|
667
|
-
security:
|
|
667
|
+
settings: xt,
|
|
668
|
+
security: St.nullish(),
|
|
668
669
|
type: l(M).default(M.Chat),
|
|
669
670
|
organizationId: n()
|
|
670
671
|
}), ee(() => d({
|
|
@@ -675,8 +676,8 @@ d({
|
|
|
675
676
|
fallbackModels: c(n()).nullable().default([]),
|
|
676
677
|
status: l(A).default(A.Draft),
|
|
677
678
|
visibility: l(j).default(j.Organization),
|
|
678
|
-
settings:
|
|
679
|
-
security:
|
|
679
|
+
settings: xt,
|
|
680
|
+
security: St.nullable(),
|
|
680
681
|
type: l(M).default(M.Chat),
|
|
681
682
|
organizationId: n(),
|
|
682
683
|
createdAt: m(),
|
|
@@ -689,7 +690,7 @@ d({
|
|
|
689
690
|
outOfBudget: u().optional().default(!1),
|
|
690
691
|
outOfBudgetReason: n().optional().default("")
|
|
691
692
|
}));
|
|
692
|
-
var
|
|
693
|
+
var Ct = d({
|
|
693
694
|
id: n(),
|
|
694
695
|
name: n(),
|
|
695
696
|
status: l(A),
|
|
@@ -700,39 +701,39 @@ var St = d({
|
|
|
700
701
|
updatedAt: m(),
|
|
701
702
|
capabilities: d({
|
|
702
703
|
fileUpload: Z,
|
|
703
|
-
voice:
|
|
704
|
+
voice: vt
|
|
704
705
|
}),
|
|
705
|
-
channels: c(l(Y)).default(() => [...
|
|
706
|
-
}),
|
|
706
|
+
channels: c(l(Y)).default(() => [...ut])
|
|
707
|
+
}), wt = X.pick({
|
|
707
708
|
logo: !0,
|
|
708
709
|
mainColor: !0,
|
|
709
710
|
textColor: !0,
|
|
710
711
|
theme: !0,
|
|
711
712
|
floatingButtonPosition: !0,
|
|
712
713
|
customCss: !0
|
|
713
|
-
}),
|
|
714
|
+
}), Tt = Ct.pick({
|
|
714
715
|
id: !0,
|
|
715
716
|
name: !0,
|
|
716
717
|
organizationId: !0
|
|
717
|
-
}).extend({ interface:
|
|
718
|
+
}).extend({ interface: wt }), Et = d({
|
|
718
719
|
emailPassword: u(),
|
|
719
720
|
google: u(),
|
|
720
721
|
microsoft: u()
|
|
721
|
-
}),
|
|
722
|
+
}), Dt = d({
|
|
722
723
|
requiresAuth: s(!1),
|
|
723
|
-
agent:
|
|
724
|
+
agent: Ct,
|
|
724
725
|
branding: a()
|
|
725
|
-
}),
|
|
726
|
+
}), Ot = d({
|
|
726
727
|
requiresAuth: s(!0),
|
|
727
728
|
agent: a(),
|
|
728
|
-
branding:
|
|
729
|
+
branding: Tt
|
|
729
730
|
});
|
|
730
|
-
te("requiresAuth", [
|
|
731
|
-
var
|
|
732
|
-
authMethods:
|
|
731
|
+
te("requiresAuth", [Dt, Ot]);
|
|
732
|
+
var kt = d({
|
|
733
|
+
authMethods: Et,
|
|
733
734
|
deploymentBranding: fe.nullish()
|
|
734
735
|
});
|
|
735
|
-
te("requiresAuth", [
|
|
736
|
+
te("requiresAuth", [Dt.extend(kt.shape), Ot.extend(kt.shape)]), d({
|
|
736
737
|
id: t(),
|
|
737
738
|
agentIds: c(t())
|
|
738
739
|
}), d({
|
|
@@ -753,6 +754,6 @@ te("requiresAuth", [Et.extend(Ot.shape), Dt.extend(Ot.shape)]), d({
|
|
|
753
754
|
...g.ids()
|
|
754
755
|
});
|
|
755
756
|
//#endregion
|
|
756
|
-
export {
|
|
757
|
+
export { Pe as A, we as B, Ue as C, U as D, yt as E, ft as F, h as G, ue as H, ke as I, le as K, b as L, Ke as M, Xe as N, Ge as O, et as P, D as R, mt as S, Qe as T, Te as U, ye as V, me as W, z as _, Z as a, P as b, K as c, $ as d, M as f, We as g, lt as h, Y as i, Je as j, Be as k, Le as l, Ze as m, He as n, Q as o, W as p, g as q, H as r, J as s, F as t, N as u, I as v, Ye as w, L as x, Ve as y, _ as z };
|
|
757
758
|
|
|
758
|
-
//# sourceMappingURL=Agent-
|
|
759
|
+
//# sourceMappingURL=Agent-DGCZCx4Y.js.map
|