@8wave/ai-elements 0.121.0-beta.25 → 0.121.0-beta.27

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 (99) hide show
  1. package/dist/_chunks/Agent-wt8Vi99H.js.map +1 -1
  2. package/dist/_chunks/{PkStreamingMarkdown-Br7Z60Vm.js → PkStreamingMarkdown-UzW6Wv-y.js} +4 -4
  3. package/dist/_chunks/PkStreamingMarkdown-UzW6Wv-y.js.map +1 -0
  4. package/dist/_chunks/{PkToolShowArtifact-DtstlRsL.js → PkToolShowArtifact-Du5sSnTg.js} +2 -2
  5. package/dist/_chunks/{PkToolShowArtifact-DtstlRsL.js.map → PkToolShowArtifact-Du5sSnTg.js.map} +1 -1
  6. package/dist/_chunks/{PkToolShowContactForm-BKaKlYGJ.js → PkToolShowContactForm-CB046Ks4.js} +2 -2
  7. package/dist/_chunks/{PkToolShowContactForm-BKaKlYGJ.js.map → PkToolShowContactForm-CB046Ks4.js.map} +1 -1
  8. package/dist/_chunks/{PkToolShowForm-OxANKx0g.js → PkToolShowForm-RGbMaC_e.js} +2 -2
  9. package/dist/_chunks/{PkToolShowForm-OxANKx0g.js.map → PkToolShowForm-RGbMaC_e.js.map} +1 -1
  10. package/dist/_chunks/{PkToolShowSources-BQnaaL2a.js → PkToolShowSources-Cad5zT51.js} +2 -2
  11. package/dist/_chunks/{PkToolShowSources-BQnaaL2a.js.map → PkToolShowSources-Cad5zT51.js.map} +1 -1
  12. package/dist/ai-elements.es.js +1688 -1640
  13. package/dist/ai-elements.es.js.map +1 -1
  14. package/dist-vue/PkChatbot.js +1 -1
  15. package/dist-vue/PkChatbotEmptyState.js +1 -1
  16. package/dist-vue/PkChatbotInput.js +1 -1
  17. package/dist-vue/PkChatbotMessages.js +1 -1
  18. package/dist-vue/PkChatbotStepPayload.js +1 -1
  19. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  20. package/dist-vue/PkChatbotSteps.js +1 -1
  21. package/dist-vue/PkChatbotViewChat.js +1 -1
  22. package/dist-vue/PkChatbotViewConversations.js +1 -1
  23. package/dist-vue/PkChatbotViewFiles.js +1 -1
  24. package/dist-vue/PkChatbotViewProfile.js +1 -1
  25. package/dist-vue/_chunks/{Agent-DcoF75y8.js → Agent-CeteYjj7.js} +3 -2
  26. package/dist-vue/_chunks/Agent-CeteYjj7.js.map +1 -0
  27. package/dist-vue/_chunks/{Document-C1bD6VNU.js → Document-Bqt29i1g.js} +2 -2
  28. package/dist-vue/_chunks/{Document-C1bD6VNU.js.map → Document-Bqt29i1g.js.map} +1 -1
  29. package/dist-vue/_chunks/{PkChatbot-BF4OzQEE.js → PkChatbot-C6RQaC57.js} +8 -8
  30. package/dist-vue/_chunks/{PkChatbot-BF4OzQEE.js.map → PkChatbot-C6RQaC57.js.map} +1 -1
  31. package/dist-vue/_chunks/{PkChatbotEmptyState-h2qZ0JOD.js → PkChatbotEmptyState-DyfVQV1L.js} +2 -2
  32. package/dist-vue/_chunks/{PkChatbotEmptyState-h2qZ0JOD.js.map → PkChatbotEmptyState-DyfVQV1L.js.map} +1 -1
  33. package/dist-vue/_chunks/{PkChatbotInput-C-bMNHC-.js → PkChatbotInput-CGrW71Yz.js} +2 -2
  34. package/dist-vue/_chunks/{PkChatbotInput-C-bMNHC-.js.map → PkChatbotInput-CGrW71Yz.js.map} +1 -1
  35. package/dist-vue/_chunks/{PkChatbotMessages-C0922gNt.js → PkChatbotMessages-CSY0yAVd.js} +17 -17
  36. package/dist-vue/_chunks/{PkChatbotMessages-C0922gNt.js.map → PkChatbotMessages-CSY0yAVd.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotStepPayload-BOxfKD1b.js → PkChatbotStepPayload-CGvRYp_H.js} +2 -2
  38. package/dist-vue/_chunks/{PkChatbotStepPayload-BOxfKD1b.js.map → PkChatbotStepPayload-CGvRYp_H.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Df6EOYxj.js → PkChatbotStepToolDetail-CvFdxw5H.js} +3 -3
  40. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Df6EOYxj.js.map → PkChatbotStepToolDetail-CvFdxw5H.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotSteps-DnDtN4Q7.js → PkChatbotSteps-CYXy__Wx.js} +5 -5
  42. package/dist-vue/_chunks/{PkChatbotSteps-DnDtN4Q7.js.map → PkChatbotSteps-CYXy__Wx.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkChatbotViewChat-CZBRaIn-.js → PkChatbotViewChat-DlDZwo7m.js} +7 -7
  44. package/dist-vue/_chunks/{PkChatbotViewChat-CZBRaIn-.js.map → PkChatbotViewChat-DlDZwo7m.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotViewConversations-DSSWFPod.js → PkChatbotViewConversations-CGhSt4ES.js} +3 -3
  46. package/dist-vue/_chunks/{PkChatbotViewConversations-DSSWFPod.js.map → PkChatbotViewConversations-CGhSt4ES.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkChatbotViewFiles-CnAKz2X8.js → PkChatbotViewFiles-CrPd-Y2d.js} +3 -3
  48. package/dist-vue/_chunks/{PkChatbotViewFiles-CnAKz2X8.js.map → PkChatbotViewFiles-CrPd-Y2d.js.map} +1 -1
  49. package/dist-vue/_chunks/{PkChatbotViewProfile-42pXpWbn.js → PkChatbotViewProfile-vw8r9Pdo.js} +2 -2
  50. package/dist-vue/_chunks/{PkChatbotViewProfile-42pXpWbn.js.map → PkChatbotViewProfile-vw8r9Pdo.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkStreamingMarkdown-BYV68skc.js → PkStreamingMarkdown-CgydvfPX.js} +3 -3
  52. package/dist-vue/_chunks/{PkStreamingMarkdown-BYV68skc.js.map → PkStreamingMarkdown-CgydvfPX.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkToolEditSpreadsheet-DQxJQIY0.js → PkToolEditSpreadsheet-BJ5yxQTX.js} +2 -2
  54. package/dist-vue/_chunks/{PkToolEditSpreadsheet-DQxJQIY0.js.map → PkToolEditSpreadsheet-BJ5yxQTX.js.map} +1 -1
  55. package/dist-vue/_chunks/{PkToolRequestGeolocation-BpjglRbg.js → PkToolRequestGeolocation-FIvZM_BB.js} +2 -2
  56. package/dist-vue/_chunks/{PkToolRequestGeolocation-BpjglRbg.js.map → PkToolRequestGeolocation-FIvZM_BB.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CD3M5DWj.js → PkToolRequestOAuthConnection-CB6ukVv1.js} +2 -2
  58. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CD3M5DWj.js.map → PkToolRequestOAuthConnection-CB6ukVv1.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkToolShowArtifact-Bm5VBF_n.js → PkToolShowArtifact--Ut-C6en.js} +2 -2
  60. package/dist-vue/_chunks/{PkToolShowArtifact-Bm5VBF_n.js.map → PkToolShowArtifact--Ut-C6en.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkToolShowContactForm-CMQTQsU-.js → PkToolShowContactForm-DwLwlkCt.js} +2 -2
  62. package/dist-vue/_chunks/{PkToolShowContactForm-CMQTQsU-.js.map → PkToolShowContactForm-DwLwlkCt.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkToolShowDiagram-adGuj4AF.js → PkToolShowDiagram-Czl46bbI.js} +2 -2
  64. package/dist-vue/_chunks/{PkToolShowDiagram-adGuj4AF.js.map → PkToolShowDiagram-Czl46bbI.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkToolShowForm-Cx5KdTlZ.js → PkToolShowForm-iz6g6jXJ.js} +4 -4
  66. package/dist-vue/_chunks/{PkToolShowForm-Cx5KdTlZ.js.map → PkToolShowForm-iz6g6jXJ.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkToolShowImageGallery-BtQ0gnGB.js → PkToolShowImageGallery-Goytzhpx.js} +2 -2
  68. package/dist-vue/_chunks/{PkToolShowImageGallery-BtQ0gnGB.js.map → PkToolShowImageGallery-Goytzhpx.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkToolShowProductList-Dvatk6p-.js → PkToolShowProductList-DHXm_0yk.js} +2 -2
  70. package/dist-vue/_chunks/{PkToolShowProductList-Dvatk6p-.js.map → PkToolShowProductList-DHXm_0yk.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkToolShowSources-DKkIYQ9r.js → PkToolShowSources-BzwULCGN.js} +3 -3
  72. package/dist-vue/_chunks/{PkToolShowSources-DKkIYQ9r.js.map → PkToolShowSources-BzwULCGN.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BbAfjJP9.js → PkToolShowSuggestedReply-CWnw4Ybp.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolShowSuggestedReply-BbAfjJP9.js.map → PkToolShowSuggestedReply-CWnw4Ybp.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowVideo-DTNszfdU.js → PkToolShowVideo-BpplYU7J.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolShowVideo-DTNszfdU.js.map → PkToolShowVideo-BpplYU7J.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowWebPages-euov57FB.js → PkToolShowWebPages-CMKyI7Id.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowWebPages-euov57FB.js.map → PkToolShowWebPages-CMKyI7Id.js.map} +1 -1
  79. package/dist-vue/_chunks/{createChatbotApiClient-qHjpFqPL.js → createChatbotApiClient-Qwv4G6rH.js} +12 -4
  80. package/dist-vue/_chunks/createChatbotApiClient-Qwv4G6rH.js.map +1 -0
  81. package/dist-vue/_chunks/{useChatbotStore-CnCoo6j3.js → useChatbotStore-BFOUiojG.js} +828 -790
  82. package/dist-vue/_chunks/useChatbotStore-BFOUiojG.js.map +1 -0
  83. package/dist-vue/_chunks/{utils-BCGK2AFl.js → utils-CzMEd-lR.js} +5 -5
  84. package/dist-vue/_chunks/utils-CzMEd-lR.js.map +1 -0
  85. package/dist-vue/api.js +1 -1
  86. package/dist-vue/composables.js +6 -4
  87. package/dist-vue/composables.js.map +1 -1
  88. package/dist-vue/index.js +24 -24
  89. package/dist-vue/locales.js +2 -0
  90. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +7 -0
  91. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +9 -0
  92. package/dist-vue/packages/models/src/schema/Chat.d.ts +2 -0
  93. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +1 -0
  94. package/package.json +1 -1
  95. package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +0 -1
  96. package/dist-vue/_chunks/Agent-DcoF75y8.js.map +0 -1
  97. package/dist-vue/_chunks/createChatbotApiClient-qHjpFqPL.js.map +0 -1
  98. package/dist-vue/_chunks/useChatbotStore-CnCoo6j3.js.map +0 -1
  99. package/dist-vue/_chunks/utils-BCGK2AFl.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
2
- import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-Cx5KdTlZ.js";
2
+ import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-iz6g6jXJ.js";
3
3
  import { E as i, S as a, T as o, _ as s, f as c, m as l, o as u, r as d, s as f, u as p, v as m, w as h, x as g, y as _ } from "./_chunks/schemas-Bu1lick6.js";
4
- import { t as v } from "./_chunks/PkChatbotMessages-C0922gNt.js";
4
+ import { t as v } from "./_chunks/PkChatbotMessages-CSY0yAVd.js";
5
5
  import { a as y, i as b, l as x, n as S, r as C } from "./_chunks/Media-D-UGzdcW.js";
6
- import { $ as w, A as ee, B as T, C as te, H as ne, L as re, M as ie, N as ae, P as oe, Q as se, S as ce, U as le, V as ue, W as de, X as fe, Z as pe, a as me, d as he, et as ge, f as _e, g as ve, i as ye, j as be, k as xe, nt as Se, ot as Ce, r as E, rt as we, s as Te, t as Ee, tt as De, v as Oe, x as ke, y as Ae, z as je } from "./_chunks/Agent-DcoF75y8.js";
7
- import { c as Me, d as Ne, l as Pe, r as Fe, s as Ie, t as Le, u as Re } from "./_chunks/Document-C1bD6VNU.js";
8
- import { a as ze, i as Be, n as Ve } from "./_chunks/createChatbotApiClient-qHjpFqPL.js";
6
+ import { $ as w, A as ee, B as T, C as te, H as ne, L as re, M as ie, N as ae, P as oe, Q as se, S as ce, U as le, V as ue, W as de, X as fe, Z as pe, a as me, d as he, et as ge, f as _e, g as ve, i as ye, j as be, k as xe, nt as Se, ot as Ce, r as E, rt as we, s as Te, t as Ee, tt as De, v as Oe, x as ke, y as Ae, z as je } from "./_chunks/Agent-CeteYjj7.js";
7
+ import { c as Me, d as Ne, l as Pe, r as Fe, s as Ie, t as Le, u as Re } from "./_chunks/Document-Bqt29i1g.js";
8
+ import { a as ze, i as Be, n as Ve } from "./_chunks/createChatbotApiClient-Qwv4G6rH.js";
9
9
  import { t as He } from "./_chunks/PkChatbotAuth-BsxfxDgR.js";
10
10
  import { t as Ue } from "./_chunks/VvButtonLocalized-BuzLsXp3.js";
11
- import { n as We, t as Ge } from "./_chunks/PkStreamingMarkdown-BYV68skc.js";
12
- import { a as Ke, i as qe, n as Je, r as Ye } from "./_chunks/useChatbotStore-CnCoo6j3.js";
11
+ import { n as We, t as Ge } from "./_chunks/PkStreamingMarkdown-CgydvfPX.js";
12
+ import { a as Ke, i as qe, n as Je, r as Ye } from "./_chunks/useChatbotStore-BFOUiojG.js";
13
13
  import "./_chunks/src-BZRiAJsH.js";
14
14
  import { a as Xe, l as Ze, u as Qe } from "./_chunks/message-DZvfzt9j.js";
15
- import { C as $e, E as et, F as tt, M as nt, N as rt, P as it, d as at, h as ot, k as st, p as ct } from "./_chunks/utils-BCGK2AFl.js";
15
+ import { C as $e, E as et, F as tt, M as nt, N as rt, P as it, d as at, h as ot, k as st, p as ct } from "./_chunks/utils-CzMEd-lR.js";
16
16
  import { t as lt } from "./_chunks/useSafeLocalStorage-C1BlCeKw.js";
17
17
  import { t as ut } from "./_chunks/useDialogConfirm-BxhvsnRr.js";
18
- import { n as dt, r as ft, t as pt } from "./_chunks/PkChatbotViewConversations-DSSWFPod.js";
19
- import { i as mt, n as ht, r as gt, t as _t } from "./_chunks/PkChatbotViewChat-CZBRaIn-.js";
18
+ import { n as dt, r as ft, t as pt } from "./_chunks/PkChatbotViewConversations-CGhSt4ES.js";
19
+ import { i as mt, n as ht, r as gt, t as _t } from "./_chunks/PkChatbotViewChat-DlDZwo7m.js";
20
20
  import { t as vt } from "./_chunks/PkChatbotError-BV5ga7hk.js";
21
21
  import { t as yt } from "./_chunks/useImageFallback-5vQIO0pC.js";
22
22
  import { t as bt } from "./_chunks/useLocalizedString-PfaKjIQY.js";
23
23
  import { n as xt, t as St } from "./_chunks/PkRelativeTime--1cIphlA.js";
24
- import { r as Ct, t as wt } from "./_chunks/PkToolShowArtifact-Bm5VBF_n.js";
24
+ import { r as Ct, t as wt } from "./_chunks/PkToolShowArtifact--Ut-C6en.js";
25
25
  import { $ as Tt, A as Et, B as Dt, C as Ot, Ct as kt, D as At, E as jt, F as Mt, G as Nt, H as Pt, I as Ft, J as It, K as Lt, L as Rt, M as zt, N as D, Q as Bt, S as Vt, St as Ht, T as Ut, Tt as Wt, U as Gt, V as Kt, W as qt, X as Jt, _t as Yt, a as Xt, at as Zt, b as Qt, bt as $t, c as en, ct as tn, d as nn, dt as rn, et as an, f as on, gt as sn, h as cn, it as ln, j as un, k as dn, l as O, lt as k, mt as fn, nt as pn, o as mn, ot as hn, pt as gn, q as _n, rt as vn, st as yn, tt as bn, u as xn, ut as Sn, vt as Cn, w as wn, wt as Tn, x as En, xt as Dn, y as On, yt as kn, z as An } from "./_chunks/dist-DLs-FvuY.js";
26
26
  import { n as jn, t as Mn } from "./_chunks/dist-BNG63goF.js";
27
27
  import { n as Nn, r as Pn } from "./_chunks/dist-DPNJlSyW.js";
@@ -31,26 +31,26 @@ import { t as zn } from "./_chunks/PkSvgViewer-CZASatr4.js";
31
31
  import { t as Bn } from "./_chunks/PkUrl-CN1kkZiH.js";
32
32
  import { t as Vn } from "./_chunks/PkAvatar-BTqu8tn9.js";
33
33
  import { t as Hn } from "./_chunks/PkChatbotFeedbackForm-pQc2JrQT.js";
34
- import { n as Un, t as Wn } from "./_chunks/PkChatbotSteps-DnDtN4Q7.js";
35
- import { t as Gn } from "./_chunks/PkChatbotStepPayload-BOxfKD1b.js";
36
- import { t as Kn } from "./_chunks/PkChatbotStepToolDetail-Df6EOYxj.js";
37
- import { n as qn, t as Jn } from "./_chunks/PkChatbotInput-C-bMNHC-.js";
38
- import { t as Yn } from "./_chunks/PkChatbotEmptyState-h2qZ0JOD.js";
39
- import { t as Xn } from "./_chunks/PkChatbotViewProfile-42pXpWbn.js";
40
- import { t as Zn } from "./_chunks/PkChatbot-BF4OzQEE.js";
41
- import { i as Qn, r as $n, t as er } from "./_chunks/PkToolShowSources-DKkIYQ9r.js";
34
+ import { n as Un, t as Wn } from "./_chunks/PkChatbotSteps-CYXy__Wx.js";
35
+ import { t as Gn } from "./_chunks/PkChatbotStepPayload-CGvRYp_H.js";
36
+ import { t as Kn } from "./_chunks/PkChatbotStepToolDetail-CvFdxw5H.js";
37
+ import { n as qn, t as Jn } from "./_chunks/PkChatbotInput-CGrW71Yz.js";
38
+ import { t as Yn } from "./_chunks/PkChatbotEmptyState-DyfVQV1L.js";
39
+ import { t as Xn } from "./_chunks/PkChatbotViewProfile-vw8r9Pdo.js";
40
+ import { t as Zn } from "./_chunks/PkChatbot-C6RQaC57.js";
41
+ import { i as Qn, r as $n, t as er } from "./_chunks/PkToolShowSources-BzwULCGN.js";
42
42
  import { t as tr } from "./_chunks/mcpOAuthReport-BHCMTtgf.js";
43
43
  import { t as nr } from "./_chunks/PkToolShowEmail-CUgZN0J5.js";
44
44
  import { t as rr } from "./_chunks/PkToolShowMessage-ATTN5Hac.js";
45
- import { t as ir } from "./_chunks/PkToolShowWebPages-euov57FB.js";
46
- import { t as ar } from "./_chunks/PkToolShowProductList-Dvatk6p-.js";
47
- import { t as or } from "./_chunks/PkToolShowContactForm-CMQTQsU-.js";
45
+ import { t as ir } from "./_chunks/PkToolShowWebPages-CMKyI7Id.js";
46
+ import { t as ar } from "./_chunks/PkToolShowProductList-DHXm_0yk.js";
47
+ import { t as or } from "./_chunks/PkToolShowContactForm-DwLwlkCt.js";
48
48
  import { t as sr } from "./_chunks/PkToolShowCalendarEvent-CFODjoDV.js";
49
49
  import { t as cr } from "./_chunks/PkToolShowComparison-c2e239T4.js";
50
50
  import { t as lr } from "./_chunks/PkToolShowLocation-BipZrvw7.js";
51
51
  import { t as ur } from "./_chunks/PkToolShowQrCode-D_5VUtEB.js";
52
- import { t as dr } from "./_chunks/PkToolShowImageGallery-BtQ0gnGB.js";
53
- import { t as fr } from "./_chunks/PkToolShowSuggestedReply-BbAfjJP9.js";
52
+ import { t as dr } from "./_chunks/PkToolShowImageGallery-Goytzhpx.js";
53
+ import { t as fr } from "./_chunks/PkToolShowSuggestedReply-CWnw4Ybp.js";
54
54
  import { VvAccordion as pr, VvAccordionGroup as mr, VvAlert as hr, VvAlertGroup as gr, VvBadge as _r, VvButtonGroup as vr, VvCheckbox as yr, VvCombobox as br, VvDialog as xr, VvDropdown as Sr, VvDropdownAction as Cr, VvIcon as wr, VvInputFile as Tr, VvInputRange as Er, VvInputText as Dr, VvTab as Or, VvTooltip as kr } from "@volverjs/ui-vue/components";
55
55
  import { Fragment as A, Teleport as Ar, Transition as jr, TransitionGroup as Mr, cloneVNode as Nr, computed as j, createApp as Pr, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as Fr, createStaticVNode as Ir, createTextVNode as I, createVNode as L, defineComponent as R, guardReactiveProps as Lr, h as Rr, inject as z, isRef as zr, isVNode as Br, mergeModels as Vr, mergeProps as Hr, nextTick as Ur, normalizeClass as Wr, normalizeProps as Gr, normalizeStyle as Kr, onBeforeUnmount as qr, onMounted as Jr, onUnmounted as Yr, openBlock as B, provide as Xr, reactive as Zr, readonly as Qr, ref as V, renderList as $r, renderSlot as H, resolveComponent as ei, resolveDynamicComponent as ti, shallowRef as ni, toDisplayString as U, toRef as ri, toRefs as ii, unref as W, useId as ai, useModel as G, useSlots as oi, useTemplateRef as si, vModelSelect as ci, vModelText as li, watch as K, withCtx as q, withDirectives as ui, withKeys as di, withModifiers as fi } from "vue";
56
56
  import { useI18n as J } from "vue-i18n";
@@ -605,6 +605,7 @@ var e = {
605
605
  fetchTeamsChannelHistory: "Reading channel history…",
606
606
  readEarlierMessages: "Rereading earlier messages…",
607
607
  readChatAttachment: "Rereading an attached file…",
608
+ sendChatFile: "Sending the file again…",
608
609
  enableTools: "Enabling tools…",
609
610
  searchingDocuments: "Memory search…",
610
611
  expandChunkContext: "Reading more context…",
@@ -1348,6 +1349,7 @@ var e = {
1348
1349
  fetchTeamsChannelHistory: "Lettura cronologia canale…",
1349
1350
  readEarlierMessages: "Rilettura dei messaggi precedenti…",
1350
1351
  readChatAttachment: "Rilettura di un file allegato…",
1352
+ sendChatFile: "Nuovo invio del file…",
1351
1353
  enableTools: "Attivazione dei tool…",
1352
1354
  searchingDocuments: "Ricerca nella memoria…",
1353
1355
  expandChunkContext: "Lettura di altro contesto…",
@@ -40,6 +40,11 @@ export interface ChatbotApiClient {
40
40
  stopChatWakeup(agentId: string, chatId: string): Promise<ChatWakeupState>;
41
41
  /** The chat is open in a visible tab: its wakeups mail nothing meanwhile. */
42
42
  markChatWakeupPresence(agentId: string, chatId: string): Promise<void>;
43
+ /**
44
+ * The user's Stop of the turn running in a chat (spec
45
+ * resumable-chat-streams): false when none was, so its answer is stored.
46
+ */
47
+ stopChatTurn(agentId: string, chatId: string): Promise<boolean>;
43
48
  updateChatTitle(agentId: string, chatId: string, title: string): Promise<Chat>;
44
49
  deleteChat(agentId: string, chatId: string): Promise<void>;
45
50
  getMessageFeedbacks(chatId: string): Promise<MessageFeedback[]>;
@@ -53,6 +58,8 @@ export interface ChatbotApiClient {
53
58
  appendAuthToken(url: string): string;
54
59
  uploadMedia(agentId: string, chatId: string, file: File): Promise<MediaSource>;
55
60
  getChatEndpoint(agentId: string, type?: 'chat' | 'reasoning'): string;
61
+ /** Where a client resumes the stream of the turn running in a chat. */
62
+ getChatStreamEndpoint(agentId: string, chatId: string): string;
56
63
  expandSourceContext(agentId: string, documentId: string, chunkIndex: number, windowSize?: number): Promise<{
57
64
  content: string;
58
65
  }>;
@@ -1152,6 +1152,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1152
1152
  llmIssueSummary?: string | undefined;
1153
1153
  conversationGoalMet?: boolean | undefined;
1154
1154
  } | null | undefined;
1155
+ turnInProgress?: boolean | undefined;
1155
1156
  }[], {
1156
1157
  id: string;
1157
1158
  messages: UIChatMessage[];
@@ -1194,6 +1195,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1194
1195
  llmIssueSummary?: string | undefined;
1195
1196
  conversationGoalMet?: boolean | undefined;
1196
1197
  } | null | undefined;
1198
+ turnInProgress?: boolean | undefined;
1197
1199
  }[] | {
1198
1200
  id: string;
1199
1201
  messages: {
@@ -1703,6 +1705,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
1703
1705
  llmIssueSummary?: string | undefined;
1704
1706
  conversationGoalMet?: boolean | undefined;
1705
1707
  } | null | undefined;
1708
+ turnInProgress?: boolean | undefined;
1706
1709
  }[]>;
1707
1710
  isLoadingConversations: globalThis.Ref<boolean, boolean>;
1708
1711
  chatFiles: globalThis.Ref<{
@@ -3049,6 +3052,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3049
3052
  llmIssueSummary?: string | undefined;
3050
3053
  conversationGoalMet?: boolean | undefined;
3051
3054
  } | null | undefined;
3055
+ turnInProgress?: boolean | undefined;
3052
3056
  }[], {
3053
3057
  id: string;
3054
3058
  messages: UIChatMessage[];
@@ -3091,6 +3095,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3091
3095
  llmIssueSummary?: string | undefined;
3092
3096
  conversationGoalMet?: boolean | undefined;
3093
3097
  } | null | undefined;
3098
+ turnInProgress?: boolean | undefined;
3094
3099
  }[] | {
3095
3100
  id: string;
3096
3101
  messages: {
@@ -3600,6 +3605,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
3600
3605
  llmIssueSummary?: string | undefined;
3601
3606
  conversationGoalMet?: boolean | undefined;
3602
3607
  } | null | undefined;
3608
+ turnInProgress?: boolean | undefined;
3603
3609
  }[]>;
3604
3610
  isLoadingConversations: globalThis.Ref<boolean, boolean>;
3605
3611
  chatFiles: globalThis.Ref<{
@@ -4946,6 +4952,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4946
4952
  llmIssueSummary?: string | undefined;
4947
4953
  conversationGoalMet?: boolean | undefined;
4948
4954
  } | null | undefined;
4955
+ turnInProgress?: boolean | undefined;
4949
4956
  }[], {
4950
4957
  id: string;
4951
4958
  messages: UIChatMessage[];
@@ -4988,6 +4995,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4988
4995
  llmIssueSummary?: string | undefined;
4989
4996
  conversationGoalMet?: boolean | undefined;
4990
4997
  } | null | undefined;
4998
+ turnInProgress?: boolean | undefined;
4991
4999
  }[] | {
4992
5000
  id: string;
4993
5001
  messages: {
@@ -5497,6 +5505,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
5497
5505
  llmIssueSummary?: string | undefined;
5498
5506
  conversationGoalMet?: boolean | undefined;
5499
5507
  } | null | undefined;
5508
+ turnInProgress?: boolean | undefined;
5500
5509
  }[]>;
5501
5510
  isLoadingConversations: globalThis.Ref<boolean, boolean>;
5502
5511
  chatFiles: globalThis.Ref<{
@@ -618,6 +618,7 @@ export declare const ChatSchema: z.ZodObject<{
618
618
  blockedReason: z.ZodNullable<z.ZodString>;
619
619
  warningCount: z.ZodNumber;
620
620
  lastMessageAt: z.ZodCoercedDate<unknown>;
621
+ turnInProgress: z.ZodOptional<z.ZodBoolean>;
621
622
  }, z.core.$strip>;
622
623
  export declare const ChatsQuerystringSchema: z.ZodObject<{
623
624
  startDate: z.ZodOptional<z.ZodString>;
@@ -652,5 +653,6 @@ export declare const ChatsPublicSchema: z.ZodObject<{
652
653
  lastMessageAt: z.ZodCoercedDate<unknown>;
653
654
  messages: z.ZodArray<z.ZodUnknown>;
654
655
  blocked: z.ZodBoolean;
656
+ turnInProgress: z.ZodOptional<z.ZodBoolean>;
655
657
  }, z.core.$strip>;
656
658
  export type ChatPublic = z.infer<typeof ChatsPublicSchema>;
@@ -491,6 +491,7 @@ export declare const ReasoningChatSchema: z.ZodObject<{
491
491
  blockedReason: z.ZodNullable<z.ZodString>;
492
492
  warningCount: z.ZodNumber;
493
493
  lastMessageAt: z.ZodCoercedDate<unknown>;
494
+ turnInProgress: z.ZodOptional<z.ZodBoolean>;
494
495
  agent: z.ZodLazy<z.ZodObject<{
495
496
  id: z.ZodString;
496
497
  name: z.ZodString;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.121.0-beta.25",
4
+ "version": "0.121.0-beta.27",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",