@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
|
@@ -0,0 +1,705 @@
|
|
|
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 ee, l, n as u, o as d, s as te, t as f, v as p, x as m, y as h } from "./zod-DNKa_yZf.js";
|
|
2
|
+
//#region ../../packages/models/src/utils.ts
|
|
3
|
+
var g = (e, t, n) => te(e, t, {
|
|
4
|
+
encode: (e) => e,
|
|
5
|
+
decode: n
|
|
6
|
+
}), _ = 51200, ne = p(h(), m()).refine((e) => JSON.stringify(e).length <= _, { message: `Schema must not exceed ${_ / 1024} KB` });
|
|
7
|
+
e();
|
|
8
|
+
var re = (e) => [`${e}`, `-${e}`], ie = (e) => e.flatMap((e) => re(e)), v = {
|
|
9
|
+
pagination: (e = 1, t = 10) => ({
|
|
10
|
+
"page[number]": c().or(h()).transform((e) => Number(e)).default(e),
|
|
11
|
+
"page[size]": c().or(h()).transform((e) => Number(e)).default(t)
|
|
12
|
+
}),
|
|
13
|
+
filter: (e) => ({ [`filter[${e}]`]: h().optional() }),
|
|
14
|
+
include: (e) => ({ [`include[${e}]`]: h().optional() }),
|
|
15
|
+
range: (e) => ({
|
|
16
|
+
[`from[${e}]`]: h().optional(),
|
|
17
|
+
[`to[${e}]`]: h().optional()
|
|
18
|
+
}),
|
|
19
|
+
has: (e) => ({ [`has[${e}]`]: d().optional() }),
|
|
20
|
+
fullText: () => ({ "filter[fullText]": h().optional() }),
|
|
21
|
+
ids: () => ({ ids: r([h(), n(h())]).optional() }),
|
|
22
|
+
deleted: () => ({ "filter[isDeleted]": d().default(!1) }),
|
|
23
|
+
filters: (e) => e.map((e) => v.filter(e)).reduce((e, t) => ({
|
|
24
|
+
...e,
|
|
25
|
+
...t
|
|
26
|
+
})),
|
|
27
|
+
sort: (e) => {
|
|
28
|
+
let t = ie(e);
|
|
29
|
+
return { sort: u(t).optional().default(t[0]) };
|
|
30
|
+
}
|
|
31
|
+
}, y = /^#[0-9A-Fa-f]{6}$/, ae = s({
|
|
32
|
+
brand: h().regex(y),
|
|
33
|
+
accent: h().regex(y),
|
|
34
|
+
info: h().regex(y)
|
|
35
|
+
}), b = s({
|
|
36
|
+
light: ae,
|
|
37
|
+
dark: ae
|
|
38
|
+
}), x = /* @__PURE__ */ function(e) {
|
|
39
|
+
return e.System = "system", e.ForceLight = "force-light", e.ForceDark = "force-dark", e;
|
|
40
|
+
}({}), S = /* @__PURE__ */ function(e) {
|
|
41
|
+
return e.LogoLight = "logoLight", e.LogoDark = "logoDark", e.Mark = "mark", e.EmailLogo = "emailLogo", e.EmailBanner = "emailBanner", e;
|
|
42
|
+
}({});
|
|
43
|
+
S.EmailLogo, S.EmailBanner;
|
|
44
|
+
var C = s({
|
|
45
|
+
checksum: h().regex(/^[0-9a-f]{64}$/),
|
|
46
|
+
mimeType: u([
|
|
47
|
+
"image/svg+xml",
|
|
48
|
+
"image/png",
|
|
49
|
+
"image/webp",
|
|
50
|
+
"image/jpeg"
|
|
51
|
+
]),
|
|
52
|
+
width: c().int().positive().nullable(),
|
|
53
|
+
height: c().int().positive().nullable()
|
|
54
|
+
}), w = s({
|
|
55
|
+
[S.LogoLight]: C.nullable(),
|
|
56
|
+
[S.LogoDark]: C.nullable(),
|
|
57
|
+
[S.Mark]: C.nullable(),
|
|
58
|
+
[S.EmailLogo]: C.nullable(),
|
|
59
|
+
[S.EmailBanner]: C.nullable()
|
|
60
|
+
}), T = s({
|
|
61
|
+
productName: h().trim().min(1).max(60),
|
|
62
|
+
shortName: h().trim().min(1).max(24),
|
|
63
|
+
description: h().trim().max(200).nullable(),
|
|
64
|
+
productTagline: h().trim().max(40).nullable(),
|
|
65
|
+
companyName: h().trim().max(80).nullable()
|
|
66
|
+
});
|
|
67
|
+
s({
|
|
68
|
+
colors: b,
|
|
69
|
+
mode: u(x),
|
|
70
|
+
assets: w,
|
|
71
|
+
text: T
|
|
72
|
+
}).extend({
|
|
73
|
+
version: h(),
|
|
74
|
+
stylesheetVersion: h().optional()
|
|
75
|
+
});
|
|
76
|
+
var oe = s({ css: h() }), E = w.partial(), D = T.partial().extend({
|
|
77
|
+
productName: T.shape.productName.nullish(),
|
|
78
|
+
shortName: T.shape.shortName.nullish()
|
|
79
|
+
}), se = s({
|
|
80
|
+
colors: b.nullish(),
|
|
81
|
+
mode: u(x).nullish(),
|
|
82
|
+
assets: E.nullish(),
|
|
83
|
+
text: D.nullish()
|
|
84
|
+
});
|
|
85
|
+
s({
|
|
86
|
+
patch: se,
|
|
87
|
+
revision: h().min(1).max(64)
|
|
88
|
+
});
|
|
89
|
+
var O = (e) => e.optional().catch(void 0);
|
|
90
|
+
s({
|
|
91
|
+
colors: O(b.nullable()),
|
|
92
|
+
mode: O(u(x).nullable()),
|
|
93
|
+
assets: O(s({
|
|
94
|
+
[S.LogoLight]: O(E.shape.logoLight),
|
|
95
|
+
[S.LogoDark]: O(E.shape.logoDark),
|
|
96
|
+
[S.Mark]: O(E.shape.mark),
|
|
97
|
+
[S.EmailLogo]: O(E.shape.emailLogo),
|
|
98
|
+
[S.EmailBanner]: O(E.shape.emailBanner)
|
|
99
|
+
}).nullable()),
|
|
100
|
+
text: O(s({
|
|
101
|
+
productName: O(D.shape.productName),
|
|
102
|
+
shortName: O(D.shape.shortName),
|
|
103
|
+
description: O(D.shape.description),
|
|
104
|
+
productTagline: O(D.shape.productTagline),
|
|
105
|
+
companyName: O(D.shape.companyName)
|
|
106
|
+
}).nullable())
|
|
107
|
+
}), k({
|
|
108
|
+
...k({
|
|
109
|
+
colors: {
|
|
110
|
+
light: {
|
|
111
|
+
brand: "#140e33",
|
|
112
|
+
accent: "#9365ff",
|
|
113
|
+
info: "#86c8fb"
|
|
114
|
+
},
|
|
115
|
+
dark: {
|
|
116
|
+
brand: "#565676",
|
|
117
|
+
accent: "#9365ff",
|
|
118
|
+
info: "#86c8fb"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
mode: x.System,
|
|
122
|
+
assets: {
|
|
123
|
+
[S.LogoLight]: null,
|
|
124
|
+
[S.LogoDark]: null,
|
|
125
|
+
[S.Mark]: null,
|
|
126
|
+
[S.EmailLogo]: null,
|
|
127
|
+
[S.EmailBanner]: null
|
|
128
|
+
},
|
|
129
|
+
text: {
|
|
130
|
+
productName: "Eight Wave Agent Studio",
|
|
131
|
+
shortName: "Agent Studio",
|
|
132
|
+
description: "Eight Wave platform to create and manage AI agents with a user-friendly interface.",
|
|
133
|
+
productTagline: "Eight Wave",
|
|
134
|
+
companyName: null
|
|
135
|
+
}
|
|
136
|
+
}),
|
|
137
|
+
text: {
|
|
138
|
+
productName: "Agent Studio",
|
|
139
|
+
shortName: "Agent Studio",
|
|
140
|
+
description: null,
|
|
141
|
+
productTagline: null,
|
|
142
|
+
companyName: null
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
function k(e) {
|
|
146
|
+
if (e && typeof e == "object") {
|
|
147
|
+
for (let t of Object.values(e)) k(t);
|
|
148
|
+
Object.freeze(e);
|
|
149
|
+
}
|
|
150
|
+
return e;
|
|
151
|
+
}
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region ../../packages/models/src/schema/DeviceContext.ts
|
|
154
|
+
var A = s({
|
|
155
|
+
dateTime: h().optional(),
|
|
156
|
+
timezone: h().optional(),
|
|
157
|
+
language: h().optional(),
|
|
158
|
+
languages: n(h()).optional(),
|
|
159
|
+
url: h().optional(),
|
|
160
|
+
pathname: h().optional(),
|
|
161
|
+
pageTitle: h().optional(),
|
|
162
|
+
referrer: h().optional(),
|
|
163
|
+
screenWidth: c().optional(),
|
|
164
|
+
screenHeight: c().optional(),
|
|
165
|
+
viewportWidth: c().optional(),
|
|
166
|
+
viewportHeight: c().optional(),
|
|
167
|
+
devicePixelRatio: c().optional(),
|
|
168
|
+
maxTouchPoints: c().optional(),
|
|
169
|
+
hardwareConcurrency: c().optional(),
|
|
170
|
+
deviceMemory: c().optional(),
|
|
171
|
+
platform: h().optional(),
|
|
172
|
+
connectionType: h().optional(),
|
|
173
|
+
connectionEffectiveType: h().optional(),
|
|
174
|
+
connectionDownlink: c().optional(),
|
|
175
|
+
connectionRtt: c().optional(),
|
|
176
|
+
saveData: d().optional(),
|
|
177
|
+
darkMode: d().optional(),
|
|
178
|
+
reducedMotion: d().optional(),
|
|
179
|
+
historyLength: c().optional(),
|
|
180
|
+
geolocationLatitude: c().optional(),
|
|
181
|
+
geolocationLongitude: c().optional(),
|
|
182
|
+
geolocationAccuracy: c().optional(),
|
|
183
|
+
geolocationCity: h().optional()
|
|
184
|
+
}), j = /^[a-z]+\/[a-z0-9\-+.]+$/i, ce = /* @__PURE__ */ function(e) {
|
|
185
|
+
return e.DEFAULT = "default", e.COLD = "cold", e.HOT = "hot", e.ARCHIVE = "archive", e;
|
|
186
|
+
}({}), le = s({
|
|
187
|
+
type: o("azure-blob"),
|
|
188
|
+
blobUri: t(),
|
|
189
|
+
containerName: h().min(1),
|
|
190
|
+
pathRelativeToContainer: h().min(1)
|
|
191
|
+
}), ue = s({
|
|
192
|
+
type: o("s3"),
|
|
193
|
+
bucket: h().min(1),
|
|
194
|
+
key: h().min(1),
|
|
195
|
+
region: h().min(1)
|
|
196
|
+
}), de = l("type", [le, ue]), M = s({
|
|
197
|
+
type: h().min(1),
|
|
198
|
+
name: h().min(1),
|
|
199
|
+
mimeType: h().regex(j),
|
|
200
|
+
bytesCount: c().positive(),
|
|
201
|
+
extension: h().regex(/^\.[a-zA-Z0-9]+$/).overwrite((e) => e.toLowerCase()),
|
|
202
|
+
storedFileName: h().optional(),
|
|
203
|
+
metadata: p(h(), h()).default({}),
|
|
204
|
+
tags: p(h(), h()).default({})
|
|
205
|
+
}).extend({
|
|
206
|
+
storageHandle: de,
|
|
207
|
+
storagePolicy: u(ce),
|
|
208
|
+
signData: h().optional(),
|
|
209
|
+
storedFileName: h().min(1)
|
|
210
|
+
}), fe = s({
|
|
211
|
+
name: h().min(1),
|
|
212
|
+
src: M,
|
|
213
|
+
srcSet: n(M).default([]),
|
|
214
|
+
rawOptions: i().optional()
|
|
215
|
+
});
|
|
216
|
+
s({
|
|
217
|
+
src: M,
|
|
218
|
+
uploadHandle: s({
|
|
219
|
+
uploadSasuri: t(),
|
|
220
|
+
metadata: p(h(), h()).default({}),
|
|
221
|
+
tags: p(h(), h()).default({})
|
|
222
|
+
})
|
|
223
|
+
}), s({
|
|
224
|
+
src: M,
|
|
225
|
+
downloadHandle: s({
|
|
226
|
+
downloadSasuri: t(),
|
|
227
|
+
viewSasuri: t(),
|
|
228
|
+
previewSasuri: t().optional(),
|
|
229
|
+
expiresOn: h().datetime(),
|
|
230
|
+
type: h()
|
|
231
|
+
})
|
|
232
|
+
});
|
|
233
|
+
var N = /* @__PURE__ */ function(e) {
|
|
234
|
+
return e.picture = "picture", e.video = "video", e.audio = "audio", e.office = "office", e.archive = "archive", e.binary = "binary", e.executable = "executable", e;
|
|
235
|
+
}({}), pe = s({
|
|
236
|
+
type: o(N.picture),
|
|
237
|
+
width: c().positive(),
|
|
238
|
+
height: c().positive(),
|
|
239
|
+
blurhash: h().optional()
|
|
240
|
+
}), me = s({
|
|
241
|
+
type: o(N.video),
|
|
242
|
+
width: c().positive(),
|
|
243
|
+
height: c().positive(),
|
|
244
|
+
duration: c().nonnegative()
|
|
245
|
+
}), he = s({
|
|
246
|
+
type: o(N.audio),
|
|
247
|
+
duration: c().nonnegative()
|
|
248
|
+
}), ge = s({ type: o(N.office) }), _e = s({ type: o(N.archive) }), ve = s({ type: o(N.binary) }), ye = s({ type: o(N.executable) });
|
|
249
|
+
l("type", [
|
|
250
|
+
pe,
|
|
251
|
+
me,
|
|
252
|
+
he,
|
|
253
|
+
ge,
|
|
254
|
+
_e,
|
|
255
|
+
ve,
|
|
256
|
+
ye
|
|
257
|
+
]);
|
|
258
|
+
//#endregion
|
|
259
|
+
//#region ../../packages/models/src/schema/Agent.ts
|
|
260
|
+
var P = /* @__PURE__ */ function(e) {
|
|
261
|
+
return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
|
|
262
|
+
}({}), F = /* @__PURE__ */ function(e) {
|
|
263
|
+
return e.Public = "public", e.Private = "private", e.Organization = "organization", e;
|
|
264
|
+
}({}), I = /* @__PURE__ */ function(e) {
|
|
265
|
+
return e.Chat = "chat", e.Reasoning = "reasoning", e;
|
|
266
|
+
}({}), L = /* @__PURE__ */ function(e) {
|
|
267
|
+
return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
|
|
268
|
+
}({}), be = [
|
|
269
|
+
"none",
|
|
270
|
+
"low",
|
|
271
|
+
"medium",
|
|
272
|
+
"high",
|
|
273
|
+
"xhigh",
|
|
274
|
+
"max"
|
|
275
|
+
], xe = [
|
|
276
|
+
"low",
|
|
277
|
+
"medium",
|
|
278
|
+
"high",
|
|
279
|
+
"xhigh",
|
|
280
|
+
"max"
|
|
281
|
+
], R = [
|
|
282
|
+
"minimal",
|
|
283
|
+
"low",
|
|
284
|
+
"medium",
|
|
285
|
+
"high"
|
|
286
|
+
], z = [
|
|
287
|
+
"auto",
|
|
288
|
+
"detailed",
|
|
289
|
+
"concise"
|
|
290
|
+
], Se = s({
|
|
291
|
+
reasoningEffort: u(be).optional(),
|
|
292
|
+
reasoningSummary: u(z).optional()
|
|
293
|
+
}), Ce = s({
|
|
294
|
+
type: u([
|
|
295
|
+
"adaptive",
|
|
296
|
+
"enabled",
|
|
297
|
+
"disabled"
|
|
298
|
+
]).optional(),
|
|
299
|
+
effort: u(xe).optional(),
|
|
300
|
+
display: u(["summarized", "omitted"]).optional(),
|
|
301
|
+
budgetTokens: c().int().positive().optional()
|
|
302
|
+
}), we = s({
|
|
303
|
+
thinkingLevel: u(R).optional(),
|
|
304
|
+
thinkingBudget: c().int().optional(),
|
|
305
|
+
includeThoughts: d().optional()
|
|
306
|
+
}), Te = s({ type: u(["enabled", "disabled"]).optional() }), B = [
|
|
307
|
+
"alibaba",
|
|
308
|
+
"meta",
|
|
309
|
+
"moonshotai",
|
|
310
|
+
"spacexai",
|
|
311
|
+
"xiaomi",
|
|
312
|
+
"zai"
|
|
313
|
+
], V = [
|
|
314
|
+
"none",
|
|
315
|
+
"minimal",
|
|
316
|
+
"low",
|
|
317
|
+
"medium",
|
|
318
|
+
"high",
|
|
319
|
+
"xhigh"
|
|
320
|
+
], H = s({ reasoningEffort: u(V).optional() });
|
|
321
|
+
function U(e, t) {
|
|
322
|
+
return e && t.includes(e) ? e : void 0;
|
|
323
|
+
}
|
|
324
|
+
var Ee = s({
|
|
325
|
+
openai: Se.optional(),
|
|
326
|
+
anthropic: Ce.optional(),
|
|
327
|
+
google: we.optional(),
|
|
328
|
+
deepseek: Te.optional(),
|
|
329
|
+
alibaba: H.optional(),
|
|
330
|
+
meta: H.optional(),
|
|
331
|
+
moonshotai: H.optional(),
|
|
332
|
+
spacexai: H.optional(),
|
|
333
|
+
xiaomi: H.optional(),
|
|
334
|
+
zai: H.optional()
|
|
335
|
+
});
|
|
336
|
+
function De(e) {
|
|
337
|
+
if (!e || typeof e != "object") return e;
|
|
338
|
+
let t = e, n = [
|
|
339
|
+
"openai",
|
|
340
|
+
"anthropic",
|
|
341
|
+
"google",
|
|
342
|
+
"deepseek",
|
|
343
|
+
...B
|
|
344
|
+
].some((e) => e in t);
|
|
345
|
+
if ("effort" in t && !n) {
|
|
346
|
+
let e = t.effort, n = t.reasoningSummary, r = {};
|
|
347
|
+
if (e && e !== "off" && e !== "none") {
|
|
348
|
+
let t = U(e, be), i = U(n, z);
|
|
349
|
+
(t || i) && (r.openai = {
|
|
350
|
+
...t && { reasoningEffort: t },
|
|
351
|
+
...i && { reasoningSummary: i }
|
|
352
|
+
});
|
|
353
|
+
let a = U(e, xe);
|
|
354
|
+
a && (r.anthropic = {
|
|
355
|
+
type: "adaptive",
|
|
356
|
+
effort: a
|
|
357
|
+
});
|
|
358
|
+
let o = U(e === "xhigh" || e === "max" ? "high" : e, R);
|
|
359
|
+
o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
|
|
360
|
+
let s = U(e === "max" ? "xhigh" : e, V);
|
|
361
|
+
if (s) for (let e of B) r[e] = { reasoningEffort: s };
|
|
362
|
+
} else {
|
|
363
|
+
r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
|
|
364
|
+
for (let e of B) r[e] = { reasoningEffort: "none" };
|
|
365
|
+
}
|
|
366
|
+
return r;
|
|
367
|
+
}
|
|
368
|
+
return e;
|
|
369
|
+
}
|
|
370
|
+
var W = g(m(), Ee, De).optional(), G = /* @__PURE__ */ function(e) {
|
|
371
|
+
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;
|
|
372
|
+
}({});
|
|
373
|
+
function Oe(e) {
|
|
374
|
+
return e === G.RequestConfirm || e === G.ShowArtifact || e === G.ShowCalendarEvent || e === G.ShowComparison || e === G.ShowContactForm || e === G.ShowDiagram || e === G.ShowEmail || e === G.ShowImageGallery || e === G.ShowLocation || e === G.ShowMessage || e === G.ShowForm || e === G.ShowMultipleChoice || e === G.ShowProductList || e === G.ShowQrCode || e === G.ShowSources || e === G.ShowSuggestedReply || e === G.ShowVideo || e === G.ShowWeather || e === G.ShowWebPages;
|
|
375
|
+
}
|
|
376
|
+
G.RequestConfirm, G.ShowArtifact, G.ShowWeather, G.ShowLocation, G.ShowComparison, G.ShowProductList, G.ShowWebPages, G.ShowImageGallery, G.ShowVideo, G.ShowSources, G.ShowSuggestedReply, G.ShowCalendarEvent, G.ShowEmail, G.ShowMessage, G.ShowForm;
|
|
377
|
+
var ke = /* @__PURE__ */ new Set([
|
|
378
|
+
G.RequestConfirm,
|
|
379
|
+
G.RequestGeolocation,
|
|
380
|
+
G.ShowForm,
|
|
381
|
+
G.ShowMultipleChoice,
|
|
382
|
+
"requestOAuthConnection"
|
|
383
|
+
]);
|
|
384
|
+
function Ae(e) {
|
|
385
|
+
return ke.has(e);
|
|
386
|
+
}
|
|
387
|
+
G.RequestConfirm, G.RequestGeolocation, G.ShowArtifact, G.ShowCalendarEvent, G.ShowContactForm, G.ShowComparison, G.ShowDiagram, G.ShowEmail, G.ShowForm, G.ShowImageGallery, G.ShowLocation, G.ShowMessage, G.ShowMultipleChoice, G.ShowProductList, G.ShowQrCode, G.ShowSources, G.ShowSuggestedReply, G.ShowVideo, G.ShowWeather, G.ShowWebPages;
|
|
388
|
+
var je = "Shown on the caller's screen";
|
|
389
|
+
function Me(e) {
|
|
390
|
+
return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(je));
|
|
391
|
+
}
|
|
392
|
+
var K = s({
|
|
393
|
+
maxSteps: c().int().min(1).max(10).optional().default(5),
|
|
394
|
+
maxOptionsPerStep: c().int().min(2).max(10).optional().default(5)
|
|
395
|
+
}), Ne = /* @__PURE__ */ function(e) {
|
|
396
|
+
return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
|
|
397
|
+
}({}), Pe = s({
|
|
398
|
+
maxResults: c().int().min(1).max(20).optional(),
|
|
399
|
+
maxTokens: c().int().positive().max(1e6).optional(),
|
|
400
|
+
maxTokensPerPage: c().int().positive().optional(),
|
|
401
|
+
country: h().max(2).optional(),
|
|
402
|
+
searchLanguageFilter: n(h().max(5)).max(10).optional(),
|
|
403
|
+
searchDomainFilter: n(h()).max(20).optional(),
|
|
404
|
+
searchRecencyFilter: u([
|
|
405
|
+
"day",
|
|
406
|
+
"week",
|
|
407
|
+
"month",
|
|
408
|
+
"year"
|
|
409
|
+
]).optional()
|
|
410
|
+
}), Fe = s({
|
|
411
|
+
mode: u(["one-shot", "agentic"]).optional(),
|
|
412
|
+
maxResults: c().int().min(1).max(20).optional(),
|
|
413
|
+
sourcePolicy: s({
|
|
414
|
+
includeDomains: n(h()).optional(),
|
|
415
|
+
excludeDomains: n(h()).optional(),
|
|
416
|
+
afterDate: h().optional()
|
|
417
|
+
}).optional(),
|
|
418
|
+
excerpts: s({
|
|
419
|
+
maxCharsPerResult: c().int().positive().optional(),
|
|
420
|
+
maxCharsTotal: c().int().positive().optional()
|
|
421
|
+
}).optional(),
|
|
422
|
+
fetchPolicy: s({ maxAgeSeconds: c().int().positive().optional() }).optional()
|
|
423
|
+
}), Ie = s({
|
|
424
|
+
openai: s({}).optional(),
|
|
425
|
+
anthropic: s({
|
|
426
|
+
maxUses: c().int().positive().optional(),
|
|
427
|
+
allowedDomains: n(h()).optional(),
|
|
428
|
+
blockedDomains: n(h()).optional(),
|
|
429
|
+
userLocation: s({
|
|
430
|
+
type: o("approximate").optional(),
|
|
431
|
+
country: h().optional(),
|
|
432
|
+
region: h().optional(),
|
|
433
|
+
city: h().optional(),
|
|
434
|
+
timezone: h().optional()
|
|
435
|
+
}).optional()
|
|
436
|
+
}).optional(),
|
|
437
|
+
google: s({}).optional()
|
|
438
|
+
}), q = s({
|
|
439
|
+
enabled: d().default(!1),
|
|
440
|
+
provider: u(Ne).optional().default(Ne.Native),
|
|
441
|
+
perplexity: Pe.optional(),
|
|
442
|
+
parallel: Fe.optional(),
|
|
443
|
+
native: Ie.optional()
|
|
444
|
+
}), Le = s({ useAllUserKb: d().default(!1) }), Re = s({ useAllUserFiles: d().default(!1) }), ze = s({ tools: n(h()).default([]) }), Be = s({
|
|
445
|
+
disabled: n(u(G)).default([
|
|
446
|
+
G.UserMemory,
|
|
447
|
+
G.SearchInUserFiles,
|
|
448
|
+
G.RunWorker,
|
|
449
|
+
G.FetchTeamsChannelHistory
|
|
450
|
+
]),
|
|
451
|
+
showForm: K.optional().default(() => K.parse({})),
|
|
452
|
+
webSearch: q.optional().default(() => q.parse({})),
|
|
453
|
+
userMemory: Le.optional().default(() => Le.parse({})),
|
|
454
|
+
userFiles: Re.optional().default(() => Re.parse({})),
|
|
455
|
+
approval: ze.optional().default(() => ze.parse({}))
|
|
456
|
+
}), J = s({
|
|
457
|
+
freshness: s({
|
|
458
|
+
enabled: d().default(!1),
|
|
459
|
+
scale: c().int().min(86400).max(31536e3).default(7776e3),
|
|
460
|
+
weight: c().min(.05).max(.5).default(.1)
|
|
461
|
+
}).prefault({}),
|
|
462
|
+
priority: s({ enabled: d().default(!0) }).prefault({}),
|
|
463
|
+
mmr: s({
|
|
464
|
+
enabled: d().default(!1),
|
|
465
|
+
diversity: c().min(0).max(1).default(.3),
|
|
466
|
+
candidatesLimit: c().int().min(20).max(100).default(50)
|
|
467
|
+
}).prefault({})
|
|
468
|
+
}).prefault({}), Ve = s({
|
|
469
|
+
prompt: h().optional(),
|
|
470
|
+
temperature: c().min(0).max(2).optional().default(.6),
|
|
471
|
+
maxOutputTokens: c().positive().optional(),
|
|
472
|
+
presencePenalty: c().min(-2).max(2).optional(),
|
|
473
|
+
frequencyPenalty: c().min(-2).max(2).optional(),
|
|
474
|
+
searchMode: u(L).optional().default(L.Balanced),
|
|
475
|
+
limit: c().positive().max(100).optional().default(10),
|
|
476
|
+
maxStepCount: c().int().min(1).max(40).optional().default(10),
|
|
477
|
+
reasoning: W,
|
|
478
|
+
ranking: J.optional().default(() => J.parse({}))
|
|
479
|
+
}), Y = g(m(), p(h(), h()), (e) => typeof e == "string" ? { it: e } : e), He = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Ue = /* @__PURE__ */ function(e) {
|
|
480
|
+
return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
|
|
481
|
+
}({}), X = /* @__PURE__ */ function(e) {
|
|
482
|
+
return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
|
|
483
|
+
}({}), We = Object.values(X), Ge = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
|
|
484
|
+
function Ke(e) {
|
|
485
|
+
let t = e.trim().toLowerCase();
|
|
486
|
+
if (!t) return "";
|
|
487
|
+
try {
|
|
488
|
+
return new URL(t.includes("://") ? t : `https://${t}`).hostname;
|
|
489
|
+
} catch {
|
|
490
|
+
return t;
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
var Z = s({
|
|
494
|
+
media: fe.optional(),
|
|
495
|
+
logo: h().optional(),
|
|
496
|
+
theme: u([
|
|
497
|
+
"light",
|
|
498
|
+
"dark",
|
|
499
|
+
"auto"
|
|
500
|
+
]).optional().default("auto"),
|
|
501
|
+
mainColor: h().regex(y).optional().default("#000000"),
|
|
502
|
+
textColor: u([
|
|
503
|
+
"auto",
|
|
504
|
+
"white",
|
|
505
|
+
"black"
|
|
506
|
+
]).optional().default("auto"),
|
|
507
|
+
useColorsForAgentHeader: d().optional().default(!1),
|
|
508
|
+
initialMessage: Y.optional(),
|
|
509
|
+
greeting: n(Y).min(1).max(10).optional(),
|
|
510
|
+
messagePlaceholder: Y.optional(),
|
|
511
|
+
dismissableNotice: Y.optional(),
|
|
512
|
+
footerMessage: Y.optional(),
|
|
513
|
+
privacyPolicyNotice: Y.optional(),
|
|
514
|
+
interactiveLogin: d().optional().default(!0),
|
|
515
|
+
welcomePopup: d().optional().default(!1),
|
|
516
|
+
floatingButtonPosition: u(["left", "right"]).optional().default("right"),
|
|
517
|
+
maxMessageLength: c().int().positive().optional(),
|
|
518
|
+
widgetUrl: t().default(He),
|
|
519
|
+
loadDelay: c().int().min(0).max(3e4).optional().default(0),
|
|
520
|
+
loaderStrategy: u(Ue).optional().default(Ue.InlineModule),
|
|
521
|
+
customCss: h().optional(),
|
|
522
|
+
smoothStream: d().optional().default(!1),
|
|
523
|
+
showExtendedSteps: d().optional().default(!1),
|
|
524
|
+
imageHosts: n(h().overwrite(Ke).refine((e) => e === "" || Ge.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
|
|
525
|
+
}), qe = [
|
|
526
|
+
"image/jpeg",
|
|
527
|
+
"image/png",
|
|
528
|
+
"image/gif",
|
|
529
|
+
"image/webp",
|
|
530
|
+
"application/pdf",
|
|
531
|
+
"text/plain",
|
|
532
|
+
"text/markdown",
|
|
533
|
+
"text/csv"
|
|
534
|
+
], Je = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Q = s({
|
|
535
|
+
enabled: d().default(!1),
|
|
536
|
+
maxFileSizeBytes: c().int().positive().max(104857600).optional().default(20971520),
|
|
537
|
+
allowedMimeTypes: n(h().regex(j)).optional().default([...qe]),
|
|
538
|
+
maxFilesPerMessage: c().int().positive().max(10).optional().default(5),
|
|
539
|
+
maxFilesPerChat: c().int().positive().max(50).optional().default(20)
|
|
540
|
+
}), $ = s({
|
|
541
|
+
zeroDataRetention: d().default(!0),
|
|
542
|
+
disallowPromptTraining: d().default(!0),
|
|
543
|
+
providerTimeoutMs: c().int().min(1e3).max(789e3).optional()
|
|
544
|
+
}), Ye = s({ enabled: d().default(!1) }), Xe = /* @__PURE__ */ function(e) {
|
|
545
|
+
return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
|
|
546
|
+
}({}), Ze = s({ mode: u(Xe).default(Xe.Off) }), Qe = s({
|
|
547
|
+
enabled: d().default(!1),
|
|
548
|
+
voiceId: h().optional(),
|
|
549
|
+
language: h().min(2).max(5).default("it"),
|
|
550
|
+
maxSessionSeconds: c().int().min(30).max(3600).default(600),
|
|
551
|
+
cascadeTimeoutSeconds: c().min(1).max(15).default(15).transform((e) => Math.max(5, e)),
|
|
552
|
+
fillerAfterSeconds: c().min(.5).max(8).optional(),
|
|
553
|
+
fillerMessage: h().max(200).optional(),
|
|
554
|
+
ignoreBackgroundVoices: d().default(!0),
|
|
555
|
+
turnEagerness: u([
|
|
556
|
+
"patient",
|
|
557
|
+
"normal",
|
|
558
|
+
"eager"
|
|
559
|
+
]).default("normal"),
|
|
560
|
+
turnTimeoutSeconds: c().min(1).max(30).default(5),
|
|
561
|
+
firstMessage: h().max(300).optional(),
|
|
562
|
+
providerAgentId: h().optional(),
|
|
563
|
+
providerSecretId: h().optional(),
|
|
564
|
+
providerApiKeyId: h().optional()
|
|
565
|
+
}), $e = s({ enabled: d() });
|
|
566
|
+
s({
|
|
567
|
+
chatId: h().min(1).optional(),
|
|
568
|
+
deviceContext: A.optional(),
|
|
569
|
+
externalContext: p(h(), m()).optional()
|
|
570
|
+
});
|
|
571
|
+
var et = s({
|
|
572
|
+
sessionId: h(),
|
|
573
|
+
signedUrl: h(),
|
|
574
|
+
providerAgentId: h(),
|
|
575
|
+
chatId: h(),
|
|
576
|
+
maxSessionSeconds: c().int()
|
|
577
|
+
}), tt = s({
|
|
578
|
+
voiceId: h(),
|
|
579
|
+
name: h(),
|
|
580
|
+
category: h().optional(),
|
|
581
|
+
previewUrl: h().optional(),
|
|
582
|
+
labels: p(h(), h()).optional()
|
|
583
|
+
});
|
|
584
|
+
n(tt);
|
|
585
|
+
var nt = s({
|
|
586
|
+
model: Ve,
|
|
587
|
+
interface: Z,
|
|
588
|
+
tools: Be.optional().default(() => Be.parse({})),
|
|
589
|
+
fileUpload: Q.optional().default(() => Q.parse({})),
|
|
590
|
+
gatewayOptions: $.optional().default(() => $.parse({})),
|
|
591
|
+
channels: n(u(X)).optional().default(() => [...We]),
|
|
592
|
+
externalContextSchema: ne.optional(),
|
|
593
|
+
openaiApi: Ye.optional().default(() => Ye.parse({})),
|
|
594
|
+
voice: Qe.optional().default(() => Qe.parse({})),
|
|
595
|
+
toolWorkingSet: Ze.optional().default(() => Ze.parse({}))
|
|
596
|
+
}), rt = s({
|
|
597
|
+
rateLimits: s({
|
|
598
|
+
minuteRateLimit: c().int().min(0).optional(),
|
|
599
|
+
hourRateLimit: c().int().min(0).optional(),
|
|
600
|
+
dayRateLimit: c().int().min(0).optional(),
|
|
601
|
+
monthRateLimit: c().int().min(0).optional()
|
|
602
|
+
}),
|
|
603
|
+
trustedOrigins: s({ origins: n(t().or(o(""))).overwrite((e) => e?.filter((e) => e?.trim())).default([]) }).default({ origins: [] })
|
|
604
|
+
});
|
|
605
|
+
s({
|
|
606
|
+
id: h().optional(),
|
|
607
|
+
name: h(),
|
|
608
|
+
prompt: h().optional(),
|
|
609
|
+
model: h().optional(),
|
|
610
|
+
fallbackModels: n(h()).default([]),
|
|
611
|
+
status: u(P).default(P.Draft),
|
|
612
|
+
visibility: u(F).default(F.Organization),
|
|
613
|
+
settings: nt,
|
|
614
|
+
security: rt.nullish(),
|
|
615
|
+
type: u(I).default(I.Chat),
|
|
616
|
+
organizationId: h()
|
|
617
|
+
}), a(() => s({
|
|
618
|
+
id: h(),
|
|
619
|
+
name: h(),
|
|
620
|
+
prompt: h(),
|
|
621
|
+
model: h(),
|
|
622
|
+
fallbackModels: n(h()).nullable().default([]),
|
|
623
|
+
status: u(P).default(P.Draft),
|
|
624
|
+
visibility: u(F).default(F.Organization),
|
|
625
|
+
settings: nt,
|
|
626
|
+
security: rt.nullable(),
|
|
627
|
+
type: u(I).default(I.Chat),
|
|
628
|
+
organizationId: h(),
|
|
629
|
+
createdAt: f(),
|
|
630
|
+
createdBy: h(),
|
|
631
|
+
updatedAt: f(),
|
|
632
|
+
updatedBy: h(),
|
|
633
|
+
deleted: d(),
|
|
634
|
+
deletedAt: f().nullable(),
|
|
635
|
+
deletedBy: h().nullable(),
|
|
636
|
+
outOfBudget: d().optional().default(!1),
|
|
637
|
+
outOfBudgetReason: h().optional().default("")
|
|
638
|
+
}));
|
|
639
|
+
var it = s({
|
|
640
|
+
id: h(),
|
|
641
|
+
name: h(),
|
|
642
|
+
status: u(P),
|
|
643
|
+
visibility: u(F),
|
|
644
|
+
organizationId: h(),
|
|
645
|
+
interface: Z,
|
|
646
|
+
createdAt: f(),
|
|
647
|
+
updatedAt: f(),
|
|
648
|
+
capabilities: s({
|
|
649
|
+
fileUpload: Q,
|
|
650
|
+
voice: $e
|
|
651
|
+
}),
|
|
652
|
+
channels: n(u(X)).default(() => [...We])
|
|
653
|
+
}), at = Z.pick({
|
|
654
|
+
logo: !0,
|
|
655
|
+
mainColor: !0,
|
|
656
|
+
textColor: !0,
|
|
657
|
+
theme: !0,
|
|
658
|
+
floatingButtonPosition: !0,
|
|
659
|
+
customCss: !0
|
|
660
|
+
}), ot = it.pick({
|
|
661
|
+
id: !0,
|
|
662
|
+
name: !0,
|
|
663
|
+
organizationId: !0
|
|
664
|
+
}).extend({ interface: at }), st = s({
|
|
665
|
+
emailPassword: d(),
|
|
666
|
+
google: d(),
|
|
667
|
+
microsoft: d()
|
|
668
|
+
}), ct = s({
|
|
669
|
+
requiresAuth: o(!1),
|
|
670
|
+
agent: it,
|
|
671
|
+
branding: ee()
|
|
672
|
+
}), lt = s({
|
|
673
|
+
requiresAuth: o(!0),
|
|
674
|
+
agent: ee(),
|
|
675
|
+
branding: ot
|
|
676
|
+
});
|
|
677
|
+
l("requiresAuth", [ct, lt]);
|
|
678
|
+
var ut = s({
|
|
679
|
+
authMethods: st,
|
|
680
|
+
deploymentBranding: oe.nullish()
|
|
681
|
+
});
|
|
682
|
+
l("requiresAuth", [ct.extend(ut.shape), lt.extend(ut.shape)]), s({
|
|
683
|
+
id: e(),
|
|
684
|
+
agentIds: n(e())
|
|
685
|
+
}), s({
|
|
686
|
+
...v.pagination(),
|
|
687
|
+
...v.sort([
|
|
688
|
+
"id",
|
|
689
|
+
"updatedAt",
|
|
690
|
+
"createdAt",
|
|
691
|
+
"name",
|
|
692
|
+
"type",
|
|
693
|
+
"status",
|
|
694
|
+
"visibility",
|
|
695
|
+
"model"
|
|
696
|
+
]),
|
|
697
|
+
...v.filters(["done", "type"]),
|
|
698
|
+
...v.filter("id"),
|
|
699
|
+
...v.fullText(),
|
|
700
|
+
...v.ids()
|
|
701
|
+
});
|
|
702
|
+
//#endregion
|
|
703
|
+
export { v as _, L as a, et as c, Me as d, Ke as f, g, A as h, W as i, Oe as l, fe as m, $ as n, q as o, j as p, J as r, Je as s, G as t, Ae as u };
|
|
704
|
+
|
|
705
|
+
//# sourceMappingURL=Agent-Bz23Ejuh.js.map
|