@8wave/ai-elements 0.115.0-beta.52 → 0.115.0-beta.60
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-Bz23Ejuh.js +705 -0
- package/dist/_chunks/Agent-Bz23Ejuh.js.map +1 -0
- package/dist/_chunks/{PkChatbotFilePreview-DcqwX9nI.js → PkChatbotFilePreview-CyaNjBrA.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-DcqwX9nI.js.map → PkChatbotFilePreview-CyaNjBrA.js.map} +1 -1
- package/dist/_chunks/{PkHeldImage-BtaPh0Jr.js → PkHeldImage-CtqqMvpW.js} +2 -2
- package/dist/_chunks/{PkHeldImage-BtaPh0Jr.js.map → PkHeldImage-CtqqMvpW.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-Cx2e4KmY.js → PkLazyImg-Ci06XyhW.js} +2 -2
- package/dist/_chunks/{PkLazyImg-Cx2e4KmY.js.map → PkLazyImg-Ci06XyhW.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-B_qmgO9_.js → PkStreamingMarkdown-DbSttKVa.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-B_qmgO9_.js.map → PkStreamingMarkdown-DbSttKVa.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-BSxYLcys.js → PkToolEditSpreadsheet-BrYSJlT4.js} +3 -3
- package/dist/_chunks/{PkToolEditSpreadsheet-BSxYLcys.js.map → PkToolEditSpreadsheet-BrYSJlT4.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-YW0ilIxN.js → PkToolRequestGeolocation-D4rIR3LN.js} +3 -3
- package/dist/_chunks/{PkToolRequestGeolocation-YW0ilIxN.js.map → PkToolRequestGeolocation-D4rIR3LN.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-Cx4aFL5g.js → PkToolRequestOAuthConnection-epwcNb5F.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-Cx4aFL5g.js.map → PkToolRequestOAuthConnection-epwcNb5F.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-Bgj02cPe.js → PkToolShowArtifact-BGUn1sMi.js} +3 -3
- package/dist/_chunks/{PkToolShowArtifact-Bgj02cPe.js.map → PkToolShowArtifact-BGUn1sMi.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-BLSTS6zf.js → PkToolShowCalendarEvent-DwxqgAUr.js} +3 -3
- package/dist/_chunks/PkToolShowCalendarEvent-DwxqgAUr.js.map +1 -0
- package/dist/_chunks/{PkToolShowComparison-DdT-C7iJ.js → PkToolShowComparison-hDhhVvwp.js} +2 -2
- package/dist/_chunks/{PkToolShowComparison-DdT-C7iJ.js.map → PkToolShowComparison-hDhhVvwp.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-Die8UpNv.js → PkToolShowContactForm-ChaAOt5I.js} +4 -4
- package/dist/_chunks/{PkToolShowContactForm-Die8UpNv.js.map → PkToolShowContactForm-ChaAOt5I.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-Ct-dFEmS.js → PkToolShowDiagram-CyNPq6j7.js} +2 -2
- package/dist/_chunks/{PkToolShowDiagram-Ct-dFEmS.js.map → PkToolShowDiagram-CyNPq6j7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-BvH4Czk2.js → PkToolShowEmail-BM16pMjW.js} +2 -2
- package/dist/_chunks/{PkToolShowEmail-BvH4Czk2.js.map → PkToolShowEmail-BM16pMjW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-Dmq95u6b.js → PkToolShowForm-BpTuRgHg.js} +8 -8
- package/dist/_chunks/PkToolShowForm-BpTuRgHg.js.map +1 -0
- package/dist/_chunks/{PkToolShowImageGallery-CKuyTxih.js → PkToolShowImageGallery-CgjP34RE.js} +4 -4
- package/dist/_chunks/{PkToolShowImageGallery-CKuyTxih.js.map → PkToolShowImageGallery-CgjP34RE.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-DLYMzcrZ.js → PkToolShowLocation-rK5fcW4y.js} +2 -2
- package/dist/_chunks/{PkToolShowLocation-DLYMzcrZ.js.map → PkToolShowLocation-rK5fcW4y.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-BGcIhbEe.js → PkToolShowMessage-DgT-JkYg.js} +2 -2
- package/dist/_chunks/{PkToolShowMessage-BGcIhbEe.js.map → PkToolShowMessage-DgT-JkYg.js.map} +1 -1
- package/dist/_chunks/PkToolShowProductList-BIeg8NR-.js +72 -0
- package/dist/_chunks/PkToolShowProductList-BIeg8NR-.js.map +1 -0
- package/dist/_chunks/{PkToolShowQrCode-DDT92XTk.js → PkToolShowQrCode-C2hZDGqM.js} +2 -2
- package/dist/_chunks/{PkToolShowQrCode-DDT92XTk.js.map → PkToolShowQrCode-C2hZDGqM.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-MJRFeqMA.js → PkToolShowSources-B9nZyCAn.js} +4 -4
- package/dist/_chunks/{PkToolShowSources-MJRFeqMA.js.map → PkToolShowSources-B9nZyCAn.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-DPVS3C74.js → PkToolShowSuggestedReply-D6g3UYqI.js} +3 -3
- package/dist/_chunks/{PkToolShowSuggestedReply-DPVS3C74.js.map → PkToolShowSuggestedReply-D6g3UYqI.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DnvvRE7H.js → PkToolShowVideo-B6GG8PJm.js} +4 -4
- package/dist/_chunks/{PkToolShowVideo-DnvvRE7H.js.map → PkToolShowVideo-B6GG8PJm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-DrxYD77R.js → PkToolShowWeather-C80WsCYi.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-DrxYD77R.js.map → PkToolShowWeather-C80WsCYi.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-CYbiGa7e.js → PkToolShowWebPages-BkUh-IyZ.js} +11 -11
- package/dist/_chunks/PkToolShowWebPages-BkUh-IyZ.js.map +1 -0
- package/dist/_chunks/{VvCheckbox.es-VDzdPrIO.js → VvCheckbox.es-UTRUhwdC.js} +2 -2
- package/dist/_chunks/{VvCheckbox.es-VDzdPrIO.js.map → VvCheckbox.es-UTRUhwdC.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-D3Q0u-Xo.js → VvCheckboxGroup.es-Cj7KLXHq.js} +2 -2
- package/dist/_chunks/{VvCheckboxGroup.es-D3Q0u-Xo.js.map → VvCheckboxGroup.es-Cj7KLXHq.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-CcgeeuW6.js → VvCombobox.es-DptfdnAe.js} +2 -2
- package/dist/_chunks/{VvCombobox.es-CcgeeuW6.js.map → VvCombobox.es-DptfdnAe.js.map} +1 -1
- package/dist/_chunks/{VvInputText.es-C5Y-NpdS.js → VvInputText.es-DqLQDq9I.js} +2 -2
- package/dist/_chunks/{VvInputText.es-C5Y-NpdS.js.map → VvInputText.es-DqLQDq9I.js.map} +1 -1
- package/dist/_chunks/{VvRadio.es-CgueGQnO.js → VvRadio.es-D7Ws1in6.js} +2 -2
- package/dist/_chunks/{VvRadio.es-CgueGQnO.js.map → VvRadio.es-D7Ws1in6.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-CoyUKzWp.js → VvRadioGroup.es-BDgpsR9Z.js} +2 -2
- package/dist/_chunks/{VvRadioGroup.es-CoyUKzWp.js.map → VvRadioGroup.es-BDgpsR9Z.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-DJWvclS9.js → VvSelect.es-DWbNpZKw.js} +2 -2
- package/dist/_chunks/{VvSelect.es-DJWvclS9.js.map → VvSelect.es-DWbNpZKw.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-zXk1Uruf.js → VvTextarea.es-5UD9_C3G.js} +2 -2
- package/dist/_chunks/{VvTextarea.es-zXk1Uruf.js.map → VvTextarea.es-5UD9_C3G.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-C5eH4Cpq.js → chatImagePolicy-Cnmsgd96.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-C5eH4Cpq.js.map → chatImagePolicy-Cnmsgd96.js.map} +1 -1
- package/dist/_chunks/{index.es-_UjFDhTh.js → index.es-B9zAw2XU.js} +2 -2
- package/dist/_chunks/{index.es-_UjFDhTh.js.map → index.es-B9zAw2XU.js.map} +1 -1
- package/dist/_chunks/{index.es-BVC277zB.js → index.es-D9VqgSyV.js} +10 -10
- package/dist/_chunks/{index.es-BVC277zB.js.map → index.es-D9VqgSyV.js.map} +1 -1
- package/dist/_chunks/{markdown-qIVVfGoX.js → markdown-25UY48qE.js} +2 -2
- package/dist/_chunks/{markdown-qIVVfGoX.js.map → markdown-25UY48qE.js.map} +1 -1
- package/dist/ai-elements.es.js +939 -785
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotFeedbackForm.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-Ci7XnQ12.js +742 -0
- package/dist-vue/_chunks/Agent-Ci7XnQ12.js.map +1 -0
- package/dist-vue/_chunks/{Document-DmBTgjd4.js → Document-Bhlc3wdt.js} +10 -10
- package/dist-vue/_chunks/{Document-DmBTgjd4.js.map → Document-Bhlc3wdt.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-W9tO1H9i.js → PkChatbot-C05Rv5zO.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-W9tO1H9i.js.map → PkChatbot-C05Rv5zO.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-C2TpCnWH.js → PkChatbotAuth-DD5RF7kY.js} +3 -3
- package/dist-vue/_chunks/PkChatbotAuth-DD5RF7kY.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-BY3f3T0T.js → PkChatbotEmptyState-B5qeL1kv.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BY3f3T0T.js.map → PkChatbotEmptyState-B5qeL1kv.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-h4mjmVTG.js → PkChatbotFeedbackForm-BJ_Omuq2.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-h4mjmVTG.js.map → PkChatbotFeedbackForm-BJ_Omuq2.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-C5l6QDQY.js → PkChatbotInput-BLzTQmvy.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-C5l6QDQY.js.map → PkChatbotInput-BLzTQmvy.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-3RZER9PO.js → PkChatbotMessages-CxTz0W0d.js} +22 -22
- package/dist-vue/_chunks/PkChatbotMessages-CxTz0W0d.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-C-xnhmzZ.js → PkChatbotStepPayload-B04aqOGu.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-C-xnhmzZ.js.map → PkChatbotStepPayload-B04aqOGu.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Cko1vU0N.js → PkChatbotStepToolDetail-yII_Dk3p.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Cko1vU0N.js.map → PkChatbotStepToolDetail-yII_Dk3p.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-BkZ3Kq2M.js → PkChatbotSteps-DYiCeWOd.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-BkZ3Kq2M.js.map → PkChatbotSteps-DYiCeWOd.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BFImSy1X.js → PkChatbotViewChat-s-Vx4U1E.js} +7 -7
- package/dist-vue/_chunks/PkChatbotViewChat-s-Vx4U1E.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-D7XHDBGS.js +195 -0
- package/dist-vue/_chunks/PkChatbotViewConversations-D7XHDBGS.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewFiles-CMQdbZN6.js → PkChatbotViewFiles-t07w-VNZ.js} +36 -36
- package/dist-vue/_chunks/PkChatbotViewFiles-t07w-VNZ.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewProfile-CDCy1LEX.js → PkChatbotViewProfile-DJT5AEkZ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-CDCy1LEX.js.map → PkChatbotViewProfile-DJT5AEkZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-DJG-aPx2.js → PkStreamingMarkdown-ALhm02o3.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-DJG-aPx2.js.map → PkStreamingMarkdown-ALhm02o3.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-BHh7NUdR.js → PkToolEditSpreadsheet-DU3RBd6q.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-BHh7NUdR.js.map → PkToolEditSpreadsheet-DU3RBd6q.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Ccbhljmn.js → PkToolRequestGeolocation-CE4zQofM.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Ccbhljmn.js.map → PkToolRequestGeolocation-CE4zQofM.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-BXf5ZRzR.js → PkToolRequestOAuthConnection-CAk5s541.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-BXf5ZRzR.js.map → PkToolRequestOAuthConnection-CAk5s541.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BsfbvfVC.js → PkToolShowArtifact-CA1sKasD.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BsfbvfVC.js.map → PkToolShowArtifact-CA1sKasD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowCalendarEvent-yttlTHiX.js → PkToolShowCalendarEvent-Cb3lmDQZ.js} +2 -2
- package/dist-vue/_chunks/PkToolShowCalendarEvent-Cb3lmDQZ.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-C-YbtBlG.js → PkToolShowContactForm-C0QHEj5k.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowContactForm-C-YbtBlG.js.map → PkToolShowContactForm-C0QHEj5k.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CIHVrQ3e.js → PkToolShowDiagram-CQUd_reA.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CIHVrQ3e.js.map → PkToolShowDiagram-CQUd_reA.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BwYJhEVO.js → PkToolShowForm-B_ezmfuo.js} +8 -8
- package/dist-vue/_chunks/PkToolShowForm-B_ezmfuo.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowImageGallery-1A9zyOVn.js → PkToolShowImageGallery-B8gmmHvk.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-1A9zyOVn.js.map → PkToolShowImageGallery-B8gmmHvk.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowProductList-BMvt5mKe.js +72 -0
- package/dist-vue/_chunks/PkToolShowProductList-BMvt5mKe.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSources-BQpdJE_m.js → PkToolShowSources-DEmjN0Ou.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-BQpdJE_m.js.map → PkToolShowSources-DEmjN0Ou.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-D3jLsbKJ.js → PkToolShowSuggestedReply-BE6gBA-2.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-D3jLsbKJ.js.map → PkToolShowSuggestedReply-BE6gBA-2.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-DUdkb3qb.js → PkToolShowVideo-ZPDVzjPX.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-DUdkb3qb.js.map → PkToolShowVideo-ZPDVzjPX.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-BeeBiv9R.js → PkToolShowWebPages-dI4WMr7F.js} +8 -8
- package/dist-vue/_chunks/PkToolShowWebPages-dI4WMr7F.js.map +1 -0
- package/dist-vue/_chunks/{createChatbotApiClient-CDrs7NwO.js → createChatbotApiClient-IlTQndxL.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-CDrs7NwO.js.map → createChatbotApiClient-IlTQndxL.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-D7kQZyxD.js → index.es-VzNLOQUv.js} +2 -2
- package/dist-vue/_chunks/{index.es-D7kQZyxD.js.map → index.es-VzNLOQUv.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-D6YNk8Rx.js → useChatbotStore-CtJ3bwuy.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-D6YNk8Rx.js.map → useChatbotStore-CtJ3bwuy.js.map} +1 -1
- package/dist-vue/_chunks/{useDialogConfirm-KWz0ohCQ.js → useDialogConfirm-BxhvsnRr.js} +9 -8
- package/dist-vue/_chunks/useDialogConfirm-BxhvsnRr.js.map +1 -0
- package/dist-vue/_chunks/{utils-roi6YVNC.js → utils-BzypADaU.js} +2 -2
- package/dist-vue/_chunks/{utils-roi6YVNC.js.map → utils-BzypADaU.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +4 -4
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +5 -4
- package/dist-vue/apps/web-component/src/composables/useChatbotProfileProvider.d.ts +1 -1
- package/dist-vue/composables.js +169 -24
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +3477 -3384
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/packages/auth/src/email-brand.d.ts +11 -0
- package/dist-vue/packages/components/src/PkEditorMarkdown.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -1
- package/dist-vue/packages/components/src/table/PkTableEmpty.d.ts +1 -1
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +6 -6
- package/dist-vue/packages/composable/src/index.d.ts +1 -0
- package/dist-vue/packages/composable/src/useBranding.d.ts +89 -0
- package/dist-vue/packages/composable/src/useDialogConfirm.d.ts +2 -1
- package/dist-vue/packages/composable/src/useSettingsStore.d.ts +8 -3
- package/dist-vue/packages/models/src/schema/Agent.d.ts +20 -14
- package/dist-vue/packages/models/src/schema/Branding.d.ts +625 -0
- package/dist-vue/packages/models/src/schema/Platform.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/PwaManifest.d.ts +38 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -2
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -2
- package/dist-vue/packages/models/src/schema/index.d.ts +2 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-CJbRpoZG.js +0 -577
- package/dist/_chunks/Agent-CJbRpoZG.js.map +0 -1
- package/dist/_chunks/PkToolShowCalendarEvent-BLSTS6zf.js.map +0 -1
- package/dist/_chunks/PkToolShowForm-Dmq95u6b.js.map +0 -1
- package/dist/_chunks/PkToolShowProductList-DjS9nvXe.js +0 -72
- package/dist/_chunks/PkToolShowProductList-DjS9nvXe.js.map +0 -1
- package/dist/_chunks/PkToolShowWebPages-CYbiGa7e.js.map +0 -1
- package/dist-vue/_chunks/Agent---jwXeaB.js +0 -558
- package/dist-vue/_chunks/Agent---jwXeaB.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotAuth-C2TpCnWH.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-3RZER9PO.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-BFImSy1X.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewConversations-C6T4ZxxX.js +0 -195
- package/dist-vue/_chunks/PkChatbotViewConversations-C6T4ZxxX.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewFiles-CMQdbZN6.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowCalendarEvent-yttlTHiX.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowForm-BwYJhEVO.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowProductList-D61i6AMs.js +0 -72
- package/dist-vue/_chunks/PkToolShowProductList-D61i6AMs.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowWebPages-BeeBiv9R.js.map +0 -1
- package/dist-vue/_chunks/useDialogConfirm-KWz0ohCQ.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,577 +0,0 @@
|
|
|
1
|
-
import { C as e, S as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, n as d, o as f, s as ee, t as p, v as m, x as h, y as g } from "./zod-DNKa_yZf.js";
|
|
2
|
-
//#region ../../packages/models/src/utils.ts
|
|
3
|
-
var _ = (e, t, n) => ee(e, t, {
|
|
4
|
-
encode: (e) => e,
|
|
5
|
-
decode: n
|
|
6
|
-
}), v = 51200, te = m(g(), h()).refine((e) => JSON.stringify(e).length <= v, { message: `Schema must not exceed ${v / 1024} KB` });
|
|
7
|
-
e();
|
|
8
|
-
var ne = (e) => [`${e}`, `-${e}`], re = (e) => e.flatMap((e) => ne(e)), y = {
|
|
9
|
-
pagination: (e = 1, t = 10) => ({
|
|
10
|
-
"page[number]": c().or(g()).transform((e) => Number(e)).default(e),
|
|
11
|
-
"page[size]": c().or(g()).transform((e) => Number(e)).default(t)
|
|
12
|
-
}),
|
|
13
|
-
filter: (e) => ({ [`filter[${e}]`]: g().optional() }),
|
|
14
|
-
include: (e) => ({ [`include[${e}]`]: g().optional() }),
|
|
15
|
-
range: (e) => ({
|
|
16
|
-
[`from[${e}]`]: g().optional(),
|
|
17
|
-
[`to[${e}]`]: g().optional()
|
|
18
|
-
}),
|
|
19
|
-
has: (e) => ({ [`has[${e}]`]: f().optional() }),
|
|
20
|
-
fullText: () => ({ "filter[fullText]": g().optional() }),
|
|
21
|
-
ids: () => ({ ids: r([g(), n(g())]).optional() }),
|
|
22
|
-
deleted: () => ({ "filter[isDeleted]": f().default(!1) }),
|
|
23
|
-
filters: (e) => e.map((e) => y.filter(e)).reduce((e, t) => ({
|
|
24
|
-
...e,
|
|
25
|
-
...t
|
|
26
|
-
})),
|
|
27
|
-
sort: (e) => {
|
|
28
|
-
let t = re(e);
|
|
29
|
-
return { sort: d(t).optional().default(t[0]) };
|
|
30
|
-
}
|
|
31
|
-
}, b = s({
|
|
32
|
-
dateTime: g().optional(),
|
|
33
|
-
timezone: g().optional(),
|
|
34
|
-
language: g().optional(),
|
|
35
|
-
languages: n(g()).optional(),
|
|
36
|
-
url: g().optional(),
|
|
37
|
-
pathname: g().optional(),
|
|
38
|
-
pageTitle: g().optional(),
|
|
39
|
-
referrer: g().optional(),
|
|
40
|
-
screenWidth: c().optional(),
|
|
41
|
-
screenHeight: c().optional(),
|
|
42
|
-
viewportWidth: c().optional(),
|
|
43
|
-
viewportHeight: c().optional(),
|
|
44
|
-
devicePixelRatio: c().optional(),
|
|
45
|
-
maxTouchPoints: c().optional(),
|
|
46
|
-
hardwareConcurrency: c().optional(),
|
|
47
|
-
deviceMemory: c().optional(),
|
|
48
|
-
platform: g().optional(),
|
|
49
|
-
connectionType: g().optional(),
|
|
50
|
-
connectionEffectiveType: g().optional(),
|
|
51
|
-
connectionDownlink: c().optional(),
|
|
52
|
-
connectionRtt: c().optional(),
|
|
53
|
-
saveData: f().optional(),
|
|
54
|
-
darkMode: f().optional(),
|
|
55
|
-
reducedMotion: f().optional(),
|
|
56
|
-
historyLength: c().optional(),
|
|
57
|
-
geolocationLatitude: c().optional(),
|
|
58
|
-
geolocationLongitude: c().optional(),
|
|
59
|
-
geolocationAccuracy: c().optional(),
|
|
60
|
-
geolocationCity: g().optional()
|
|
61
|
-
}), x = /^[a-z]+\/[a-z0-9\-+.]+$/i, ie = /* @__PURE__ */ function(e) {
|
|
62
|
-
return e.DEFAULT = "default", e.COLD = "cold", e.HOT = "hot", e.ARCHIVE = "archive", e;
|
|
63
|
-
}({}), ae = s({
|
|
64
|
-
type: o("azure-blob"),
|
|
65
|
-
blobUri: t(),
|
|
66
|
-
containerName: g().min(1),
|
|
67
|
-
pathRelativeToContainer: g().min(1)
|
|
68
|
-
}), oe = s({
|
|
69
|
-
type: o("s3"),
|
|
70
|
-
bucket: g().min(1),
|
|
71
|
-
key: g().min(1),
|
|
72
|
-
region: g().min(1)
|
|
73
|
-
}), se = u("type", [ae, oe]), S = s({
|
|
74
|
-
type: g().min(1),
|
|
75
|
-
name: g().min(1),
|
|
76
|
-
mimeType: g().regex(x),
|
|
77
|
-
bytesCount: c().positive(),
|
|
78
|
-
extension: g().regex(/^\.[a-zA-Z0-9]+$/).overwrite((e) => e.toLowerCase()),
|
|
79
|
-
storedFileName: g().optional(),
|
|
80
|
-
metadata: m(g(), g()).default({}),
|
|
81
|
-
tags: m(g(), g()).default({})
|
|
82
|
-
}).extend({
|
|
83
|
-
storageHandle: se,
|
|
84
|
-
storagePolicy: d(ie),
|
|
85
|
-
signData: g().optional(),
|
|
86
|
-
storedFileName: g().min(1)
|
|
87
|
-
}), C = s({
|
|
88
|
-
name: g().min(1),
|
|
89
|
-
src: S,
|
|
90
|
-
srcSet: n(S).default([]),
|
|
91
|
-
rawOptions: i().optional()
|
|
92
|
-
});
|
|
93
|
-
s({
|
|
94
|
-
src: S,
|
|
95
|
-
uploadHandle: s({
|
|
96
|
-
uploadSasuri: t(),
|
|
97
|
-
metadata: m(g(), g()).default({}),
|
|
98
|
-
tags: m(g(), g()).default({})
|
|
99
|
-
})
|
|
100
|
-
}), s({
|
|
101
|
-
src: S,
|
|
102
|
-
downloadHandle: s({
|
|
103
|
-
downloadSasuri: t(),
|
|
104
|
-
viewSasuri: t(),
|
|
105
|
-
previewSasuri: t().optional(),
|
|
106
|
-
expiresOn: g().datetime(),
|
|
107
|
-
type: g()
|
|
108
|
-
})
|
|
109
|
-
});
|
|
110
|
-
var w = /* @__PURE__ */ function(e) {
|
|
111
|
-
return e.picture = "picture", e.video = "video", e.audio = "audio", e.office = "office", e.archive = "archive", e.binary = "binary", e.executable = "executable", e;
|
|
112
|
-
}({}), ce = s({
|
|
113
|
-
type: o(w.picture),
|
|
114
|
-
width: c().positive(),
|
|
115
|
-
height: c().positive(),
|
|
116
|
-
blurhash: g().optional()
|
|
117
|
-
}), le = s({
|
|
118
|
-
type: o(w.video),
|
|
119
|
-
width: c().positive(),
|
|
120
|
-
height: c().positive(),
|
|
121
|
-
duration: c().nonnegative()
|
|
122
|
-
}), ue = s({
|
|
123
|
-
type: o(w.audio),
|
|
124
|
-
duration: c().nonnegative()
|
|
125
|
-
}), de = s({ type: o(w.office) }), fe = s({ type: o(w.archive) }), pe = s({ type: o(w.binary) }), me = s({ type: o(w.executable) });
|
|
126
|
-
u("type", [
|
|
127
|
-
ce,
|
|
128
|
-
le,
|
|
129
|
-
ue,
|
|
130
|
-
de,
|
|
131
|
-
fe,
|
|
132
|
-
pe,
|
|
133
|
-
me
|
|
134
|
-
]);
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region ../../packages/models/src/schema/Agent.ts
|
|
137
|
-
var T = /* @__PURE__ */ function(e) {
|
|
138
|
-
return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
|
|
139
|
-
}({}), E = /* @__PURE__ */ function(e) {
|
|
140
|
-
return e.Public = "public", e.Private = "private", e.Organization = "organization", e;
|
|
141
|
-
}({}), D = /* @__PURE__ */ function(e) {
|
|
142
|
-
return e.Chat = "chat", e.Reasoning = "reasoning", e;
|
|
143
|
-
}({}), O = /* @__PURE__ */ function(e) {
|
|
144
|
-
return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
|
|
145
|
-
}({}), k = [
|
|
146
|
-
"none",
|
|
147
|
-
"low",
|
|
148
|
-
"medium",
|
|
149
|
-
"high",
|
|
150
|
-
"xhigh",
|
|
151
|
-
"max"
|
|
152
|
-
], A = [
|
|
153
|
-
"low",
|
|
154
|
-
"medium",
|
|
155
|
-
"high",
|
|
156
|
-
"xhigh",
|
|
157
|
-
"max"
|
|
158
|
-
], j = [
|
|
159
|
-
"minimal",
|
|
160
|
-
"low",
|
|
161
|
-
"medium",
|
|
162
|
-
"high"
|
|
163
|
-
], he = [
|
|
164
|
-
"auto",
|
|
165
|
-
"detailed",
|
|
166
|
-
"concise"
|
|
167
|
-
], ge = s({
|
|
168
|
-
reasoningEffort: d(k).optional(),
|
|
169
|
-
reasoningSummary: d(he).optional()
|
|
170
|
-
}), _e = s({
|
|
171
|
-
type: d([
|
|
172
|
-
"adaptive",
|
|
173
|
-
"enabled",
|
|
174
|
-
"disabled"
|
|
175
|
-
]).optional(),
|
|
176
|
-
effort: d(A).optional(),
|
|
177
|
-
display: d(["summarized", "omitted"]).optional(),
|
|
178
|
-
budgetTokens: c().int().positive().optional()
|
|
179
|
-
}), ve = s({
|
|
180
|
-
thinkingLevel: d(j).optional(),
|
|
181
|
-
thinkingBudget: c().int().optional(),
|
|
182
|
-
includeThoughts: f().optional()
|
|
183
|
-
}), ye = s({ type: d(["enabled", "disabled"]).optional() }), M = [
|
|
184
|
-
"alibaba",
|
|
185
|
-
"meta",
|
|
186
|
-
"moonshotai",
|
|
187
|
-
"spacexai",
|
|
188
|
-
"xiaomi",
|
|
189
|
-
"zai"
|
|
190
|
-
], be = [
|
|
191
|
-
"none",
|
|
192
|
-
"minimal",
|
|
193
|
-
"low",
|
|
194
|
-
"medium",
|
|
195
|
-
"high",
|
|
196
|
-
"xhigh"
|
|
197
|
-
], N = s({ reasoningEffort: d(be).optional() });
|
|
198
|
-
function P(e, t) {
|
|
199
|
-
return e && t.includes(e) ? e : void 0;
|
|
200
|
-
}
|
|
201
|
-
var xe = s({
|
|
202
|
-
openai: ge.optional(),
|
|
203
|
-
anthropic: _e.optional(),
|
|
204
|
-
google: ve.optional(),
|
|
205
|
-
deepseek: ye.optional(),
|
|
206
|
-
alibaba: N.optional(),
|
|
207
|
-
meta: N.optional(),
|
|
208
|
-
moonshotai: N.optional(),
|
|
209
|
-
spacexai: N.optional(),
|
|
210
|
-
xiaomi: N.optional(),
|
|
211
|
-
zai: N.optional()
|
|
212
|
-
});
|
|
213
|
-
function Se(e) {
|
|
214
|
-
if (!e || typeof e != "object") return e;
|
|
215
|
-
let t = e, n = [
|
|
216
|
-
"openai",
|
|
217
|
-
"anthropic",
|
|
218
|
-
"google",
|
|
219
|
-
"deepseek",
|
|
220
|
-
...M
|
|
221
|
-
].some((e) => e in t);
|
|
222
|
-
if ("effort" in t && !n) {
|
|
223
|
-
let e = t.effort, n = t.reasoningSummary, r = {};
|
|
224
|
-
if (e && e !== "off" && e !== "none") {
|
|
225
|
-
let t = P(e, k), i = P(n, he);
|
|
226
|
-
(t || i) && (r.openai = {
|
|
227
|
-
...t && { reasoningEffort: t },
|
|
228
|
-
...i && { reasoningSummary: i }
|
|
229
|
-
});
|
|
230
|
-
let a = P(e, A);
|
|
231
|
-
a && (r.anthropic = {
|
|
232
|
-
type: "adaptive",
|
|
233
|
-
effort: a
|
|
234
|
-
});
|
|
235
|
-
let o = P(e === "xhigh" || e === "max" ? "high" : e, j);
|
|
236
|
-
o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
|
|
237
|
-
let s = P(e === "max" ? "xhigh" : e, be);
|
|
238
|
-
if (s) for (let e of M) r[e] = { reasoningEffort: s };
|
|
239
|
-
} else {
|
|
240
|
-
r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
|
|
241
|
-
for (let e of M) r[e] = { reasoningEffort: "none" };
|
|
242
|
-
}
|
|
243
|
-
return r;
|
|
244
|
-
}
|
|
245
|
-
return e;
|
|
246
|
-
}
|
|
247
|
-
var F = _(h(), xe, Se).optional(), I = /* @__PURE__ */ function(e) {
|
|
248
|
-
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.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;
|
|
249
|
-
}({});
|
|
250
|
-
function Ce(e) {
|
|
251
|
-
return e === I.RequestConfirm || e === I.ShowArtifact || e === I.ShowCalendarEvent || e === I.ShowComparison || e === I.ShowContactForm || e === I.ShowDiagram || e === I.ShowEmail || e === I.ShowImageGallery || e === I.ShowLocation || e === I.ShowMessage || e === I.ShowForm || e === I.ShowMultipleChoice || e === I.ShowProductList || e === I.ShowQrCode || e === I.ShowSources || e === I.ShowSuggestedReply || e === I.ShowVideo || e === I.ShowWeather || e === I.ShowWebPages;
|
|
252
|
-
}
|
|
253
|
-
I.RequestConfirm, I.ShowArtifact, I.ShowWeather, I.ShowLocation, I.ShowComparison, I.ShowProductList, I.ShowWebPages, I.ShowImageGallery, I.ShowVideo, I.ShowSources, I.ShowSuggestedReply, I.ShowCalendarEvent, I.ShowEmail, I.ShowMessage, I.ShowForm;
|
|
254
|
-
var we = /* @__PURE__ */ new Set([
|
|
255
|
-
I.RequestConfirm,
|
|
256
|
-
I.RequestGeolocation,
|
|
257
|
-
I.ShowForm,
|
|
258
|
-
I.ShowMultipleChoice,
|
|
259
|
-
"requestOAuthConnection"
|
|
260
|
-
]);
|
|
261
|
-
function Te(e) {
|
|
262
|
-
return we.has(e);
|
|
263
|
-
}
|
|
264
|
-
I.RequestConfirm, I.RequestGeolocation, I.ShowArtifact, I.ShowCalendarEvent, I.ShowContactForm, I.ShowComparison, I.ShowDiagram, I.ShowEmail, I.ShowForm, I.ShowImageGallery, I.ShowLocation, I.ShowMessage, I.ShowMultipleChoice, I.ShowProductList, I.ShowQrCode, I.ShowSources, I.ShowSuggestedReply, I.ShowVideo, I.ShowWeather, I.ShowWebPages;
|
|
265
|
-
var Ee = "Shown on the caller's screen";
|
|
266
|
-
function De(e) {
|
|
267
|
-
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Ee));
|
|
268
|
-
}
|
|
269
|
-
var L = s({
|
|
270
|
-
maxSteps: c().int().min(1).max(10).optional().default(5),
|
|
271
|
-
maxOptionsPerStep: c().int().min(2).max(10).optional().default(5)
|
|
272
|
-
}), R = /* @__PURE__ */ function(e) {
|
|
273
|
-
return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
|
|
274
|
-
}({}), Oe = s({
|
|
275
|
-
maxResults: c().int().min(1).max(20).optional(),
|
|
276
|
-
maxTokens: c().int().positive().max(1e6).optional(),
|
|
277
|
-
maxTokensPerPage: c().int().positive().optional(),
|
|
278
|
-
country: g().max(2).optional(),
|
|
279
|
-
searchLanguageFilter: n(g().max(5)).max(10).optional(),
|
|
280
|
-
searchDomainFilter: n(g()).max(20).optional(),
|
|
281
|
-
searchRecencyFilter: d([
|
|
282
|
-
"day",
|
|
283
|
-
"week",
|
|
284
|
-
"month",
|
|
285
|
-
"year"
|
|
286
|
-
]).optional()
|
|
287
|
-
}), ke = s({
|
|
288
|
-
mode: d(["one-shot", "agentic"]).optional(),
|
|
289
|
-
maxResults: c().int().min(1).max(20).optional(),
|
|
290
|
-
sourcePolicy: s({
|
|
291
|
-
includeDomains: n(g()).optional(),
|
|
292
|
-
excludeDomains: n(g()).optional(),
|
|
293
|
-
afterDate: g().optional()
|
|
294
|
-
}).optional(),
|
|
295
|
-
excerpts: s({
|
|
296
|
-
maxCharsPerResult: c().int().positive().optional(),
|
|
297
|
-
maxCharsTotal: c().int().positive().optional()
|
|
298
|
-
}).optional(),
|
|
299
|
-
fetchPolicy: s({ maxAgeSeconds: c().int().positive().optional() }).optional()
|
|
300
|
-
}), Ae = s({
|
|
301
|
-
openai: s({}).optional(),
|
|
302
|
-
anthropic: s({
|
|
303
|
-
maxUses: c().int().positive().optional(),
|
|
304
|
-
allowedDomains: n(g()).optional(),
|
|
305
|
-
blockedDomains: n(g()).optional(),
|
|
306
|
-
userLocation: s({
|
|
307
|
-
type: o("approximate").optional(),
|
|
308
|
-
country: g().optional(),
|
|
309
|
-
region: g().optional(),
|
|
310
|
-
city: g().optional(),
|
|
311
|
-
timezone: g().optional()
|
|
312
|
-
}).optional()
|
|
313
|
-
}).optional(),
|
|
314
|
-
google: s({}).optional()
|
|
315
|
-
}), z = s({
|
|
316
|
-
enabled: f().default(!1),
|
|
317
|
-
provider: d(R).optional().default(R.Native),
|
|
318
|
-
perplexity: Oe.optional(),
|
|
319
|
-
parallel: ke.optional(),
|
|
320
|
-
native: Ae.optional()
|
|
321
|
-
}), B = s({ useAllUserKb: f().default(!1) }), V = s({ useAllUserFiles: f().default(!1) }), H = s({ tools: n(g()).default([]) }), U = s({
|
|
322
|
-
disabled: n(d(I)).default([
|
|
323
|
-
I.UserMemory,
|
|
324
|
-
I.SearchInUserFiles,
|
|
325
|
-
I.RunWorker,
|
|
326
|
-
I.FetchTeamsChannelHistory
|
|
327
|
-
]),
|
|
328
|
-
showForm: L.optional().default(() => L.parse({})),
|
|
329
|
-
webSearch: z.optional().default(() => z.parse({})),
|
|
330
|
-
userMemory: B.optional().default(() => B.parse({})),
|
|
331
|
-
userFiles: V.optional().default(() => V.parse({})),
|
|
332
|
-
approval: H.optional().default(() => H.parse({}))
|
|
333
|
-
}), W = s({
|
|
334
|
-
freshness: s({
|
|
335
|
-
enabled: f().default(!1),
|
|
336
|
-
scale: c().int().min(86400).max(31536e3).default(7776e3),
|
|
337
|
-
weight: c().min(.05).max(.5).default(.1)
|
|
338
|
-
}).prefault({}),
|
|
339
|
-
priority: s({ enabled: f().default(!0) }).prefault({}),
|
|
340
|
-
mmr: s({
|
|
341
|
-
enabled: f().default(!1),
|
|
342
|
-
diversity: c().min(0).max(1).default(.3),
|
|
343
|
-
candidatesLimit: c().int().min(20).max(100).default(50)
|
|
344
|
-
}).prefault({})
|
|
345
|
-
}).prefault({}), je = s({
|
|
346
|
-
prompt: g().optional(),
|
|
347
|
-
temperature: c().min(0).max(2).optional().default(.6),
|
|
348
|
-
maxOutputTokens: c().positive().optional(),
|
|
349
|
-
presencePenalty: c().min(-2).max(2).optional(),
|
|
350
|
-
frequencyPenalty: c().min(-2).max(2).optional(),
|
|
351
|
-
searchMode: d(O).optional().default(O.Balanced),
|
|
352
|
-
limit: c().positive().max(100).optional().default(10),
|
|
353
|
-
maxStepCount: c().int().min(1).max(40).optional().default(10),
|
|
354
|
-
reasoning: F,
|
|
355
|
-
ranking: W.optional().default(() => W.parse({}))
|
|
356
|
-
}), G = _(h(), m(g(), g()), (e) => typeof e == "string" ? { it: e } : e), Me = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", K = /* @__PURE__ */ function(e) {
|
|
357
|
-
return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
|
|
358
|
-
}({}), q = /* @__PURE__ */ function(e) {
|
|
359
|
-
return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
|
|
360
|
-
}({}), J = Object.values(q), Ne = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
|
|
361
|
-
function Y(e) {
|
|
362
|
-
let t = e.trim().toLowerCase();
|
|
363
|
-
if (!t) return "";
|
|
364
|
-
try {
|
|
365
|
-
return new URL(t.includes("://") ? t : `https://${t}`).hostname;
|
|
366
|
-
} catch {
|
|
367
|
-
return t;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
var X = s({
|
|
371
|
-
media: C.optional(),
|
|
372
|
-
logo: g().optional(),
|
|
373
|
-
theme: d([
|
|
374
|
-
"light",
|
|
375
|
-
"dark",
|
|
376
|
-
"auto"
|
|
377
|
-
]).optional().default("auto"),
|
|
378
|
-
mainColor: g().regex(/^#[0-9A-Fa-f]{6}$/).optional().default("#000000"),
|
|
379
|
-
textColor: d([
|
|
380
|
-
"auto",
|
|
381
|
-
"white",
|
|
382
|
-
"black"
|
|
383
|
-
]).optional().default("auto"),
|
|
384
|
-
useColorsForAgentHeader: f().optional().default(!1),
|
|
385
|
-
initialMessage: G.optional(),
|
|
386
|
-
greeting: n(G).min(1).max(10).optional(),
|
|
387
|
-
messagePlaceholder: G.optional(),
|
|
388
|
-
dismissableNotice: G.optional(),
|
|
389
|
-
footerMessage: G.optional(),
|
|
390
|
-
privacyPolicyNotice: G.optional(),
|
|
391
|
-
interactiveLogin: f().optional().default(!0),
|
|
392
|
-
welcomePopup: f().optional().default(!1),
|
|
393
|
-
floatingButtonPosition: d(["left", "right"]).optional().default("right"),
|
|
394
|
-
maxMessageLength: c().int().positive().optional(),
|
|
395
|
-
widgetUrl: t().default(Me),
|
|
396
|
-
loadDelay: c().int().min(0).max(3e4).optional().default(0),
|
|
397
|
-
loaderStrategy: d(K).optional().default(K.InlineModule),
|
|
398
|
-
customCss: g().optional(),
|
|
399
|
-
smoothStream: f().optional().default(!1),
|
|
400
|
-
showExtendedSteps: f().optional().default(!1),
|
|
401
|
-
imageHosts: n(g().overwrite(Y).refine((e) => e === "" || Ne.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
|
|
402
|
-
}), Pe = [
|
|
403
|
-
"image/jpeg",
|
|
404
|
-
"image/png",
|
|
405
|
-
"image/gif",
|
|
406
|
-
"image/webp",
|
|
407
|
-
"application/pdf",
|
|
408
|
-
"text/plain",
|
|
409
|
-
"text/markdown",
|
|
410
|
-
"text/csv"
|
|
411
|
-
], Fe = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Z = s({
|
|
412
|
-
enabled: f().default(!1),
|
|
413
|
-
maxFileSizeBytes: c().int().positive().max(104857600).optional().default(20971520),
|
|
414
|
-
allowedMimeTypes: n(g().regex(x)).optional().default([...Pe]),
|
|
415
|
-
maxFilesPerMessage: c().int().positive().max(10).optional().default(5),
|
|
416
|
-
maxFilesPerChat: c().int().positive().max(50).optional().default(20)
|
|
417
|
-
}), Q = s({
|
|
418
|
-
zeroDataRetention: f().default(!0),
|
|
419
|
-
disallowPromptTraining: f().default(!0),
|
|
420
|
-
providerTimeoutMs: c().int().min(1e3).max(789e3).optional()
|
|
421
|
-
}), Ie = s({ enabled: f().default(!1) }), Le = /* @__PURE__ */ function(e) {
|
|
422
|
-
return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
|
|
423
|
-
}({}), Re = s({ mode: d(Le).default(Le.Off) }), ze = s({
|
|
424
|
-
enabled: f().default(!1),
|
|
425
|
-
voiceId: g().optional(),
|
|
426
|
-
language: g().min(2).max(5).default("it"),
|
|
427
|
-
maxSessionSeconds: c().int().min(30).max(3600).default(600),
|
|
428
|
-
cascadeTimeoutSeconds: c().min(1).max(15).default(15).transform((e) => Math.max(5, e)),
|
|
429
|
-
fillerAfterSeconds: c().min(.5).max(8).optional(),
|
|
430
|
-
fillerMessage: g().max(200).optional(),
|
|
431
|
-
ignoreBackgroundVoices: f().default(!0),
|
|
432
|
-
turnEagerness: d([
|
|
433
|
-
"patient",
|
|
434
|
-
"normal",
|
|
435
|
-
"eager"
|
|
436
|
-
]).default("normal"),
|
|
437
|
-
turnTimeoutSeconds: c().min(1).max(30).default(5),
|
|
438
|
-
firstMessage: g().max(300).optional(),
|
|
439
|
-
providerAgentId: g().optional(),
|
|
440
|
-
providerSecretId: g().optional(),
|
|
441
|
-
providerApiKeyId: g().optional()
|
|
442
|
-
}), Be = s({ enabled: f() });
|
|
443
|
-
s({
|
|
444
|
-
chatId: g().min(1).optional(),
|
|
445
|
-
deviceContext: b.optional(),
|
|
446
|
-
externalContext: m(g(), h()).optional()
|
|
447
|
-
});
|
|
448
|
-
var Ve = s({
|
|
449
|
-
sessionId: g(),
|
|
450
|
-
signedUrl: g(),
|
|
451
|
-
providerAgentId: g(),
|
|
452
|
-
chatId: g(),
|
|
453
|
-
maxSessionSeconds: c().int()
|
|
454
|
-
}), He = s({
|
|
455
|
-
voiceId: g(),
|
|
456
|
-
name: g(),
|
|
457
|
-
category: g().optional(),
|
|
458
|
-
previewUrl: g().optional(),
|
|
459
|
-
labels: m(g(), g()).optional()
|
|
460
|
-
});
|
|
461
|
-
n(He);
|
|
462
|
-
var Ue = s({
|
|
463
|
-
model: je,
|
|
464
|
-
interface: X,
|
|
465
|
-
tools: U.optional().default(() => U.parse({})),
|
|
466
|
-
fileUpload: Z.optional().default(() => Z.parse({})),
|
|
467
|
-
gatewayOptions: Q.optional().default(() => Q.parse({})),
|
|
468
|
-
channels: n(d(q)).optional().default(() => [...J]),
|
|
469
|
-
externalContextSchema: te.optional(),
|
|
470
|
-
openaiApi: Ie.optional().default(() => Ie.parse({})),
|
|
471
|
-
voice: ze.optional().default(() => ze.parse({})),
|
|
472
|
-
toolWorkingSet: Re.optional().default(() => Re.parse({}))
|
|
473
|
-
}), We = s({
|
|
474
|
-
rateLimits: s({
|
|
475
|
-
minuteRateLimit: c().int().min(0).optional(),
|
|
476
|
-
hourRateLimit: c().int().min(0).optional(),
|
|
477
|
-
dayRateLimit: c().int().min(0).optional(),
|
|
478
|
-
monthRateLimit: c().int().min(0).optional()
|
|
479
|
-
}),
|
|
480
|
-
trustedOrigins: s({ origins: n(t().or(o(""))).overwrite((e) => e?.filter((e) => e?.trim())).default([]) }).default({ origins: [] })
|
|
481
|
-
});
|
|
482
|
-
s({
|
|
483
|
-
id: g().optional(),
|
|
484
|
-
name: g(),
|
|
485
|
-
prompt: g().optional(),
|
|
486
|
-
model: g().optional(),
|
|
487
|
-
fallbackModels: n(g()).default([]),
|
|
488
|
-
status: d(T).default(T.Draft),
|
|
489
|
-
visibility: d(E).default(E.Organization),
|
|
490
|
-
settings: Ue,
|
|
491
|
-
security: We.nullish(),
|
|
492
|
-
type: d(D).default(D.Chat),
|
|
493
|
-
organizationId: g()
|
|
494
|
-
}), a(() => s({
|
|
495
|
-
id: g(),
|
|
496
|
-
name: g(),
|
|
497
|
-
prompt: g(),
|
|
498
|
-
model: g(),
|
|
499
|
-
fallbackModels: n(g()).nullable().default([]),
|
|
500
|
-
status: d(T).default(T.Draft),
|
|
501
|
-
visibility: d(E).default(E.Organization),
|
|
502
|
-
settings: Ue,
|
|
503
|
-
security: We.nullable(),
|
|
504
|
-
type: d(D).default(D.Chat),
|
|
505
|
-
organizationId: g(),
|
|
506
|
-
createdAt: p(),
|
|
507
|
-
createdBy: g(),
|
|
508
|
-
updatedAt: p(),
|
|
509
|
-
updatedBy: g(),
|
|
510
|
-
deleted: f(),
|
|
511
|
-
deletedAt: p().nullable(),
|
|
512
|
-
deletedBy: g().nullable(),
|
|
513
|
-
outOfBudget: f().optional().default(!1),
|
|
514
|
-
outOfBudgetReason: g().optional().default("")
|
|
515
|
-
}));
|
|
516
|
-
var Ge = s({
|
|
517
|
-
id: g(),
|
|
518
|
-
name: g(),
|
|
519
|
-
status: d(T),
|
|
520
|
-
visibility: d(E),
|
|
521
|
-
organizationId: g(),
|
|
522
|
-
interface: X,
|
|
523
|
-
createdAt: p(),
|
|
524
|
-
updatedAt: p(),
|
|
525
|
-
capabilities: s({
|
|
526
|
-
fileUpload: Z,
|
|
527
|
-
voice: Be
|
|
528
|
-
}),
|
|
529
|
-
channels: n(d(q)).default(() => [...J])
|
|
530
|
-
}), Ke = X.pick({
|
|
531
|
-
logo: !0,
|
|
532
|
-
mainColor: !0,
|
|
533
|
-
textColor: !0,
|
|
534
|
-
theme: !0,
|
|
535
|
-
floatingButtonPosition: !0,
|
|
536
|
-
customCss: !0
|
|
537
|
-
}), qe = Ge.pick({
|
|
538
|
-
id: !0,
|
|
539
|
-
name: !0,
|
|
540
|
-
organizationId: !0
|
|
541
|
-
}).extend({ interface: Ke }), Je = s({
|
|
542
|
-
emailPassword: f(),
|
|
543
|
-
google: f(),
|
|
544
|
-
microsoft: f()
|
|
545
|
-
}), Ye = s({
|
|
546
|
-
requiresAuth: o(!1),
|
|
547
|
-
agent: Ge,
|
|
548
|
-
branding: l()
|
|
549
|
-
}), $ = s({
|
|
550
|
-
requiresAuth: o(!0),
|
|
551
|
-
agent: l(),
|
|
552
|
-
branding: qe
|
|
553
|
-
});
|
|
554
|
-
u("requiresAuth", [Ye, $]), u("requiresAuth", [Ye.extend({ authMethods: Je }), $.extend({ authMethods: Je })]), s({
|
|
555
|
-
id: e(),
|
|
556
|
-
agentIds: n(e())
|
|
557
|
-
}), s({
|
|
558
|
-
...y.pagination(),
|
|
559
|
-
...y.sort([
|
|
560
|
-
"id",
|
|
561
|
-
"updatedAt",
|
|
562
|
-
"createdAt",
|
|
563
|
-
"name",
|
|
564
|
-
"type",
|
|
565
|
-
"status",
|
|
566
|
-
"visibility",
|
|
567
|
-
"model"
|
|
568
|
-
]),
|
|
569
|
-
...y.filters(["done", "type"]),
|
|
570
|
-
...y.filter("id"),
|
|
571
|
-
...y.fullText(),
|
|
572
|
-
...y.ids()
|
|
573
|
-
});
|
|
574
|
-
//#endregion
|
|
575
|
-
export { y as _, O as a, Ve as c, De as d, Y as f, _ as g, b as h, F as i, Ce as l, C as m, Q as n, z as o, x as p, W as r, Fe as s, I as t, Te as u };
|
|
576
|
-
|
|
577
|
-
//# sourceMappingURL=Agent-CJbRpoZG.js.map
|