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