@8wave/ai-elements 0.124.0-beta.4 → 0.124.0-beta.6

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 (136) hide show
  1. package/dist/_chunks/{Agent-CsSvagZw.js → Agent-BBWFD4nI.js} +7 -1
  2. package/dist/_chunks/{Agent-CsSvagZw.js.map → Agent-BBWFD4nI.js.map} +1 -1
  3. package/dist/_chunks/{PkFilePreview-C21RR0l6.js → PkFilePreview-CC2W-RXG.js} +195 -195
  4. package/dist/_chunks/{PkFilePreview-C21RR0l6.js.map → PkFilePreview-CC2W-RXG.js.map} +1 -1
  5. package/dist/_chunks/{PkFilePreviewDialog-C5Ex7Rf5.js → PkFilePreviewDialog-DYU2CUZS.js} +2 -2
  6. package/dist/_chunks/{PkFilePreviewDialog-C5Ex7Rf5.js.map → PkFilePreviewDialog-DYU2CUZS.js.map} +1 -1
  7. package/dist/_chunks/{PkStreamingMarkdown-PQ3X83Fq.js → PkStreamingMarkdown-CeWyL_2B.js} +3 -3
  8. package/dist/_chunks/{PkStreamingMarkdown-PQ3X83Fq.js.map → PkStreamingMarkdown-CeWyL_2B.js.map} +1 -1
  9. package/dist/_chunks/{PkToolChatFile-CYxqugvO.js → PkToolChatFile-BMj7-urz.js} +3 -3
  10. package/dist/_chunks/{PkToolChatFile-CYxqugvO.js.map → PkToolChatFile-BMj7-urz.js.map} +1 -1
  11. package/dist/_chunks/{PkToolRequestGeolocation-CSAMqLyV.js → PkToolRequestGeolocation-D98zUqNQ.js} +2 -2
  12. package/dist/_chunks/{PkToolRequestGeolocation-CSAMqLyV.js.map → PkToolRequestGeolocation-D98zUqNQ.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestOAuthConnection-ST3-OlS4.js → PkToolRequestOAuthConnection-DwcRnUcd.js} +2 -2
  14. package/dist/_chunks/{PkToolRequestOAuthConnection-ST3-OlS4.js.map → PkToolRequestOAuthConnection-DwcRnUcd.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowArtifact-BIpD-GkV.js → PkToolShowArtifact-BoJC-NtV.js} +2 -2
  16. package/dist/_chunks/{PkToolShowArtifact-BIpD-GkV.js.map → PkToolShowArtifact-BoJC-NtV.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowContactForm-2_YDqjeM.js → PkToolShowContactForm-CErVBzjl.js} +2 -2
  18. package/dist/_chunks/{PkToolShowContactForm-2_YDqjeM.js.map → PkToolShowContactForm-CErVBzjl.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowForm-Bu4igmQL.js → PkToolShowForm-B7Q79XAb.js} +4 -4
  20. package/dist/_chunks/{PkToolShowForm-Bu4igmQL.js.map → PkToolShowForm-B7Q79XAb.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowImageGallery-BMP-xuYr.js → PkToolShowImageGallery-CxeQcE6A.js} +2 -2
  22. package/dist/_chunks/{PkToolShowImageGallery-BMP-xuYr.js.map → PkToolShowImageGallery-CxeQcE6A.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowProductList-AkLG4dBV.js → PkToolShowProductList-DDqYsHNq.js} +2 -2
  24. package/dist/_chunks/{PkToolShowProductList-AkLG4dBV.js.map → PkToolShowProductList-DDqYsHNq.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowSources-DKtdU_Bq.js → PkToolShowSources-CTc2s510.js} +3 -3
  26. package/dist/_chunks/{PkToolShowSources-DKtdU_Bq.js.map → PkToolShowSources-CTc2s510.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowSuggestedReply-DVr8ps6g.js → PkToolShowSuggestedReply-vui8vph1.js} +2 -2
  28. package/dist/_chunks/{PkToolShowSuggestedReply-DVr8ps6g.js.map → PkToolShowSuggestedReply-vui8vph1.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowVideo-C5jqPYXw.js → PkToolShowVideo-C2kh6pVN.js} +2 -2
  30. package/dist/_chunks/{PkToolShowVideo-C5jqPYXw.js.map → PkToolShowVideo-C2kh6pVN.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowWebPages-BqL9PjpM.js → PkToolShowWebPages-By7zBIVa.js} +2 -2
  32. package/dist/_chunks/{PkToolShowWebPages-BqL9PjpM.js.map → PkToolShowWebPages-By7zBIVa.js.map} +1 -1
  33. package/dist/_chunks/{chatImagePolicy-ZiVuD6nX.js → chatImagePolicy-C4jFnVQl.js} +2 -2
  34. package/dist/_chunks/{chatImagePolicy-ZiVuD6nX.js.map → chatImagePolicy-C4jFnVQl.js.map} +1 -1
  35. package/dist/_chunks/{markdown-CUaXq5OY.js → markdown-DDYeZICP.js} +2 -2
  36. package/dist/_chunks/{markdown-CUaXq5OY.js.map → markdown-DDYeZICP.js.map} +1 -1
  37. package/dist/_chunks/{utils-Bz1Gb3iO.js → utils-DAQfsk2H.js} +109 -70
  38. package/dist/_chunks/utils-DAQfsk2H.js.map +1 -0
  39. package/dist/ai-elements.es.js +2529 -2509
  40. package/dist/ai-elements.es.js.map +1 -1
  41. package/dist-vue/PkChatbot.js +1 -1
  42. package/dist-vue/PkChatbotEmptyState.js +1 -1
  43. package/dist-vue/PkChatbotInput.js +1 -1
  44. package/dist-vue/PkChatbotMessages.js +1 -1
  45. package/dist-vue/PkChatbotStepPayload.js +1 -1
  46. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  47. package/dist-vue/PkChatbotSteps.js +1 -1
  48. package/dist-vue/PkChatbotViewChat.js +1 -1
  49. package/dist-vue/PkChatbotViewConversations.js +1 -1
  50. package/dist-vue/PkChatbotViewFiles.js +1 -1
  51. package/dist-vue/PkChatbotViewProfile.js +1 -1
  52. package/dist-vue/_chunks/{Agent-D3US-D1x.js → Agent-DQl-tv4S.js} +154 -148
  53. package/dist-vue/_chunks/{Agent-D3US-D1x.js.map → Agent-DQl-tv4S.js.map} +1 -1
  54. package/dist-vue/_chunks/{Document-D5FVOcP9.js → Document-DXDifFZE.js} +2 -2
  55. package/dist-vue/_chunks/{Document-D5FVOcP9.js.map → Document-DXDifFZE.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbot-BA2tk9ix.js → PkChatbot-DQssgXm3.js} +8 -8
  57. package/dist-vue/_chunks/{PkChatbot-BA2tk9ix.js.map → PkChatbot-DQssgXm3.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotEmptyState-qKpfIuvI.js → PkChatbotEmptyState-B6qxJAPT.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotEmptyState-qKpfIuvI.js.map → PkChatbotEmptyState-B6qxJAPT.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotInput-DSH5IrO6.js → PkChatbotInput-Bk8OS1xU.js} +2 -2
  61. package/dist-vue/_chunks/{PkChatbotInput-DSH5IrO6.js.map → PkChatbotInput-Bk8OS1xU.js.map} +1 -1
  62. package/dist-vue/_chunks/PkChatbotMessages-D4LJZxv7.js +1041 -0
  63. package/dist-vue/_chunks/{PkChatbotMessages-pWNZCmM2.js.map → PkChatbotMessages-D4LJZxv7.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotStepPayload-BT-Xg18D.js → PkChatbotStepPayload-_0WRbSR6.js} +2 -2
  65. package/dist-vue/_chunks/{PkChatbotStepPayload-BT-Xg18D.js.map → PkChatbotStepPayload-_0WRbSR6.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Cs322RDk.js → PkChatbotStepToolDetail-DiaervF2.js} +3 -3
  67. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Cs322RDk.js.map → PkChatbotStepToolDetail-DiaervF2.js.map} +1 -1
  68. package/dist-vue/_chunks/PkChatbotSteps-BqL-ClgI.js +189 -0
  69. package/dist-vue/_chunks/{PkChatbotSteps-Dd62GEXJ.js.map → PkChatbotSteps-BqL-ClgI.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotViewChat-C8-fUyQh.js → PkChatbotViewChat-BfVLCU_j.js} +337 -317
  71. package/dist-vue/_chunks/PkChatbotViewChat-BfVLCU_j.js.map +1 -0
  72. package/dist-vue/_chunks/{PkChatbotViewConversations-CIv5g2xZ.js → PkChatbotViewConversations-C32O6SsT.js} +3 -3
  73. package/dist-vue/_chunks/{PkChatbotViewConversations-CIv5g2xZ.js.map → PkChatbotViewConversations-C32O6SsT.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkChatbotViewFiles-DjYF-UoB.js → PkChatbotViewFiles-Du5AAS4v.js} +3 -3
  75. package/dist-vue/_chunks/{PkChatbotViewFiles-DjYF-UoB.js.map → PkChatbotViewFiles-Du5AAS4v.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkChatbotViewProfile-D3d-hG14.js → PkChatbotViewProfile-UZrZdOyM.js} +2 -2
  77. package/dist-vue/_chunks/{PkChatbotViewProfile-D3d-hG14.js.map → PkChatbotViewProfile-UZrZdOyM.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkFilePreview-DfRbMUCD.js → PkFilePreview-jeqvHDm7.js} +29 -29
  79. package/dist-vue/_chunks/{PkFilePreview-DfRbMUCD.js.map → PkFilePreview-jeqvHDm7.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkFilePreviewDialog-Cap9D7s8.js → PkFilePreviewDialog-BSvgiM9A.js} +2 -2
  81. package/dist-vue/_chunks/{PkFilePreviewDialog-Cap9D7s8.js.map → PkFilePreviewDialog-BSvgiM9A.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkStreamingMarkdown-QDsT-4jC.js → PkStreamingMarkdown-Dk3iXhTm.js} +3 -3
  83. package/dist-vue/_chunks/{PkStreamingMarkdown-QDsT-4jC.js.map → PkStreamingMarkdown-Dk3iXhTm.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolChatFile-UZeUytvT.js → PkToolChatFile-Bnj-YFLh.js} +3 -3
  85. package/dist-vue/_chunks/{PkToolChatFile-UZeUytvT.js.map → PkToolChatFile-Bnj-YFLh.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolRequestGeolocation-gEDbmudT.js → PkToolRequestGeolocation-SDzM1-Wl.js} +2 -2
  87. package/dist-vue/_chunks/{PkToolRequestGeolocation-gEDbmudT.js.map → PkToolRequestGeolocation-SDzM1-Wl.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C9_w8V0T.js → PkToolRequestOAuthConnection-DNrlGxMX.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C9_w8V0T.js.map → PkToolRequestOAuthConnection-DNrlGxMX.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowArtifact-ldnH-U3h.js → PkToolShowArtifact-BtCGilTJ.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowArtifact-ldnH-U3h.js.map → PkToolShowArtifact-BtCGilTJ.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowContactForm-4hISKYqb.js → PkToolShowContactForm-BZNIeJpf.js} +2 -2
  93. package/dist-vue/_chunks/{PkToolShowContactForm-4hISKYqb.js.map → PkToolShowContactForm-BZNIeJpf.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowDiagram-uHFCQ0FJ.js → PkToolShowDiagram-KD4MfVkP.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowDiagram-uHFCQ0FJ.js.map → PkToolShowDiagram-KD4MfVkP.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowForm-DiUz5_Ct.js → PkToolShowForm-Dtfpi58S.js} +4 -4
  97. package/dist-vue/_chunks/{PkToolShowForm-DiUz5_Ct.js.map → PkToolShowForm-Dtfpi58S.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowImageGallery-CEzeXupr.js → PkToolShowImageGallery-DnS04nTs.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowImageGallery-CEzeXupr.js.map → PkToolShowImageGallery-DnS04nTs.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowProductList-h4Dqvk1V.js → PkToolShowProductList-BlFKAtqQ.js} +2 -2
  101. package/dist-vue/_chunks/{PkToolShowProductList-h4Dqvk1V.js.map → PkToolShowProductList-BlFKAtqQ.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkToolShowSources-BJd4zYAY.js → PkToolShowSources-DM177ZlR.js} +3 -3
  103. package/dist-vue/_chunks/{PkToolShowSources-BJd4zYAY.js.map → PkToolShowSources-DM177ZlR.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Bb7Inxa4.js → PkToolShowSuggestedReply-BlcEfMx8.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Bb7Inxa4.js.map → PkToolShowSuggestedReply-BlcEfMx8.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkToolShowVideo-DgkpZriW.js → PkToolShowVideo-DQdVpaWT.js} +2 -2
  107. package/dist-vue/_chunks/{PkToolShowVideo-DgkpZriW.js.map → PkToolShowVideo-DQdVpaWT.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkToolShowWebPages-DQr3SEGC.js → PkToolShowWebPages-Cx2Ft_wN.js} +2 -2
  109. package/dist-vue/_chunks/{PkToolShowWebPages-DQr3SEGC.js.map → PkToolShowWebPages-Cx2Ft_wN.js.map} +1 -1
  110. package/dist-vue/_chunks/{createChatbotApiClient-CFKeOgEA.js → createChatbotApiClient-Bukf58dz.js} +2 -2
  111. package/dist-vue/_chunks/{createChatbotApiClient-CFKeOgEA.js.map → createChatbotApiClient-Bukf58dz.js.map} +1 -1
  112. package/dist-vue/_chunks/{useChatbotStore--PcS9kGN.js → useChatbotStore-DcvdWkgq.js} +3 -3
  113. package/dist-vue/_chunks/{useChatbotStore--PcS9kGN.js.map → useChatbotStore-DcvdWkgq.js.map} +1 -1
  114. package/dist-vue/_chunks/{utils-DmBnucJs.js → utils-BuxgMuKv.js} +125 -76
  115. package/dist-vue/_chunks/utils-BuxgMuKv.js.map +1 -0
  116. package/dist-vue/api.js +1 -1
  117. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +4 -0
  118. package/dist-vue/composables.js +8 -8
  119. package/dist-vue/composables.js.map +1 -1
  120. package/dist-vue/index.js +5621 -5555
  121. package/dist-vue/index.js.map +1 -1
  122. package/dist-vue/locales.js +18 -0
  123. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +8 -2
  124. package/dist-vue/packages/components/src/chat/PkAuroraCanvas.d.ts +10 -3
  125. package/dist-vue/packages/components/src/chat/utils.d.ts +29 -0
  126. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +12 -0
  127. package/dist-vue/packages/models/src/schema/Agent.d.ts +48 -0
  128. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +12 -0
  129. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +12 -0
  130. package/dist-vue/style.css +1 -1
  131. package/package.json +1 -1
  132. package/dist/_chunks/utils-Bz1Gb3iO.js.map +0 -1
  133. package/dist-vue/_chunks/PkChatbotMessages-pWNZCmM2.js +0 -1041
  134. package/dist-vue/_chunks/PkChatbotSteps-Dd62GEXJ.js +0 -189
  135. package/dist-vue/_chunks/PkChatbotViewChat-C8-fUyQh.js.map +0 -1
  136. package/dist-vue/_chunks/utils-DmBnucJs.js.map +0 -1
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbot-BA2tk9ix.js";
1
+ export { t as default } from "./_chunks/PkChatbot-DQssgXm3.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotEmptyState-qKpfIuvI.js";
1
+ export { t as default } from "./_chunks/PkChatbotEmptyState-B6qxJAPT.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotInput-DSH5IrO6.js";
1
+ export { t as default } from "./_chunks/PkChatbotInput-Bk8OS1xU.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotMessages-pWNZCmM2.js";
1
+ export { t as default } from "./_chunks/PkChatbotMessages-D4LJZxv7.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepPayload-BT-Xg18D.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepPayload-_0WRbSR6.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotStepToolDetail-Cs322RDk.js";
1
+ export { t as default } from "./_chunks/PkChatbotStepToolDetail-DiaervF2.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotSteps-Dd62GEXJ.js";
1
+ export { t as default } from "./_chunks/PkChatbotSteps-BqL-ClgI.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewChat-C8-fUyQh.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewChat-BfVLCU_j.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewConversations-CIv5g2xZ.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewConversations-C32O6SsT.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewFiles-DjYF-UoB.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewFiles-Du5AAS4v.js";
@@ -1 +1 @@
1
- export { t as default } from "./_chunks/PkChatbotViewProfile-D3d-hG14.js";
1
+ export { t as default } from "./_chunks/PkChatbotViewProfile-UZrZdOyM.js";
@@ -345,19 +345,19 @@ var M = /* @__PURE__ */ function(e) {
345
345
  "high",
346
346
  "xhigh",
347
347
  "max"
348
- ], qe = [
348
+ ], R = [
349
349
  "minimal",
350
350
  "low",
351
351
  "medium",
352
352
  "high"
353
- ], R = [
353
+ ], z = [
354
354
  "auto",
355
355
  "detailed",
356
356
  "concise"
357
- ], Je = d({
357
+ ], qe = d({
358
358
  reasoningEffort: l(I).optional(),
359
- reasoningSummary: l(R).optional()
360
- }), Ye = d({
359
+ reasoningSummary: l(z).optional()
360
+ }), Je = d({
361
361
  type: l([
362
362
  "adaptive",
363
363
  "enabled",
@@ -366,11 +366,11 @@ var M = /* @__PURE__ */ function(e) {
366
366
  effort: l(L).optional(),
367
367
  display: l(["summarized", "omitted"]).optional(),
368
368
  budgetTokens: i().int().positive().optional()
369
- }), Xe = d({
370
- thinkingLevel: l(qe).optional(),
369
+ }), Ye = d({
370
+ thinkingLevel: l(R).optional(),
371
371
  thinkingBudget: i().int().optional(),
372
372
  includeThoughts: u().optional()
373
- }), Ze = d({ type: l(["enabled", "disabled"]).optional() }), z = [
373
+ }), Xe = d({ type: l(["enabled", "disabled"]).optional() }), B = [
374
374
  "alibaba",
375
375
  "meta",
376
376
  "moonshotai",
@@ -378,67 +378,67 @@ var M = /* @__PURE__ */ function(e) {
378
378
  "xiaomi",
379
379
  "zai"
380
380
  ];
381
- function Qe(e) {
382
- return z.includes(e);
381
+ function Ze(e) {
382
+ return B.includes(e);
383
383
  }
384
- var B = [
384
+ var V = [
385
385
  "none",
386
386
  "minimal",
387
387
  "low",
388
388
  "medium",
389
389
  "high",
390
390
  "xhigh"
391
- ], V = d({ reasoningEffort: l(B).optional() });
392
- function H(e, t) {
391
+ ], H = d({ reasoningEffort: l(V).optional() });
392
+ function U(e, t) {
393
393
  return e && t.includes(e) ? e : void 0;
394
394
  }
395
- var $e = d({
396
- openai: Je.optional(),
397
- anthropic: Ye.optional(),
398
- google: Xe.optional(),
399
- deepseek: Ze.optional(),
400
- alibaba: V.optional(),
401
- meta: V.optional(),
402
- moonshotai: V.optional(),
403
- spacexai: V.optional(),
404
- xiaomi: V.optional(),
405
- zai: V.optional()
395
+ var Qe = d({
396
+ openai: qe.optional(),
397
+ anthropic: Je.optional(),
398
+ google: Ye.optional(),
399
+ deepseek: Xe.optional(),
400
+ alibaba: H.optional(),
401
+ meta: H.optional(),
402
+ moonshotai: H.optional(),
403
+ spacexai: H.optional(),
404
+ xiaomi: H.optional(),
405
+ zai: H.optional()
406
406
  });
407
- function et(e) {
407
+ function $e(e) {
408
408
  if (!e || typeof e != "object") return e;
409
409
  let t = e, n = [
410
410
  "openai",
411
411
  "anthropic",
412
412
  "google",
413
413
  "deepseek",
414
- ...z
414
+ ...B
415
415
  ].some((e) => e in t);
416
416
  if ("effort" in t && !n) {
417
417
  let e = t.effort, n = t.reasoningSummary, r = {};
418
418
  if (e && e !== "off" && e !== "none") {
419
- let t = H(e, I), i = H(n, R);
419
+ let t = U(e, I), i = U(n, z);
420
420
  (t || i) && (r.openai = {
421
421
  ...t && { reasoningEffort: t },
422
422
  ...i && { reasoningSummary: i }
423
423
  });
424
- let a = H(e, L);
424
+ let a = U(e, L);
425
425
  a && (r.anthropic = {
426
426
  type: "adaptive",
427
427
  effort: a
428
428
  });
429
- let o = H(e === "xhigh" || e === "max" ? "high" : e, qe);
429
+ let o = U(e === "xhigh" || e === "max" ? "high" : e, R);
430
430
  o && (r.google = { thinkingLevel: o }), r.deepseek = { type: "enabled" };
431
- let s = H(e === "max" ? "xhigh" : e, B);
432
- if (s) for (let e of z) r[e] = { reasoningEffort: s };
431
+ let s = U(e === "max" ? "xhigh" : e, V);
432
+ if (s) for (let e of B) r[e] = { reasoningEffort: s };
433
433
  } else {
434
434
  r.openai = { reasoningEffort: "none" }, r.anthropic = { type: "disabled" }, r.google = { thinkingLevel: "minimal" }, r.deepseek = { type: "disabled" };
435
- for (let e of z) r[e] = { reasoningEffort: "none" };
435
+ for (let e of B) r[e] = { reasoningEffort: "none" };
436
436
  }
437
437
  return r;
438
438
  }
439
439
  return e;
440
440
  }
441
- var tt = h(f(), $e, et).optional(), nt = {
441
+ var et = h(f(), Qe, $e).optional(), tt = {
442
442
  openai: { reasoningEffort: "low" },
443
443
  anthropic: {
444
444
  type: "adaptive",
@@ -452,107 +452,107 @@ var tt = h(f(), $e, et).optional(), nt = {
452
452
  xiaomi: { reasoningEffort: "low" },
453
453
  zai: { reasoningEffort: "low" }
454
454
  };
455
- function rt(e) {
455
+ function nt(e) {
456
456
  return !!e && typeof e == "object" && Object.values(e).some((e) => e !== void 0);
457
457
  }
458
- function it(e, t) {
458
+ function rt(e, t) {
459
459
  let n = t?.[e];
460
- return rt(n) ? n : nt[e];
460
+ return nt(n) ? n : tt[e];
461
461
  }
462
- var U = /* @__PURE__ */ function(e) {
462
+ var W = /* @__PURE__ */ function(e) {
463
463
  return e.Geocode = "geocode", e.GetWeather = "getWeather", e.ReadDocumentFile = "readDocumentFile", e.RequestConfirm = "requestConfirm", e.RequestGeolocation = "requestGeolocation", e.RetrieveRevisedAnswers = "retrieveRevisedAnswers", e.SearchInKnowledgeBase = "searchInKnowledgeBase", e.SearchInUserFiles = "searchInUserFiles", e.UserMemory = "userMemory", e.Spreadsheet = "spreadsheet", e.QuerySpreadsheet = "querySpreadsheet", e.WordDocument = "wordDocument", e.CreateSpreadsheet = "createSpreadsheet", e.CreateWordDocument = "createWordDocument", e.RunWorker = "runWorker", e.ScheduleWakeup = "scheduleWakeup", e.ShareDocument = "shareDocument", e.FetchTeamsChannelHistory = "fetchTeamsChannelHistory", e.ShowArtifact = "showArtifact", e.ShowCalendarEvent = "showCalendarEvent", e.ShowComparison = "showComparison", e.ShowContactForm = "showContactForm", e.ShowDiagram = "showDiagram", e.ShowEmail = "showEmail", e.ShowImageGallery = "showImageGallery", e.ShowLocation = "showLocation", e.ShowMessage = "showMessage", e.ShowForm = "showForm", e.ShowProductList = "showProductList", e.ShowQrCode = "showQrCode", e.ShowSources = "showSources", e.ShowSuggestedReply = "showSuggestedReply", e.ShowVideo = "showVideo", e.ShowWeather = "showWeather", e.ShowWebPages = "showWebPages", e.ShowMultipleChoice = "showMultipleChoice", e;
464
- }({}), at = "mcp-", ot = "api-", st = "subagent-", ct = "enableTools";
465
- function lt(e) {
466
- return !ut(e) && e !== U.RequestGeolocation;
464
+ }({}), it = "mcp-", at = "api-", ot = "subagent-", st = "enableTools";
465
+ function ct(e) {
466
+ return !lt(e) && e !== W.RequestGeolocation;
467
467
  }
468
- function ut(e) {
469
- return e === U.RequestConfirm || e === U.ShowArtifact || e === U.ShowCalendarEvent || e === U.ShowComparison || e === U.ShowContactForm || e === U.ShowDiagram || e === U.ShowEmail || e === U.ShowImageGallery || e === U.ShowLocation || e === U.ShowMessage || e === U.ShowForm || e === U.ShowMultipleChoice || e === U.ShowProductList || e === U.ShowQrCode || e === U.ShowSources || e === U.ShowSuggestedReply || e === U.ShowVideo || e === U.ShowWeather || e === U.ShowWebPages;
468
+ function lt(e) {
469
+ return e === W.RequestConfirm || e === W.ShowArtifact || e === W.ShowCalendarEvent || e === W.ShowComparison || e === W.ShowContactForm || e === W.ShowDiagram || e === W.ShowEmail || e === W.ShowImageGallery || e === W.ShowLocation || e === W.ShowMessage || e === W.ShowForm || e === W.ShowMultipleChoice || e === W.ShowProductList || e === W.ShowQrCode || e === W.ShowSources || e === W.ShowSuggestedReply || e === W.ShowVideo || e === W.ShowWeather || e === W.ShowWebPages;
470
470
  }
471
- var dt = /* @__PURE__ */ new Set([
471
+ var ut = /* @__PURE__ */ new Set([
472
472
  "editSpreadsheet",
473
473
  "editWordDocument",
474
- U.CreateSpreadsheet,
475
- U.CreateWordDocument
476
- ]), ft = /* @__PURE__ */ new Set([
477
- U.RequestConfirm,
478
- U.ShowArtifact,
479
- U.ShowWeather,
480
- U.ShowLocation,
481
- U.ShowComparison,
482
- U.ShowProductList,
483
- U.ShowWebPages,
484
- U.ShowImageGallery,
485
- U.ShowVideo,
486
- U.ShowSources,
487
- U.ShowSuggestedReply,
488
- U.ShowCalendarEvent,
489
- U.ShowEmail,
490
- U.ShowMessage,
491
- U.ShowForm,
492
- ...dt,
493
- U.ShareDocument
474
+ W.CreateSpreadsheet,
475
+ W.CreateWordDocument
476
+ ]), dt = /* @__PURE__ */ new Set([
477
+ W.RequestConfirm,
478
+ W.ShowArtifact,
479
+ W.ShowWeather,
480
+ W.ShowLocation,
481
+ W.ShowComparison,
482
+ W.ShowProductList,
483
+ W.ShowWebPages,
484
+ W.ShowImageGallery,
485
+ W.ShowVideo,
486
+ W.ShowSources,
487
+ W.ShowSuggestedReply,
488
+ W.ShowCalendarEvent,
489
+ W.ShowEmail,
490
+ W.ShowMessage,
491
+ W.ShowForm,
492
+ ...ut,
493
+ W.ShareDocument
494
494
  ]);
495
- function pt(e) {
496
- return ft.has(e);
495
+ function ft(e) {
496
+ return dt.has(e);
497
497
  }
498
- var mt = /* @__PURE__ */ new Set([
499
- U.RequestConfirm,
500
- U.RequestGeolocation,
501
- U.ShowForm,
502
- U.ShowMultipleChoice,
498
+ var pt = /* @__PURE__ */ new Set([
499
+ W.RequestConfirm,
500
+ W.RequestGeolocation,
501
+ W.ShowForm,
502
+ W.ShowMultipleChoice,
503
503
  "requestOAuthConnection"
504
504
  ]);
505
- function ht(e) {
506
- return mt.has(e);
505
+ function mt(e) {
506
+ return pt.has(e);
507
507
  }
508
- var gt = /* @__PURE__ */ function(e) {
508
+ var ht = /* @__PURE__ */ function(e) {
509
509
  return e.Web = "web", e.Platform = "platform", e.OpenAiApi = "openai-api", e.Voice = "voice", e;
510
- }({}), _t = /* @__PURE__ */ new Set([
511
- U.RequestConfirm,
512
- U.RequestGeolocation,
513
- U.ShowArtifact,
514
- U.ShowCalendarEvent,
515
- U.ShowContactForm,
516
- U.ShowComparison,
517
- U.ShowDiagram,
518
- U.ShowEmail,
519
- U.ShowForm,
520
- U.ShowImageGallery,
521
- U.ShowLocation,
522
- U.ShowMessage,
523
- U.ShowMultipleChoice,
524
- U.ShowProductList,
525
- U.ShowQrCode,
526
- U.ShowSources,
527
- U.ShowSuggestedReply,
528
- U.ShowVideo,
529
- U.ShowWeather,
530
- U.ShowWebPages
531
- ]), vt = "Shown on the caller's screen";
532
- function yt(e) {
533
- return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(vt));
510
+ }({}), gt = /* @__PURE__ */ new Set([
511
+ W.RequestConfirm,
512
+ W.RequestGeolocation,
513
+ W.ShowArtifact,
514
+ W.ShowCalendarEvent,
515
+ W.ShowContactForm,
516
+ W.ShowComparison,
517
+ W.ShowDiagram,
518
+ W.ShowEmail,
519
+ W.ShowForm,
520
+ W.ShowImageGallery,
521
+ W.ShowLocation,
522
+ W.ShowMessage,
523
+ W.ShowMultipleChoice,
524
+ W.ShowProductList,
525
+ W.ShowQrCode,
526
+ W.ShowSources,
527
+ W.ShowSuggestedReply,
528
+ W.ShowVideo,
529
+ W.ShowWeather,
530
+ W.ShowWebPages
531
+ ]), _t = "Shown on the caller's screen";
532
+ function vt(e) {
533
+ return typeof e == "string" && (e.startsWith("Voice turn note") || e.startsWith(_t));
534
534
  }
535
- var bt = d({
535
+ var yt = d({
536
536
  maxSteps: i().int().min(1).max(10).optional().default(5),
537
537
  maxOptionsPerStep: i().int().min(2).max(10).optional().default(5)
538
- }), W = /* @__PURE__ */ function(e) {
538
+ }), G = /* @__PURE__ */ function(e) {
539
539
  return e.Perplexity = "perplexity", e.Parallel = "parallel", e.Native = "native", e;
540
- }({}), xt = {
540
+ }({}), bt = {
541
541
  openai: "OpenAI",
542
542
  anthropic: "Anthropic",
543
543
  google: "Google"
544
544
  };
545
- function St(e) {
545
+ function xt(e) {
546
546
  let t = e.split("/")[0];
547
- return Object.prototype.hasOwnProperty.call(xt, t) ? xt[t] : void 0;
547
+ return Object.prototype.hasOwnProperty.call(bt, t) ? bt[t] : void 0;
548
548
  }
549
- var Ct = [
549
+ var St = [
550
550
  "perplexity_search",
551
551
  "parallel_search",
552
552
  "web_search",
553
553
  "openai_web_search",
554
554
  "google_search"
555
- ], wt = d({
555
+ ], Ct = d({
556
556
  maxResults: i().int().min(1).max(20).optional(),
557
557
  maxTokens: i().int().positive().max(1e6).optional(),
558
558
  maxTokensPerPage: i().int().positive().optional(),
@@ -565,7 +565,7 @@ var Ct = [
565
565
  "month",
566
566
  "year"
567
567
  ]).optional()
568
- }), Tt = d({
568
+ }), wt = d({
569
569
  mode: l(["one-shot", "agentic"]).optional(),
570
570
  maxResults: i().int().min(1).max(20).optional(),
571
571
  sourcePolicy: d({
@@ -578,7 +578,7 @@ var Ct = [
578
578
  maxCharsTotal: i().int().positive().optional()
579
579
  }).optional(),
580
580
  fetchPolicy: d({ maxAgeSeconds: i().int().positive().optional() }).optional()
581
- }), Et = d({
581
+ }), Tt = d({
582
582
  openai: d({}).optional(),
583
583
  anthropic: d({
584
584
  maxUses: i().int().positive().optional(),
@@ -593,29 +593,29 @@ var Ct = [
593
593
  }).optional()
594
594
  }).optional(),
595
595
  google: d({}).optional()
596
- }), G = d({
596
+ }), K = d({
597
597
  enabled: u().default(!1),
598
- provider: l(W).optional().default(W.Native),
599
- perplexity: wt.optional(),
600
- parallel: Tt.optional(),
601
- native: Et.optional()
602
- }), Dt = d({ useAllUserKb: u().default(!1) }), Ot = d({ useAllUserFiles: u().default(!1) }), kt = d({ enabled: u().default(!1) }), K = d({ enabled: u().default(!1) }), At = d({ tools: c(n()).default([]) }), jt = d({
603
- disabled: c(l(U)).default([
604
- U.UserMemory,
605
- U.SearchInUserFiles,
606
- U.RunWorker,
607
- U.FetchTeamsChannelHistory,
608
- U.ScheduleWakeup
598
+ provider: l(G).optional().default(G.Native),
599
+ perplexity: Ct.optional(),
600
+ parallel: wt.optional(),
601
+ native: Tt.optional()
602
+ }), Et = d({ useAllUserKb: u().default(!1) }), Dt = d({ useAllUserFiles: u().default(!1) }), Ot = d({ enabled: u().default(!1) }), q = d({ enabled: u().default(!1) }), kt = d({ tools: c(n()).default([]) }), At = d({
603
+ disabled: c(l(W)).default([
604
+ W.UserMemory,
605
+ W.SearchInUserFiles,
606
+ W.RunWorker,
607
+ W.FetchTeamsChannelHistory,
608
+ W.ScheduleWakeup
609
609
  ]),
610
- showForm: bt.optional().default(() => bt.parse({})),
611
- webSearch: G.optional().default(() => G.parse({})),
612
- userMemory: Dt.optional().default(() => Dt.parse({})),
613
- userFiles: Ot.optional().default(() => Ot.parse({})),
614
- shareDocument: kt.optional().default(() => kt.parse({})),
615
- createSpreadsheet: K.optional().default(() => K.parse({})),
616
- createWordDocument: K.optional().default(() => K.parse({})),
617
- approval: At.optional().default(() => At.parse({}))
618
- }), q = d({
610
+ showForm: yt.optional().default(() => yt.parse({})),
611
+ webSearch: K.optional().default(() => K.parse({})),
612
+ userMemory: Et.optional().default(() => Et.parse({})),
613
+ userFiles: Dt.optional().default(() => Dt.parse({})),
614
+ shareDocument: Ot.optional().default(() => Ot.parse({})),
615
+ createSpreadsheet: q.optional().default(() => q.parse({})),
616
+ createWordDocument: q.optional().default(() => q.parse({})),
617
+ approval: kt.optional().default(() => kt.parse({}))
618
+ }), J = d({
619
619
  freshness: d({
620
620
  enabled: u().default(!1),
621
621
  scale: i().int().min(86400).max(31536e3).default(7776e3),
@@ -627,7 +627,7 @@ var Ct = [
627
627
  diversity: i().min(0).max(1).default(.3),
628
628
  candidatesLimit: i().int().min(20).max(100).default(50)
629
629
  }).prefault({})
630
- }).prefault({}), Mt = d({
630
+ }).prefault({}), jt = d({
631
631
  prompt: n().optional(),
632
632
  temperature: i().min(0).max(2).optional().default(.6),
633
633
  maxOutputTokens: i().positive().optional(),
@@ -636,13 +636,13 @@ var Ct = [
636
636
  searchMode: l(F).optional().default(F.Balanced),
637
637
  limit: i().positive().max(100).optional().default(10),
638
638
  maxStepCount: i().int().min(1).max(40).optional().default(10),
639
- reasoning: tt,
640
- ranking: q.optional().default(() => q.parse({}))
641
- }), J = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Nt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", Y = /* @__PURE__ */ function(e) {
639
+ reasoning: et,
640
+ ranking: J.optional().default(() => J.parse({}))
641
+ }), Y = h(f(), p(n(), n()), (e) => typeof e == "string" ? { it: e } : e), Mt = "https://cdn.jsdelivr.net/npm/@8wave/ai-elements/dist/ai-elements.es.js", X = /* @__PURE__ */ function(e) {
642
642
  return e.InlineModule = "inline-module", e.ScriptSrc = "script-src", e.DynamicImport = "dynamic-import", e;
643
- }({}), X = /* @__PURE__ */ function(e) {
644
- return e.Floating = "floating", e.Copilot = "copilot", e;
645
643
  }({}), Z = /* @__PURE__ */ function(e) {
644
+ return e.Floating = "floating", e.Copilot = "copilot", e;
645
+ }({}), Nt = /* @__PURE__ */ function(e) {
646
646
  return e.Solid = "solid", e.Glass = "glass", e;
647
647
  }({}), Q = /* @__PURE__ */ function(e) {
648
648
  return e.Frontoffice = "frontoffice", e.App = "app", e.Widget = "widget", e;
@@ -670,25 +670,31 @@ var Lt = d({
670
670
  "white",
671
671
  "black"
672
672
  ]).optional().default("auto"),
673
+ glowTones: l([
674
+ "auto",
675
+ "one",
676
+ "two"
677
+ ]).optional().default("auto"),
678
+ glowSecondColor: n().regex(_).optional(),
673
679
  useColorsForAgentHeader: u().optional().default(!1),
674
- initialMessage: J.optional(),
675
- greeting: c(J).min(1).max(10).optional(),
676
- messagePlaceholder: J.optional(),
677
- dismissableNotice: J.optional(),
678
- footerMessage: J.optional(),
679
- privacyPolicyNotice: J.optional(),
680
+ initialMessage: Y.optional(),
681
+ greeting: c(Y).min(1).max(10).optional(),
682
+ messagePlaceholder: Y.optional(),
683
+ dismissableNotice: Y.optional(),
684
+ footerMessage: Y.optional(),
685
+ privacyPolicyNotice: Y.optional(),
680
686
  interactiveLogin: u().optional().default(!0),
681
687
  welcomePopup: u().optional().default(!1),
682
688
  floatingButtonPosition: l(["left", "right"]).optional().default("right"),
683
- layout: l(X).optional().default(X.Floating),
684
- appearance: l(Z).optional().default(Z.Solid),
689
+ layout: l(Z).optional().default(Z.Floating),
690
+ appearance: l(Nt).optional().default(Nt.Solid),
685
691
  hideFloatingButton: u().optional().default(!1),
686
692
  workingGlow: u().optional().default(!0),
687
693
  copilotPageCss: n().optional(),
688
694
  maxMessageLength: i().int().positive().optional(),
689
- widgetUrl: r().default(Nt),
695
+ widgetUrl: r().default(Mt),
690
696
  loadDelay: i().int().min(0).max(3e4).optional().default(0),
691
- loaderStrategy: l(Y).optional().default(Y.InlineModule),
697
+ loaderStrategy: l(X).optional().default(X.InlineModule),
692
698
  customCss: n().optional(),
693
699
  smoothStream: u().optional().default(!1),
694
700
  showExtendedSteps: u().optional().default(!1),
@@ -703,7 +709,7 @@ var Lt = d({
703
709
  "text/plain",
704
710
  "text/markdown",
705
711
  "text/csv"
706
- ], zt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Bt = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Vt = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(U.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(U.WordDocument), $ = d({
712
+ ], zt = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", Bt = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", Vt = (e, t) => e === "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" && t.includes(W.Spreadsheet) || e === "application/vnd.openxmlformats-officedocument.wordprocessingml.document" && t.includes(W.WordDocument), $ = d({
707
713
  enabled: u().default(!1),
708
714
  maxFileSizeBytes: i().int().positive().max(104857600).optional().default(20971520),
709
715
  allowedMimeTypes: c(n().regex(re)).optional().default([...Rt]),
@@ -756,9 +762,9 @@ var Jt = d({
756
762
  });
757
763
  c(Yt);
758
764
  var Xt = d({
759
- model: Mt,
765
+ model: jt,
760
766
  interface: Lt,
761
- tools: jt.optional().default(() => jt.parse({})),
767
+ tools: At.optional().default(() => At.parse({})),
762
768
  fileUpload: $.optional().default(() => $.parse({})),
763
769
  gatewayOptions: Ht.optional().default(() => Ht.parse({})),
764
770
  channels: c(l(Q)).optional().default(() => [...Pt]),
@@ -905,6 +911,6 @@ d({
905
911
  ...g.fullText(),
906
912
  ...g.ids()
907
913
  });
908
- export { Ie as $, Jt as A, ht as B, Ke as C, st as D, zt as E, it as F, j as G, St as H, Vt as I, Be as J, He as K, Qe as L, Bt as M, W as N, mt as O, lt as P, Ae as Q, pt as R, at as S, R as T, It as U, yt as V, Ge as W, A as X, ze as Y, Le as Z, dt as _, $ as a, we as at, B as b, q as c, Te as ct, Wt as d, le as dt, Fe as et, P as f, g as ft, X as g, Z as h, Q as i, _ as it, Ct as j, _t as k, tt as l, me as lt, G as m, ot as n, b as nt, Ht as o, ye as ot, N as p, Ue as q, U as r, D as rt, Y as s, ue as st, L as t, ke as tt, F as u, h as ut, gt as v, I as w, qe as x, ct as y, ut as z };
914
+ export { Ie as $, Jt as A, mt as B, Ke as C, ot as D, zt as E, rt as F, j as G, xt as H, Vt as I, Be as J, He as K, Ze as L, Bt as M, G as N, pt as O, ct as P, Ae as Q, ft as R, it as S, z as T, It as U, vt as V, Ge as W, A as X, ze as Y, Le as Z, ut as _, $ as a, we as at, V as b, J as c, Te as ct, Wt as d, le as dt, Fe as et, P as f, g as ft, Z as g, Nt as h, Q as i, _ as it, St as j, gt as k, et as l, me as lt, K as m, at as n, b as nt, Ht as o, ye as ot, N as p, Ue as q, W as r, D as rt, X as s, ue as st, L as t, ke as tt, F as u, h as ut, ht as v, I as w, R as x, st as y, lt as z };
909
915
 
910
- //# sourceMappingURL=Agent-D3US-D1x.js.map
916
+ //# sourceMappingURL=Agent-DQl-tv4S.js.map