@8wave/ai-elements 0.121.0-beta.31 → 0.121.0-beta.33

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 (180) hide show
  1. package/dist/_chunks/{Agent-wvUJZjp3.js → Agent-BPIcUM9P.js} +145 -144
  2. package/dist/_chunks/Agent-BPIcUM9P.js.map +1 -0
  3. package/dist/_chunks/{PkChatbotFilePreview-dtGYHgFN.js → PkChatbotFilePreview-CpFXWpU7.js} +48 -35
  4. package/dist/_chunks/PkChatbotFilePreview-CpFXWpU7.js.map +1 -0
  5. package/dist/_chunks/{PkHeldImage-yQVzab3w.js → PkHeldImage-DvHKY7Vh.js} +2 -2
  6. package/dist/_chunks/{PkHeldImage-yQVzab3w.js.map → PkHeldImage-DvHKY7Vh.js.map} +1 -1
  7. package/dist/_chunks/{PkLazyImg-KPWpt_yW.js → PkLazyImg-BBFsS16D.js} +2 -2
  8. package/dist/_chunks/{PkLazyImg-KPWpt_yW.js.map → PkLazyImg-BBFsS16D.js.map} +1 -1
  9. package/dist/_chunks/{PkStreamingMarkdown-DeZn-hPo.js → PkStreamingMarkdown-C8_9bk_Y.js} +8 -8
  10. package/dist/_chunks/PkStreamingMarkdown-C8_9bk_Y.js.map +1 -0
  11. package/dist/_chunks/{PkToolEditSpreadsheet-BJEWc_nV.js → PkToolEditSpreadsheet-DM5BCKd2.js} +3 -3
  12. package/dist/_chunks/{PkToolEditSpreadsheet-BJEWc_nV.js.map → PkToolEditSpreadsheet-DM5BCKd2.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestGeolocation-CPU3e3iJ.js → PkToolRequestGeolocation-DnZFIG1Q.js} +3 -3
  14. package/dist/_chunks/{PkToolRequestGeolocation-CPU3e3iJ.js.map → PkToolRequestGeolocation-DnZFIG1Q.js.map} +1 -1
  15. package/dist/_chunks/{PkToolRequestOAuthConnection-C8nfpS3d.js → PkToolRequestOAuthConnection-9LX5kQ43.js} +4 -4
  16. package/dist/_chunks/{PkToolRequestOAuthConnection-C8nfpS3d.js.map → PkToolRequestOAuthConnection-9LX5kQ43.js.map} +1 -1
  17. package/dist/_chunks/PkToolShareDocument-BhT59J9o.js +64 -0
  18. package/dist/_chunks/PkToolShareDocument-BhT59J9o.js.map +1 -0
  19. package/dist/_chunks/{PkToolShowArtifact-Bt_qBvdI.js → PkToolShowArtifact-2ovT7cCd.js} +4 -4
  20. package/dist/_chunks/{PkToolShowArtifact-Bt_qBvdI.js.map → PkToolShowArtifact-2ovT7cCd.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowCalendarEvent-K4_7WrtL.js → PkToolShowCalendarEvent-Dzh4JURs.js} +4 -4
  22. package/dist/_chunks/{PkToolShowCalendarEvent-K4_7WrtL.js.map → PkToolShowCalendarEvent-Dzh4JURs.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowComparison-whPYJiI5.js → PkToolShowComparison-CFHrXnaB.js} +4 -4
  24. package/dist/_chunks/{PkToolShowComparison-whPYJiI5.js.map → PkToolShowComparison-CFHrXnaB.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowContactForm-BwKW5txM.js → PkToolShowContactForm-Bkoa-XYM.js} +5 -5
  26. package/dist/_chunks/{PkToolShowContactForm-BwKW5txM.js.map → PkToolShowContactForm-Bkoa-XYM.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowDiagram-CXpSKtDS.js → PkToolShowDiagram-DGnIuRst.js} +4 -4
  28. package/dist/_chunks/{PkToolShowDiagram-CXpSKtDS.js.map → PkToolShowDiagram-DGnIuRst.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowEmail-w6YoMH75.js → PkToolShowEmail-C3jped-R.js} +4 -4
  30. package/dist/_chunks/{PkToolShowEmail-w6YoMH75.js.map → PkToolShowEmail-C3jped-R.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowForm-DJhe2pV3.js → PkToolShowForm-CvAgDlx8.js} +5 -5
  32. package/dist/_chunks/{PkToolShowForm-DJhe2pV3.js.map → PkToolShowForm-CvAgDlx8.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowImageGallery-DPEIoeDc.js → PkToolShowImageGallery-CjA-r8o5.js} +4 -4
  34. package/dist/_chunks/{PkToolShowImageGallery-DPEIoeDc.js.map → PkToolShowImageGallery-CjA-r8o5.js.map} +1 -1
  35. package/dist/_chunks/{PkToolShowLocation-CPFldsb9.js → PkToolShowLocation-gyMiVjhi.js} +4 -4
  36. package/dist/_chunks/{PkToolShowLocation-CPFldsb9.js.map → PkToolShowLocation-gyMiVjhi.js.map} +1 -1
  37. package/dist/_chunks/{PkToolShowMessage-CLoGgUhg.js → PkToolShowMessage-wGPPnOAM.js} +4 -4
  38. package/dist/_chunks/{PkToolShowMessage-CLoGgUhg.js.map → PkToolShowMessage-wGPPnOAM.js.map} +1 -1
  39. package/dist/_chunks/{PkToolShowProductList-C5alYUrB.js → PkToolShowProductList-DGPs57sX.js} +5 -5
  40. package/dist/_chunks/{PkToolShowProductList-C5alYUrB.js.map → PkToolShowProductList-DGPs57sX.js.map} +1 -1
  41. package/dist/_chunks/{PkToolShowQrCode-CBPbE62N.js → PkToolShowQrCode-CeZsvZvb.js} +4 -4
  42. package/dist/_chunks/{PkToolShowQrCode-CBPbE62N.js.map → PkToolShowQrCode-CeZsvZvb.js.map} +1 -1
  43. package/dist/_chunks/{PkToolShowSources-CkwbyMdU.js → PkToolShowSources-BVuYkrXs.js} +5 -5
  44. package/dist/_chunks/{PkToolShowSources-CkwbyMdU.js.map → PkToolShowSources-BVuYkrXs.js.map} +1 -1
  45. package/dist/_chunks/{PkToolShowSuggestedReply-C-yCzH_d.js → PkToolShowSuggestedReply-B869o1YP.js} +3 -3
  46. package/dist/_chunks/{PkToolShowSuggestedReply-C-yCzH_d.js.map → PkToolShowSuggestedReply-B869o1YP.js.map} +1 -1
  47. package/dist/_chunks/{PkToolShowVideo-DL554qVB.js → PkToolShowVideo-DayRkHzW.js} +4 -4
  48. package/dist/_chunks/{PkToolShowVideo-DL554qVB.js.map → PkToolShowVideo-DayRkHzW.js.map} +1 -1
  49. package/dist/_chunks/{PkToolShowWeather-BKFV5n-r.js → PkToolShowWeather-BgS4_SWb.js} +2 -2
  50. package/dist/_chunks/{PkToolShowWeather-BKFV5n-r.js.map → PkToolShowWeather-BgS4_SWb.js.map} +1 -1
  51. package/dist/_chunks/{PkToolShowWebPages-D35l7s9P.js → PkToolShowWebPages-DTwnqmP-.js} +5 -5
  52. package/dist/_chunks/{PkToolShowWebPages-D35l7s9P.js.map → PkToolShowWebPages-DTwnqmP-.js.map} +1 -1
  53. package/dist/_chunks/{VvButtonLocalized-Y9bOC2EC.js → VvButtonLocalized-B6igS2e0.js} +2 -2
  54. package/dist/_chunks/{VvButtonLocalized-Y9bOC2EC.js.map → VvButtonLocalized-B6igS2e0.js.map} +1 -1
  55. package/dist/_chunks/{VvCheckboxGroup.es-BeN3V7ep.js → VvCheckboxGroup.es-OXhptnPU.js} +2 -2
  56. package/dist/_chunks/{VvCheckboxGroup.es-BeN3V7ep.js.map → VvCheckboxGroup.es-OXhptnPU.js.map} +1 -1
  57. package/dist/_chunks/{VvCombobox.es-6MTBCvkm.js → VvCombobox.es-SLzX9VnX.js} +100 -100
  58. package/dist/_chunks/{VvCombobox.es-6MTBCvkm.js.map → VvCombobox.es-SLzX9VnX.js.map} +1 -1
  59. package/dist/_chunks/{VvInputText.es-CM9r6IbN.js → VvInputText.es-CETcNKlr.js} +47 -47
  60. package/dist/_chunks/{VvInputText.es-CM9r6IbN.js.map → VvInputText.es-CETcNKlr.js.map} +1 -1
  61. package/dist/_chunks/{VvRadioGroup.es-BypimFIS.js → VvRadioGroup.es-UBZBB89A.js} +2 -2
  62. package/dist/_chunks/{VvRadioGroup.es-BypimFIS.js.map → VvRadioGroup.es-UBZBB89A.js.map} +1 -1
  63. package/dist/_chunks/{VvSelect.es-BoYULWyZ.js → VvSelect.es-B_MShGnJ.js} +2 -2
  64. package/dist/_chunks/{VvSelect.es-BoYULWyZ.js.map → VvSelect.es-B_MShGnJ.js.map} +1 -1
  65. package/dist/_chunks/{VvTextarea.es-BSI_b-bF.js → VvTextarea.es-Dm2Yq3WM.js} +308 -308
  66. package/dist/_chunks/{VvTextarea.es-BSI_b-bF.js.map → VvTextarea.es-Dm2Yq3WM.js.map} +1 -1
  67. package/dist/_chunks/{chatImagePolicy-Caj4GsFN.js → chatImagePolicy-IKP98mdB.js} +2 -2
  68. package/dist/_chunks/{chatImagePolicy-Caj4GsFN.js.map → chatImagePolicy-IKP98mdB.js.map} +1 -1
  69. package/dist/_chunks/{dist---RigjU4.js → dist-Do_Ac5Yv.js} +102 -48
  70. package/dist/_chunks/dist-Do_Ac5Yv.js.map +1 -0
  71. package/dist/_chunks/{index.es-Cn-q-Lal.js → index.es-BTDKU45u.js} +93 -93
  72. package/dist/_chunks/{index.es-Cn-q-Lal.js.map → index.es-BTDKU45u.js.map} +1 -1
  73. package/dist/_chunks/{index.es-CtWcRpZ7.js → index.es-BZS9Cscn.js} +11 -11
  74. package/dist/_chunks/{index.es-CtWcRpZ7.js.map → index.es-BZS9Cscn.js.map} +1 -1
  75. package/dist/_chunks/{markdown-DzN3Q-au.js → markdown-D7lXKAr4.js} +2 -2
  76. package/dist/_chunks/{markdown-DzN3Q-au.js.map → markdown-D7lXKAr4.js.map} +1 -1
  77. package/dist/ai-elements.es.js +356 -342
  78. package/dist/ai-elements.es.js.map +1 -1
  79. package/dist-vue/PkChatbot.js +1 -1
  80. package/dist-vue/PkChatbotEmptyState.js +1 -1
  81. package/dist-vue/PkChatbotFilePreview.js +1 -1
  82. package/dist-vue/PkChatbotInput.js +1 -1
  83. package/dist-vue/PkChatbotMessages.js +1 -1
  84. package/dist-vue/PkChatbotStepPayload.js +1 -1
  85. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  86. package/dist-vue/PkChatbotSteps.js +1 -1
  87. package/dist-vue/PkChatbotViewChat.js +1 -1
  88. package/dist-vue/PkChatbotViewConversations.js +1 -1
  89. package/dist-vue/PkChatbotViewFiles.js +1 -1
  90. package/dist-vue/PkChatbotViewProfile.js +1 -1
  91. package/dist-vue/_chunks/{Agent-ywfLo1Hg.js → Agent-D70vAgX4.js} +112 -110
  92. package/dist-vue/_chunks/Agent-D70vAgX4.js.map +1 -0
  93. package/dist-vue/_chunks/{Document-DqkgJZNx.js → Document-Bo4xInDb.js} +2 -2
  94. package/dist-vue/_chunks/{Document-DqkgJZNx.js.map → Document-Bo4xInDb.js.map} +1 -1
  95. package/dist-vue/_chunks/{PkChatbot-CLy8LgF8.js → PkChatbot-65tNfhpY.js} +8 -8
  96. package/dist-vue/_chunks/{PkChatbot-CLy8LgF8.js.map → PkChatbot-65tNfhpY.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotEmptyState-DLg5tLl5.js → PkChatbotEmptyState-CcRoSIb7.js} +2 -2
  98. package/dist-vue/_chunks/{PkChatbotEmptyState-DLg5tLl5.js.map → PkChatbotEmptyState-CcRoSIb7.js.map} +1 -1
  99. package/dist-vue/_chunks/{PkChatbotFilePreview-D8XyjDPJ.js → PkChatbotFilePreview-Btv20Ive.js} +57 -44
  100. package/dist-vue/_chunks/PkChatbotFilePreview-Btv20Ive.js.map +1 -0
  101. package/dist-vue/_chunks/{PkChatbotInput-CjE0vZAK.js → PkChatbotInput-BeXWvNLw.js} +3 -3
  102. package/dist-vue/_chunks/{PkChatbotInput-CjE0vZAK.js.map → PkChatbotInput-BeXWvNLw.js.map} +1 -1
  103. package/dist-vue/_chunks/{PkChatbotMessages-Dzc0kzyo.js → PkChatbotMessages-BGOyBww5.js} +19 -18
  104. package/dist-vue/_chunks/PkChatbotMessages-BGOyBww5.js.map +1 -0
  105. package/dist-vue/_chunks/{PkChatbotStepPayload-DjGNmloY.js → PkChatbotStepPayload-DsqiKy3M.js} +2 -2
  106. package/dist-vue/_chunks/{PkChatbotStepPayload-DjGNmloY.js.map → PkChatbotStepPayload-DsqiKy3M.js.map} +1 -1
  107. package/dist-vue/_chunks/{PkChatbotStepToolDetail-CUIWz1nJ.js → PkChatbotStepToolDetail-Bg4IBzGh.js} +3 -3
  108. package/dist-vue/_chunks/{PkChatbotStepToolDetail-CUIWz1nJ.js.map → PkChatbotStepToolDetail-Bg4IBzGh.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkChatbotSteps-B4r68w6z.js → PkChatbotSteps-DfeBzC1S.js} +5 -5
  110. package/dist-vue/_chunks/{PkChatbotSteps-B4r68w6z.js.map → PkChatbotSteps-DfeBzC1S.js.map} +1 -1
  111. package/dist-vue/_chunks/{PkChatbotViewChat-B1iNTeQm.js → PkChatbotViewChat-Cj3MKRFE.js} +195 -190
  112. package/dist-vue/_chunks/PkChatbotViewChat-Cj3MKRFE.js.map +1 -0
  113. package/dist-vue/_chunks/{PkChatbotViewConversations-D608ghH3.js → PkChatbotViewConversations-GqapFcx3.js} +3 -3
  114. package/dist-vue/_chunks/{PkChatbotViewConversations-D608ghH3.js.map → PkChatbotViewConversations-GqapFcx3.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkChatbotViewFiles-CTg7R5HF.js → PkChatbotViewFiles-B-P6z7eN.js} +3 -3
  116. package/dist-vue/_chunks/{PkChatbotViewFiles-CTg7R5HF.js.map → PkChatbotViewFiles-B-P6z7eN.js.map} +1 -1
  117. package/dist-vue/_chunks/{PkChatbotViewProfile-HBgg-zuj.js → PkChatbotViewProfile-Bbu10IMd.js} +2 -2
  118. package/dist-vue/_chunks/{PkChatbotViewProfile-HBgg-zuj.js.map → PkChatbotViewProfile-Bbu10IMd.js.map} +1 -1
  119. package/dist-vue/_chunks/{PkStreamingMarkdown-O7p8Vyju.js → PkStreamingMarkdown-BFrymqYD.js} +3 -3
  120. package/dist-vue/_chunks/{PkStreamingMarkdown-O7p8Vyju.js.map → PkStreamingMarkdown-BFrymqYD.js.map} +1 -1
  121. package/dist-vue/_chunks/{PkSvgViewer-CZASatr4.js → PkSvgViewer-BKygi00X.js} +2 -2
  122. package/dist-vue/_chunks/{PkSvgViewer-CZASatr4.js.map → PkSvgViewer-BKygi00X.js.map} +1 -1
  123. package/dist-vue/_chunks/{PkToolEditSpreadsheet-B_Ge2pGx.js → PkToolEditSpreadsheet-CfNQMSWR.js} +3 -3
  124. package/dist-vue/_chunks/{PkToolEditSpreadsheet-B_Ge2pGx.js.map → PkToolEditSpreadsheet-CfNQMSWR.js.map} +1 -1
  125. package/dist-vue/_chunks/{PkToolRequestGeolocation-D0FIRJk2.js → PkToolRequestGeolocation-DvO0z7sQ.js} +2 -2
  126. package/dist-vue/_chunks/{PkToolRequestGeolocation-D0FIRJk2.js.map → PkToolRequestGeolocation-DvO0z7sQ.js.map} +1 -1
  127. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DFlZkvLP.js → PkToolRequestOAuthConnection-CTqtzwJm.js} +2 -2
  128. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DFlZkvLP.js.map → PkToolRequestOAuthConnection-CTqtzwJm.js.map} +1 -1
  129. package/dist-vue/_chunks/PkToolShareDocument-C8sPmh0k.js +64 -0
  130. package/dist-vue/_chunks/PkToolShareDocument-C8sPmh0k.js.map +1 -0
  131. package/dist-vue/_chunks/{PkToolShowArtifact-BTY19659.js → PkToolShowArtifact-BKZKi6J4.js} +2 -2
  132. package/dist-vue/_chunks/{PkToolShowArtifact-BTY19659.js.map → PkToolShowArtifact-BKZKi6J4.js.map} +1 -1
  133. package/dist-vue/_chunks/{PkToolShowContactForm-D82n3tZ4.js → PkToolShowContactForm-CWpQaNOh.js} +2 -2
  134. package/dist-vue/_chunks/{PkToolShowContactForm-D82n3tZ4.js.map → PkToolShowContactForm-CWpQaNOh.js.map} +1 -1
  135. package/dist-vue/_chunks/{PkToolShowDiagram-BlIarn5u.js → PkToolShowDiagram-DElkZZVV.js} +3 -3
  136. package/dist-vue/_chunks/{PkToolShowDiagram-BlIarn5u.js.map → PkToolShowDiagram-DElkZZVV.js.map} +1 -1
  137. package/dist-vue/_chunks/{PkToolShowForm-b5m2ahty.js → PkToolShowForm-BnM1fsi4.js} +4 -4
  138. package/dist-vue/_chunks/{PkToolShowForm-b5m2ahty.js.map → PkToolShowForm-BnM1fsi4.js.map} +1 -1
  139. package/dist-vue/_chunks/{PkToolShowImageGallery-CtIphioH.js → PkToolShowImageGallery-CzcPqcoS.js} +3 -3
  140. package/dist-vue/_chunks/{PkToolShowImageGallery-CtIphioH.js.map → PkToolShowImageGallery-CzcPqcoS.js.map} +1 -1
  141. package/dist-vue/_chunks/{PkToolShowProductList-Vq4zUoN5.js → PkToolShowProductList-Cpf5SLLk.js} +2 -2
  142. package/dist-vue/_chunks/{PkToolShowProductList-Vq4zUoN5.js.map → PkToolShowProductList-Cpf5SLLk.js.map} +1 -1
  143. package/dist-vue/_chunks/{PkToolShowSources-B-r0dOgi.js → PkToolShowSources-E7BcGvof.js} +3 -3
  144. package/dist-vue/_chunks/{PkToolShowSources-B-r0dOgi.js.map → PkToolShowSources-E7BcGvof.js.map} +1 -1
  145. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dl2VLfJk.js → PkToolShowSuggestedReply-JTMiOpHZ.js} +2 -2
  146. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dl2VLfJk.js.map → PkToolShowSuggestedReply-JTMiOpHZ.js.map} +1 -1
  147. package/dist-vue/_chunks/{PkToolShowVideo-CssORBGr.js → PkToolShowVideo-DFdmzUkS.js} +2 -2
  148. package/dist-vue/_chunks/{PkToolShowVideo-CssORBGr.js.map → PkToolShowVideo-DFdmzUkS.js.map} +1 -1
  149. package/dist-vue/_chunks/{PkToolShowWebPages-Bhpc1HA2.js → PkToolShowWebPages-CG_Mq77j.js} +2 -2
  150. package/dist-vue/_chunks/{PkToolShowWebPages-Bhpc1HA2.js.map → PkToolShowWebPages-CG_Mq77j.js.map} +1 -1
  151. package/dist-vue/_chunks/{createChatbotApiClient-DN6SHs1X.js → createChatbotApiClient-BTrOwIYi.js} +2 -2
  152. package/dist-vue/_chunks/{createChatbotApiClient-DN6SHs1X.js.map → createChatbotApiClient-BTrOwIYi.js.map} +1 -1
  153. package/dist-vue/_chunks/{useChatbotStore-BlIWevWi.js → useChatbotStore-KjeThRAo.js} +3 -3
  154. package/dist-vue/_chunks/{useChatbotStore-BlIWevWi.js.map → useChatbotStore-KjeThRAo.js.map} +1 -1
  155. package/dist-vue/_chunks/{utils-FkhB6Tl2.js → utils-Bf29zWlC.js} +6 -6
  156. package/dist-vue/_chunks/utils-Bf29zWlC.js.map +1 -0
  157. package/dist-vue/api.js +1 -1
  158. package/dist-vue/composables.js +14 -6
  159. package/dist-vue/composables.js.map +1 -1
  160. package/dist-vue/index.js +3290 -3283
  161. package/dist-vue/index.js.map +1 -1
  162. package/dist-vue/locales.js +6 -0
  163. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +7 -0
  164. package/dist-vue/packages/components/src/chat/PkChatbotFilePreview.d.ts +12 -0
  165. package/dist-vue/packages/components/src/chat/PkToolShareDocument.d.ts +16 -0
  166. package/dist-vue/packages/components/src/chat/index.d.ts +2 -1
  167. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  168. package/dist-vue/packages/models/src/schema/Agent.d.ts +30 -0
  169. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -0
  170. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -0
  171. package/package.json +1 -1
  172. package/dist/_chunks/Agent-wvUJZjp3.js.map +0 -1
  173. package/dist/_chunks/PkChatbotFilePreview-dtGYHgFN.js.map +0 -1
  174. package/dist/_chunks/PkStreamingMarkdown-DeZn-hPo.js.map +0 -1
  175. package/dist/_chunks/dist---RigjU4.js.map +0 -1
  176. package/dist-vue/_chunks/Agent-ywfLo1Hg.js.map +0 -1
  177. package/dist-vue/_chunks/PkChatbotFilePreview-D8XyjDPJ.js.map +0 -1
  178. package/dist-vue/_chunks/PkChatbotMessages-Dzc0kzyo.js.map +0 -1
  179. package/dist-vue/_chunks/PkChatbotViewChat-B1iNTeQm.js.map +0 -1
  180. package/dist-vue/_chunks/utils-FkhB6Tl2.js.map +0 -1
@@ -66,6 +66,7 @@ var e = {
66
66
  copy: "Copy",
67
67
  proceed: "Proceed",
68
68
  clear: "Clear",
69
+ copyLink: "Copy link",
69
70
  addToCalendar: "Add to calendar",
70
71
  downloadIcs: "Download .ics",
71
72
  send: "Send",
@@ -589,6 +590,7 @@ var e = {
589
590
  requestOAuthConnectionButton: "Connect {name}",
590
591
  requestOAuthConnectionPrompt: "To access {name} data, you need to authorize the connection.",
591
592
  requestOAuthConnectionInfo: "Authorization requested to access {name}'s data.",
593
+ shareDocumentValidUntil: "Link valid until {date}",
592
594
  type: {
593
595
  custom: "Provider data",
594
596
  data: "Data",
@@ -612,6 +614,7 @@ var e = {
612
614
  readDocumentFile: "Reading the original document…",
613
615
  readSpreadsheet: "Reading the spreadsheet…",
614
616
  editSpreadsheet: "Editing the spreadsheet…",
617
+ shareDocument: "Preparing the document…",
615
618
  querySpreadsheet: "Querying the spreadsheet…",
616
619
  geocode: "Looking up a location…",
617
620
  getWeather: "Fetching weather data…",
@@ -810,6 +813,7 @@ var e = {
810
813
  copy: "Copia",
811
814
  proceed: "Procedi",
812
815
  clear: "Pulisci",
816
+ copyLink: "Copia link",
813
817
  addToCalendar: "Aggiungi al calendario",
814
818
  downloadIcs: "Scarica .ics",
815
819
  send: "Invia",
@@ -1333,6 +1337,7 @@ var e = {
1333
1337
  requestOAuthConnectionButton: "Connetti {name}",
1334
1338
  requestOAuthConnectionPrompt: "Per accedere ai dati di {name} è necessario autorizzare la connessione.",
1335
1339
  requestOAuthConnectionInfo: "Richiesta autorizzazione per accedere i dati di {name}.",
1340
+ shareDocumentValidUntil: "Link valido fino al {date}",
1336
1341
  type: {
1337
1342
  custom: "Dati del provider",
1338
1343
  data: "Dati",
@@ -1356,6 +1361,7 @@ var e = {
1356
1361
  readDocumentFile: "Lettura del documento originale…",
1357
1362
  readSpreadsheet: "Lettura del foglio di calcolo…",
1358
1363
  editSpreadsheet: "Modifica del foglio di calcolo…",
1364
+ shareDocument: "Preparazione del documento…",
1359
1365
  querySpreadsheet: "Interrogazione del foglio di calcolo…",
1360
1366
  geocode: "Ricerca della posizione…",
1361
1367
  getWeather: "Recupero dati meteo…",
@@ -70,6 +70,11 @@ type __VLS_ModelProps = {
70
70
  /** Hosts the answers may load images from by themselves (hole 20). */
71
71
  'imageHosts'?: string[] | undefined;
72
72
  'disabledTools'?: AgentBuiltInTool[];
73
+ /**
74
+ * `shareDocument` is switched by its own setting, not by `disabledTools`
75
+ * (`AgentShareDocumentSchema`): its switch reads and writes this one.
76
+ */
77
+ 'shareDocumentEnabled'?: boolean;
73
78
  /**
74
79
  * Tools that ask the user to confirm before running
75
80
  * (docs/specs/tool-approval-interface.md). Names are canonical tool-set
@@ -332,6 +337,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
332
337
  }) => any;
333
338
  "update:imageHosts": (value: string[] | undefined) => any;
334
339
  "update:disabledTools": (value: AgentBuiltInTool[]) => any;
340
+ "update:shareDocumentEnabled": (value: boolean) => any;
335
341
  "update:approvalTools": (value: string[]) => any;
336
342
  "update:useAllUserKb": (value: boolean) => any;
337
343
  "update:useAllUserFiles": (value: boolean) => any;
@@ -596,6 +602,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
596
602
  }) => any) | undefined;
597
603
  "onUpdate:imageHosts"?: ((value: string[] | undefined) => any) | undefined;
598
604
  "onUpdate:disabledTools"?: ((value: AgentBuiltInTool[]) => any) | undefined;
605
+ "onUpdate:shareDocumentEnabled"?: ((value: boolean) => any) | undefined;
599
606
  "onUpdate:approvalTools"?: ((value: string[]) => any) | undefined;
600
607
  "onUpdate:useAllUserKb"?: ((value: boolean) => any) | undefined;
601
608
  "onUpdate:useAllUserFiles"?: ((value: boolean) => any) | undefined;
@@ -19,6 +19,18 @@ type __VLS_Props = {
19
19
  * for a file the agent wrote, which the user is there to download.
20
20
  */
21
21
  showDownload?: boolean;
22
+ /**
23
+ * Replaces the download link of a document with a call, for a file
24
+ * whose download URL is minted on demand (a knowledge base document
25
+ * shared in the chat). `url` stays the link's `href`.
26
+ */
27
+ onDownload?: () => void | Promise<void>;
28
+ /**
29
+ * Draws an image as a file row, with its download button, instead of
30
+ * a thumbnail: for an image whose `url` stops working while its
31
+ * download keeps going (a shared document after its link expires).
32
+ */
33
+ asFile?: boolean;
22
34
  };
23
35
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
24
36
  remove: () => any;
@@ -0,0 +1,16 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ /**
3
+ * A knowledge base document the agent handed over with `shareDocument`.
4
+ * Download goes through `onDownload` when the host gives it: the sources
5
+ * route, authenticated, which keeps working for as long as the document
6
+ * stays with the agent, also after the signed link has expired. The signed
7
+ * link is what "Copy link" copies, until it expires. A web page opens at
8
+ * its own address.
9
+ */
10
+ type __VLS_Props = {
11
+ part: unknown;
12
+ onDownload?: (documentId: string) => void | Promise<void>;
13
+ };
14
+ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
@@ -43,6 +43,7 @@ import { default as PkToolShowQrCode } from './PkToolShowQrCode';
43
43
  import { default as PkToolShowImageGallery } from './PkToolShowImageGallery';
44
44
  import { default as PkToolShowSuggestedReply } from './PkToolShowSuggestedReply';
45
45
  import { default as PkToolShowSources } from './PkToolShowSources';
46
+ import { default as PkToolShareDocument } from './PkToolShareDocument';
46
47
  import { default as PkReasoningChat } from './PkReasoningChat';
47
48
  import { default as PkReasoningSettings } from './PkReasoningSettings';
48
49
  import { default as PkWebSearchSettings } from './PkWebSearchSettings';
@@ -57,4 +58,4 @@ export { MODEL_CATALOG_KEY, provideModelCatalog, useModelCatalogEntry, } from '.
57
58
  export { isMcpOAuthReport } from './mcpOAuthReport';
58
59
  export { provideChatImagePolicy } from './chatImagePolicy';
59
60
  export { localizeSummaryLabels } from './utils';
60
- export { PkAgentSelectorInline, PkAgentSettingsPanel, PkAuroraCanvas, PkAvatar, PkChatSidebar, PkChatSidebarConversationItem, PkChatbot, PkChatbotEmptyState, PkChatbotError, PkChatbotFeedbackForm, PkChatbotFilePreview, PkChatbotInput, PkChatbotMessages, PkChatbotSteps, PkChatbotStepToolDetail, PkChatbotStepPayload, PkChatbotViewChat, PkChunkPreview, PkChatbotViewConversations, PkChatbotViewProfile, PkCode, PkCopyBlock, PkDocumentHeader, PkLanguageModel, PkLanguageModelCombobox, PkModelOption, PkMessageParts, PkMessageDetail, PkStreamingMarkdown, PkStreamingMarkdownAutoscroll, PkToolShowForm, PkToolShowArtifact, PkToolApprovalBadge, PkToolShowEmail, PkToolShowMessage, PkToolShowWebPages, PkToolShowProductList, PkToolShowContactForm, PkToolShowCalendarEvent, PkToolShowComparison, PkToolShowLocation, PkToolShowQrCode, PkToolShowImageGallery, PkToolShowSuggestedReply, PkToolShowSources, PkRetryCountdown, PkReasoningChat, PkReasoningSettings, PkWebSearchSettings, PkWelcomePopup, PkChatbotAuth, PkVoiceSession, PkVoiceOrb, PkChatButton, PkWorkingBeam, };
61
+ export { PkAgentSelectorInline, PkAgentSettingsPanel, PkAuroraCanvas, PkAvatar, PkChatSidebar, PkChatSidebarConversationItem, PkChatbot, PkChatbotEmptyState, PkChatbotError, PkChatbotFeedbackForm, PkChatbotFilePreview, PkChatbotInput, PkChatbotMessages, PkChatbotSteps, PkChatbotStepToolDetail, PkChatbotStepPayload, PkChatbotViewChat, PkChunkPreview, PkChatbotViewConversations, PkChatbotViewProfile, PkCode, PkCopyBlock, PkDocumentHeader, PkLanguageModel, PkLanguageModelCombobox, PkModelOption, PkMessageParts, PkMessageDetail, PkStreamingMarkdown, PkStreamingMarkdownAutoscroll, PkToolShowForm, PkToolShowArtifact, PkToolApprovalBadge, PkToolShowEmail, PkToolShowMessage, PkToolShowWebPages, PkToolShowProductList, PkToolShowContactForm, PkToolShowCalendarEvent, PkToolShowComparison, PkToolShowLocation, PkToolShowQrCode, PkToolShowImageGallery, PkToolShowSuggestedReply, PkToolShowSources, PkToolShareDocument, PkRetryCountdown, PkReasoningChat, PkReasoningSettings, PkWebSearchSettings, PkWelcomePopup, PkChatbotAuth, PkVoiceSession, PkVoiceOrb, PkChatButton, PkWorkingBeam, };
@@ -427,6 +427,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
427
427
  userFiles: {
428
428
  useAllUserFiles: boolean;
429
429
  };
430
+ shareDocument: {
431
+ enabled: boolean;
432
+ };
430
433
  approval: {
431
434
  tools: string[];
432
435
  };
@@ -487,6 +490,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
487
490
  userFiles: {
488
491
  useAllUserFiles: boolean;
489
492
  };
493
+ shareDocument: {
494
+ enabled: boolean;
495
+ };
490
496
  approval: {
491
497
  tools: string[];
492
498
  };
@@ -2327,6 +2333,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2327
2333
  userFiles: {
2328
2334
  useAllUserFiles: boolean;
2329
2335
  };
2336
+ shareDocument: {
2337
+ enabled: boolean;
2338
+ };
2330
2339
  approval: {
2331
2340
  tools: string[];
2332
2341
  };
@@ -2387,6 +2396,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2387
2396
  userFiles: {
2388
2397
  useAllUserFiles: boolean;
2389
2398
  };
2399
+ shareDocument: {
2400
+ enabled: boolean;
2401
+ };
2390
2402
  approval: {
2391
2403
  tools: string[];
2392
2404
  };
@@ -4227,6 +4239,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4227
4239
  userFiles: {
4228
4240
  useAllUserFiles: boolean;
4229
4241
  };
4242
+ shareDocument: {
4243
+ enabled: boolean;
4244
+ };
4230
4245
  approval: {
4231
4246
  tools: string[];
4232
4247
  };
@@ -4287,6 +4302,9 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4287
4302
  userFiles: {
4288
4303
  useAllUserFiles: boolean;
4289
4304
  };
4305
+ shareDocument: {
4306
+ enabled: boolean;
4307
+ };
4290
4308
  approval: {
4291
4309
  tools: string[];
4292
4310
  };
@@ -331,6 +331,12 @@ export declare enum AgentBuiltInTool {
331
331
  RunWorker = "runWorker",
332
332
  /** `scheduleWakeup`: the agent resumes this chat by itself after a delay. */
333
333
  ScheduleWakeup = "scheduleWakeup",
334
+ /**
335
+ * `shareDocument`: a document of the knowledge base handed to the user as
336
+ * a download link. Switched by `tools.shareDocument.enabled`, never by
337
+ * `tools.disabled`: see {@link AgentShareDocumentSchema}.
338
+ */
339
+ ShareDocument = "shareDocument",
334
340
  FetchTeamsChannelHistory = "fetchTeamsChannelHistory",
335
341
  ShowArtifact = "showArtifact",
336
342
  ShowCalendarEvent = "showCalendarEvent",
@@ -735,6 +741,18 @@ export declare const AgentUserFilesSchema: z.ZodObject<{
735
741
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
736
742
  }, z.core.$strip>;
737
743
  export type AgentUserFiles = z.infer<typeof AgentUserFilesSchema>;
744
+ /**
745
+ * The `shareDocument` tool (docs/specs/document-download-links.md): off unless
746
+ * switched on here. A setting of its own and not an entry of `disabled`, so the
747
+ * tool starts off on the agents that already exist without a migration: the
748
+ * turns read the stored `disabled` list without its default, and a value added
749
+ * to every stored list would break the release before this one on a rollback.
750
+ * The download links check this same saved value at every click.
751
+ */
752
+ export declare const AgentShareDocumentSchema: z.ZodObject<{
753
+ enabled: z.ZodDefault<z.ZodBoolean>;
754
+ }, z.core.$strip>;
755
+ export type AgentShareDocument = z.infer<typeof AgentShareDocumentSchema>;
738
756
  /**
739
757
  * Human-in-the-loop approval settings. Lists the tools whose calls must be
740
758
  * approved by the user before they execute. Names are matched against the tool
@@ -814,6 +832,9 @@ export declare const AgentToolsSchema: z.ZodObject<{
814
832
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
815
833
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
816
834
  }, z.core.$strip>>>;
835
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
836
+ enabled: z.ZodDefault<z.ZodBoolean>;
837
+ }, z.core.$strip>>>;
817
838
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
818
839
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
819
840
  }, z.core.$strip>>>;
@@ -1671,6 +1692,9 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1671
1692
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1672
1693
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
1673
1694
  }, z.core.$strip>>>;
1695
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1696
+ enabled: z.ZodDefault<z.ZodBoolean>;
1697
+ }, z.core.$strip>>>;
1674
1698
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1675
1699
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
1676
1700
  }, z.core.$strip>>>;
@@ -2090,6 +2114,9 @@ export declare const AgentDtoSchema: z.ZodObject<{
2090
2114
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2091
2115
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
2092
2116
  }, z.core.$strip>>>;
2117
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2118
+ enabled: z.ZodDefault<z.ZodBoolean>;
2119
+ }, z.core.$strip>>>;
2093
2120
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2094
2121
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
2095
2122
  }, z.core.$strip>>>;
@@ -2510,6 +2537,9 @@ export declare const AgentSchema: z.ZodLazy<z.ZodObject<{
2510
2537
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2511
2538
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
2512
2539
  }, z.core.$strip>>>;
2540
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2541
+ enabled: z.ZodDefault<z.ZodBoolean>;
2542
+ }, z.core.$strip>>>;
2513
2543
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2514
2544
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
2515
2545
  }, z.core.$strip>>>;
@@ -363,6 +363,9 @@ export declare const ReasoningChatSchema: z.ZodObject<{
363
363
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
364
364
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
365
365
  }, z.core.$strip>>>;
366
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
367
+ enabled: z.ZodDefault<z.ZodBoolean>;
368
+ }, z.core.$strip>>>;
366
369
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
367
370
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
368
371
  }, z.core.$strip>>>;
@@ -835,6 +838,9 @@ export declare const ReasoningChatSchema: z.ZodObject<{
835
838
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
836
839
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
837
840
  }, z.core.$strip>>>;
841
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
842
+ enabled: z.ZodDefault<z.ZodBoolean>;
843
+ }, z.core.$strip>>>;
838
844
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
839
845
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
840
846
  }, z.core.$strip>>>;
@@ -363,6 +363,9 @@ export declare const SubAgentSchema: z.ZodObject<{
363
363
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
364
364
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
365
365
  }, z.core.$strip>>>;
366
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
367
+ enabled: z.ZodDefault<z.ZodBoolean>;
368
+ }, z.core.$strip>>>;
366
369
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
367
370
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
368
371
  }, z.core.$strip>>>;
@@ -792,6 +795,9 @@ export declare const SubAgentSchema: z.ZodObject<{
792
795
  userFiles: z.ZodDefault<z.ZodOptional<z.ZodObject<{
793
796
  useAllUserFiles: z.ZodDefault<z.ZodBoolean>;
794
797
  }, z.core.$strip>>>;
798
+ shareDocument: z.ZodDefault<z.ZodOptional<z.ZodObject<{
799
+ enabled: z.ZodDefault<z.ZodBoolean>;
800
+ }, z.core.$strip>>>;
795
801
  approval: z.ZodDefault<z.ZodOptional<z.ZodObject<{
796
802
  tools: z.ZodDefault<z.ZodArray<z.ZodString>>;
797
803
  }, z.core.$strip>>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.121.0-beta.31",
4
+ "version": "0.121.0-beta.33",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",