@8wave/ai-elements 0.90.0 → 0.91.0

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 (188) hide show
  1. package/dist/_chunks/{Document-BajUssb0.js → Document-OYsMoc9f.js} +46 -9
  2. package/dist/_chunks/Document-OYsMoc9f.js.map +1 -0
  3. package/dist/_chunks/{PkToolShowSources-CZWBpBBV.js → PkToolShowSources-BHLHRoy2.js} +2 -2
  4. package/dist/_chunks/{PkToolShowSources-CZWBpBBV.js.map → PkToolShowSources-BHLHRoy2.js.map} +1 -1
  5. package/dist/_chunks/{PkToolShowSuggestedReply-1j4lOkRj.js → PkToolShowSuggestedReply-CUk_SK-9.js} +2 -2
  6. package/dist/_chunks/PkToolShowSuggestedReply-CUk_SK-9.js.map +1 -0
  7. package/dist/ai-elements.es.js +4099 -3985
  8. package/dist/ai-elements.es.js.map +1 -1
  9. package/dist-vue/PkChatbot.js +1 -1
  10. package/dist-vue/PkChatbotAuth.js +1 -1
  11. package/dist-vue/PkChatbotEmptyState.js +1 -1
  12. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  13. package/dist-vue/PkChatbotFilePreview.js +1 -1
  14. package/dist-vue/PkChatbotInput.js +1 -1
  15. package/dist-vue/PkChatbotMessageFeedback.js +1 -1
  16. package/dist-vue/PkChatbotMessages.js +1 -1
  17. package/dist-vue/PkChatbotOutlineRail.js +1 -1
  18. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  19. package/dist-vue/PkChatbotSteps.js +1 -1
  20. package/dist-vue/PkChatbotViewChat.js +1 -1
  21. package/dist-vue/PkChatbotViewConversations.js +1 -1
  22. package/dist-vue/PkChatbotViewFiles.js +1 -1
  23. package/dist-vue/PkChatbotViewProfile.js +1 -1
  24. package/dist-vue/_chunks/{Document-Dvf2nw6v.js → Document-c1tATTDs.js} +46 -9
  25. package/dist-vue/_chunks/{Document-Dvf2nw6v.js.map → Document-c1tATTDs.js.map} +1 -1
  26. package/dist-vue/_chunks/{PkAvatar-Dv3e4aUl.js → PkAvatar-Bpf6cD4N.js} +1 -1
  27. package/dist-vue/_chunks/{PkAvatar-Dv3e4aUl.js.map → PkAvatar-Bpf6cD4N.js.map} +1 -1
  28. package/dist-vue/_chunks/PkChatbot-DpfxBVue.js +237 -0
  29. package/dist-vue/_chunks/PkChatbot-DpfxBVue.js.map +1 -0
  30. package/dist-vue/_chunks/{PkChatbotAuth-CFqcYxj9.js → PkChatbotAuth-uAPZRV6N.js} +2 -2
  31. package/dist-vue/_chunks/{PkChatbotAuth-CFqcYxj9.js.map → PkChatbotAuth-uAPZRV6N.js.map} +1 -1
  32. package/dist-vue/_chunks/{PkChatbotEmptyState-C70aTfG-.js → PkChatbotEmptyState-JTlPPXdI.js} +2 -2
  33. package/dist-vue/_chunks/{PkChatbotEmptyState-C70aTfG-.js.map → PkChatbotEmptyState-JTlPPXdI.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Ds2-nOaU.js → PkChatbotFeedbackForm-CHXxzWqQ.js} +2 -2
  35. package/dist-vue/_chunks/{PkChatbotFeedbackForm-Ds2-nOaU.js.map → PkChatbotFeedbackForm-CHXxzWqQ.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkChatbotFilePreview-DG887KhT.js → PkChatbotFilePreview-Bf1bdZn8.js} +61 -54
  37. package/dist-vue/_chunks/PkChatbotFilePreview-Bf1bdZn8.js.map +1 -0
  38. package/dist-vue/_chunks/{PkChatbotInput-BTszEUj2.js → PkChatbotInput-DWS7vqC5.js} +152 -124
  39. package/dist-vue/_chunks/PkChatbotInput-DWS7vqC5.js.map +1 -0
  40. package/dist-vue/_chunks/{PkChatbotMessageFeedback-Cp0zzCP8.js → PkChatbotMessageFeedback-DAqlgPrz.js} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotMessageFeedback-Cp0zzCP8.js.map → PkChatbotMessageFeedback-DAqlgPrz.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkChatbotMessages-DLP7utmG.js → PkChatbotMessages-BR5JUybd.js} +208 -212
  43. package/dist-vue/_chunks/PkChatbotMessages-BR5JUybd.js.map +1 -0
  44. package/dist-vue/_chunks/{PkChatbotOutlineRail-CAIfj2dI.js → PkChatbotOutlineRail-BXrdMIrA.js} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotOutlineRail-CAIfj2dI.js.map → PkChatbotOutlineRail-BXrdMIrA.js.map} +1 -1
  46. package/dist-vue/_chunks/{PkChatbotStepToolDetail-C-ucv_wp.js → PkChatbotStepToolDetail-C2nWevnD.js} +2 -2
  47. package/dist-vue/_chunks/{PkChatbotStepToolDetail-C-ucv_wp.js.map → PkChatbotStepToolDetail-C2nWevnD.js.map} +1 -1
  48. package/dist-vue/_chunks/{PkChatbotSteps-CBOhYZ10.js → PkChatbotSteps-5Ahr-zpZ.js} +4 -4
  49. package/dist-vue/_chunks/{PkChatbotSteps-CBOhYZ10.js.map → PkChatbotSteps-5Ahr-zpZ.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbotViewChat-BZ9IH-sz.js → PkChatbotViewChat-C_t6qEEV.js} +64 -55
  51. package/dist-vue/_chunks/PkChatbotViewChat-C_t6qEEV.js.map +1 -0
  52. package/dist-vue/_chunks/{PkChatbotViewConversations-q5KPJt_D.js → PkChatbotViewConversations-CEaEsnBy.js} +4 -4
  53. package/dist-vue/_chunks/{PkChatbotViewConversations-q5KPJt_D.js.map → PkChatbotViewConversations-CEaEsnBy.js.map} +1 -1
  54. package/dist-vue/_chunks/PkChatbotViewFiles-Bzcn8AEo.js +114 -0
  55. package/dist-vue/_chunks/PkChatbotViewFiles-Bzcn8AEo.js.map +1 -0
  56. package/dist-vue/_chunks/{PkChatbotViewProfile-DTbQlkVL.js → PkChatbotViewProfile-CfFeqjse.js} +4 -4
  57. package/dist-vue/_chunks/{PkChatbotViewProfile-DTbQlkVL.js.map → PkChatbotViewProfile-CfFeqjse.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkRelativeTime-D72zYq42.js → PkRelativeTime-2HoOjv_T.js} +1 -1
  59. package/dist-vue/_chunks/{PkRelativeTime-D72zYq42.js.map → PkRelativeTime-2HoOjv_T.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkStreamingMarkdown-CVAsbuWi.js → PkStreamingMarkdown-C_LQOTVJ.js} +1 -1
  61. package/dist-vue/_chunks/{PkStreamingMarkdown-CVAsbuWi.js.map → PkStreamingMarkdown-C_LQOTVJ.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkSvgViewer-CTYxVK7q.js → PkSvgViewer-Dtx4uluo.js} +2 -2
  63. package/dist-vue/_chunks/{PkSvgViewer-CTYxVK7q.js.map → PkSvgViewer-Dtx4uluo.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkToolShowArtifact-Csjfo9Xl.js → PkToolShowArtifact-CoYM3_A3.js} +3 -3
  65. package/dist-vue/_chunks/{PkToolShowArtifact-Csjfo9Xl.js.map → PkToolShowArtifact-CoYM3_A3.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkToolShowCalendarEvent-B2tHaoqo.js → PkToolShowCalendarEvent-BZYdRwid.js} +2 -2
  67. package/dist-vue/_chunks/{PkToolShowCalendarEvent-B2tHaoqo.js.map → PkToolShowCalendarEvent-BZYdRwid.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkToolShowComparison-BLDtjv3w.js → PkToolShowComparison-C4OP5c1t.js} +2 -2
  69. package/dist-vue/_chunks/{PkToolShowComparison-BLDtjv3w.js.map → PkToolShowComparison-C4OP5c1t.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkToolShowContactForm-CdgD4fd8.js → PkToolShowContactForm-DjX9G8CD.js} +5 -5
  71. package/dist-vue/_chunks/{PkToolShowContactForm-CdgD4fd8.js.map → PkToolShowContactForm-DjX9G8CD.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkToolShowDiagram-DGYQjjGj.js → PkToolShowDiagram-DHwAckwN.js} +2 -2
  73. package/dist-vue/_chunks/{PkToolShowDiagram-DGYQjjGj.js.map → PkToolShowDiagram-DHwAckwN.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolShowEmail-D42WDTO9.js → PkToolShowEmail-5waUO5cm.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolShowEmail-D42WDTO9.js.map → PkToolShowEmail-5waUO5cm.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolShowForm-BhVSPIAR.js → PkToolShowForm-C7bOdRse.js} +3 -3
  77. package/dist-vue/_chunks/{PkToolShowForm-BhVSPIAR.js.map → PkToolShowForm-C7bOdRse.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolShowImageGallery-WANi2hA0.js → PkToolShowImageGallery-D3bqInQn.js} +3 -3
  79. package/dist-vue/_chunks/{PkToolShowImageGallery-WANi2hA0.js.map → PkToolShowImageGallery-D3bqInQn.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowLocation-RVbaQoU5.js → PkToolShowLocation-DE-dbJEw.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowLocation-RVbaQoU5.js.map → PkToolShowLocation-DE-dbJEw.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowMessage-D8UbJcas.js → PkToolShowMessage-DCbW7AYl.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowMessage-D8UbJcas.js.map → PkToolShowMessage-DCbW7AYl.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowProductList-BQts3MBy.js → PkToolShowProductList-Blsv3Cio.js} +3 -3
  85. package/dist-vue/_chunks/{PkToolShowProductList-BQts3MBy.js.map → PkToolShowProductList-Blsv3Cio.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowQrCode-BybXCt5e.js → PkToolShowQrCode-BbMTgOW3.js} +2 -2
  87. package/dist-vue/_chunks/{PkToolShowQrCode-BybXCt5e.js.map → PkToolShowQrCode-BbMTgOW3.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowSources-DRewYfe-.js → PkToolShowSources-B9d3iLVk.js} +5 -5
  89. package/dist-vue/_chunks/{PkToolShowSources-DRewYfe-.js.map → PkToolShowSources-B9d3iLVk.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowSuggestedReply-DKiYUsaZ.js → PkToolShowSuggestedReply-B516t3Nb.js} +2 -2
  91. package/dist-vue/_chunks/PkToolShowSuggestedReply-B516t3Nb.js.map +1 -0
  92. package/dist-vue/_chunks/{PkToolShowWebPages-IV3OzwJe.js → PkToolShowWebPages-BF2aHJGK.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowWebPages-IV3OzwJe.js.map → PkToolShowWebPages-BF2aHJGK.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkUrl-a6l-l4Au.js → PkUrl-DA-6t_2f.js} +1 -1
  95. package/dist-vue/_chunks/{PkUrl-a6l-l4Au.js.map → PkUrl-DA-6t_2f.js.map} +1 -1
  96. package/dist-vue/_chunks/{chatbotProfileContext-R95aQ5bH.js → chatbotProfileContext-R1zi561l.js} +1 -1
  97. package/dist-vue/_chunks/{chatbotProfileContext-R95aQ5bH.js.map → chatbotProfileContext-R1zi561l.js.map} +1 -1
  98. package/dist-vue/_chunks/{constants-DpYDYnZU.js → constants-CWT3GgSb.js} +2 -2
  99. package/dist-vue/_chunks/constants-CWT3GgSb.js.map +1 -0
  100. package/dist-vue/_chunks/{createChatbotApiClient-DXmWtu3b.js → createChatbotApiClient-kU7rCKwN.js} +13 -5
  101. package/dist-vue/_chunks/createChatbotApiClient-kU7rCKwN.js.map +1 -0
  102. package/dist-vue/_chunks/{dist-BbAXqaCM.js → dist-0LxfGh4q.js} +2 -2
  103. package/dist-vue/_chunks/{dist-BbAXqaCM.js.map → dist-0LxfGh4q.js.map} +1 -1
  104. package/dist-vue/_chunks/{dist-BU1gMaJv.js → dist-46HfWmpr.js} +2 -2
  105. package/dist-vue/_chunks/{dist-BU1gMaJv.js.map → dist-46HfWmpr.js.map} +1 -1
  106. package/dist-vue/_chunks/{dist-CpoLpTWk.js → dist-8YCZENrl.js} +3 -3
  107. package/dist-vue/_chunks/{dist-CpoLpTWk.js.map → dist-8YCZENrl.js.map} +1 -1
  108. package/dist-vue/_chunks/{dist-l7mimsz6.js → dist-B34dY8rD.js} +2 -2
  109. package/dist-vue/_chunks/{dist-l7mimsz6.js.map → dist-B34dY8rD.js.map} +1 -1
  110. package/dist-vue/_chunks/{dist-CYrZgvgZ.js → dist-BfbUNalO.js} +4 -4
  111. package/dist-vue/_chunks/{dist-CYrZgvgZ.js.map → dist-BfbUNalO.js.map} +1 -1
  112. package/dist-vue/_chunks/{dist-Begygip9.js → dist-BmRGnWn9.js} +3 -3
  113. package/dist-vue/_chunks/{dist-Begygip9.js.map → dist-BmRGnWn9.js.map} +1 -1
  114. package/dist-vue/_chunks/{dist-BGl_mYmF.js → dist-BoaZDzxm.js} +4 -4
  115. package/dist-vue/_chunks/{dist-BGl_mYmF.js.map → dist-BoaZDzxm.js.map} +1 -1
  116. package/dist-vue/_chunks/{dist-DEyUvwtq.js → dist-Bq9kJLlA.js} +3 -3
  117. package/dist-vue/_chunks/{dist-DEyUvwtq.js.map → dist-Bq9kJLlA.js.map} +1 -1
  118. package/dist-vue/_chunks/{dist-nZs6UeVS.js → dist-Bs-QG-km.js} +1 -1
  119. package/dist-vue/_chunks/{dist-nZs6UeVS.js.map → dist-Bs-QG-km.js.map} +1 -1
  120. package/dist-vue/_chunks/{dist-DinYvSmw.js → dist-BxqLQ_dy.js} +2 -2
  121. package/dist-vue/_chunks/{dist-DinYvSmw.js.map → dist-BxqLQ_dy.js.map} +1 -1
  122. package/dist-vue/_chunks/{dist-Dj7rLAD9.js → dist-Cc0Lyhoq.js} +3 -3
  123. package/dist-vue/_chunks/{dist-Dj7rLAD9.js.map → dist-Cc0Lyhoq.js.map} +1 -1
  124. package/dist-vue/_chunks/{dist-Jh4J_VuU.js → dist-CiYFTV6m.js} +3 -3
  125. package/dist-vue/_chunks/{dist-Jh4J_VuU.js.map → dist-CiYFTV6m.js.map} +1 -1
  126. package/dist-vue/_chunks/{dist-BzsV0Mzp.js → dist-CrcvoPSj.js} +2 -2
  127. package/dist-vue/_chunks/{dist-BzsV0Mzp.js.map → dist-CrcvoPSj.js.map} +1 -1
  128. package/dist-vue/_chunks/{dist-CABEM3v-.js → dist-DK5UPLjU.js} +4 -4
  129. package/dist-vue/_chunks/{dist-CABEM3v-.js.map → dist-DK5UPLjU.js.map} +1 -1
  130. package/dist-vue/_chunks/{dist-uvKhW3hB.js → dist-Da4-ZEZn.js} +3 -3
  131. package/dist-vue/_chunks/{dist-uvKhW3hB.js.map → dist-Da4-ZEZn.js.map} +1 -1
  132. package/dist-vue/_chunks/{dist-SbwxxzT7.js → dist-Dc77ClI_.js} +3 -3
  133. package/dist-vue/_chunks/{dist-SbwxxzT7.js.map → dist-Dc77ClI_.js.map} +1 -1
  134. package/dist-vue/_chunks/{dist-t9ZGnt-g.js → dist-LN9oA4PR.js} +2 -2
  135. package/dist-vue/_chunks/{dist-t9ZGnt-g.js.map → dist-LN9oA4PR.js.map} +1 -1
  136. package/dist-vue/_chunks/{dist-DKzsFjYx.js → dist-gx9K9AtO.js} +5 -5
  137. package/dist-vue/_chunks/{dist-DKzsFjYx.js.map → dist-gx9K9AtO.js.map} +1 -1
  138. package/dist-vue/_chunks/{dist-Bnrde8nq.js → dist-iDVEgNgZ.js} +3 -3
  139. package/dist-vue/_chunks/{dist-Bnrde8nq.js.map → dist-iDVEgNgZ.js.map} +1 -1
  140. package/dist-vue/_chunks/{dist-Byr8BhEG.js → dist-m2_O1KGc.js} +3 -3
  141. package/dist-vue/_chunks/{dist-Byr8BhEG.js.map → dist-m2_O1KGc.js.map} +1 -1
  142. package/dist-vue/_chunks/{dist-C08Qizu9.js → dist-qArLqzVS.js} +2 -2
  143. package/dist-vue/_chunks/{dist-C08Qizu9.js.map → dist-qArLqzVS.js.map} +1 -1
  144. package/dist-vue/_chunks/{dist-6gaEFVNT.js → dist-qJLUge9r.js} +2 -2
  145. package/dist-vue/_chunks/{dist-6gaEFVNT.js.map → dist-qJLUge9r.js.map} +1 -1
  146. package/dist-vue/_chunks/{index.es-ChKj3bPm.js → index.es-W-WNHB7-.js} +1 -1
  147. package/dist-vue/_chunks/{index.es-ChKj3bPm.js.map → index.es-W-WNHB7-.js.map} +1 -1
  148. package/dist-vue/_chunks/{useChatbotStore-GEO6rQ74.js → useChatbotStore-WPRS7mhR.js} +855 -832
  149. package/dist-vue/_chunks/{useChatbotStore-GEO6rQ74.js.map → useChatbotStore-WPRS7mhR.js.map} +1 -1
  150. package/dist-vue/_chunks/{useLocalizedString-DPX1ED4p.js → useLocalizedString-BQzGZyu0.js} +1 -1
  151. package/dist-vue/_chunks/{useLocalizedString-DPX1ED4p.js.map → useLocalizedString-BQzGZyu0.js.map} +1 -1
  152. package/dist-vue/_chunks/utils-BDNQaNua.js +101 -0
  153. package/dist-vue/_chunks/utils-BDNQaNua.js.map +1 -0
  154. package/dist-vue/api.js +1 -1
  155. package/dist-vue/composables.js +4 -4
  156. package/dist-vue/index.js +105 -80
  157. package/dist-vue/index.js.map +1 -1
  158. package/dist-vue/locales.js +10 -2
  159. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +7 -3
  160. package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +3 -0
  161. package/dist-vue/packages/components/src/chat/constants.d.ts +1 -1
  162. package/dist-vue/packages/components/src/chat/useChatScroll.d.ts +0 -7
  163. package/dist-vue/packages/components/src/table/PkTableSortable.d.ts +4 -0
  164. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +1 -0
  165. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +42 -3
  166. package/dist-vue/packages/composable/src/index.d.ts +1 -0
  167. package/dist-vue/packages/composable/src/useFileRow.d.ts +24 -0
  168. package/dist-vue/packages/models/src/schema/Agent.d.ts +1 -0
  169. package/dist-vue/packages/models/src/schema/Document.d.ts +12 -0
  170. package/dist-vue/packages/models/src/schema/Platform.d.ts +6 -0
  171. package/dist-vue/packages/models/src/schema/constants.d.ts +7 -2
  172. package/dist-vue/style.css +1 -1
  173. package/package.json +1 -1
  174. package/dist/_chunks/Document-BajUssb0.js.map +0 -1
  175. package/dist/_chunks/PkToolShowSuggestedReply-1j4lOkRj.js.map +0 -1
  176. package/dist-vue/_chunks/PkChatbot-q_W4cKsy.js +0 -237
  177. package/dist-vue/_chunks/PkChatbot-q_W4cKsy.js.map +0 -1
  178. package/dist-vue/_chunks/PkChatbotFilePreview-DG887KhT.js.map +0 -1
  179. package/dist-vue/_chunks/PkChatbotInput-BTszEUj2.js.map +0 -1
  180. package/dist-vue/_chunks/PkChatbotMessages-DLP7utmG.js.map +0 -1
  181. package/dist-vue/_chunks/PkChatbotViewChat-BZ9IH-sz.js.map +0 -1
  182. package/dist-vue/_chunks/PkChatbotViewFiles-B0FNE1Kk.js +0 -86
  183. package/dist-vue/_chunks/PkChatbotViewFiles-B0FNE1Kk.js.map +0 -1
  184. package/dist-vue/_chunks/PkToolShowSuggestedReply-DKiYUsaZ.js.map +0 -1
  185. package/dist-vue/_chunks/constants-DpYDYnZU.js.map +0 -1
  186. package/dist-vue/_chunks/createChatbotApiClient-DXmWtu3b.js.map +0 -1
  187. package/dist-vue/_chunks/utils-BBAveXy4.js +0 -101
  188. package/dist-vue/_chunks/utils-BBAveXy4.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,49 +1,49 @@
1
- import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./_chunks/useChatbotStore-GEO6rQ74.js";
2
- import { i as d, r as f, t as p } from "./_chunks/PkToolShowForm-BhVSPIAR.js";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./_chunks/useChatbotStore-WPRS7mhR.js";
2
+ import { i as d, r as f, t as p } from "./_chunks/PkToolShowForm-C7bOdRse.js";
3
3
  import { C as m, S as h, _ as g, a as _, b as v, c as y, d as b, g as x, i as S, m as C, n as w, o as T, p as E, r as ee, s as te, u as ne, v as D, w as re, y as ie } from "./_chunks/schemas-B9AZeRC2.js";
4
4
  import { i as ae, r as oe } from "./_chunks/Media-CWZEQLgV.js";
5
- import { o as se, r as O } from "./_chunks/constants-DpYDYnZU.js";
6
- import { a as ce, c as le, d as ue, f as de, i as fe, l as pe, n as me, o as he, r as k, s as ge, u as _e } from "./_chunks/createChatbotApiClient-DXmWtu3b.js";
7
- import { r as ve, t as ye } from "./_chunks/Document-Dvf2nw6v.js";
8
- import { t as be } from "./_chunks/PkChatbotAuth-CFqcYxj9.js";
5
+ import { o as se, r as O } from "./_chunks/constants-CWT3GgSb.js";
6
+ import { a as ce, c as le, d as ue, f as de, i as fe, l as pe, n as me, o as he, r as k, s as ge, u as _e } from "./_chunks/createChatbotApiClient-kU7rCKwN.js";
7
+ import { r as ve, t as ye } from "./_chunks/Document-c1tATTDs.js";
8
+ import { t as be } from "./_chunks/PkChatbotAuth-uAPZRV6N.js";
9
9
  import { t as xe } from "./_chunks/PkChatbotError-CTKQAfey.js";
10
10
  import { _ as Se, c as Ce, g as we, o as Te, p as Ee, s as De } from "./_chunks/src-BCYjA3mm.js";
11
11
  import { t as Oe } from "./_chunks/useSafeLocalStorage-ZixhvX4i.js";
12
12
  import { t as ke } from "./_chunks/useDialogConfirm-CCGTnprd.js";
13
- import { n as Ae, r as je, t as Me } from "./_chunks/PkChatbotViewConversations-q5KPJt_D.js";
14
- import { n as Ne, t as Pe } from "./_chunks/PkChatbotViewChat-BZ9IH-sz.js";
15
- import { t as Fe } from "./_chunks/useLocalizedString-DPX1ED4p.js";
16
- import { n as Ie, t as Le } from "./_chunks/PkRelativeTime-D72zYq42.js";
17
- import { r as Re, t as ze } from "./_chunks/PkToolShowArtifact-Csjfo9Xl.js";
18
- import { $ as Be, A as Ve, B as He, C as Ue, Ct as We, D as Ge, E as Ke, F as qe, G as Je, H as Ye, I as Xe, J as Ze, K as Qe, L as $e, M as et, N as A, Q as tt, S as nt, St as rt, T as it, Tt as at, U as ot, V as st, W as ct, X as lt, _t as ut, a as dt, at as ft, b as pt, bt as mt, c as ht, ct as gt, d as _t, dt as vt, et as yt, f as bt, gt as xt, h as St, it as Ct, j as wt, k as Tt, l as j, lt as M, mt as Et, nt as Dt, o as Ot, ot as kt, pt as At, q as jt, rt as Mt, st as Nt, tt as Pt, u as Ft, ut as It, vt as Lt, w as Rt, wt as zt, x as Bt, xt as Vt, y as Ht, yt as Ut, z as Wt } from "./_chunks/dist-nZs6UeVS.js";
19
- import { n as Gt, t as Kt } from "./_chunks/dist-BzsV0Mzp.js";
20
- import { n as qt, r as Jt } from "./_chunks/dist-DKzsFjYx.js";
21
- import { t as Yt } from "./_chunks/PkStreamingMarkdown-CVAsbuWi.js";
22
- import { n as Xt, r as Zt, t as Qt } from "./_chunks/PkChatbotFilePreview-DG887KhT.js";
23
- import { t as $t } from "./_chunks/PkSvgViewer-CTYxVK7q.js";
24
- import { t as en } from "./_chunks/PkUrl-a6l-l4Au.js";
25
- import { t as tn } from "./_chunks/PkAvatar-Dv3e4aUl.js";
26
- import { t as nn } from "./_chunks/PkChatbotFeedbackForm-Ds2-nOaU.js";
27
- import { t as rn } from "./_chunks/PkChatbotMessages-DLP7utmG.js";
28
- import { n as an, t as on } from "./_chunks/PkChatbotSteps-CBOhYZ10.js";
29
- import { c as sn, r as cn } from "./_chunks/utils-BBAveXy4.js";
30
- import { t as ln } from "./_chunks/PkChatbotStepToolDetail-C-ucv_wp.js";
31
- import { t as un } from "./_chunks/PkChatbotInput-BTszEUj2.js";
32
- import { t as dn } from "./_chunks/PkChatbotEmptyState-C70aTfG-.js";
33
- import { t as fn } from "./_chunks/PkChatbotViewProfile-DTbQlkVL.js";
34
- import { t as pn } from "./_chunks/PkChatbot-q_W4cKsy.js";
35
- import { i as mn, r as hn, t as gn } from "./_chunks/PkToolShowSources-DRewYfe-.js";
36
- import { t as _n } from "./_chunks/PkToolShowEmail-D42WDTO9.js";
37
- import { t as vn } from "./_chunks/PkToolShowMessage-D8UbJcas.js";
38
- import { t as yn } from "./_chunks/PkToolShowWebPages-IV3OzwJe.js";
39
- import { t as bn } from "./_chunks/PkToolShowProductList-BQts3MBy.js";
40
- import { t as xn } from "./_chunks/PkToolShowContactForm-CdgD4fd8.js";
41
- import { t as Sn } from "./_chunks/PkToolShowCalendarEvent-B2tHaoqo.js";
42
- import { t as Cn } from "./_chunks/PkToolShowComparison-BLDtjv3w.js";
43
- import { t as wn } from "./_chunks/PkToolShowLocation-RVbaQoU5.js";
44
- import { t as Tn } from "./_chunks/PkToolShowQrCode-BybXCt5e.js";
45
- import { t as En } from "./_chunks/PkToolShowImageGallery-WANi2hA0.js";
46
- import { t as Dn } from "./_chunks/PkToolShowSuggestedReply-DKiYUsaZ.js";
13
+ import { n as Ae, r as je, t as Me } from "./_chunks/PkChatbotViewConversations-CEaEsnBy.js";
14
+ import { n as Ne, t as Pe } from "./_chunks/PkChatbotViewChat-C_t6qEEV.js";
15
+ import { t as Fe } from "./_chunks/useLocalizedString-BQzGZyu0.js";
16
+ import { n as Ie, t as Le } from "./_chunks/PkRelativeTime-2HoOjv_T.js";
17
+ import { r as Re, t as ze } from "./_chunks/PkToolShowArtifact-CoYM3_A3.js";
18
+ import { $ as Be, A as Ve, B as He, C as Ue, Ct as We, D as Ge, E as Ke, F as qe, G as Je, H as Ye, I as Xe, J as Ze, K as Qe, L as $e, M as et, N as A, Q as tt, S as nt, St as rt, T as it, Tt as at, U as ot, V as st, W as ct, X as lt, _t as ut, a as dt, at as ft, b as pt, bt as mt, c as ht, ct as gt, d as _t, dt as vt, et as yt, f as bt, gt as xt, h as St, it as Ct, j as wt, k as Tt, l as j, lt as M, mt as Et, nt as Dt, o as Ot, ot as kt, pt as At, q as jt, rt as Mt, st as Nt, tt as Pt, u as Ft, ut as It, vt as Lt, w as Rt, wt as zt, x as Bt, xt as Vt, y as Ht, yt as Ut, z as Wt } from "./_chunks/dist-Bs-QG-km.js";
19
+ import { n as Gt, t as Kt } from "./_chunks/dist-CrcvoPSj.js";
20
+ import { n as qt, r as Jt } from "./_chunks/dist-gx9K9AtO.js";
21
+ import { t as Yt } from "./_chunks/PkStreamingMarkdown-C_LQOTVJ.js";
22
+ import { n as Xt, r as Zt, t as Qt } from "./_chunks/PkChatbotFilePreview-Bf1bdZn8.js";
23
+ import { t as $t } from "./_chunks/PkSvgViewer-Dtx4uluo.js";
24
+ import { t as en } from "./_chunks/PkUrl-DA-6t_2f.js";
25
+ import { t as tn } from "./_chunks/PkAvatar-Bpf6cD4N.js";
26
+ import { t as nn } from "./_chunks/PkChatbotFeedbackForm-CHXxzWqQ.js";
27
+ import { t as rn } from "./_chunks/PkChatbotMessages-BR5JUybd.js";
28
+ import { n as an, t as on } from "./_chunks/PkChatbotSteps-5Ahr-zpZ.js";
29
+ import { c as sn, r as cn } from "./_chunks/utils-BDNQaNua.js";
30
+ import { t as ln } from "./_chunks/PkChatbotStepToolDetail-C2nWevnD.js";
31
+ import { t as un } from "./_chunks/PkChatbotInput-DWS7vqC5.js";
32
+ import { t as dn } from "./_chunks/PkChatbotEmptyState-JTlPPXdI.js";
33
+ import { t as fn } from "./_chunks/PkChatbotViewProfile-CfFeqjse.js";
34
+ import { t as pn } from "./_chunks/PkChatbot-DpfxBVue.js";
35
+ import { i as mn, r as hn, t as gn } from "./_chunks/PkToolShowSources-B9d3iLVk.js";
36
+ import { t as _n } from "./_chunks/PkToolShowEmail-5waUO5cm.js";
37
+ import { t as vn } from "./_chunks/PkToolShowMessage-DCbW7AYl.js";
38
+ import { t as yn } from "./_chunks/PkToolShowWebPages-BF2aHJGK.js";
39
+ import { t as bn } from "./_chunks/PkToolShowProductList-Blsv3Cio.js";
40
+ import { t as xn } from "./_chunks/PkToolShowContactForm-DjX9G8CD.js";
41
+ import { t as Sn } from "./_chunks/PkToolShowCalendarEvent-BZYdRwid.js";
42
+ import { t as Cn } from "./_chunks/PkToolShowComparison-C4OP5c1t.js";
43
+ import { t as wn } from "./_chunks/PkToolShowLocation-DE-dbJEw.js";
44
+ import { t as Tn } from "./_chunks/PkToolShowQrCode-BbMTgOW3.js";
45
+ import { t as En } from "./_chunks/PkToolShowImageGallery-D3bqInQn.js";
46
+ import { t as Dn } from "./_chunks/PkToolShowSuggestedReply-B516t3Nb.js";
47
47
  import { VvAccordion as On, VvAccordionGroup as kn, VvBadge as An, VvButton as jn, VvButtonGroup as Mn, VvCheckbox as Nn, VvCombobox as Pn, VvDialog as Fn, VvDropdown as In, VvDropdownAction as Ln, VvIcon as Rn, VvInputFile as zn, VvInputText as Bn, VvTab as Vn, VvTooltip as Hn } from "@volverjs/ui-vue/components";
48
48
  import { Fragment as N, Teleport as Un, Transition as Wn, TransitionGroup as Gn, cloneVNode as Kn, computed as P, createApp as qn, createBlock as F, createCommentVNode as I, createElementBlock as L, createElementVNode as R, createSlots as Jn, createStaticVNode as Yn, createTextVNode as Xn, createVNode as z, defineComponent as B, guardReactiveProps as Zn, h as Qn, inject as V, isRef as $n, isVNode as er, mergeModels as tr, mergeProps as nr, nextTick as rr, normalizeClass as ir, normalizeProps as ar, normalizeStyle as or, onBeforeUnmount as sr, onMounted as cr, onUnmounted as lr, openBlock as H, provide as ur, reactive as dr, readonly as fr, ref as U, renderList as pr, renderSlot as mr, resolveComponent as hr, resolveDynamicComponent as gr, shallowRef as _r, toDisplayString as W, toRef as vr, toRefs as yr, unref as G, useId as br, useModel as K, useSlots as xr, vModelSelect as Sr, vModelText as Cr, watch as q, withCtx as J, withDirectives as wr, withKeys as Tr, withModifiers as Er } from "vue";
49
49
  import { useI18n as Dr } from "vue-i18n";
@@ -12289,7 +12289,7 @@ function $(e) {
12289
12289
  return new Ft(bt.define(e));
12290
12290
  }
12291
12291
  function Uy(e) {
12292
- return import("./_chunks/dist-CpoLpTWk.js").then((t) => t.sql({ dialect: t[e] }));
12292
+ return import("./_chunks/dist-8YCZENrl.js").then((t) => t.sql({ dialect: t[e] }));
12293
12293
  }
12294
12294
  var Wy = [
12295
12295
  /* @__PURE__ */ j.of({
@@ -12300,7 +12300,7 @@ var Wy = [
12300
12300
  "ino"
12301
12301
  ],
12302
12302
  load() {
12303
- return import("./_chunks/dist-C08Qizu9.js").then((e) => e.cpp());
12303
+ return import("./_chunks/dist-qArLqzVS.js").then((e) => e.cpp());
12304
12304
  }
12305
12305
  }),
12306
12306
  /* @__PURE__ */ j.of({
@@ -12317,7 +12317,7 @@ var Wy = [
12317
12317
  "hxx"
12318
12318
  ],
12319
12319
  load() {
12320
- return import("./_chunks/dist-C08Qizu9.js").then((e) => e.cpp());
12320
+ return import("./_chunks/dist-qArLqzVS.js").then((e) => e.cpp());
12321
12321
  }
12322
12322
  }),
12323
12323
  /* @__PURE__ */ j.of({
@@ -12332,14 +12332,14 @@ var Wy = [
12332
12332
  name: "CSS",
12333
12333
  extensions: ["css"],
12334
12334
  load() {
12335
- return import("./_chunks/dist-Byr8BhEG.js").then((e) => e.i).then((e) => e.css());
12335
+ return import("./_chunks/dist-m2_O1KGc.js").then((e) => e.i).then((e) => e.css());
12336
12336
  }
12337
12337
  }),
12338
12338
  /* @__PURE__ */ j.of({
12339
12339
  name: "Go",
12340
12340
  extensions: ["go"],
12341
12341
  load() {
12342
- return import("./_chunks/dist-Bnrde8nq.js").then((e) => e.go());
12342
+ return import("./_chunks/dist-iDVEgNgZ.js").then((e) => e.go());
12343
12343
  }
12344
12344
  }),
12345
12345
  /* @__PURE__ */ j.of({
@@ -12352,14 +12352,14 @@ var Wy = [
12352
12352
  "hbs"
12353
12353
  ],
12354
12354
  load() {
12355
- return import("./_chunks/dist-DKzsFjYx.js").then((e) => e.t).then((e) => e.html());
12355
+ return import("./_chunks/dist-gx9K9AtO.js").then((e) => e.t).then((e) => e.html());
12356
12356
  }
12357
12357
  }),
12358
12358
  /* @__PURE__ */ j.of({
12359
12359
  name: "Java",
12360
12360
  extensions: ["java"],
12361
12361
  load() {
12362
- return import("./_chunks/dist-DinYvSmw.js").then((e) => e.java());
12362
+ return import("./_chunks/dist-BxqLQ_dy.js").then((e) => e.java());
12363
12363
  }
12364
12364
  }),
12365
12365
  /* @__PURE__ */ j.of({
@@ -12375,7 +12375,7 @@ var Wy = [
12375
12375
  "cjs"
12376
12376
  ],
12377
12377
  load() {
12378
- return import("./_chunks/dist-CABEM3v-.js").then((e) => e.t).then((e) => e.javascript());
12378
+ return import("./_chunks/dist-DK5UPLjU.js").then((e) => e.t).then((e) => e.javascript());
12379
12379
  }
12380
12380
  }),
12381
12381
  /* @__PURE__ */ j.of({
@@ -12386,7 +12386,7 @@ var Wy = [
12386
12386
  "jinja2"
12387
12387
  ],
12388
12388
  load() {
12389
- return import("./_chunks/dist-Jh4J_VuU.js").then((e) => e.jinja());
12389
+ return import("./_chunks/dist-CiYFTV6m.js").then((e) => e.jinja());
12390
12390
  }
12391
12391
  }),
12392
12392
  /* @__PURE__ */ j.of({
@@ -12394,28 +12394,28 @@ var Wy = [
12394
12394
  alias: ["json5"],
12395
12395
  extensions: ["json", "map"],
12396
12396
  load() {
12397
- return import("./_chunks/dist-BU1gMaJv.js").then((e) => e.json());
12397
+ return import("./_chunks/dist-46HfWmpr.js").then((e) => e.json());
12398
12398
  }
12399
12399
  }),
12400
12400
  /* @__PURE__ */ j.of({
12401
12401
  name: "JSX",
12402
12402
  extensions: ["jsx"],
12403
12403
  load() {
12404
- return import("./_chunks/dist-CABEM3v-.js").then((e) => e.t).then((e) => e.javascript({ jsx: !0 }));
12404
+ return import("./_chunks/dist-DK5UPLjU.js").then((e) => e.t).then((e) => e.javascript({ jsx: !0 }));
12405
12405
  }
12406
12406
  }),
12407
12407
  /* @__PURE__ */ j.of({
12408
12408
  name: "LESS",
12409
12409
  extensions: ["less"],
12410
12410
  load() {
12411
- return import("./_chunks/dist-DEyUvwtq.js").then((e) => e.less());
12411
+ return import("./_chunks/dist-Bq9kJLlA.js").then((e) => e.less());
12412
12412
  }
12413
12413
  }),
12414
12414
  /* @__PURE__ */ j.of({
12415
12415
  name: "Liquid",
12416
12416
  extensions: ["liquid"],
12417
12417
  load() {
12418
- return import("./_chunks/dist-uvKhW3hB.js").then((e) => e.liquid());
12418
+ return import("./_chunks/dist-Da4-ZEZn.js").then((e) => e.liquid());
12419
12419
  }
12420
12420
  }),
12421
12421
  /* @__PURE__ */ j.of({
@@ -12458,7 +12458,7 @@ var Wy = [
12458
12458
  "phtml"
12459
12459
  ],
12460
12460
  load() {
12461
- return import("./_chunks/dist-Begygip9.js").then((e) => e.php());
12461
+ return import("./_chunks/dist-BmRGnWn9.js").then((e) => e.php());
12462
12462
  }
12463
12463
  }),
12464
12464
  /* @__PURE__ */ j.of({
@@ -12484,28 +12484,28 @@ var Wy = [
12484
12484
  ],
12485
12485
  filename: /^(BUCK|BUILD)$/,
12486
12486
  load() {
12487
- return import("./_chunks/dist-Dj7rLAD9.js").then((e) => e.python());
12487
+ return import("./_chunks/dist-Cc0Lyhoq.js").then((e) => e.python());
12488
12488
  }
12489
12489
  }),
12490
12490
  /* @__PURE__ */ j.of({
12491
12491
  name: "Rust",
12492
12492
  extensions: ["rs"],
12493
12493
  load() {
12494
- return import("./_chunks/dist-l7mimsz6.js").then((e) => e.rust());
12494
+ return import("./_chunks/dist-B34dY8rD.js").then((e) => e.rust());
12495
12495
  }
12496
12496
  }),
12497
12497
  /* @__PURE__ */ j.of({
12498
12498
  name: "Sass",
12499
12499
  extensions: ["sass"],
12500
12500
  load() {
12501
- return import("./_chunks/dist-SbwxxzT7.js").then((e) => e.sass({ indented: !0 }));
12501
+ return import("./_chunks/dist-Dc77ClI_.js").then((e) => e.sass({ indented: !0 }));
12502
12502
  }
12503
12503
  }),
12504
12504
  /* @__PURE__ */ j.of({
12505
12505
  name: "SCSS",
12506
12506
  extensions: ["scss"],
12507
12507
  load() {
12508
- return import("./_chunks/dist-SbwxxzT7.js").then((e) => e.sass());
12508
+ return import("./_chunks/dist-Dc77ClI_.js").then((e) => e.sass());
12509
12509
  }
12510
12510
  }),
12511
12511
  /* @__PURE__ */ j.of({
@@ -12525,7 +12525,7 @@ var Wy = [
12525
12525
  name: "TSX",
12526
12526
  extensions: ["tsx"],
12527
12527
  load() {
12528
- return import("./_chunks/dist-CABEM3v-.js").then((e) => e.t).then((e) => e.javascript({
12528
+ return import("./_chunks/dist-DK5UPLjU.js").then((e) => e.t).then((e) => e.javascript({
12529
12529
  jsx: !0,
12530
12530
  typescript: !0
12531
12531
  }));
@@ -12540,14 +12540,14 @@ var Wy = [
12540
12540
  "cts"
12541
12541
  ],
12542
12542
  load() {
12543
- return import("./_chunks/dist-CABEM3v-.js").then((e) => e.t).then((e) => e.javascript({ typescript: !0 }));
12543
+ return import("./_chunks/dist-DK5UPLjU.js").then((e) => e.t).then((e) => e.javascript({ typescript: !0 }));
12544
12544
  }
12545
12545
  }),
12546
12546
  /* @__PURE__ */ j.of({
12547
12547
  name: "WebAssembly",
12548
12548
  extensions: ["wat", "wast"],
12549
12549
  load() {
12550
- return import("./_chunks/dist-t9ZGnt-g.js").then((e) => e.wast());
12550
+ return import("./_chunks/dist-LN9oA4PR.js").then((e) => e.wast());
12551
12551
  }
12552
12552
  }),
12553
12553
  /* @__PURE__ */ j.of({
@@ -12564,7 +12564,7 @@ var Wy = [
12564
12564
  "svg"
12565
12565
  ],
12566
12566
  load() {
12567
- return import("./_chunks/dist-BbAXqaCM.js").then((e) => e.xml());
12567
+ return import("./_chunks/dist-0LxfGh4q.js").then((e) => e.xml());
12568
12568
  }
12569
12569
  }),
12570
12570
  /* @__PURE__ */ j.of({
@@ -12572,7 +12572,7 @@ var Wy = [
12572
12572
  alias: ["yml"],
12573
12573
  extensions: ["yaml", "yml"],
12574
12574
  load() {
12575
- return import("./_chunks/dist-6gaEFVNT.js").then((e) => e.yaml());
12575
+ return import("./_chunks/dist-qJLUge9r.js").then((e) => e.yaml());
12576
12576
  }
12577
12577
  }),
12578
12578
  /* @__PURE__ */ j.of({
@@ -13459,13 +13459,13 @@ var Wy = [
13459
13459
  name: "Vue",
13460
13460
  extensions: ["vue"],
13461
13461
  load() {
13462
- return import("./_chunks/dist-BGl_mYmF.js").then((e) => e.vue());
13462
+ return import("./_chunks/dist-BoaZDzxm.js").then((e) => e.vue());
13463
13463
  }
13464
13464
  }),
13465
13465
  /* @__PURE__ */ j.of({
13466
13466
  name: "Angular Template",
13467
13467
  load() {
13468
- return import("./_chunks/dist-CYrZgvgZ.js").then((e) => e.angular());
13468
+ return import("./_chunks/dist-BfbUNalO.js").then((e) => e.angular());
13469
13469
  }
13470
13470
  })
13471
13471
  ], Gy = typeof String.prototype.normalize == "function" ? (e) => e.normalize("NFKD") : (e) => e, Ky = class {
@@ -17172,12 +17172,13 @@ var aC = { class: "pk-editor-markdown" }, oC = {
17172
17172
  })]),
17173
17173
  _: 1
17174
17174
  })]),
17175
- default: J(() => [z(cC, {
17175
+ default: J(() => [r.value ? (H(), F(cC, {
17176
+ key: 0,
17176
17177
  modelValue: i.value,
17177
17178
  "onUpdate:modelValue": s[0] ||= (e) => i.value = e,
17178
17179
  class: "mb-0",
17179
17180
  readonly: e.readonly
17180
- }, null, 8, ["modelValue", "readonly"])]),
17181
+ }, null, 8, ["modelValue", "readonly"])) : I("", !0)]),
17181
17182
  _: 1
17182
17183
  }, 8, ["modelValue", "title"])
17183
17184
  ], 2);
@@ -17717,28 +17718,37 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
17717
17718
  O.gemini35Flash,
17718
17719
  O.claudeHaiku45,
17719
17720
  O.claudeSonnet46,
17721
+ O.claudeSonnet5,
17720
17722
  O.claudeOpus46,
17721
17723
  O.claudeOpus47,
17722
17724
  O.claudeOpus48,
17725
+ O.claudeFable5,
17723
17726
  O.deepseek32,
17724
17727
  O.deepseek4pro,
17725
17728
  O.deepseek4Flash,
17726
17729
  O.alibabaQwen36Plus,
17727
17730
  O.alibabaQwen37Max,
17728
17731
  O.alibabaQwen37Plus,
17729
- O.xaiGrok43
17732
+ O.xaiGrok43,
17733
+ O.zaiGlm52,
17734
+ O.zaiGlm52Fast
17730
17735
  ], ZC = .6, QC = ce.parse({}), $C = { class: "flex gap-6 items-center" }, ew = { class: "truncate" }, tw = /* @__PURE__ */ B({
17731
17736
  __name: "PkLanguageModel",
17732
17737
  props: { modelName: {} },
17733
17738
  setup(e) {
17734
- let t = e, n = P(() => t.modelName?.split("/")?.[1]), r = P(() => t.modelName?.split("/")?.[0]), i = P(() => r.value === "alibaba" ? "ri:alibaba-cloud-fill" : r.value === "xai" ? "bxl:xai" : `ri:${r.value}-fill`);
17739
+ let t = e, n = P(() => t.modelName?.split("/")?.[1]), r = P(() => t.modelName?.split("/")?.[0]), i = P(() => r.value === "alibaba" ? "ri:alibaba-cloud-fill" : r.value === "xai" ? "bxl:xai" : r.value === "zai" ? "zai" : `ri:${r.value}-fill`), a = P(() => r.value === "zai" ? "custom" : void 0);
17735
17740
  return (e, t) => {
17736
- let a = Rn;
17737
- return H(), L("div", $C, [z(a, {
17741
+ let o = Rn;
17742
+ return H(), L("div", $C, [z(o, {
17738
17743
  name: i.value,
17744
+ prefix: a.value,
17739
17745
  class: "shrink-0",
17740
17746
  title: r.value
17741
- }, null, 8, ["name", "title"]), R("span", ew, W(e.$te(`models.${n.value?.replace(".", "")}`) ? e.$t(`models.${n.value?.replace(".", "")}`) : n.value), 1)]);
17747
+ }, null, 8, [
17748
+ "name",
17749
+ "prefix",
17750
+ "title"
17751
+ ]), R("span", ew, W(e.$te(`models.${n.value?.replace(".", "")}`) ? e.$t(`models.${n.value?.replace(".", "")}`) : n.value), 1)]);
17742
17752
  };
17743
17753
  }
17744
17754
  }), nw = /* @__PURE__ */ B({
@@ -18939,6 +18949,11 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
18939
18949
  key: "personalization",
18940
18950
  icon: "ri:user-heart-line",
18941
18951
  tools: [k.UserMemory, k.SearchInUserFiles]
18952
+ },
18953
+ {
18954
+ key: "delegation",
18955
+ icon: "ri:flow-chart",
18956
+ tools: [k.RunWorker]
18942
18957
  }
18943
18958
  ]), Ze = (e) => e === k.ShowSources || e === k.ReadDocumentFile ? !me.value.includes(k.SearchInKnowledgeBase) : e === k.ShowWeather ? !me.value.includes(k.GetWeather) : !0, Qe = P(() => p.value ? [p.value] : []);
18944
18959
  function $e(e) {
@@ -18981,7 +18996,10 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
18981
18996
  style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
18982
18997
  return (i, a) => {
18983
18998
  let o = Pn, de = Bn, ge = Nn, Ee = Rn, De = Hn, Ke = On, at = Vn, lt = An, ut = jn, dt = Fn;
18984
- return H(), L("div", jw, [z(at, { items: it.value }, {
18999
+ return H(), L("div", jw, [z(at, {
19000
+ items: it.value,
19001
+ lazy: "once"
19002
+ }, {
18985
19003
  "panel::general": J(() => [
18986
19004
  z(si, {
18987
19005
  modelValue: c.value,
@@ -19575,6 +19593,7 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
19575
19593
  tab: e,
19576
19594
  label: G(t)(`language.${e}`)
19577
19595
  })),
19596
+ lazy: "once",
19578
19597
  class: "border border-surface-3 rounded-xl text-14"
19579
19598
  }, Jn({ _: 2 }, [pr(G(n), (e) => ({
19580
19599
  name: `panel::${e}`,
@@ -20601,7 +20620,7 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
20601
20620
  }, null, 8, ["code"])]),
20602
20621
  _: 2
20603
20622
  }, 1024)], 64)) : I("", !0),
20604
- e.type.includes("tool-subagent") ? mr(t.$slots, "subagent", {
20623
+ e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? mr(t.$slots, "subagent", {
20605
20624
  key: 1,
20606
20625
  part: e
20607
20626
  }) : mr(t.$slots, G(Ce)(e.type), {
@@ -20666,16 +20685,16 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
20666
20685
  return (s, c) => {
20667
20686
  let l = jn, u = Rn, d = On;
20668
20687
  return H(), F(qE, { message: e.message }, Jn({
20669
- subagent: J(({ part: t }) => [t.output?.reasoningChatId && t.output?.subAgentId ? (H(), F(d, {
20688
+ subagent: J(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (H(), F(d, {
20670
20689
  key: 0,
20671
- title: s.$t("label.subAgent"),
20690
+ title: t.output.subAgentId ? s.$t("label.subAgent") : s.$t("agent.tool.runWorker"),
20672
20691
  modifiers: "details",
20673
20692
  class: "border-t border-surface-3"
20674
20693
  }, {
20675
- default: J(() => [R("div", iD, [R("strong", aD, W(t.output.subAgentName), 1), z(l, {
20694
+ default: J(() => [R("div", iD, [R("strong", aD, W(t.output.subAgentName ?? t.input?.objective), 1), z(l, {
20676
20695
  modifiers: "action-small",
20677
20696
  icon: "ri:eye-line",
20678
- class: "text-10",
20697
+ class: "text-10 shrink-0",
20679
20698
  title: s.$t("action.view"),
20680
20699
  to: {
20681
20700
  name: "/frontoffice/[agentId]/reasoning-logs",
@@ -20684,7 +20703,7 @@ var BC = /* @__PURE__ */ LC(RC, [["render", zC]]), VC = {
20684
20703
  }
20685
20704
  }, null, 8, ["title", "to"])]), mr(s.$slots, "subagent-details", {
20686
20705
  reasoningChatId: t.output.reasoningChatId,
20687
- subAgentId: t.output.subAgentId
20706
+ subAgentId: t.output.subAgentId ?? e.agentId
20688
20707
  })]),
20689
20708
  _: 2
20690
20709
  }, 1032, ["title"])) : I("", !0)]),
@@ -23759,6 +23778,10 @@ var FA = { class: "pk-table-sortable" }, IA = { key: 0 }, LA = {
23759
23778
  classWrapper: {
23760
23779
  type: String,
23761
23780
  default: "light-scrollbar border border-surface-3 rounded-lg"
23781
+ },
23782
+ classPagination: {
23783
+ type: String,
23784
+ default: void 0
23762
23785
  }
23763
23786
  },
23764
23787
  emits: [
@@ -23869,6 +23892,7 @@ var FA = { class: "pk-table-sortable" }, IA = { key: 0 }, LA = {
23869
23892
  limit: o.value,
23870
23893
  "limit-steps": e.limitSteps,
23871
23894
  disabled: f.value,
23895
+ class: ir(e.classPagination),
23872
23896
  "onUpdate:page": r[0] ||= (e) => s.value = e,
23873
23897
  "onUpdate:limit": r[1] ||= (e) => o.value = e
23874
23898
  }, null, 8, [
@@ -23876,7 +23900,8 @@ var FA = { class: "pk-table-sortable" }, IA = { key: 0 }, LA = {
23876
23900
  "total",
23877
23901
  "limit",
23878
23902
  "limit-steps",
23879
- "disabled"
23903
+ "disabled",
23904
+ "class"
23880
23905
  ]))])]);
23881
23906
  };
23882
23907
  }