@8wave/ai-elements 0.110.0-beta.4 → 0.111.0-beta.11

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 (234) hide show
  1. package/README.md +1 -0
  2. package/dist/_chunks/{Agent-Su_LDF9_.js → Agent-tE7ZJPxG.js} +80 -78
  3. package/dist/_chunks/Agent-tE7ZJPxG.js.map +1 -0
  4. package/dist/_chunks/{Document-DecVclEe.js → Document-Bmx6774B.js} +33 -21
  5. package/dist/_chunks/Document-Bmx6774B.js.map +1 -0
  6. package/dist/_chunks/Media-Cft7Pwrh.js +108 -0
  7. package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -0
  8. package/dist/_chunks/{PkLazyImg-ClL4nr95.js → PkLazyImg-Dbj2dDXA.js} +2 -2
  9. package/dist/_chunks/{PkLazyImg-ClL4nr95.js.map → PkLazyImg-Dbj2dDXA.js.map} +1 -1
  10. package/dist/_chunks/{PkStreamingMarkdown-CwqsJnJJ.js → PkStreamingMarkdown-CNI8aV8t.js} +636 -427
  11. package/dist/_chunks/PkStreamingMarkdown-CNI8aV8t.js.map +1 -0
  12. package/dist/_chunks/{PkToolRequestGeolocation-CEVpl50q.js → PkToolRequestGeolocation-Bzy4IYSp.js} +4 -4
  13. package/dist/_chunks/PkToolRequestGeolocation-Bzy4IYSp.js.map +1 -0
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-CncDU-Kl.js → PkToolRequestOAuthConnection-13CQH07t.js} +5 -5
  15. package/dist/_chunks/PkToolRequestOAuthConnection-13CQH07t.js.map +1 -0
  16. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js → PkToolShowArtifact-CGbHDEie.js} +4 -4
  17. package/dist/_chunks/{PkToolShowArtifact-M6jlSmyJ.js.map → PkToolShowArtifact-CGbHDEie.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowCalendarEvent-C41JgOUA.js → PkToolShowCalendarEvent-DIFX_rUz.js} +3 -3
  19. package/dist/_chunks/{PkToolShowCalendarEvent-C41JgOUA.js.map → PkToolShowCalendarEvent-DIFX_rUz.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowComparison-DbbUD9pg.js → PkToolShowComparison-CWLFWT9h.js} +7 -7
  21. package/dist/_chunks/PkToolShowComparison-CWLFWT9h.js.map +1 -0
  22. package/dist/_chunks/{PkToolShowContactForm-D_dW59Dl.js → PkToolShowContactForm-CYxgatUA.js} +5 -5
  23. package/dist/_chunks/PkToolShowContactForm-CYxgatUA.js.map +1 -0
  24. package/dist/_chunks/{PkToolShowDiagram-Hy9qh68O.js → PkToolShowDiagram-Dx1Ba0PG.js} +4 -4
  25. package/dist/_chunks/PkToolShowDiagram-Dx1Ba0PG.js.map +1 -0
  26. package/dist/_chunks/{PkToolShowEmail-Dn3JHYIR.js → PkToolShowEmail-DnFFgzom.js} +3 -3
  27. package/dist/_chunks/{PkToolShowEmail-Dn3JHYIR.js.map → PkToolShowEmail-DnFFgzom.js.map} +1 -1
  28. package/dist/_chunks/{PkToolShowForm-DbJHMDbt.js → PkToolShowForm-B6x3Lp2i.js} +7 -8
  29. package/dist/_chunks/PkToolShowForm-B6x3Lp2i.js.map +1 -0
  30. package/dist/_chunks/{PkToolShowImageGallery-C1lzlO0y.js → PkToolShowImageGallery-D99N_Plf.js} +2 -2
  31. package/dist/_chunks/{PkToolShowImageGallery-C1lzlO0y.js.map → PkToolShowImageGallery-D99N_Plf.js.map} +1 -1
  32. package/dist/_chunks/{PkToolShowLocation-CKhPxKFA.js → PkToolShowLocation-AfnrtFVJ.js} +3 -3
  33. package/dist/_chunks/{PkToolShowLocation-CKhPxKFA.js.map → PkToolShowLocation-AfnrtFVJ.js.map} +1 -1
  34. package/dist/_chunks/{PkToolShowMessage-U9CCU7eG.js → PkToolShowMessage-DUo2c-im.js} +3 -3
  35. package/dist/_chunks/{PkToolShowMessage-U9CCU7eG.js.map → PkToolShowMessage-DUo2c-im.js.map} +1 -1
  36. package/dist/_chunks/{PkToolShowProductList-UeiRMLHu.js → PkToolShowProductList-BN6Qk1_y.js} +3 -3
  37. package/dist/_chunks/{PkToolShowProductList-UeiRMLHu.js.map → PkToolShowProductList-BN6Qk1_y.js.map} +1 -1
  38. package/dist/_chunks/{PkToolShowQrCode-CypLrfh5.js → PkToolShowQrCode-BLqeBecX.js} +3 -3
  39. package/dist/_chunks/{PkToolShowQrCode-CypLrfh5.js.map → PkToolShowQrCode-BLqeBecX.js.map} +1 -1
  40. package/dist/_chunks/{PkToolShowSources-B69JmwbZ.js → PkToolShowSources-DpZb5FUP.js} +5 -5
  41. package/dist/_chunks/PkToolShowSources-DpZb5FUP.js.map +1 -0
  42. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js → PkToolShowSuggestedReply-C10nNgBs.js} +3 -3
  43. package/dist/_chunks/{PkToolShowSuggestedReply-CKxSH0Y9.js.map → PkToolShowSuggestedReply-C10nNgBs.js.map} +1 -1
  44. package/dist/_chunks/{PkToolShowVideo-BgKxdBcC.js → PkToolShowVideo-S9b4QHUj.js} +2 -2
  45. package/dist/_chunks/{PkToolShowVideo-BgKxdBcC.js.map → PkToolShowVideo-S9b4QHUj.js.map} +1 -1
  46. package/dist/_chunks/{PkToolShowWeather-LPd3tC77.js → PkToolShowWeather-CqhG430w.js} +2 -2
  47. package/dist/_chunks/PkToolShowWeather-CqhG430w.js.map +1 -0
  48. package/dist/_chunks/{PkToolShowWebPages-ep_erFF0.js → PkToolShowWebPages-txAZi_iG.js} +3 -3
  49. package/dist/_chunks/{PkToolShowWebPages-ep_erFF0.js.map → PkToolShowWebPages-txAZi_iG.js.map} +1 -1
  50. package/dist/_chunks/PkUrl-BPbjZJ1A.js.map +1 -1
  51. package/dist/_chunks/{VvCheckboxGroup.es-Bdu2gFLN.js → VvCheckboxGroup.es-CTrF3pue.js} +2 -2
  52. package/dist/_chunks/{VvCheckboxGroup.es-Bdu2gFLN.js.map → VvCheckboxGroup.es-CTrF3pue.js.map} +1 -1
  53. package/dist/_chunks/{VvCombobox.es-C0wpJIr_.js → VvCombobox.es-BWiXmQ_S.js} +10 -10
  54. package/dist/_chunks/{VvCombobox.es-C0wpJIr_.js.map → VvCombobox.es-BWiXmQ_S.js.map} +1 -1
  55. package/dist/_chunks/{VvInputText.es-Zgtw2YNw.js → VvInputText.es-Bo9I6g8H.js} +6 -6
  56. package/dist/_chunks/{VvInputText.es-Zgtw2YNw.js.map → VvInputText.es-Bo9I6g8H.js.map} +1 -1
  57. package/dist/_chunks/{VvRadioGroup.es-DZLL19SC.js → VvRadioGroup.es-9ooHCuik.js} +2 -2
  58. package/dist/_chunks/{VvRadioGroup.es-DZLL19SC.js.map → VvRadioGroup.es-9ooHCuik.js.map} +1 -1
  59. package/dist/_chunks/{VvSelect.es-ovnZRHG5.js → VvSelect.es-DG0VuWtP.js} +2 -2
  60. package/dist/_chunks/{VvSelect.es-ovnZRHG5.js.map → VvSelect.es-DG0VuWtP.js.map} +1 -1
  61. package/dist/_chunks/{VvTextarea.es-DbP5Lt2T.js → VvTextarea.es-Dg3pxdZy.js} +6 -6
  62. package/dist/_chunks/{VvTextarea.es-DbP5Lt2T.js.map → VvTextarea.es-Dg3pxdZy.js.map} +1 -1
  63. package/dist/_chunks/{browser-NgY6LXg-.js → browser-B0Xnbqi7.js} +726 -751
  64. package/dist/_chunks/browser-B0Xnbqi7.js.map +1 -0
  65. package/dist/_chunks/{dist-n5iFNYf-.js → dist-QdjZA6MJ.js} +143 -133
  66. package/dist/_chunks/{dist-n5iFNYf-.js.map → dist-QdjZA6MJ.js.map} +1 -1
  67. package/dist/_chunks/{index.es-dtdl3VFG.js → index.es-0YpCa4c5.js} +6 -6
  68. package/dist/_chunks/{index.es-dtdl3VFG.js.map → index.es-0YpCa4c5.js.map} +1 -1
  69. package/dist/_chunks/{index.es-BJnUA_36.js → index.es-CHkJ2TMJ.js} +10 -10
  70. package/dist/_chunks/{index.es-BJnUA_36.js.map → index.es-CHkJ2TMJ.js.map} +1 -1
  71. package/dist/_chunks/text-DbSEK8si.js.map +1 -1
  72. package/dist/ai-elements.es.js +3077 -3134
  73. package/dist/ai-elements.es.js.map +1 -1
  74. package/dist-vue/PkChatbot.js +1 -1
  75. package/dist-vue/PkChatbotEmptyState.js +1 -1
  76. package/dist-vue/PkChatbotError.js +1 -1
  77. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  78. package/dist-vue/PkChatbotFilePreview.js +1 -1
  79. package/dist-vue/PkChatbotInput.js +1 -1
  80. package/dist-vue/PkChatbotMessages.js +1 -1
  81. package/dist-vue/PkChatbotStepPayload.js +1 -1
  82. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  83. package/dist-vue/PkChatbotSteps.js +1 -1
  84. package/dist-vue/PkChatbotViewChat.js +1 -1
  85. package/dist-vue/PkChatbotViewConversations.js +1 -1
  86. package/dist-vue/PkChatbotViewFiles.js +1 -1
  87. package/dist-vue/PkChatbotViewProfile.js +1 -1
  88. package/dist-vue/_chunks/{Agent-C8BsTAxk.js → Agent-De2gFNjR.js} +165 -176
  89. package/dist-vue/_chunks/Agent-De2gFNjR.js.map +1 -0
  90. package/dist-vue/_chunks/{Document-CaUfI_SZ.js → Document-8umjeTVS.js} +84 -72
  91. package/dist-vue/_chunks/Document-8umjeTVS.js.map +1 -0
  92. package/dist-vue/_chunks/Media-_HfFLHGD.js.map +1 -1
  93. package/dist-vue/_chunks/{PkChatbot-o7k7d-fj.js → PkChatbot-CMajc7tE.js} +61 -61
  94. package/dist-vue/_chunks/PkChatbot-CMajc7tE.js.map +1 -0
  95. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js → PkChatbotEmptyState-BtzBYOHJ.js} +2 -2
  96. package/dist-vue/_chunks/{PkChatbotEmptyState-BvaeBxhx.js.map → PkChatbotEmptyState-BtzBYOHJ.js.map} +1 -1
  97. package/dist-vue/_chunks/{PkChatbotError-CBP2mf-n.js → PkChatbotError-gvDpRcEz.js} +21 -19
  98. package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +1 -0
  99. package/dist-vue/_chunks/{PkChatbotFeedbackForm-DO1QIgmo.js → PkChatbotFeedbackForm-CxLOdwkm.js} +2 -2
  100. package/dist-vue/_chunks/PkChatbotFeedbackForm-CxLOdwkm.js.map +1 -0
  101. package/dist-vue/_chunks/{PkChatbotFilePreview-DO1wZPPj.js → PkChatbotFilePreview-CwiVQDF2.js} +3 -3
  102. package/dist-vue/_chunks/PkChatbotFilePreview-CwiVQDF2.js.map +1 -0
  103. package/dist-vue/_chunks/{PkChatbotInput-D8x52cVm.js → PkChatbotInput-MSpF6SB6.js} +140 -125
  104. package/dist-vue/_chunks/PkChatbotInput-MSpF6SB6.js.map +1 -0
  105. package/dist-vue/_chunks/PkChatbotMessages-Bz5q8EtT.js +776 -0
  106. package/dist-vue/_chunks/PkChatbotMessages-Bz5q8EtT.js.map +1 -0
  107. package/dist-vue/_chunks/{PkChatbotStepPayload-BH6piqOi.js → PkChatbotStepPayload-XW4gT9AZ.js} +2 -2
  108. package/dist-vue/_chunks/{PkChatbotStepPayload-BH6piqOi.js.map → PkChatbotStepPayload-XW4gT9AZ.js.map} +1 -1
  109. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJ7xUvgi.js → PkChatbotStepToolDetail-C4-K6Glw.js} +3 -3
  110. package/dist-vue/_chunks/{PkChatbotStepToolDetail-BJ7xUvgi.js.map → PkChatbotStepToolDetail-C4-K6Glw.js.map} +1 -1
  111. package/dist-vue/_chunks/PkChatbotSteps-CrqjWpv0.js +190 -0
  112. package/dist-vue/_chunks/PkChatbotSteps-CrqjWpv0.js.map +1 -0
  113. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js → PkChatbotViewChat-DXu5ncaU.js} +10 -10
  114. package/dist-vue/_chunks/{PkChatbotViewChat-CNH_glPI.js.map → PkChatbotViewChat-DXu5ncaU.js.map} +1 -1
  115. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js → PkChatbotViewConversations-3LaZPFyw.js} +2 -2
  116. package/dist-vue/_chunks/{PkChatbotViewConversations-BENvHLZt.js.map → PkChatbotViewConversations-3LaZPFyw.js.map} +1 -1
  117. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js → PkChatbotViewFiles-CTqnbsCj.js} +3 -3
  118. package/dist-vue/_chunks/{PkChatbotViewFiles-qmLESi1V.js.map → PkChatbotViewFiles-CTqnbsCj.js.map} +1 -1
  119. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js → PkChatbotViewProfile-B-Mp1jGQ.js} +2 -2
  120. package/dist-vue/_chunks/{PkChatbotViewProfile-DzfZnitQ.js.map → PkChatbotViewProfile-B-Mp1jGQ.js.map} +1 -1
  121. package/dist-vue/_chunks/PkRelativeTime--1cIphlA.js.map +1 -1
  122. package/dist-vue/_chunks/{PkStreamingMarkdown-D8_LwZMR.js → PkStreamingMarkdown-D0IOaETI.js} +432 -419
  123. package/dist-vue/_chunks/PkStreamingMarkdown-D0IOaETI.js.map +1 -0
  124. package/dist-vue/_chunks/{PkSvgViewer-DPpE9fiz.js → PkSvgViewer-D-0M5bqg.js} +2 -2
  125. package/dist-vue/_chunks/PkSvgViewer-D-0M5bqg.js.map +1 -0
  126. package/dist-vue/_chunks/{PkToolRequestGeolocation-D1ZPmWiB.js → PkToolRequestGeolocation-Q3N3jlO8.js} +3 -3
  127. package/dist-vue/_chunks/PkToolRequestGeolocation-Q3N3jlO8.js.map +1 -0
  128. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CoJyKEE6.js → PkToolRequestOAuthConnection-lYoTJIF_.js} +4 -4
  129. package/dist-vue/_chunks/PkToolRequestOAuthConnection-lYoTJIF_.js.map +1 -0
  130. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js → PkToolShowArtifact-DHdJuzDi.js} +2 -2
  131. package/dist-vue/_chunks/{PkToolShowArtifact-CEXdfOGG.js.map → PkToolShowArtifact-DHdJuzDi.js.map} +1 -1
  132. package/dist-vue/_chunks/{PkToolShowComparison-DMSjIpCR.js → PkToolShowComparison-BLn4pkno.js} +5 -5
  133. package/dist-vue/_chunks/PkToolShowComparison-BLn4pkno.js.map +1 -0
  134. package/dist-vue/_chunks/{PkToolShowContactForm-DHmzAIVF.js → PkToolShowContactForm-DceSyuX8.js} +3 -3
  135. package/dist-vue/_chunks/PkToolShowContactForm-DceSyuX8.js.map +1 -0
  136. package/dist-vue/_chunks/{PkToolShowDiagram-DuDp5EHd.js → PkToolShowDiagram-pwc0wpNo.js} +4 -4
  137. package/dist-vue/_chunks/PkToolShowDiagram-pwc0wpNo.js.map +1 -0
  138. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js → PkToolShowEmail-DF__nKpR.js} +2 -2
  139. package/dist-vue/_chunks/{PkToolShowEmail-CavhsPvi.js.map → PkToolShowEmail-DF__nKpR.js.map} +1 -1
  140. package/dist-vue/_chunks/{PkToolShowForm-CO5A_j9L.js → PkToolShowForm-Dx10jOXm.js} +7 -7
  141. package/dist-vue/_chunks/PkToolShowForm-Dx10jOXm.js.map +1 -0
  142. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js → PkToolShowImageGallery-DudQzBx4.js} +2 -2
  143. package/dist-vue/_chunks/{PkToolShowImageGallery-V9U3LJfF.js.map → PkToolShowImageGallery-DudQzBx4.js.map} +1 -1
  144. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js → PkToolShowMessage-Ck6VP-gw.js} +2 -2
  145. package/dist-vue/_chunks/{PkToolShowMessage-DQojxDiV.js.map → PkToolShowMessage-Ck6VP-gw.js.map} +1 -1
  146. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js → PkToolShowProductList-zfM8cx-l.js} +2 -2
  147. package/dist-vue/_chunks/{PkToolShowProductList-Cn0yewM3.js.map → PkToolShowProductList-zfM8cx-l.js.map} +1 -1
  148. package/dist-vue/_chunks/{PkToolShowSources-BvWOzVkQ.js → PkToolShowSources-Dlaz2Y77.js} +5 -5
  149. package/dist-vue/_chunks/PkToolShowSources-Dlaz2Y77.js.map +1 -0
  150. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js → PkToolShowSuggestedReply-DWLkUh2L.js} +2 -2
  151. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DQFOVonE.js.map → PkToolShowSuggestedReply-DWLkUh2L.js.map} +1 -1
  152. package/dist-vue/_chunks/PkToolShowWeather-Bzqalzh8.js.map +1 -1
  153. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js → PkToolShowWebPages-CosBYLrE.js} +2 -2
  154. package/dist-vue/_chunks/{PkToolShowWebPages-Bzkkn9GV.js.map → PkToolShowWebPages-CosBYLrE.js.map} +1 -1
  155. package/dist-vue/_chunks/{PkUrl-xUBKVJCv.js → PkUrl-B5CNTQj9.js} +2 -2
  156. package/dist-vue/_chunks/PkUrl-B5CNTQj9.js.map +1 -0
  157. package/dist-vue/_chunks/{createChatbotApiClient-CJ_5_3IT.js → createChatbotApiClient-MkaPbGWB.js} +6 -3
  158. package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +1 -0
  159. package/dist-vue/_chunks/{useChatbotStore-CiRAuq7v.js → useChatbotStore-BzfqjiYz.js} +6 -3
  160. package/dist-vue/_chunks/useChatbotStore-BzfqjiYz.js.map +1 -0
  161. package/dist-vue/_chunks/useDialogConfirm-KWz0ohCQ.js.map +1 -1
  162. package/dist-vue/_chunks/{utils-Coqik0XI.js → utils-C1666_6C.js} +58 -43
  163. package/dist-vue/_chunks/utils-C1666_6C.js.map +1 -0
  164. package/dist-vue/api.js +1 -1
  165. package/dist-vue/composables.js +3 -3
  166. package/dist-vue/index.js +3867 -3488
  167. package/dist-vue/index.js.map +1 -1
  168. package/dist-vue/locales.js +36 -8
  169. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +20 -3
  170. package/dist-vue/packages/components/src/chat/PkChatButton.d.ts +3 -2
  171. package/dist-vue/packages/components/src/chat/PkLanguageModel.d.ts +26 -2
  172. package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +53 -1
  173. package/dist-vue/packages/components/src/chat/PkModelOption.d.ts +19 -0
  174. package/dist-vue/packages/components/src/chat/PkReasoningSettings.d.ts +6 -0
  175. package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +6 -0
  176. package/dist-vue/packages/components/src/chat/PkStreamingMarkdownAutoscroll.d.ts +1 -0
  177. package/dist-vue/packages/components/src/chat/constants.d.ts +5 -18
  178. package/dist-vue/packages/components/src/chat/index.d.ts +3 -1
  179. package/dist-vue/packages/components/src/chat/modelCatalog.d.ts +46 -0
  180. package/dist-vue/packages/components/src/chat/utils.d.ts +16 -0
  181. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +13 -1
  182. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -0
  183. package/dist-vue/packages/composable/src/useChatbotError.d.ts +2 -0
  184. package/dist-vue/packages/models/src/schema/Agent.d.ts +70 -10
  185. package/dist-vue/packages/models/src/schema/Chat.d.ts +31 -0
  186. package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +316 -0
  187. package/dist-vue/packages/models/src/schema/Organization.d.ts +142 -2
  188. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +20 -0
  189. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +20 -0
  190. package/dist-vue/packages/models/src/schema/UserOverview.d.ts +41 -0
  191. package/dist-vue/packages/models/src/schema/constants.d.ts +56 -91
  192. package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
  193. package/dist-vue/style.css +1 -1
  194. package/package.json +1 -1
  195. package/dist/_chunks/Agent-Su_LDF9_.js.map +0 -1
  196. package/dist/_chunks/Document-DecVclEe.js.map +0 -1
  197. package/dist/_chunks/Media-C6SOQfJZ.js +0 -122
  198. package/dist/_chunks/Media-C6SOQfJZ.js.map +0 -1
  199. package/dist/_chunks/PkStreamingMarkdown-CwqsJnJJ.js.map +0 -1
  200. package/dist/_chunks/PkToolRequestGeolocation-CEVpl50q.js.map +0 -1
  201. package/dist/_chunks/PkToolRequestOAuthConnection-CncDU-Kl.js.map +0 -1
  202. package/dist/_chunks/PkToolShowComparison-DbbUD9pg.js.map +0 -1
  203. package/dist/_chunks/PkToolShowContactForm-D_dW59Dl.js.map +0 -1
  204. package/dist/_chunks/PkToolShowDiagram-Hy9qh68O.js.map +0 -1
  205. package/dist/_chunks/PkToolShowForm-DbJHMDbt.js.map +0 -1
  206. package/dist/_chunks/PkToolShowSources-B69JmwbZ.js.map +0 -1
  207. package/dist/_chunks/PkToolShowWeather-LPd3tC77.js.map +0 -1
  208. package/dist/_chunks/browser-NgY6LXg-.js.map +0 -1
  209. package/dist/_chunks/utils-YJ0ZOLDG.js +0 -185
  210. package/dist/_chunks/utils-YJ0ZOLDG.js.map +0 -1
  211. package/dist-vue/_chunks/Agent-C8BsTAxk.js.map +0 -1
  212. package/dist-vue/_chunks/Document-CaUfI_SZ.js.map +0 -1
  213. package/dist-vue/_chunks/PkChatbot-o7k7d-fj.js.map +0 -1
  214. package/dist-vue/_chunks/PkChatbotError-CBP2mf-n.js.map +0 -1
  215. package/dist-vue/_chunks/PkChatbotFeedbackForm-DO1QIgmo.js.map +0 -1
  216. package/dist-vue/_chunks/PkChatbotFilePreview-DO1wZPPj.js.map +0 -1
  217. package/dist-vue/_chunks/PkChatbotInput-D8x52cVm.js.map +0 -1
  218. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js +0 -771
  219. package/dist-vue/_chunks/PkChatbotMessages-BFlU046I.js.map +0 -1
  220. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js +0 -180
  221. package/dist-vue/_chunks/PkChatbotSteps-DtV1beDc.js.map +0 -1
  222. package/dist-vue/_chunks/PkStreamingMarkdown-D8_LwZMR.js.map +0 -1
  223. package/dist-vue/_chunks/PkSvgViewer-DPpE9fiz.js.map +0 -1
  224. package/dist-vue/_chunks/PkToolRequestGeolocation-D1ZPmWiB.js.map +0 -1
  225. package/dist-vue/_chunks/PkToolRequestOAuthConnection-CoJyKEE6.js.map +0 -1
  226. package/dist-vue/_chunks/PkToolShowComparison-DMSjIpCR.js.map +0 -1
  227. package/dist-vue/_chunks/PkToolShowContactForm-DHmzAIVF.js.map +0 -1
  228. package/dist-vue/_chunks/PkToolShowDiagram-DuDp5EHd.js.map +0 -1
  229. package/dist-vue/_chunks/PkToolShowForm-CO5A_j9L.js.map +0 -1
  230. package/dist-vue/_chunks/PkToolShowSources-BvWOzVkQ.js.map +0 -1
  231. package/dist-vue/_chunks/PkUrl-xUBKVJCv.js.map +0 -1
  232. package/dist-vue/_chunks/createChatbotApiClient-CJ_5_3IT.js.map +0 -1
  233. package/dist-vue/_chunks/useChatbotStore-CiRAuq7v.js.map +0 -1
  234. package/dist-vue/_chunks/utils-Coqik0XI.js.map +0 -1
@@ -128,6 +128,16 @@ export declare const ReasoningChatSchema: z.ZodObject<{
128
128
  minimal: "minimal";
129
129
  }>>;
130
130
  }, z.core.$strip>>;
131
+ xiaomi: z.ZodOptional<z.ZodObject<{
132
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
133
+ none: "none";
134
+ low: "low";
135
+ medium: "medium";
136
+ high: "high";
137
+ xhigh: "xhigh";
138
+ minimal: "minimal";
139
+ }>>;
140
+ }, z.core.$strip>>;
131
141
  zai: z.ZodOptional<z.ZodObject<{
132
142
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
133
143
  none: "none";
@@ -562,6 +572,16 @@ export declare const ReasoningChatSchema: z.ZodObject<{
562
572
  minimal: "minimal";
563
573
  }>>;
564
574
  }, z.core.$strip>>;
575
+ xiaomi: z.ZodOptional<z.ZodObject<{
576
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
577
+ none: "none";
578
+ low: "low";
579
+ medium: "medium";
580
+ high: "high";
581
+ xhigh: "xhigh";
582
+ minimal: "minimal";
583
+ }>>;
584
+ }, z.core.$strip>>;
565
585
  zai: z.ZodOptional<z.ZodObject<{
566
586
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
567
587
  none: "none";
@@ -128,6 +128,16 @@ export declare const SubAgentSchema: z.ZodObject<{
128
128
  minimal: "minimal";
129
129
  }>>;
130
130
  }, z.core.$strip>>;
131
+ xiaomi: z.ZodOptional<z.ZodObject<{
132
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
133
+ none: "none";
134
+ low: "low";
135
+ medium: "medium";
136
+ high: "high";
137
+ xhigh: "xhigh";
138
+ minimal: "minimal";
139
+ }>>;
140
+ }, z.core.$strip>>;
131
141
  zai: z.ZodOptional<z.ZodObject<{
132
142
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
133
143
  none: "none";
@@ -520,6 +530,16 @@ export declare const SubAgentSchema: z.ZodObject<{
520
530
  minimal: "minimal";
521
531
  }>>;
522
532
  }, z.core.$strip>>;
533
+ xiaomi: z.ZodOptional<z.ZodObject<{
534
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
535
+ none: "none";
536
+ low: "low";
537
+ medium: "medium";
538
+ high: "high";
539
+ xhigh: "xhigh";
540
+ minimal: "minimal";
541
+ }>>;
542
+ }, z.core.$strip>>;
523
543
  zai: z.ZodOptional<z.ZodObject<{
524
544
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
525
545
  none: "none";
@@ -80,6 +80,47 @@ export declare const UserMemoryAdminItemSchema: z.ZodObject<{
80
80
  updatedAt: z.ZodCoercedDate<unknown>;
81
81
  }, z.core.$strip>;
82
82
  export type UserMemoryAdminItem = z.infer<typeof UserMemoryAdminItemSchema>;
83
+ /**
84
+ * One row of the admin API keys table. Never carries the key hash: `start`
85
+ * is the plain-text prefix better-auth keeps for recognition. The
86
+ * organization id comes from the key metadata; its name and logo are null
87
+ * when that organization no longer exists.
88
+ */
89
+ export declare const UserApiKeyAdminItemSchema: z.ZodObject<{
90
+ id: z.ZodString;
91
+ name: z.ZodNullable<z.ZodString>;
92
+ start: z.ZodNullable<z.ZodString>;
93
+ organizationId: z.ZodNullable<z.ZodString>;
94
+ organizationName: z.ZodNullable<z.ZodString>;
95
+ organizationLogo: z.ZodNullable<z.ZodString>;
96
+ lastRequest: z.ZodNullable<z.ZodCoercedDate<unknown>>;
97
+ expiresAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
98
+ createdAt: z.ZodCoercedDate<unknown>;
99
+ }, z.core.$strip>;
100
+ export type UserApiKeyAdminItem = z.infer<typeof UserApiKeyAdminItemSchema>;
101
+ /**
102
+ * better-auth's defaults for API keys, which packages/auth does not override.
103
+ * Checked here as well, because the plugin's own refusal reaches the client
104
+ * as an internal server error without its reason.
105
+ */
106
+ export declare const API_KEY_NAME_MAX_LENGTH = 32;
107
+ /**
108
+ * Body of the admin call that creates a key on the user's behalf, for users
109
+ * who cannot do it from their own profile. The organization must be one the
110
+ * user belongs to, or the key would be refused on every request.
111
+ */
112
+ export declare const UserApiKeyAdminCreateSchema: z.ZodObject<{
113
+ name: z.ZodString;
114
+ organizationId: z.ZodUUID;
115
+ expiresIn: z.ZodOptional<z.ZodNumber>;
116
+ }, z.core.$strip>;
117
+ export type UserApiKeyAdminCreate = z.infer<typeof UserApiKeyAdminCreateSchema>;
118
+ /** The created key: the only response that ever carries the secret. */
119
+ export declare const UserApiKeyAdminCreatedSchema: z.ZodObject<{
120
+ id: z.ZodString;
121
+ key: z.ZodString;
122
+ }, z.core.$strip>;
123
+ export type UserApiKeyAdminCreated = z.infer<typeof UserApiKeyAdminCreatedSchema>;
83
124
  /** One row of the admin cross-agent conversations table. */
84
125
  export declare const UserChatListItemSchema: z.ZodObject<{
85
126
  id: z.ZodString;
@@ -1,107 +1,55 @@
1
1
  /**
2
- * Models an agent can run on.
2
+ * The models an agent of this platform may be pointed at.
3
3
  *
4
- * The picker is this enum (`MODELS` in `packages/components/src/chat`), so
5
- * **declaration order is the order users see** and the two cannot drift apart
6
- * any more: reorder a line here and you reorder the dropdown. Retiring a model
7
- * means deleting its line, which breaks every reference at compile time; agents
8
- * already saved on it keep the id as data, because `Agent.model` is a plain
9
- * string.
4
+ * The gateway listing DESCRIBES what exists, this list PERMITS. They are two
5
+ * different questions, and conflating them broke production once: on
6
+ * 2026-07-23 two models entered the catalog before the installed
7
+ * `@ai-sdk/gateway` knew them, and their tool calls failed under the generic
8
+ * handling. Exposing every model the day the listing shows it would reproduce
9
+ * that by construction.
10
10
  *
11
- * Adding a model is two edits, not one: the line here and a `models.<key>`
12
- * label in **both** `packages/i18n/src/it.json` and `en.json`, where the key
13
- * is the id without its provider and without the version dot
14
- * (`alibaba/qwen3.8-omni-flash` -> `qwen38-omni-flash`, see `modelLabelKey`).
15
- * Without the label the picker falls back to the raw id and the option search
16
- * cannot find the model by name. Nothing fails at compile time.
11
+ * Adding one is a line here, after the checklist in
12
+ * `docs/agents/llm-integration.md`: it must be `type: language` in the
13
+ * listing, produce text and carry the `tool-use` tag. Everything else about
14
+ * it, the commercial name, the price, the context window, the two privacy
15
+ * flags, comes from the listing and is never written down twice.
17
16
  *
18
- * Embedding models are not here, they are not selectable: see
19
- * {@link EmbeddingModel}.
17
+ * A test checks every id against a saved copy of the listing, which is what
18
+ * replaces the by-hand verification that missed a model on 2026-09-18.
20
19
  */
21
- export declare enum LanguageModel {
22
- gpt5Nano = "openai/gpt-5-nano",
23
- gpt5Mini = "openai/gpt-5-mini",
24
- gpt51Thinking = "openai/gpt-5.1-thinking",
25
- gpt52 = "openai/gpt-5.2",
26
- gpt54nano = "openai/gpt-5.4-nano",
27
- gpt54mini = "openai/gpt-5.4-mini",
28
- gpt54 = "openai/gpt-5.4",
29
- gpt54Pro = "openai/gpt-5.4-pro",
30
- gpt55 = "openai/gpt-5.5",
31
- gpt55Pro = "openai/gpt-5.5-pro",
32
- gpt56Luna = "openai/gpt-5.6-luna",
33
- gpt56Terra = "openai/gpt-5.6-terra",
34
- gpt56Sol = "openai/gpt-5.6-sol",
35
- gpt56LunaFast = "openai/gpt-5.6-luna-fast",
36
- gpt56TerraFast = "openai/gpt-5.6-terra-fast",
37
- gpt56SolFast = "openai/gpt-5.6-sol-fast",
38
- gpt6Astra = "openai/gpt-6-astra",
39
- gpt6AstraFast = "openai/gpt-6-astra-fast",
40
- gemini25FlashLite = "google/gemini-2.5-flash-lite",
41
- gemini25Flash = "google/gemini-2.5-flash",
42
- gemini25Pro = "google/gemini-2.5-pro",
43
- gemini3Flash = "google/gemini-3-flash",
44
- gemini31ProPreview = "google/gemini-3.1-pro-preview",
45
- gemini31FlashLite = "google/gemini-3.1-flash-lite",
46
- gemini35Flash = "google/gemini-3.5-flash",
47
- gemini35FlashLite = "google/gemini-3.5-flash-lite",
48
- gemini36Flash = "google/gemini-3.6-flash",
49
- gemini37Flash = "google/gemini-3.7-flash",
50
- gemini38Flash = "google/gemini-3.8-flash",
51
- claudeHaiku45 = "anthropic/claude-haiku-4.5",
52
- claudeSonnet46 = "anthropic/claude-sonnet-4.6",
53
- claudeSonnet5 = "anthropic/claude-sonnet-5",
54
- claudeOpus46 = "anthropic/claude-opus-4.6",
55
- claudeOpus47 = "anthropic/claude-opus-4.7",
56
- claudeOpus48 = "anthropic/claude-opus-4.8",
57
- claudeOpus5 = "anthropic/claude-opus-5",
58
- claudeOpus5Fast = "anthropic/claude-opus-5-fast",
59
- claudeFable5 = "anthropic/claude-fable-5",
60
- claudeFable51 = "anthropic/claude-fable-5.1",
61
- deepseek32 = "deepseek/deepseek-v3.2",
62
- deepseek4Flash0731 = "deepseek/deepseek-v4-flash-0731",
63
- deepseek41Flash = "deepseek/deepseek-v4.1-flash",
64
- alibabaQwen36Plus = "alibaba/qwen3.6-plus",
65
- alibabaQwen37Max = "alibaba/qwen3.7-max",
66
- alibabaQwen37Plus = "alibaba/qwen3.7-plus",
67
- alibabaQwen37Flash = "alibaba/qwen3.7-flash",
68
- alibabaQwen38Max = "alibaba/qwen3.8-max",
69
- alibabaQwen3827b = "alibaba/qwen3.8-27b",
70
- alibabaQwen38Max0902 = "alibaba/qwen3.8-max-0902",
71
- alibabaQwen38OmniFlash = "alibaba/qwen3.8-omni-flash",
72
- spacexaiGrok43 = "spacexai/grok-4.3",
73
- spacexaiGrok46 = "spacexai/grok-4.6",
74
- zaiGlm52 = "zai/glm-5.2",
75
- zaiGlm52Fast = "zai/glm-5.2-fast",
76
- zaiGlm53 = "zai/glm-5.3",
77
- zaiGlm53Flash = "zai/glm-5.3-flash",
78
- zaiGlm53Fast = "zai/glm-5.3-fast",
79
- metaMuseSpark11 = "meta/muse-spark-1.1",
80
- metaMuseSpark12 = "meta/muse-spark-1.2",
81
- moonshotaiKimiK3 = "moonshotai/kimi-k3",
82
- moonshotaiKimiK3Fast = "moonshotai/kimi-k3-fast"
83
- }
20
+ export declare const GATEWAY_MODELS: readonly ["openai/gpt-5-nano", "openai/gpt-5-mini", "openai/gpt-5.1-thinking", "openai/gpt-5.2", "openai/gpt-5.4-nano", "openai/gpt-5.4-mini", "openai/gpt-5.4", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-terra", "openai/gpt-5.6-sol", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-terra-fast", "openai/gpt-5.6-sol-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-fast", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash", "google/gemini-2.5-pro", "google/gemini-3-flash", "google/gemini-3.1-pro-preview", "google/gemini-3.1-flash-lite", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "anthropic/claude-haiku-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.8", "anthropic/claude-opus-5", "anthropic/claude-opus-5-fast", "anthropic/claude-opus-5.5", "anthropic/claude-opus-5.5-fast", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "deepseek/deepseek-v3.2", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4.1-flash", "deepseek/deepseek-v4-pro-0813", "alibaba/qwen3.6-plus", "alibaba/qwen3.7-max", "alibaba/qwen3.7-plus", "alibaba/qwen3.7-flash", "alibaba/qwen3.8-flash", "alibaba/qwen3.8-max", "alibaba/qwen3.8-27b", "alibaba/qwen3.8-max-0902", "alibaba/qwen3.8-omni-flash", "spacexai/grok-4.3", "spacexai/grok-4.6", "spacexai/grok-4.7", "zai/glm-5.2", "zai/glm-5.2-fast", "zai/glm-5.3", "zai/glm-5.3-flash", "zai/glm-5.3-fast", "zai/glm-5.3-flashx", "meta/muse-spark-1.1", "meta/muse-spark-1.2", "meta/muse-spark-1.3", "moonshotai/kimi-k3", "moonshotai/kimi-k3-fast", "mistral/ministral-14b", "mistral/mistral-small", "mistral/mistral-medium-3.5", "mistral/mistral-large-3", "xiaomi/mimo-v2.6-flash", "xiaomi/mimo-v2.6-pro", "xiaomi/mimo-v2.6-pro-ultraspeed"];
21
+ /**
22
+ * A model id: an entry of {@link GATEWAY_MODELS}, or a `byok/` id served by an
23
+ * organization's own endpoint. A plain string on purpose, because the second
24
+ * half cannot be enumerated.
25
+ */
26
+ export type ModelId = string;
27
+ /**
28
+ * Prices are stored per token, the unit the gateway listing publishes, and
29
+ * shown per million, the unit every price page uses. One copy, so the page,
30
+ * its dialogs and the picker never disagree on the factor.
31
+ */
32
+ export declare const PER_MILLION_TOKENS = 1000000;
33
+ /**
34
+ * The models the platform falls back to when an organization has expressed no
35
+ * preference. The only model ids written in the code besides the curated list.
36
+ */
37
+ export declare const PLATFORM_MODEL_DEFAULTS: {
38
+ /** New agents, and the runtime fallback of an agent with no model. */
39
+ readonly agentModel: "openai/gpt-5.6-terra";
40
+ /** Question reformulation, JSON to schema, memory reconciliation. */
41
+ readonly utilityModel: "google/gemini-3-flash";
42
+ };
84
43
  /**
85
44
  * Models used to vectorize text, never to answer. Kept apart from
86
- * {@link LanguageModel} so the chat plumbing, which types its `model` parameter
87
- * with that enum, cannot be handed an embedding id.
45
+ * {@link GATEWAY_MODELS} so an embedding id cannot reach the chat plumbing,
46
+ * and out of the catalog for the same reason: they are not selectable.
88
47
  */
89
48
  export declare enum EmbeddingModel {
90
49
  textEmbedding3Small = "openai/text-embedding-3-small",
91
50
  geminiEmbedding2 = "google/gemini-embedding-2"
92
51
  }
93
52
  export declare const EMBED_MODEL = EmbeddingModel.geminiEmbedding2;
94
- export declare enum LanguageModelBrand {
95
- openai = "openai",
96
- google = "google",
97
- anthropic = "anthropic",
98
- deepseek = "deepseek",
99
- spacexai = "spacexai",
100
- zai = "zai",
101
- meta = "meta",
102
- alibaba = "alibaba",
103
- moonshotai = "moonshotai"
104
- }
105
53
  /**
106
54
  * Supported languages for documents and revised answers
107
55
  */
@@ -170,3 +118,20 @@ export declare enum CreditTransactionType {
170
118
  /** The hourly settlement against the gateway report: the audit trail of a balance move. */
171
119
  RECONCILIATION = "reconciliation"
172
120
  }
121
+ /**
122
+ * Prefix that marks a model served by the organization's own OpenAI compatible
123
+ * endpoint rather than by the gateway.
124
+ *
125
+ * It is not a gateway brand, which is the point: every switch on the provider
126
+ * (reasoning options, the Google thought signature repair, the per-provider
127
+ * timeouts, the native web search tools) falls into its default branch without
128
+ * any of them having to learn about BYOK.
129
+ */
130
+ export declare const BYOK_MODEL_PREFIX = "byok/";
131
+ export declare const isByokModel: (id?: string | null) => boolean;
132
+ /**
133
+ * The id as the endpoint wants it, with the prefix removed. The remainder may
134
+ * itself contain slashes (`byok/meta-llama/Llama-3.3-70B`), so this cuts the
135
+ * prefix and does not split.
136
+ */
137
+ export declare const byokModelId: (id: string) => string;
@@ -20,6 +20,7 @@ export * from './HttpMethod';
20
20
  export * from './Invitation';
21
21
  export * from './Lead';
22
22
  export * from './McpServer';
23
+ export * from './ModelProvider';
23
24
  export * from './Media';
24
25
  export * from './Member';
25
26
  export * from './MessageFeedback';