@8wave/ai-elements 0.125.0-beta.41 → 0.125.0-beta.42

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 (161) hide show
  1. package/dist/_chunks/{Agent-CeZ3bgZ3.js → Agent-DMvYDpLa.js} +123 -122
  2. package/dist/_chunks/Agent-DMvYDpLa.js.map +1 -0
  3. package/dist/_chunks/{PkFilePreview-D_1ZgiiA.js → PkFilePreview-DC4iX7Yc.js} +234 -209
  4. package/dist/_chunks/PkFilePreview-DC4iX7Yc.js.map +1 -0
  5. package/dist/_chunks/{PkFilePreviewDialog-CI22huzK.js → PkFilePreviewDialog-bcTkTcYk.js} +12 -7
  6. package/dist/_chunks/PkFilePreviewDialog-bcTkTcYk.js.map +1 -0
  7. package/dist/_chunks/{PkImageEditorDialog-CAEninFi.js → PkImageEditorDialog-FpbyhV3t.js} +2 -2
  8. package/dist/_chunks/{PkImageEditorDialog-CAEninFi.js.map → PkImageEditorDialog-FpbyhV3t.js.map} +1 -1
  9. package/dist/_chunks/{PkSelectionActions-BriGyWCi.js → PkSelectionActions-BbfVZY0R.js} +140 -13
  10. package/dist/_chunks/PkSelectionActions-BbfVZY0R.js.map +1 -0
  11. package/dist/_chunks/{PkStreamingMarkdown--9i0feuM.js → PkStreamingMarkdown-COSOOhCg.js} +3 -3
  12. package/dist/_chunks/{PkStreamingMarkdown--9i0feuM.js.map → PkStreamingMarkdown-COSOOhCg.js.map} +1 -1
  13. package/dist/_chunks/{PkToolChatFile-BKGUnWrj.js → PkToolChatFile-C_gS0X1j.js} +3 -3
  14. package/dist/_chunks/{PkToolChatFile-BKGUnWrj.js.map → PkToolChatFile-C_gS0X1j.js.map} +1 -1
  15. package/dist/_chunks/{PkToolRequestGeolocation-DktrQJvA.js → PkToolRequestGeolocation-CwDQnr7u.js} +2 -2
  16. package/dist/_chunks/{PkToolRequestGeolocation-DktrQJvA.js.map → PkToolRequestGeolocation-CwDQnr7u.js.map} +1 -1
  17. package/dist/_chunks/{PkToolRequestOAuthConnection-DkcLwFWl.js → PkToolRequestOAuthConnection-DkrnVowp.js} +2 -2
  18. package/dist/_chunks/{PkToolRequestOAuthConnection-DkcLwFWl.js.map → PkToolRequestOAuthConnection-DkrnVowp.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowArtifact-BfLpz2-W.js → PkToolShowArtifact-fpFtKrZo.js} +2 -2
  20. package/dist/_chunks/{PkToolShowArtifact-BfLpz2-W.js.map → PkToolShowArtifact-fpFtKrZo.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowContactForm-BsF6DFzV.js → PkToolShowContactForm-BAM772bm.js} +2 -2
  22. package/dist/_chunks/{PkToolShowContactForm-BsF6DFzV.js.map → PkToolShowContactForm-BAM772bm.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowForm-w6RvbKEB.js → PkToolShowForm-DJcL0bgw.js} +4 -4
  24. package/dist/_chunks/{PkToolShowForm-w6RvbKEB.js.map → PkToolShowForm-DJcL0bgw.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowImageGallery-BEddh4He.js → PkToolShowImageGallery-DhB_ucYe.js} +2 -2
  26. package/dist/_chunks/{PkToolShowImageGallery-BEddh4He.js.map → PkToolShowImageGallery-DhB_ucYe.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowProductList-k-VB4pUB.js → PkToolShowProductList-DfcJJrOC.js} +2 -2
  28. package/dist/_chunks/{PkToolShowProductList-k-VB4pUB.js.map → PkToolShowProductList-DfcJJrOC.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowSources-CGESvGrm.js → PkToolShowSources-GeWAMHYC.js} +3 -3
  30. package/dist/_chunks/{PkToolShowSources-CGESvGrm.js.map → PkToolShowSources-GeWAMHYC.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowSuggestedReply-DTAq41wP.js → PkToolShowSuggestedReply-gpuWzpoh.js} +2 -2
  32. package/dist/_chunks/{PkToolShowSuggestedReply-DTAq41wP.js.map → PkToolShowSuggestedReply-gpuWzpoh.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowVideo-DeexblEL.js → PkToolShowVideo-CikqhGpT.js} +2 -2
  34. package/dist/_chunks/{PkToolShowVideo-DeexblEL.js.map → PkToolShowVideo-CikqhGpT.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowWebPages-C42FNo8K.js → PkToolShowWebPages-B-LuiAtg.js} +2 -2
  36. package/dist/_chunks/{PkToolShowWebPages-C42FNo8K.js.map → PkToolShowWebPages-B-LuiAtg.js.map} +1 -1
  37. package/dist/_chunks/{chatImagePolicy-DlZPHhW-.js → chatImagePolicy-Dv_WHhDs.js} +2 -2
  38. package/dist/_chunks/{chatImagePolicy-DlZPHhW-.js.map → chatImagePolicy-Dv_WHhDs.js.map} +1 -1
  39. package/dist/_chunks/{markdown-DNPhTO5l.js → markdown-BYpvcbWH.js} +2 -2
  40. package/dist/_chunks/{markdown-DNPhTO5l.js.map → markdown-BYpvcbWH.js.map} +1 -1
  41. package/dist/_chunks/{utils-zkq8kMz-.js → utils-DMvy5QRR.js} +2 -2
  42. package/dist/_chunks/{utils-zkq8kMz-.js.map → utils-DMvy5QRR.js.map} +1 -1
  43. package/dist/ai-elements.es.js +405 -135
  44. package/dist/ai-elements.es.js.map +1 -1
  45. package/dist-vue/PkChatbot.js +1 -1
  46. package/dist-vue/PkChatbotEmptyState.js +1 -1
  47. package/dist-vue/PkChatbotInput.js +1 -1
  48. package/dist-vue/PkChatbotMessages.js +1 -1
  49. package/dist-vue/PkChatbotStepPayload.js +1 -1
  50. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  51. package/dist-vue/PkChatbotSteps.js +1 -1
  52. package/dist-vue/PkChatbotViewChat.js +1 -1
  53. package/dist-vue/PkChatbotViewConversations.js +1 -1
  54. package/dist-vue/PkChatbotViewFiles.js +1 -1
  55. package/dist-vue/PkChatbotViewProfile.js +1 -1
  56. package/dist-vue/_chunks/{Agent-ldDZiq6E.js → Agent-B9iJ1WvR.js} +131 -130
  57. package/dist-vue/_chunks/Agent-B9iJ1WvR.js.map +1 -0
  58. package/dist-vue/_chunks/{Document-BfjAfogy.js → Document-DnsOE7s6.js} +2 -2
  59. package/dist-vue/_chunks/{Document-BfjAfogy.js.map → Document-DnsOE7s6.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChart-DyyBXkd3.js → PkChart-D-K7nc0g.js} +2 -2
  61. package/dist-vue/_chunks/{PkChart-DyyBXkd3.js.map → PkChart-D-K7nc0g.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbot-wsqj3EpU.js → PkChatbot-DVQ-Bb7n.js} +8 -8
  63. package/dist-vue/_chunks/{PkChatbot-wsqj3EpU.js.map → PkChatbot-DVQ-Bb7n.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotEmptyState-DcgIfNkX.js → PkChatbotEmptyState-OlgewA4_.js} +2 -2
  65. package/dist-vue/_chunks/{PkChatbotEmptyState-DcgIfNkX.js.map → PkChatbotEmptyState-OlgewA4_.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotInput-CN4rmNgu.js → PkChatbotInput-D_I0Gf_u.js} +4 -4
  67. package/dist-vue/_chunks/{PkChatbotInput-CN4rmNgu.js.map → PkChatbotInput-D_I0Gf_u.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotMessages-BlF4Xp0_.js → PkChatbotMessages-CAXnEfXK.js} +18 -18
  69. package/dist-vue/_chunks/{PkChatbotMessages-BlF4Xp0_.js.map → PkChatbotMessages-CAXnEfXK.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotStepPayload-q9uXE5mr.js → PkChatbotStepPayload-EBri1L10.js} +2 -2
  71. package/dist-vue/_chunks/{PkChatbotStepPayload-q9uXE5mr.js.map → PkChatbotStepPayload-EBri1L10.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJz6Qwh3.js → PkChatbotStepToolDetail-DiQEa0UV.js} +3 -3
  73. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJz6Qwh3.js.map → PkChatbotStepToolDetail-DiQEa0UV.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkChatbotSteps-DvJYNl_k.js → PkChatbotSteps-BgLnv2J1.js} +5 -5
  75. package/dist-vue/_chunks/{PkChatbotSteps-DvJYNl_k.js.map → PkChatbotSteps-BgLnv2J1.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkChatbotViewChat-tmHyxxT3.js → PkChatbotViewChat-CmjD1IXf.js} +360 -355
  77. package/dist-vue/_chunks/PkChatbotViewChat-CmjD1IXf.js.map +1 -0
  78. package/dist-vue/_chunks/{PkChatbotViewConversations-DOzUh_A7.js → PkChatbotViewConversations-CVZH5dXx.js} +3 -3
  79. package/dist-vue/_chunks/{PkChatbotViewConversations-DOzUh_A7.js.map → PkChatbotViewConversations-CVZH5dXx.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkChatbotViewFiles-CsL8OhcA.js → PkChatbotViewFiles-CO4gv9nd.js} +3 -3
  81. package/dist-vue/_chunks/{PkChatbotViewFiles-CsL8OhcA.js.map → PkChatbotViewFiles-CO4gv9nd.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkChatbotViewProfile-CFqxCK2f.js → PkChatbotViewProfile-CriJtak0.js} +2 -2
  83. package/dist-vue/_chunks/{PkChatbotViewProfile-CFqxCK2f.js.map → PkChatbotViewProfile-CriJtak0.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkFilePreview-Bp5-Pl54.js → PkFilePreview-k5gEl3n8.js} +586 -434
  85. package/dist-vue/_chunks/PkFilePreview-k5gEl3n8.js.map +1 -0
  86. package/dist-vue/_chunks/{PkFilePreviewDialog-CS885vBR.js → PkFilePreviewDialog-DUwZPErE.js} +12 -7
  87. package/dist-vue/_chunks/PkFilePreviewDialog-DUwZPErE.js.map +1 -0
  88. package/dist-vue/_chunks/{PkImageEditorDialog-BhfdnsmX.js → PkImageEditorDialog-DQPXePae.js} +2 -2
  89. package/dist-vue/_chunks/{PkImageEditorDialog-BhfdnsmX.js.map → PkImageEditorDialog-DQPXePae.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkStreamingMarkdown-NgrJUZPI.js → PkStreamingMarkdown-ZasabxE0.js} +3 -3
  91. package/dist-vue/_chunks/{PkStreamingMarkdown-NgrJUZPI.js.map → PkStreamingMarkdown-ZasabxE0.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolChatFile-DnmiNGF4.js → PkToolChatFile-CD26Q2xp.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolChatFile-DnmiNGF4.js.map → PkToolChatFile-CD26Q2xp.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolRequestGeolocation-D1XNCvdr.js → PkToolRequestGeolocation-Bhh7UomV.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolRequestGeolocation-D1XNCvdr.js.map → PkToolRequestGeolocation-Bhh7UomV.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-OTvMRYaL.js → PkToolRequestOAuthConnection-8GJlt5G1.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-OTvMRYaL.js.map → PkToolRequestOAuthConnection-8GJlt5G1.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowArtifact-C8ueuIGQ.js → PkToolShowArtifact-BhVd_ZQ8.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowArtifact-C8ueuIGQ.js.map → PkToolShowArtifact-BhVd_ZQ8.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowChart-BWO6Hzlq.js → PkToolShowChart-BQXxaPIO.js} +3 -3
  101. package/dist-vue/_chunks/{PkToolShowChart-BWO6Hzlq.js.map → PkToolShowChart-BQXxaPIO.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkToolShowContactForm-BBcDsLEO.js → PkToolShowContactForm-CackCDGD.js} +2 -2
  103. package/dist-vue/_chunks/{PkToolShowContactForm-BBcDsLEO.js.map → PkToolShowContactForm-CackCDGD.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowDiagram-BzUcxOKy.js → PkToolShowDiagram-CABPsFi8.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowDiagram-BzUcxOKy.js.map → PkToolShowDiagram-CABPsFi8.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkToolShowForm-B6uhHzJ8.js → PkToolShowForm-BStbk4Iu.js} +4 -4
  107. package/dist-vue/_chunks/{PkToolShowForm-B6uhHzJ8.js.map → PkToolShowForm-BStbk4Iu.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkToolShowImageGallery-C39nlJrJ.js → PkToolShowImageGallery-BeeHsdTp.js} +2 -2
  109. package/dist-vue/_chunks/{PkToolShowImageGallery-C39nlJrJ.js.map → PkToolShowImageGallery-BeeHsdTp.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkToolShowProductList-FLLkRCnm.js → PkToolShowProductList-BfUiap9U.js} +2 -2
  111. package/dist-vue/_chunks/{PkToolShowProductList-FLLkRCnm.js.map → PkToolShowProductList-BfUiap9U.js.map} +1 -1
  112. package/dist-vue/_chunks/{PkToolShowSources-Cb7r5jrX.js → PkToolShowSources-CgEkcyRg.js} +3 -3
  113. package/dist-vue/_chunks/{PkToolShowSources-Cb7r5jrX.js.map → PkToolShowSources-CgEkcyRg.js.map} +1 -1
  114. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BVLCX5Sm.js → PkToolShowSuggestedReply-DxlGhMvE.js} +2 -2
  115. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BVLCX5Sm.js.map → PkToolShowSuggestedReply-DxlGhMvE.js.map} +1 -1
  116. package/dist-vue/_chunks/{PkToolShowVideo-QDLhVlau.js → PkToolShowVideo-CqSRnDNC.js} +2 -2
  117. package/dist-vue/_chunks/{PkToolShowVideo-QDLhVlau.js.map → PkToolShowVideo-CqSRnDNC.js.map} +1 -1
  118. package/dist-vue/_chunks/{PkToolShowWebPages-P6PdJTEE.js → PkToolShowWebPages-B-qIS8qY.js} +2 -2
  119. package/dist-vue/_chunks/{PkToolShowWebPages-P6PdJTEE.js.map → PkToolShowWebPages-B-qIS8qY.js.map} +1 -1
  120. package/dist-vue/_chunks/{createChatbotApiClient-CGeNprai.js → createChatbotApiClient-DmPcjwB3.js} +7 -7
  121. package/dist-vue/_chunks/{createChatbotApiClient-CGeNprai.js.map → createChatbotApiClient-DmPcjwB3.js.map} +1 -1
  122. package/dist-vue/_chunks/{useChatbotStore-KXAltGz3.js → useChatbotStore-B6ILfm5Z.js} +17 -17
  123. package/dist-vue/_chunks/{useChatbotStore-KXAltGz3.js.map → useChatbotStore-B6ILfm5Z.js.map} +1 -1
  124. package/dist-vue/_chunks/{utils-D4B1FVGF.js → utils-KBB6SDPn.js} +2 -2
  125. package/dist-vue/_chunks/{utils-D4B1FVGF.js.map → utils-KBB6SDPn.js.map} +1 -1
  126. package/dist-vue/api.js +1 -1
  127. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -0
  128. package/dist-vue/composables.js +270 -6
  129. package/dist-vue/composables.js.map +1 -1
  130. package/dist-vue/index.js +5325 -5232
  131. package/dist-vue/index.js.map +1 -1
  132. package/dist-vue/locales.js +12 -0
  133. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -0
  134. package/dist-vue/packages/components/src/chat/PkFilePreview.d.ts +8 -0
  135. package/dist-vue/packages/components/src/chat/PkFilePreviewDialog.d.ts +4 -0
  136. package/dist-vue/packages/components/src/chat/PkSelectionActionIconPicker.d.ts +19 -0
  137. package/dist-vue/packages/components/src/chat/PkSelectionActions.d.ts +3 -0
  138. package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +1 -0
  139. package/dist-vue/packages/components/src/chat/selectionActionIcons.d.ts +9 -0
  140. package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +12 -12
  141. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  142. package/dist-vue/packages/models/src/schema/Agent.d.ts +2688 -0
  143. package/dist-vue/packages/models/src/schema/Chart.d.ts +4 -4
  144. package/dist-vue/packages/models/src/schema/Lead.d.ts +6 -6
  145. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +768 -0
  146. package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +1415 -0
  147. package/dist-vue/packages/models/src/schema/SelectionActionPreview.d.ts +38 -0
  148. package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +6 -6
  149. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +768 -0
  150. package/dist-vue/packages/models/src/schema/WordPreview.d.ts +13 -13
  151. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  152. package/dist-vue/style.css +1 -1
  153. package/package.json +1 -1
  154. package/dist/_chunks/Agent-CeZ3bgZ3.js.map +0 -1
  155. package/dist/_chunks/PkFilePreview-D_1ZgiiA.js.map +0 -1
  156. package/dist/_chunks/PkFilePreviewDialog-CI22huzK.js.map +0 -1
  157. package/dist/_chunks/PkSelectionActions-BriGyWCi.js.map +0 -1
  158. package/dist-vue/_chunks/Agent-ldDZiq6E.js.map +0 -1
  159. package/dist-vue/_chunks/PkChatbotViewChat-tmHyxxT3.js.map +0 -1
  160. package/dist-vue/_chunks/PkFilePreview-Bp5-Pl54.js.map +0 -1
  161. package/dist-vue/_chunks/PkFilePreviewDialog-CS885vBR.js.map +0 -1
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-wsqj3EpU.js";
1
+ export { t as default } from "./_chunks/PkChatbot-DVQ-Bb7n.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-DcgIfNkX.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-OlgewA4_.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-CN4rmNgu.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput-D_I0Gf_u.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-BlF4Xp0_.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-CAXnEfXK.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-q9uXE5mr.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-EBri1L10.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-BJz6Qwh3.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-DiQEa0UV.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-DvJYNl_k.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-BgLnv2J1.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-tmHyxxT3.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-CmjD1IXf.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-DOzUh_A7.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-CVZH5dXx.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-CsL8OhcA.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-CO4gv9nd.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-CFqxCK2f.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-CriJtak0.js";
@@ -349,8 +349,8 @@ var qe = [
349
349
  "summarize",
350
350
  "chart"
351
351
  ]
352
- }, Ye = (e) => p(n(), n().trim().min(1).max(e));
353
- function Xe(e) {
352
+ }, Ye = /* @__PURE__ */ "sparkles.magic.idea.star.heart.lightning.fire.rocket.pen.pencil.text.paragraph.quote.list.checklist.highlighter.document.folder.book.bookmark.clipboard.draft.contract.attachment.archive.search.filter.eye.questions.pie-chart.line-chart.table.database.calculator.percent.scales.euro.dollar.wallet.bank.card.cart.price-tag.bill.gift.shop.truck.shield.lock.key.gavel.institution.passport.person.team.group.smile.handshake.support.contacts.mail.send.speech.phone.megaphone.bell.share.link.globe.calendar.event.clock.timer.history.hourglass.plane.car.train.ship.map.pin.compass.bed.suitcase.home.building.flag.earth.sun.umbrella.heartbeat.capsule.first-aid.restaurant.cup.leaf.plant.recycle.school.graduation.brain.puzzle.award.trophy.settings.tools.code.bug.robot.cloud.flask.microscope.check.cross.warning.information.refresh.swap.arrow.thumbs-up.target.palette.image.music.video.microphone".split("."), Xe = (e) => p(n(), n().trim().min(1).max(e));
353
+ function Ze(e) {
354
354
  let t = (e) => Object.keys(e ?? {}).filter((t) => !!e?.[t]?.trim()), n = t(e.label), r = t(e.prompt);
355
355
  return {
356
356
  empty: n.length === 0 && r.length === 0,
@@ -358,12 +358,13 @@ function Xe(e) {
358
358
  prompt: n.filter((e) => !r.includes(e))
359
359
  };
360
360
  }
361
- var Ze = d({
361
+ var Qe = d({
362
362
  id: n().trim().min(1).max(64),
363
- label: Ye(40),
364
- prompt: Ye(500)
363
+ label: Xe(40),
364
+ prompt: Xe(500),
365
+ icon: l(Ye).optional().catch(void 0)
365
366
  });
366
- function Qe(e, t, n = {}) {
367
+ function $e(e, t, n = {}) {
367
368
  for (let r of Je) {
368
369
  let i = e.selectionActions?.[r];
369
370
  if (i?.enabled && n[r] !== !1) for (let [e, n] of (i.actions ?? []).entries()) {
@@ -372,7 +373,7 @@ function Qe(e, t, n = {}) {
372
373
  r,
373
374
  "actions",
374
375
  e
375
- ], a = Xe(n);
376
+ ], a = Ze(n);
376
377
  a.empty && t.addIssue({
377
378
  code: "custom",
378
379
  message: "An action needs a label and an instruction",
@@ -393,7 +394,7 @@ function Qe(e, t, n = {}) {
393
394
  var M = (e, t) => d({
394
395
  enabled: u().default(t),
395
396
  builtIns: c(l(e)).default(() => [...e]),
396
- actions: c(Ze).default([])
397
+ actions: c(Qe).default([])
397
398
  }).refine((e) => new Set(e.builtIns).size === e.builtIns.length, {
398
399
  message: "A built-in action is listed twice",
399
400
  path: ["builtIns"]
@@ -403,14 +404,14 @@ var M = (e, t) => d({
403
404
  }).refine((e) => e.builtIns.length + e.actions.length <= 4, {
404
405
  message: "At most 4 actions, built-in and the agent's together",
405
406
  path: ["actions"]
406
- }), N = M(j.page, !1), P = M(j.word, !0), F = M(j.excel, !0), $e = d({
407
+ }), N = M(j.page, !1), P = M(j.word, !0), F = M(j.excel, !0), et = d({
407
408
  page: N.optional().default(() => N.parse({})),
408
409
  word: P.optional().default(() => P.parse({})),
409
410
  excel: F.optional().default(() => F.parse({}))
410
411
  }), I = d({
411
412
  builtIns: c(l(qe)),
412
- actions: c(Ze)
413
- }), et = d({
413
+ actions: c(Qe)
414
+ }), tt = d({
414
415
  page: I.optional(),
415
416
  word: I.optional(),
416
417
  excel: I.optional()
@@ -418,7 +419,7 @@ var M = (e, t) => d({
418
419
  return e.Draft = "draft", e.Active = "active", e.Inactive = "inactive", e;
419
420
  }({}), R = /* @__PURE__ */ function(e) {
420
421
  return e.Public = "public", e.Private = "private", e.Organization = "organization", e.Restricted = "restricted", e;
421
- }({}), tt = [R.Organization, R.Restricted], z = /* @__PURE__ */ function(e) {
422
+ }({}), nt = [R.Organization, R.Restricted], z = /* @__PURE__ */ function(e) {
422
423
  return e.Chat = "chat", e.Reasoning = "reasoning", e;
423
424
  }({}), B = /* @__PURE__ */ function(e) {
424
425
  return e.Semantic = "semantic", e.Balanced = "balanced", e.Keyword = "keyword", e;
@@ -444,10 +445,10 @@ var M = (e, t) => d({
444
445
  "auto",
445
446
  "detailed",
446
447
  "concise"
447
- ], nt = d({
448
+ ], rt = d({
448
449
  reasoningEffort: l(V).optional(),
449
450
  reasoningSummary: l(W).optional()
450
- }), rt = d({
451
+ }), it = d({
451
452
  type: l([
452
453
  "adaptive",
453
454
  "enabled",
@@ -456,11 +457,11 @@ var M = (e, t) => d({
456
457
  effort: l(H).optional(),
457
458
  display: l(["summarized", "omitted"]).optional(),
458
459
  budgetTokens: i().int().positive().optional()
459
- }), it = d({
460
+ }), at = d({
460
461
  thinkingLevel: l(U).optional(),
461
462
  thinkingBudget: i().int().optional(),
462
463
  includeThoughts: u().optional()
463
- }), at = d({ type: l(["enabled", "disabled"]).optional() }), G = [
464
+ }), ot = d({ type: l(["enabled", "disabled"]).optional() }), G = [
464
465
  "alibaba",
465
466
  "meta",
466
467
  "moonshotai",
@@ -468,7 +469,7 @@ var M = (e, t) => d({
468
469
  "xiaomi",
469
470
  "zai"
470
471
  ];
471
- function ot(e) {
472
+ function st(e) {
472
473
  return G.includes(e);
473
474
  }
474
475
  var K = [
@@ -482,11 +483,11 @@ var K = [
482
483
  function J(e, t) {
483
484
  return e && t.includes(e) ? e : void 0;
484
485
  }
485
- var st = d({
486
- openai: nt.optional(),
487
- anthropic: rt.optional(),
488
- google: it.optional(),
489
- deepseek: at.optional(),
486
+ var ct = d({
487
+ openai: rt.optional(),
488
+ anthropic: it.optional(),
489
+ google: at.optional(),
490
+ deepseek: ot.optional(),
490
491
  alibaba: q.optional(),
491
492
  meta: q.optional(),
492
493
  moonshotai: q.optional(),
@@ -494,7 +495,7 @@ var st = d({
494
495
  xiaomi: q.optional(),
495
496
  zai: q.optional()
496
497
  });
497
- function ct(e) {
498
+ function lt(e) {
498
499
  if (!e || typeof e != "object") return e;
499
500
  let t = e, n = [
500
501
  "openai",
@@ -528,7 +529,7 @@ function ct(e) {
528
529
  }
529
530
  return e;
530
531
  }
531
- var lt = ie(f(), st, ct).optional(), ut = {
532
+ var ut = ie(f(), ct, lt).optional(), dt = {
532
533
  openai: { reasoningEffort: "low" },
533
534
  anthropic: {
534
535
  type: "adaptive",
@@ -542,28 +543,28 @@ var lt = ie(f(), st, ct).optional(), ut = {
542
543
  xiaomi: { reasoningEffort: "low" },
543
544
  zai: { reasoningEffort: "low" }
544
545
  };
545
- function dt(e) {
546
+ function ft(e) {
546
547
  return !!e && typeof e == "object" && Object.values(e).some((e) => e !== void 0);
547
548
  }
548
- function ft(e, t) {
549
+ function pt(e, t) {
549
550
  let n = t?.[e];
550
- return dt(n) ? n : ut[e];
551
+ return ft(n) ? n : dt[e];
551
552
  }
552
553
  var Y = /* @__PURE__ */ function(e) {
553
554
  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.WordDocument = "wordDocument", e.CreateSpreadsheet = "createSpreadsheet", e.CreateWordDocument = "createWordDocument", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowChart = "showChart", 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;
554
- }({}), pt = "mcp-", mt = "api-", ht = "subagent-", gt = "enableTools";
555
- function _t(e) {
556
- return !vt(e) && e !== Y.RequestGeolocation;
557
- }
555
+ }({}), mt = "mcp-", ht = "api-", gt = "subagent-", _t = "enableTools";
558
556
  function vt(e) {
557
+ return !yt(e) && e !== Y.RequestGeolocation;
558
+ }
559
+ function yt(e) {
559
560
  return e === Y.RequestConfirm || e === Y.ShowArtifact || e === Y.ShowCalendarEvent || e === Y.ShowChart || e === Y.ShowComparison || e === Y.ShowContactForm || e === Y.ShowDiagram || e === Y.ShowEmail || e === Y.ShowImageGallery || e === Y.ShowLocation || e === Y.ShowMessage || e === Y.ShowForm || e === Y.ShowMultipleChoice || e === Y.ShowProductList || e === Y.ShowQrCode || e === Y.ShowSources || e === Y.ShowSuggestedReply || e === Y.ShowVideo || e === Y.ShowWeather || e === Y.ShowWebPages;
560
561
  }
561
- var yt = /* @__PURE__ */ new Set([
562
+ var bt = /* @__PURE__ */ new Set([
562
563
  "editSpreadsheet",
563
564
  "editWordDocument",
564
565
  Y.CreateSpreadsheet,
565
566
  Y.CreateWordDocument
566
- ]), bt = /* @__PURE__ */ new Set([
567
+ ]), xt = /* @__PURE__ */ new Set([
567
568
  Y.RequestConfirm,
568
569
  Y.ShowArtifact,
569
570
  Y.ShowWeather,
@@ -579,25 +580,25 @@ var yt = /* @__PURE__ */ new Set([
579
580
  Y.ShowEmail,
580
581
  Y.ShowMessage,
581
582
  Y.ShowForm,
582
- ...yt,
583
+ ...bt,
583
584
  Y.ShareDocument
584
585
  ]);
585
- function xt(e) {
586
- return bt.has(e);
586
+ function St(e) {
587
+ return xt.has(e);
587
588
  }
588
- var St = /* @__PURE__ */ new Set([
589
+ var Ct = /* @__PURE__ */ new Set([
589
590
  Y.RequestConfirm,
590
591
  Y.RequestGeolocation,
591
592
  Y.ShowForm,
592
593
  Y.ShowMultipleChoice,
593
594
  "requestOAuthConnection"
594
595
  ]);
595
- function Ct(e) {
596
- return St.has(e);
596
+ function wt(e) {
597
+ return Ct.has(e);
597
598
  }
598
- var wt = /* @__PURE__ */ function(e) {
599
+ var Tt = /* @__PURE__ */ function(e) {
599
600
  return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
600
- }({}), Tt = /* @__PURE__ */ new Set([
601
+ }({}), Et = /* @__PURE__ */ new Set([
601
602
  Y.RequestConfirm,
602
603
  Y.RequestGeolocation,
603
604
  Y.ShowArtifact,
@@ -619,31 +620,31 @@ var wt = /* @__PURE__ */ function(e) {
619
620
  Y.ShowVideo,
620
621
  Y.ShowWeather,
621
622
  Y.ShowWebPages
622
- ]), Et = "Shown on the caller's screen";
623
- function Dt(e) {
624
- return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Et));
623
+ ]), Dt = "Shown on the caller's screen";
624
+ function Ot(e) {
625
+ return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(Dt));
625
626
  }
626
- var Ot = d({
627
+ var kt = d({
627
628
  maxSteps: i().int().min(1).max(10).optional().default(5),
628
629
  maxOptionsPerStep: i().int().min(2).max(10).optional().default(5)
629
- }), kt = /* @__PURE__ */ function(e) {
630
+ }), At = /* @__PURE__ */ function(e) {
630
631
  return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
631
- }({}), At = {
632
+ }({}), jt = {
632
633
  openai: "OpenAI",
633
634
  anthropic: "Anthropic",
634
635
  google: "Google"
635
636
  };
636
- function jt(e) {
637
+ function Mt(e) {
637
638
  let t = e.split("/")[0];
638
- return Object.prototype.hasOwnProperty.call(At, t) ? At[t] : void 0;
639
+ return Object.prototype.hasOwnProperty.call(jt, t) ? jt[t] : void 0;
639
640
  }
640
- var Mt = [
641
+ var Nt = [
641
642
  "perplexity_search",
642
643
  "parallel_search",
643
644
  "web_search",
644
645
  "openai_web_search",
645
646
  "google_search"
646
- ], Nt = d({
647
+ ], Pt = d({
647
648
  maxResults: i().int().min(1).max(20).optional(),
648
649
  maxTokens: i().int().positive().max(1e6).optional(),
649
650
  maxTokensPerPage: i().int().positive().optional(),
@@ -656,7 +657,7 @@ var Mt = [
656
657
  "month",
657
658
  "year"
658
659
  ]).optional()
659
- }), Pt = d({
660
+ }), Ft = d({
660
661
  mode: l(["one-shot", "agentic"]).optional(),
661
662
  maxResults: i().int().min(1).max(20).optional(),
662
663
  sourcePolicy: d({
@@ -669,7 +670,7 @@ var Mt = [
669
670
  maxCharsTotal: i().int().positive().optional()
670
671
  }).optional(),
671
672
  fetchPolicy: d({ maxAgeSeconds: i().int().positive().optional() }).optional()
672
- }), Ft = d({
673
+ }), It = d({
673
674
  openai: d({}).optional(),
674
675
  anthropic: d({
675
676
  maxUses: i().int().positive().optional(),
@@ -684,13 +685,13 @@ var Mt = [
684
685
  }).optional()
685
686
  }).optional(),
686
687
  google: d({}).optional()
687
- }), It = d({
688
+ }), Lt = d({
688
689
  enabled: u().default(!1),
689
- provider: l(kt).optional().default(kt.Native),
690
- perplexity: Nt.optional(),
691
- parallel: Pt.optional(),
692
- native: Ft.optional()
693
- }), Lt = d({ useAllUserKb: u().default(!1) }), Rt = d({ useAllUserFiles: u().default(!1) }), zt = d({ enabled: u().default(!1) }), X = d({ enabled: u().default(!1) }), Bt = d({ tools: c(n()).default([]) }), Vt = d({
690
+ provider: l(At).optional().default(At.Native),
691
+ perplexity: Pt.optional(),
692
+ parallel: Ft.optional(),
693
+ native: It.optional()
694
+ }), Rt = d({ useAllUserKb: u().default(!1) }), zt = d({ useAllUserFiles: u().default(!1) }), Bt = d({ enabled: u().default(!1) }), X = d({ enabled: u().default(!1) }), Vt = d({ tools: c(n()).default([]) }), Ht = d({
694
695
  disabled: c(l(Y)).default([
695
696
  Y.UserMemory,
696
697
  Y.SearchInUserFiles,
@@ -698,15 +699,15 @@ var Mt = [
698
699
  Y.FetchTeamsChannelHistory,
699
700
  Y.ScheduleWakeup
700
701
  ]),
701
- showForm: Ot.optional().default(() => Ot.parse({})),
702
- webSearch: It.optional().default(() => It.parse({})),
703
- userMemory: Lt.optional().default(() => Lt.parse({})),
704
- userFiles: Rt.optional().default(() => Rt.parse({})),
705
- shareDocument: zt.optional().default(() => zt.parse({})),
702
+ showForm: kt.optional().default(() => kt.parse({})),
703
+ webSearch: Lt.optional().default(() => Lt.parse({})),
704
+ userMemory: Rt.optional().default(() => Rt.parse({})),
705
+ userFiles: zt.optional().default(() => zt.parse({})),
706
+ shareDocument: Bt.optional().default(() => Bt.parse({})),
706
707
  createSpreadsheet: X.optional().default(() => X.parse({})),
707
708
  createWordDocument: X.optional().default(() => X.parse({})),
708
- approval: Bt.optional().default(() => Bt.parse({}))
709
- }), Ht = d({
709
+ approval: Vt.optional().default(() => Vt.parse({}))
710
+ }), Ut = d({
710
711
  freshness: d({
711
712
  enabled: u().default(!1),
712
713
  scale: i().int().min(86400).max(31536e3).default(7776e3),
@@ -718,7 +719,7 @@ var Mt = [
718
719
  diversity: i().min(0).max(1).default(.3),
719
720
  candidatesLimit: i().int().min(20).max(100).default(50)
720
721
  }).prefault({})
721
- }).prefault({}), Ut = d({
722
+ }).prefault({}), Wt = d({
722
723
  prompt: n().optional(),
723
724
  temperature: i().min(0).max(2).optional().default(.6),
724
725
  maxOutputTokens: i().positive().optional(),
@@ -727,18 +728,18 @@ var Mt = [
727
728
  searchMode: l(B).optional().default(B.Balanced),
728
729
  limit: i().positive().max(100).optional().default(10),
729
730
  maxStepCount: i().int().min(1).max(40).optional().default(10),
730
- reasoning: lt,
731
- ranking: Ht.optional().default(() => Ht.parse({}))
732
- }), Z = ie(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Wt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Gt = /* @__PURE__ */ function(e) {
731
+ reasoning: ut,
732
+ ranking: Ut.optional().default(() => Ut.parse({}))
733
+ }), Z = ie(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Gt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Kt = /* @__PURE__ */ function(e) {
733
734
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
734
- }({}), Kt = /* @__PURE__ */ function(e) {
735
- return e.Floating = "floating", e.Copilot = "copilot", e;
736
735
  }({}), qt = /* @__PURE__ */ function(e) {
736
+ return e.Floating = "floating", e.Copilot = "copilot", e;
737
+ }({}), Jt = /* @__PURE__ */ function(e) {
737
738
  return e.Solid = "solid", e.Glass = "glass", e;
738
739
  }({}), Q = /* @__PURE__ */ function(e) {
739
740
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
740
- }({}), Jt = Object.values(Q), Yt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
741
- function Xt(e) {
741
+ }({}), Yt = Object.values(Q), Xt = /^(?=.{1,253}$)([a-z0-9-]+\.)*[a-z0-9-]+$/;
742
+ function Zt(e) {
742
743
  let t = e.trim().toLowerCase();
743
744
  if (!t) return "";
744
745
  try {
@@ -747,7 +748,7 @@ function Xt(e) {
747
748
  return t;
748
749
  }
749
750
  }
750
- var Zt = d({
751
+ var Qt = d({
751
752
  media: ne.optional(),
752
753
  logo: n().optional(),
753
754
  theme: l([
@@ -777,22 +778,22 @@ var Zt = d({
777
778
  interactiveLogin: u().optional().default(!0),
778
779
  welcomePopup: u().optional().default(!1),
779
780
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
780
- layout: l(Kt).optional().default(Kt.Floating),
781
- appearance: l(qt).optional().default(qt.Solid),
781
+ layout: l(qt).optional().default(qt.Floating),
782
+ appearance: l(Jt).optional().default(Jt.Solid),
782
783
  hideFloatingButton: u().optional().default(!1),
783
784
  workingGlow: u().optional().default(!0),
784
785
  copilotPageCss: n().optional(),
785
786
  maxMessageLength: i().int().positive().optional(),
786
- widgetUrl: r().default(Wt),
787
+ widgetUrl: r().default(Gt),
787
788
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
788
- loaderStrategy: l(Gt).optional().default(Gt.InlineModule),
789
+ loaderStrategy: l(Kt).optional().default(Kt.InlineModule),
789
790
  customCss: n().optional(),
790
791
  smoothStream: u().optional().default(!1),
791
792
  showExtendedSteps: u().optional().default(!1),
792
793
  showReasoning: u().optional().default(!0),
793
794
  holdExternalImages: u().optional().default(!1),
794
- imageHosts: c(n().overwrite(Xt).refine((e) => e === "" || Yt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
795
- }), Qt = [
795
+ imageHosts: c(n().overwrite(Zt).refine((e) => e === "" || Xt.test(e), { message: "Enter a host name, like images.example.com" })).overwrite((e) => [...new Set(e.filter(Boolean))]).default([])
796
+ }), $t = [
796
797
  "image/jpeg",
797
798
  "image/png",
798
799
  "image/gif",
@@ -801,19 +802,19 @@ var Zt = d({
801
802
  "text/plain",
802
803
  "text/markdown",
803
804
  "text/csv"
804
- ], $t = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", en = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", tn = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(Y.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(Y.WordDocument), $ = d({
805
+ ], en = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", tn = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", nn = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(Y.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(Y.WordDocument), $ = d({
805
806
  enabled: u().default(!1),
806
807
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
807
- allowedMimeTypes: c(n().regex(re)).optional().default([...Qt]),
808
+ allowedMimeTypes: c(n().regex(re)).optional().default([...$t]),
808
809
  maxFilesPerMessage: i().int().positive().max(10).optional().default(5),
809
810
  maxFilesPerChat: i().int().positive().max(50).optional().default(20)
810
- }), nn = d({
811
+ }), rn = d({
811
812
  zeroDataRetention: u().default(!0),
812
813
  disallowPromptTraining: u().default(!0),
813
814
  providerTimeoutMs: i().int().min(1e3).max(789e3).optional()
814
- }), rn = d({ enabled: u().default(!1) }), an = /* @__PURE__ */ function(e) {
815
+ }), an = d({ enabled: u().default(!1) }), on = /* @__PURE__ */ function(e) {
815
816
  return e.Off = "off", e.Shadow = "shadow", e.Active = "active", e;
816
- }({}), on = d({ mode: l(an).default(an.Off) }), sn = d({
817
+ }({}), sn = d({ mode: l(on).default(on.Off) }), cn = d({
817
818
  enabled: u().default(!1),
818
819
  voiceId: n().optional(),
819
820
  language: n().min(2).max(5).default("it"),
@@ -832,44 +833,44 @@ var Zt = d({
832
833
  providerAgentId: n().optional(),
833
834
  providerSecretId: n().optional(),
834
835
  providerApiKeyId: n().optional()
835
- }), cn = d({ enabled: u() }), ln = s("automatic");
836
+ }), ln = d({ enabled: u() }), un = s("automatic");
836
837
  d({
837
838
  chatId: n().min(1).optional(),
838
839
  deviceContext: Ae.optional(),
839
840
  externalContext: p(n(), f()).optional(),
840
841
  pageTools: f().optional(),
841
- confirmations: ln.optional()
842
+ confirmations: un.optional()
842
843
  });
843
- var un = d({
844
+ var dn = d({
844
845
  sessionId: n(),
845
846
  signedUrl: n(),
846
847
  providerAgentId: n(),
847
848
  chatId: n(),
848
849
  maxSessionSeconds: i().int()
849
- }), dn = d({
850
+ }), fn = d({
850
851
  voiceId: n(),
851
852
  name: n(),
852
853
  category: n().optional(),
853
854
  previewUrl: n().optional(),
854
855
  labels: p(n(), n()).optional()
855
856
  });
856
- c(dn);
857
- var fn = d({ allowAutomatic: u().default(!1) }), pn = d({ allowAutomatic: s(!0) }), mn = d({
858
- model: Ut,
859
- interface: Zt,
860
- tools: Vt.optional().default(() => Vt.parse({})),
857
+ c(fn);
858
+ var pn = d({ allowAutomatic: u().default(!1) }), mn = d({ allowAutomatic: s(!0) }), hn = d({
859
+ model: Wt,
860
+ interface: Qt,
861
+ tools: Ht.optional().default(() => Ht.parse({})),
861
862
  fileUpload: $.optional().default(() => $.parse({})),
862
- gatewayOptions: nn.optional().default(() => nn.parse({})),
863
- channels: c(l(Q)).optional().default(() => [...Jt]),
863
+ gatewayOptions: rn.optional().default(() => rn.parse({})),
864
+ channels: c(l(Q)).optional().default(() => [...Yt]),
864
865
  externalContextSchema: oe.optional(),
865
- openaiApi: rn.optional().default(() => rn.parse({})),
866
- voice: sn.optional().default(() => sn.parse({})),
867
- toolWorkingSet: on.optional().default(() => on.parse({})),
866
+ openaiApi: an.optional().default(() => an.parse({})),
867
+ voice: cn.optional().default(() => cn.parse({})),
868
+ toolWorkingSet: sn.optional().default(() => sn.parse({})),
868
869
  hostTools: Pe.optional(),
869
870
  pageAccess: He.optional(),
870
- confirmations: fn.optional(),
871
- selectionActions: $e.optional()
872
- }), hn = d({
871
+ confirmations: pn.optional(),
872
+ selectionActions: et.optional()
873
+ }), gn = d({
873
874
  rateLimits: d({
874
875
  minuteRateLimit: i().int().min(0).optional(),
875
876
  hourRateLimit: i().int().min(0).optional(),
@@ -886,12 +887,12 @@ d({
886
887
  fallbackModels: c(n()).default([]),
887
888
  status: l(L).default(L.Draft),
888
889
  visibility: l(R).default(R.Organization),
889
- settings: mn.superRefine((e, t) => Qe(e, t, {
890
+ settings: hn.superRefine((e, t) => $e(e, t, {
890
891
  page: (e.pageAccess?.level ?? A.Off) !== A.Off,
891
892
  word: !e.tools.disabled.includes(Y.WordDocument),
892
893
  excel: !e.tools.disabled.includes(Y.Spreadsheet)
893
894
  })),
894
- security: hn.nullish(),
895
+ security: gn.nullish(),
895
896
  type: l(z).default(z.Chat),
896
897
  organizationId: n()
897
898
  }), ee(() => d({
@@ -902,8 +903,8 @@ d({
902
903
  fallbackModels: c(n()).nullable().default([]),
903
904
  status: l(L).default(L.Draft),
904
905
  visibility: l(R).default(R.Organization),
905
- settings: mn,
906
- security: hn.nullable(),
906
+ settings: hn,
907
+ security: gn.nullable(),
907
908
  type: l(z).default(z.Chat),
908
909
  organizationId: n(),
909
910
  createdAt: m(),
@@ -916,25 +917,25 @@ d({
916
917
  outOfBudget: u().optional().default(!1),
917
918
  outOfBudgetReason: n().optional().default("")
918
919
  }));
919
- var gn = d({
920
+ var _n = d({
920
921
  id: n(),
921
922
  name: n(),
922
923
  status: l(L),
923
924
  visibility: l(R),
924
925
  organizationId: n(),
925
- interface: Zt,
926
+ interface: Qt,
926
927
  createdAt: m(),
927
928
  updatedAt: m(),
928
929
  capabilities: d({
929
930
  fileUpload: $,
930
- voice: cn,
931
+ voice: ln,
931
932
  hostTools: Fe.optional(),
932
933
  pageAccess: Ge.optional(),
933
- confirmations: pn.optional(),
934
- selectionActions: et.optional()
934
+ confirmations: mn.optional(),
935
+ selectionActions: tt.optional()
935
936
  }),
936
- channels: c(l(Q)).default(() => [...Jt])
937
- }), _n = Zt.pick({
937
+ channels: c(l(Q)).default(() => [...Yt])
938
+ }), vn = Qt.pick({
938
939
  logo: !0,
939
940
  mainColor: !0,
940
941
  textColor: !0,
@@ -945,41 +946,41 @@ var gn = d({
945
946
  hideFloatingButton: !0,
946
947
  copilotPageCss: !0,
947
948
  customCss: !0
948
- }), vn = gn.pick({
949
+ }), yn = _n.pick({
949
950
  id: !0,
950
951
  name: !0,
951
952
  organizationId: !0
952
- }).extend({ interface: _n }), yn = d({
953
+ }).extend({ interface: vn }), bn = d({
953
954
  emailPassword: u(),
954
955
  google: u(),
955
956
  microsoft: u()
956
- }), bn = d({
957
+ }), xn = d({
957
958
  requiresAuth: s(!1),
958
- agent: gn,
959
+ agent: _n,
959
960
  branding: a()
960
- }), xn = d({
961
+ }), Sn = d({
961
962
  requiresAuth: s(!0),
962
963
  agent: a(),
963
- branding: vn
964
+ branding: yn
964
965
  });
965
- te("requiresAuth", [bn, xn]);
966
- var Sn = d({
966
+ te("requiresAuth", [xn, Sn]);
967
+ var Cn = d({
967
968
  frontendUrl: n().optional(),
968
969
  telemetry: d({
969
970
  environment: n(),
970
971
  samplingRate: i().min(0).max(1)
971
972
  }).nullable()
972
- }), Cn = d({
973
- authMethods: yn,
973
+ }), wn = d({
974
+ authMethods: bn,
974
975
  deploymentBranding: pe.nullish(),
975
- deployment: Sn.optional()
976
+ deployment: Cn.optional()
976
977
  });
977
- te("requiresAuth", [bn.extend(Cn.shape), xn.extend(Cn.shape)]), d({
978
+ te("requiresAuth", [xn.extend(wn.shape), Sn.extend(wn.shape)]), d({
978
979
  id: t(),
979
980
  limited: u(),
980
981
  agentIds: c(t())
981
982
  });
982
- var wn = d({
983
+ var Tn = d({
983
984
  userId: t(),
984
985
  name: n(),
985
986
  email: n(),
@@ -990,7 +991,7 @@ var wn = d({
990
991
  });
991
992
  d({
992
993
  id: t(),
993
- members: c(wn)
994
+ members: c(Tn)
994
995
  }), d({
995
996
  id: t(),
996
997
  userIds: c(t())
@@ -1012,6 +1013,6 @@ d({
1012
1013
  ...h.fullText(),
1013
1014
  ...h.ids()
1014
1015
  });
1015
- export { We as $, Tt as A, vt as B, pt as C, $t as D, W as E, _t as F, F as G, Dt as H, ft as I, P as J, N as K, tn as L, Mt as M, en as N, ht as O, kt as P, Ue as Q, ot as R, U as S, V as T, jt as U, Ct as V, Xt as W, Ke as X, Xe as Y, A as Z, yt as _, ue as _t, $ as a, Le as at, gt as b, Ht as c, y as ct, an as d, Te as dt, Ve as et, z as f, be as ft, Kt as g, ie as gt, qt as h, he as ht, Q as i, je as it, un as j, St as k, lt as l, E as lt, It as m, Ee as mt, mt as n, k as nt, nn as o, Ie as ot, R as p, de as pt, j as q, Y as r, Re as rt, Gt as s, Ae as st, H as t, Be as tt, B as u, g as ut, ln as v, h as vt, tt as w, K as x, wt as y, xt as z };
1016
+ export { Ue as $, Et as A, yt as B, mt as C, en as D, W as E, vt as F, F as G, Ot as H, pt as I, j as J, N as K, nn as L, Nt as M, tn as N, gt as O, At as P, A as Q, st as R, U as S, V as T, Mt as U, wt as V, Zt as W, Ze as X, P as Y, Ke as Z, bt as _, ie as _t, $ as a, je as at, _t as b, Ut as c, Ae as ct, on as d, g as dt, We as et, z as f, Te as ft, qt as g, he as gt, Jt as h, Ee as ht, Q as i, Re as it, dn as j, Ct as k, ut as l, y as lt, Lt as m, de as mt, ht as n, Be as nt, rn as o, Le as ot, R as p, be as pt, Ye as q, Y as r, k as rt, Kt as s, Ie as st, H as t, Ve as tt, B as u, E as ut, un as v, ue as vt, nt as w, K as x, Tt as y, h as yt, St as z };
1016
1017
 
1017
- //# sourceMappingURL=Agent-ldDZiq6E.js.map
1018
+ //# sourceMappingURL=Agent-B9iJ1WvR.js.map