@8wave/ai-elements 0.127.0-beta.14 → 0.127.0-beta.16

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 (110) hide show
  1. package/dist/_chunks/{PkFilePreview-yKT0QkEB.js → PkFilePreview-3_ZmPzQO.js} +3 -3
  2. package/dist/_chunks/{PkFilePreview-yKT0QkEB.js.map → PkFilePreview-3_ZmPzQO.js.map} +1 -1
  3. package/dist/_chunks/{PkFilePreviewDialog-B4yKQbLi.js → PkFilePreviewDialog-m3iqn0rl.js} +2 -2
  4. package/dist/_chunks/{PkFilePreviewDialog-B4yKQbLi.js.map → PkFilePreviewDialog-m3iqn0rl.js.map} +1 -1
  5. package/dist/_chunks/{PkImageEditorDialog-BF6tQvTY.js → PkImageEditorDialog-W8TCEHBJ.js} +2 -2
  6. package/dist/_chunks/{PkImageEditorDialog-BF6tQvTY.js.map → PkImageEditorDialog-W8TCEHBJ.js.map} +1 -1
  7. package/dist/_chunks/{PkSelectionActions-J1AaO8Of.js → PkSelectionActions-B14kAu8T.js} +2 -2
  8. package/dist/_chunks/{PkSelectionActions-J1AaO8Of.js.map → PkSelectionActions-B14kAu8T.js.map} +1 -1
  9. package/dist/_chunks/{PkStreamingMarkdown-CvIq4j9U.js → PkStreamingMarkdown-Df_VzmC0.js} +2 -2
  10. package/dist/_chunks/{PkStreamingMarkdown-CvIq4j9U.js.map → PkStreamingMarkdown-Df_VzmC0.js.map} +1 -1
  11. package/dist/_chunks/{PkToolChatFile-Y5CR96-B.js → PkToolChatFile-BXrgzaIj.js} +2 -2
  12. package/dist/_chunks/{PkToolChatFile-Y5CR96-B.js.map → PkToolChatFile-BXrgzaIj.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowArtifact-CBsIMKuq.js → PkToolShowArtifact-Df2ibXU_.js} +2 -2
  14. package/dist/_chunks/{PkToolShowArtifact-CBsIMKuq.js.map → PkToolShowArtifact-Df2ibXU_.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowContactForm-D8tYijcg.js → PkToolShowContactForm-CfW3f_Zs.js} +2 -2
  16. package/dist/_chunks/{PkToolShowContactForm-D8tYijcg.js.map → PkToolShowContactForm-CfW3f_Zs.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowForm-CM63L5WC.js → PkToolShowForm-Chj3bqAn.js} +3 -3
  18. package/dist/_chunks/{PkToolShowForm-CM63L5WC.js.map → PkToolShowForm-Chj3bqAn.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowSources-BoJmMb4K.js → PkToolShowSources-B9qNtyum.js} +2 -2
  20. package/dist/_chunks/{PkToolShowSources-BoJmMb4K.js.map → PkToolShowSources-B9qNtyum.js.map} +1 -1
  21. package/dist/_chunks/{utils-BYVRPDrv.js → utils-C1mMVCFZ.js} +4 -3
  22. package/dist/_chunks/utils-C1mMVCFZ.js.map +1 -0
  23. package/dist/ai-elements.es.js +604 -587
  24. package/dist/ai-elements.es.js.map +1 -1
  25. package/dist-vue/PkChatbot.js +1 -1
  26. package/dist-vue/PkChatbotEmptyState.js +1 -1
  27. package/dist-vue/PkChatbotInput.js +1 -1
  28. package/dist-vue/PkChatbotLocalFolders.js +1 -1
  29. package/dist-vue/PkChatbotMessages.js +1 -1
  30. package/dist-vue/PkChatbotStepPayload.js +1 -1
  31. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  32. package/dist-vue/PkChatbotSteps.js +1 -1
  33. package/dist-vue/PkChatbotViewChat.js +1 -1
  34. package/dist-vue/PkChatbotViewConversations.js +1 -1
  35. package/dist-vue/PkChatbotViewFiles.js +1 -1
  36. package/dist-vue/PkChatbotViewProfile.js +1 -1
  37. package/dist-vue/_chunks/{PkChatbot-CrHeZSwq.js → PkChatbot-BWgqvPsG.js} +8 -8
  38. package/dist-vue/_chunks/{PkChatbot-CrHeZSwq.js.map → PkChatbot-BWgqvPsG.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotEmptyState-BSdctGUp.js → PkChatbotEmptyState-CS0l2BBa.js} +2 -2
  40. package/dist-vue/_chunks/{PkChatbotEmptyState-BSdctGUp.js.map → PkChatbotEmptyState-CS0l2BBa.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotInput-Bkr2FMAR.js → PkChatbotInput-9PwloFKx.js} +29 -15
  42. package/dist-vue/_chunks/PkChatbotInput-9PwloFKx.js.map +1 -0
  43. package/dist-vue/_chunks/PkChatbotLocalFolders-D7kxpwR2.js +122 -0
  44. package/dist-vue/_chunks/PkChatbotLocalFolders-D7kxpwR2.js.map +1 -0
  45. package/dist-vue/_chunks/{PkChatbotMessages-Cf19Jak8.js → PkChatbotMessages-CU0y2j8g.js} +16 -16
  46. package/dist-vue/_chunks/{PkChatbotMessages-Cf19Jak8.js.map → PkChatbotMessages-CU0y2j8g.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkChatbotStepPayload-BWeGBOGl.js → PkChatbotStepPayload-Ds9rz4MI.js} +2 -2
  48. package/dist-vue/_chunks/{PkChatbotStepPayload-BWeGBOGl.js.map → PkChatbotStepPayload-Ds9rz4MI.js.map} +1 -1
  49. package/dist-vue/_chunks/{PkChatbotStepToolDetail-k_purHyE.js → PkChatbotStepToolDetail-C_xWXZkE.js} +3 -3
  50. package/dist-vue/_chunks/{PkChatbotStepToolDetail-k_purHyE.js.map → PkChatbotStepToolDetail-C_xWXZkE.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbotSteps-DvYhk_xP.js → PkChatbotSteps-CjX5nxsq.js} +6 -6
  52. package/dist-vue/_chunks/{PkChatbotSteps-DvYhk_xP.js.map → PkChatbotSteps-CjX5nxsq.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkChatbotViewChat-D-tjQF-v.js → PkChatbotViewChat-D5DiEgwE.js} +234 -237
  54. package/dist-vue/_chunks/PkChatbotViewChat-D5DiEgwE.js.map +1 -0
  55. package/dist-vue/_chunks/{PkChatbotViewConversations-BYn6wfoM.js → PkChatbotViewConversations-Bj77_upQ.js} +4 -4
  56. package/dist-vue/_chunks/{PkChatbotViewConversations-BYn6wfoM.js.map → PkChatbotViewConversations-Bj77_upQ.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkChatbotViewFiles-BWD7GF4M.js → PkChatbotViewFiles-nL2UGO-g.js} +2 -2
  58. package/dist-vue/_chunks/{PkChatbotViewFiles-BWD7GF4M.js.map → PkChatbotViewFiles-nL2UGO-g.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkChatbotViewProfile-D5LQ_IB6.js → PkChatbotViewProfile-B8xPFxkz.js} +2 -2
  60. package/dist-vue/_chunks/{PkChatbotViewProfile-D5LQ_IB6.js.map → PkChatbotViewProfile-B8xPFxkz.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkFilePreview-CURIA-I5.js → PkFilePreview-D6VCM-tr.js} +3 -3
  62. package/dist-vue/_chunks/{PkFilePreview-CURIA-I5.js.map → PkFilePreview-D6VCM-tr.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkFilePreviewDialog-Cmic1Xl-.js → PkFilePreviewDialog-CwkET8_p.js} +2 -2
  64. package/dist-vue/_chunks/{PkFilePreviewDialog-Cmic1Xl-.js.map → PkFilePreviewDialog-CwkET8_p.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkImageEditorDialog-bt-_WXJ7.js → PkImageEditorDialog-CXSSDTtp.js} +2 -2
  66. package/dist-vue/_chunks/{PkImageEditorDialog-bt-_WXJ7.js.map → PkImageEditorDialog-CXSSDTtp.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkStreamingMarkdown-D38PPSbB.js → PkStreamingMarkdown-D5ad7uGI.js} +2 -2
  68. package/dist-vue/_chunks/{PkStreamingMarkdown-D38PPSbB.js.map → PkStreamingMarkdown-D5ad7uGI.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkToolChatFile-Dvn6Jg9n.js → PkToolChatFile-DDVwPfee.js} +2 -2
  70. package/dist-vue/_chunks/{PkToolChatFile-Dvn6Jg9n.js.map → PkToolChatFile-DDVwPfee.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkToolShowArtifact-Clkqoz26.js → PkToolShowArtifact-CdS7BNoU.js} +2 -2
  72. package/dist-vue/_chunks/{PkToolShowArtifact-Clkqoz26.js.map → PkToolShowArtifact-CdS7BNoU.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolShowChart-RLAsKQT7.js → PkToolShowChart-E2NW5ess.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolShowChart-RLAsKQT7.js.map → PkToolShowChart-E2NW5ess.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowContactForm-BSDtKWWD.js → PkToolShowContactForm-COu43u5z.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolShowContactForm-BSDtKWWD.js.map → PkToolShowContactForm-COu43u5z.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowDiagram-9EYiOJXE.js → PkToolShowDiagram-BOGh8Z0j.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowDiagram-9EYiOJXE.js.map → PkToolShowDiagram-BOGh8Z0j.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolShowForm-mXmiZPIW.js → PkToolShowForm-D3n6fxtt.js} +3 -3
  80. package/dist-vue/_chunks/{PkToolShowForm-mXmiZPIW.js.map → PkToolShowForm-D3n6fxtt.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkToolShowImageGallery-B2phVedq.js → PkToolShowImageGallery-D3Z5vTb0.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowImageGallery-B2phVedq.js.map → PkToolShowImageGallery-D3Z5vTb0.js.map} +1 -1
  83. package/dist-vue/_chunks/{PkToolShowProductList-BX9D6A8k.js → PkToolShowProductList-4mkoLMOz.js} +2 -2
  84. package/dist-vue/_chunks/{PkToolShowProductList-BX9D6A8k.js.map → PkToolShowProductList-4mkoLMOz.js.map} +1 -1
  85. package/dist-vue/_chunks/{PkToolShowSources-B0Xw8RR2.js → PkToolShowSources-DkpLjqfn.js} +2 -2
  86. package/dist-vue/_chunks/{PkToolShowSources-B0Xw8RR2.js.map → PkToolShowSources-DkpLjqfn.js.map} +1 -1
  87. package/dist-vue/_chunks/{PkToolShowVideo-DyOPeNq_.js → PkToolShowVideo-DyjqJfqW.js} +2 -2
  88. package/dist-vue/_chunks/{PkToolShowVideo-DyOPeNq_.js.map → PkToolShowVideo-DyjqJfqW.js.map} +1 -1
  89. package/dist-vue/_chunks/{PkToolShowWebPages-DajE3TAx.js → PkToolShowWebPages-BSvuIrSs.js} +2 -2
  90. package/dist-vue/_chunks/{PkToolShowWebPages-DajE3TAx.js.map → PkToolShowWebPages-BSvuIrSs.js.map} +1 -1
  91. package/dist-vue/_chunks/{localFolders-D8DxM-5y.js → localFolders-Dn8jAVz4.js} +4 -3
  92. package/dist-vue/_chunks/localFolders-Dn8jAVz4.js.map +1 -0
  93. package/dist-vue/_chunks/{useChatbotStore-DCE7Ig6x.js → useChatbotStore-ZA6_oD5a.js} +2 -2
  94. package/dist-vue/_chunks/{useChatbotStore-DCE7Ig6x.js.map → useChatbotStore-ZA6_oD5a.js.map} +1 -1
  95. package/dist-vue/_chunks/{utils-SmeQuVL1.js → utils-BDXwCfXk.js} +2 -2
  96. package/dist-vue/_chunks/{utils-SmeQuVL1.js.map → utils-BDXwCfXk.js.map} +1 -1
  97. package/dist-vue/composables.js +12 -2
  98. package/dist-vue/composables.js.map +1 -1
  99. package/dist-vue/index.js +25 -25
  100. package/dist-vue/locales.js +12 -2
  101. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +10 -2
  102. package/dist-vue/packages/components/src/chat/PkChatbotLocalFolders.d.ts +12 -9
  103. package/dist-vue/style.css +1 -1
  104. package/package.json +1 -1
  105. package/dist/_chunks/utils-BYVRPDrv.js.map +0 -1
  106. package/dist-vue/_chunks/PkChatbotInput-Bkr2FMAR.js.map +0 -1
  107. package/dist-vue/_chunks/PkChatbotLocalFolders-CSvqh_Cx.js +0 -126
  108. package/dist-vue/_chunks/PkChatbotLocalFolders-CSvqh_Cx.js.map +0 -1
  109. package/dist-vue/_chunks/PkChatbotViewChat-D-tjQF-v.js.map +0 -1
  110. package/dist-vue/_chunks/localFolders-D8DxM-5y.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -4,63 +4,63 @@ import { C as De, T as Oe, _ as E, b as ke, c as Ae, d as je, g as Me, h as Ne,
4
4
  import { a as ze, d as Be, i as Ve, n as He, r as Ue } from "./_chunks/Media-DtudATme.js";
5
5
  import { t as We } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
6
6
  import { r as Ge, t as Ke } from "./_chunks/Document-ebwxbTSm.js";
7
- import { a as qe, i as Je, n as Ye, r as Xe } from "./_chunks/useChatbotStore-DCE7Ig6x.js";
7
+ import { a as qe, i as Je, n as Ye, r as Xe } from "./_chunks/useChatbotStore-ZA6_oD5a.js";
8
8
  import { r as Ze } from "./_chunks/createChatbotApiClient-CWR7u6UU.js";
9
- import { t as Qe } from "./_chunks/PkChatbotMessages-Cf19Jak8.js";
9
+ import { t as Qe } from "./_chunks/PkChatbotMessages-CU0y2j8g.js";
10
10
  import { t as $e } from "./_chunks/PkChatbotAuth-Bx14Ld4t.js";
11
11
  import { t as et } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
12
- import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-Clkqoz26.js";
12
+ import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-CdS7BNoU.js";
13
13
  import { $ as rt, A as it, B as at, C as ot, Ct as st, D as ct, E as lt, F as ut, G as dt, H as ft, I as pt, J as mt, K as ht, L as gt, M as _t, N as O, Q as vt, S as yt, St as bt, T as xt, Tt as St, U as Ct, V as wt, W as Tt, X as Et, _t as Dt, a as Ot, at as kt, b as At, bt as jt, c as Mt, ct as Nt, d as Pt, dt as Ft, et as It, f as Lt, gt as Rt, h as zt, it as Bt, j as Vt, k as Ht, l as k, lt as A, mt as Ut, nt as Wt, o as Gt, ot as Kt, pt as qt, q as Jt, rt as Yt, st as Xt, tt as Zt, u as Qt, ut as $t, vt as en, w as tn, wt as nn, x as rn, xt as an, y as on, yt as sn, z as cn } from "./_chunks/dist-DtxVAOxm.js";
14
14
  import { n as ln, t as un } from "./_chunks/dist-CKKe4gMX.js";
15
15
  import { n as dn, r as fn } from "./_chunks/dist-CrTGiCae.js";
16
- import { i as pn, t as mn } from "./_chunks/PkStreamingMarkdown-D38PPSbB.js";
17
- import { C as hn, S as gn, d as _n, f as vn, u as yn, v as bn } from "./_chunks/localFolders-D8DxM-5y.js";
16
+ import { i as pn, t as mn } from "./_chunks/PkStreamingMarkdown-D5ad7uGI.js";
17
+ import { C as hn, S as gn, d as _n, f as vn, u as yn, v as bn } from "./_chunks/localFolders-Dn8jAVz4.js";
18
18
  import { t as xn } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
19
19
  import { i as Sn, r as Cn } from "./_chunks/useLightbox-CQ8WtQNC.js";
20
20
  import { t as wn } from "./_chunks/useImageFallback-HUe4GHah.js";
21
21
  import { t as Tn } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
22
22
  import { t as En } from "./_chunks/PkChatbotError-DFZ5S5jd.js";
23
23
  import { t as Dn } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
24
- import { n as On } from "./_chunks/PkChatbotLocalFolders-CSvqh_Cx.js";
25
- import { i as kn, r as An } from "./_chunks/PkFilePreview-CURIA-I5.js";
26
- import { B as jn, D as Mn, F as Nn, M as Pn, R as Fn, U as In, W as Ln, _ as Rn, l as zn, x as Bn, y as Vn } from "./_chunks/utils-SmeQuVL1.js";
24
+ import { n as On } from "./_chunks/PkChatbotLocalFolders-D7kxpwR2.js";
25
+ import { i as kn, r as An } from "./_chunks/PkFilePreview-D6VCM-tr.js";
26
+ import { B as jn, D as Mn, F as Nn, M as Pn, R as Fn, U as In, W as Ln, _ as Rn, l as zn, x as Bn, y as Vn } from "./_chunks/utils-BDXwCfXk.js";
27
27
  import { i as Hn } from "./_chunks/ChatTask-2-ffbJFK.js";
28
28
  import { n as Un } from "./_chunks/PkChatbotWakeupBar-IoQJdUjI.js";
29
29
  import { t as Wn } from "./_chunks/PkAvatar-DwtZWSW4.js";
30
- import { i as Gn, n as Kn, r as qn, t as Jn } from "./_chunks/PkChatbotViewConversations-BYn6wfoM.js";
31
- import { r as Yn, t as Xn } from "./_chunks/PkToolShowForm-mXmiZPIW.js";
32
- import { a as Zn, c as Qn, d as $n, i as er, l as tr, n as nr, o as rr, s as ir, t as ar, u as or } from "./_chunks/PkChatbotViewChat-D-tjQF-v.js";
30
+ import { i as Gn, n as Kn, r as qn, t as Jn } from "./_chunks/PkChatbotViewConversations-Bj77_upQ.js";
31
+ import { r as Yn, t as Xn } from "./_chunks/PkToolShowForm-D3n6fxtt.js";
32
+ import { a as Zn, c as Qn, d as $n, i as er, l as tr, n as nr, o as rr, s as ir, t as ar, u as or } from "./_chunks/PkChatbotViewChat-D5DiEgwE.js";
33
33
  import { a as sr, s as cr } from "./_chunks/Chat-Bs3OB1ug.js";
34
34
  import { t as lr } from "./_chunks/PkSvgViewer-BBRyAFWm.js";
35
35
  import { t as ur } from "./_chunks/PkUrl-IFszepUi.js";
36
36
  import "./_chunks/src-nb8MU1sh.js";
37
37
  import { n as dr, t as fr } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
38
- import { n as pr, t as mr } from "./_chunks/PkChatbotSteps-DvYhk_xP.js";
38
+ import { n as pr, t as mr } from "./_chunks/PkChatbotSteps-CjX5nxsq.js";
39
39
  import { t as hr } from "./_chunks/PkChatbotFeedbackForm-Dwsln0GO.js";
40
40
  import { t as gr } from "./_chunks/PkChatbotFilePreview-BbytSmUB.js";
41
- import { i as _r, r as vr, t as yr } from "./_chunks/PkToolShowSources-B0Xw8RR2.js";
42
- import { t as br } from "./_chunks/PkChatbotStepPayload-BWeGBOGl.js";
43
- import { t as xr } from "./_chunks/PkChatbotStepToolDetail-k_purHyE.js";
44
- import { n as Sr, t as Cr } from "./_chunks/PkChatbotInput-Bkr2FMAR.js";
45
- import { t as wr } from "./_chunks/PkChatbotEmptyState-BSdctGUp.js";
46
- import { t as Tr } from "./_chunks/PkChatbotViewProfile-D5LQ_IB6.js";
47
- import { t as Er } from "./_chunks/PkChatbot-CrHeZSwq.js";
41
+ import { i as _r, r as vr, t as yr } from "./_chunks/PkToolShowSources-DkpLjqfn.js";
42
+ import { t as br } from "./_chunks/PkChatbotStepPayload-Ds9rz4MI.js";
43
+ import { t as xr } from "./_chunks/PkChatbotStepToolDetail-C_xWXZkE.js";
44
+ import { n as Sr, t as Cr } from "./_chunks/PkChatbotInput-9PwloFKx.js";
45
+ import { t as wr } from "./_chunks/PkChatbotEmptyState-CS0l2BBa.js";
46
+ import { t as Tr } from "./_chunks/PkChatbotViewProfile-B8xPFxkz.js";
47
+ import { t as Er } from "./_chunks/PkChatbot-BWgqvPsG.js";
48
48
  import { t as Dr } from "./_chunks/useLocalizedString-Dmn92nix.js";
49
49
  import { t as Or } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
50
50
  import { t as kr } from "./_chunks/PkToolShowEmail-C_iJsuec.js";
51
51
  import { t as Ar } from "./_chunks/PkToolShowMessage-2pxYXo-_.js";
52
- import { t as jr } from "./_chunks/PkToolShowWebPages-DajE3TAx.js";
53
- import { t as Mr } from "./_chunks/PkToolShowProductList-BX9D6A8k.js";
54
- import { t as Nr } from "./_chunks/PkToolShowContactForm-BSDtKWWD.js";
52
+ import { t as jr } from "./_chunks/PkToolShowWebPages-BSvuIrSs.js";
53
+ import { t as Mr } from "./_chunks/PkToolShowProductList-4mkoLMOz.js";
54
+ import { t as Nr } from "./_chunks/PkToolShowContactForm-COu43u5z.js";
55
55
  import { t as Pr } from "./_chunks/PkToolShowCalendarEvent-CAejFLQI.js";
56
56
  import { t as Fr } from "./_chunks/PkToolShowComparison-pLrUTlK6.js";
57
57
  import { t as Ir } from "./_chunks/PkToolShowLocation-dTZcp7ah.js";
58
58
  import { t as Lr } from "./_chunks/PkToolShowQrCode-96KzD1rX.js";
59
- import { t as Rr } from "./_chunks/PkToolShowImageGallery-B2phVedq.js";
59
+ import { t as Rr } from "./_chunks/PkToolShowImageGallery-D3Z5vTb0.js";
60
60
  import { t as zr } from "./_chunks/PkToolShowSuggestedReply-C4ymiiHa.js";
61
61
  import { t as Br } from "./_chunks/PkToolShareDocument-CVDYH1kA.js";
62
- import { t as Vr } from "./_chunks/PkToolChatFile-Dvn6Jg9n.js";
63
- import { t as Hr } from "./_chunks/PkFilePreviewDialog-Cmic1Xl-.js";
62
+ import { t as Vr } from "./_chunks/PkToolChatFile-DDVwPfee.js";
63
+ import { t as Hr } from "./_chunks/PkFilePreviewDialog-CwkET8_p.js";
64
64
  import { t as Ur } from "./_chunks/PkToolRequestGeolocation-B9t-ttW_.js";
65
65
  import { VvAccordion as Wr, VvAccordionGroup as Gr, VvAlert as Kr, VvAlertGroup as qr, VvBadge as Jr, VvButtonGroup as Yr, VvCheckbox as Xr, VvCombobox as Zr, VvDialog as Qr, VvDropdown as $r, VvDropdownAction as ei, VvIcon as ti, VvInputFile as ni, VvInputRange as ri, VvInputText as ii, VvTab as ai, VvTextarea as oi } from "@volverjs/ui-vue/components";
66
66
  import { Fragment as j, Teleport as si, Transition as ci, TransitionGroup as li, cloneVNode as ui, computed as M, createApp as di, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as fi, createStaticVNode as pi, createTextVNode as L, createVNode as R, defineComponent as z, guardReactiveProps as mi, h as hi, inject as B, isRef as gi, isVNode as _i, mergeModels as vi, mergeProps as yi, nextTick as bi, normalizeClass as xi, normalizeProps as Si, normalizeStyle as Ci, onBeforeUnmount as wi, onMounted as Ti, onUnmounted as Ei, openBlock as V, provide as Di, reactive as Oi, readonly as ki, ref as H, renderList as Ai, renderSlot as ji, resolveComponent as Mi, resolveDynamicComponent as Ni, shallowRef as Pi, toDisplayString as U, toRef as Fi, toRefs as Ii, unref as W, useId as Li, useModel as G, useSlots as Ri, useTemplateRef as zi, vModelSelect as Bi, vModelText as Vi, watch as K, withCtx as q, withDirectives as Hi, withKeys as Ui, withModifiers as Wi } from "vue";
@@ -1049,10 +1049,15 @@ var e = {
1049
1049
  ask: "Ask"
1050
1050
  },
1051
1051
  localFolders: {
1052
+ connect: "Connect a folder",
1053
+ state: {
1054
+ copy: "A copy for this visit",
1055
+ readable: "The agent can read it",
1056
+ permission: "The browser asks for permission again"
1057
+ },
1052
1058
  title: "Folders the agent can read",
1053
1059
  allow: "Allow",
1054
1060
  remove: "Disconnect {name}",
1055
- connect: "Connect a folder",
1056
1061
  confirm: {
1057
1062
  title: "Connect a folder?",
1058
1063
  question: "The agent will be able to list, search and read the files of the folder you choose and of its subfolders, except files such as .env, keys and certificates, and the .git and node_modules folders.",
@@ -2218,10 +2223,15 @@ var e = {
2218
2223
  ask: "Chiedi"
2219
2224
  },
2220
2225
  localFolders: {
2226
+ connect: "Collega una cartella",
2227
+ state: {
2228
+ copy: "Copia per questa visita",
2229
+ readable: "L'agente può leggerla",
2230
+ permission: "Il browser chiede di nuovo il permesso"
2231
+ },
2221
2232
  title: "Cartelle che l'agente può leggere",
2222
2233
  allow: "Consenti",
2223
2234
  remove: "Scollega {name}",
2224
- connect: "Collega una cartella",
2225
2235
  confirm: {
2226
2236
  title: "Collegare una cartella?",
2227
2237
  question: "L'agente potrà elencare, cercare e leggere i file della cartella che scegli e delle sue sottocartelle, tranne file come .env, chiavi e certificati, e le cartelle .git e node_modules.",
@@ -57,17 +57,23 @@ type __VLS_Props = {
57
57
  * its chip shows "Retry".
58
58
  */
59
59
  retryableAttachments?: boolean;
60
+ /**
61
+ * The user may connect a folder of the computer (spec
62
+ * `chat-local-folders.md`): the "+" menu offers it, also to an agent
63
+ * that takes no attachments, and emits `connect-folder`.
64
+ */
65
+ folderConnect?: boolean;
60
66
  };
61
67
  type __VLS_ModelProps = {
62
68
  modelValue?: string | undefined;
63
69
  'pendingAttachments'?: PendingAttachment[];
64
70
  };
65
71
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
66
- declare var __VLS_56: {}, __VLS_110: {};
72
+ declare var __VLS_56: {}, __VLS_123: {};
67
73
  type __VLS_Slots = {} & {
68
74
  prepend?: (props: typeof __VLS_56) => any;
69
75
  } & {
70
- 'additional-actions'?: (props: typeof __VLS_110) => any;
76
+ 'additional-actions'?: (props: typeof __VLS_123) => any;
71
77
  };
72
78
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {
73
79
  /** Move the focus to the message field */
@@ -94,6 +100,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {
94
100
  point: () => any;
95
101
  "remove-pointer": () => any;
96
102
  "manual-confirmations": () => any;
103
+ "connect-folder": () => any;
97
104
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
98
105
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
99
106
  onSubmit?: (() => any) | undefined;
@@ -111,6 +118,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {
111
118
  onPoint?: (() => any) | undefined;
112
119
  "onRemove-pointer"?: (() => any) | undefined;
113
120
  "onManual-confirmations"?: (() => any) | undefined;
121
+ "onConnect-folder"?: (() => any) | undefined;
114
122
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
115
123
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
116
124
  declare const _default: typeof __VLS_export;
@@ -2,21 +2,24 @@ import { ConnectedLocalFolder } from '../../../composable/src';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  /**
4
4
  * The folders of the user's computer the agent may read (spec
5
- * `chat-local-folders.md`): above the input, as the wakeup bar, because they
6
- * are what the next answer can open. A folder kept from an earlier visit
7
- * waits for a click on "Allow": the browser asks only on a gesture of the
8
- * user, never on a call of the model.
5
+ * `chat-local-folders.md`), above the input in one framed box as the
6
+ * chat's scheduled tasks (PkChatbotWakeupBar): a row each, its name, what
7
+ * the agent may do with it and its actions. Nothing shows until a folder
8
+ * is connected, from the input's "+" menu, which calls `open`.
9
+ *
10
+ * A folder kept from an earlier visit waits for a click on "Allow": the
11
+ * browser asks only on a gesture of the user, never on a call of the
12
+ * model.
9
13
  */
10
14
  type __VLS_Props = {
11
15
  folders: readonly ConnectedLocalFolder[];
12
16
  /** Chrome and Edge: the picker; elsewhere a copy of the folder's files. */
13
17
  pickerAvailable: boolean;
14
- /** Below the cap of connected folders: past it the button goes away. */
15
- canConnect: boolean;
16
- /** A folder the chat would never read, picked as a whole: said here. */
17
- refused?: string;
18
18
  };
19
- declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
+ declare const __VLS_export: DefineComponent<__VLS_Props, {
20
+ /** Starts connecting a folder: the notice first, then the browser. */
21
+ open: () => void;
22
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
23
  remove: (id: string) => any;
21
24
  connect: () => any;
22
25
  connectFiles: (files: File[]) => any;