@8wave/ai-elements 0.121.0-beta.55 → 0.121.0-beta.57

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 (118) hide show
  1. package/dist/_chunks/{Agent-BdoXh8b0.js → Agent-FDL4Wq0B.js} +95 -71
  2. package/dist/_chunks/Agent-FDL4Wq0B.js.map +1 -0
  3. package/dist/_chunks/{PkStreamingMarkdown-Bev81_Lp.js → PkStreamingMarkdown-DPW6VsEn.js} +6 -6
  4. package/dist/_chunks/{PkStreamingMarkdown-Bev81_Lp.js.map → PkStreamingMarkdown-DPW6VsEn.js.map} +1 -1
  5. package/dist/_chunks/{PkToolChatFile-a37ez2k5.js → PkToolChatFile-BL6_6_YP.js} +4 -4
  6. package/dist/_chunks/{PkToolChatFile-a37ez2k5.js.map → PkToolChatFile-BL6_6_YP.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestGeolocation-BantUie4.js → PkToolRequestGeolocation-nLx_fany.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestGeolocation-BantUie4.js.map → PkToolRequestGeolocation-nLx_fany.js.map} +1 -1
  9. package/dist/_chunks/{PkToolRequestOAuthConnection-CB5ziPOE.js → PkToolRequestOAuthConnection-BeULtYsM.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-CB5ziPOE.js.map → PkToolRequestOAuthConnection-BeULtYsM.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowArtifact-CecXXZSh.js → PkToolShowArtifact-BbxJB9sw.js} +2 -2
  12. package/dist/_chunks/{PkToolShowArtifact-CecXXZSh.js.map → PkToolShowArtifact-BbxJB9sw.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-3BGkXgD9.js → PkToolShowContactForm-MPqFOYBD.js} +2 -2
  14. package/dist/_chunks/{PkToolShowContactForm-3BGkXgD9.js.map → PkToolShowContactForm-MPqFOYBD.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-BXOmY4ce.js → PkToolShowForm-BCt6k0Qn.js} +3 -3
  16. package/dist/_chunks/{PkToolShowForm-BXOmY4ce.js.map → PkToolShowForm-BCt6k0Qn.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-BisEror8.js → PkToolShowImageGallery-D5Mj0OMR.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-BisEror8.js.map → PkToolShowImageGallery-D5Mj0OMR.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowProductList-BmPdjUSS.js → PkToolShowProductList-Fsm9LxbT.js} +2 -2
  20. package/dist/_chunks/{PkToolShowProductList-BmPdjUSS.js.map → PkToolShowProductList-Fsm9LxbT.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowSources-Cv8UguNA.js → PkToolShowSources-CmSKmV61.js} +3 -3
  22. package/dist/_chunks/{PkToolShowSources-Cv8UguNA.js.map → PkToolShowSources-CmSKmV61.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowSuggestedReply-lzs6-CcI.js → PkToolShowSuggestedReply-Bp3CzPjY.js} +2 -2
  24. package/dist/_chunks/{PkToolShowSuggestedReply-lzs6-CcI.js.map → PkToolShowSuggestedReply-Bp3CzPjY.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowVideo-BPYYn43O.js → PkToolShowVideo-2G2Sty3S.js} +2 -2
  26. package/dist/_chunks/{PkToolShowVideo-BPYYn43O.js.map → PkToolShowVideo-2G2Sty3S.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowWebPages-CbE_bnHt.js → PkToolShowWebPages-BpNBC0sK.js} +2 -2
  28. package/dist/_chunks/{PkToolShowWebPages-CbE_bnHt.js.map → PkToolShowWebPages-BpNBC0sK.js.map} +1 -1
  29. package/dist/_chunks/{chatImagePolicy-CZeGEXvB.js → chatImagePolicy-ulDURWxd.js} +2 -2
  30. package/dist/_chunks/{chatImagePolicy-CZeGEXvB.js.map → chatImagePolicy-ulDURWxd.js.map} +1 -1
  31. package/dist/_chunks/{markdown-DtRRqlac.js → markdown-CYo6_RtA.js} +8 -8
  32. package/dist/_chunks/{markdown-DtRRqlac.js.map → markdown-CYo6_RtA.js.map} +1 -1
  33. package/dist/ai-elements.es.js +2421 -2424
  34. package/dist/ai-elements.es.js.map +1 -1
  35. package/dist-vue/PkChatbot.js +1 -1
  36. package/dist-vue/PkChatbotEmptyState.js +1 -1
  37. package/dist-vue/PkChatbotInput.js +1 -1
  38. package/dist-vue/PkChatbotMessages.js +1 -1
  39. package/dist-vue/PkChatbotStepPayload.js +1 -1
  40. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  41. package/dist-vue/PkChatbotSteps.js +1 -1
  42. package/dist-vue/PkChatbotViewChat.js +1 -1
  43. package/dist-vue/PkChatbotViewConversations.js +1 -1
  44. package/dist-vue/PkChatbotViewFiles.js +1 -1
  45. package/dist-vue/PkChatbotViewProfile.js +1 -1
  46. package/dist-vue/_chunks/{Agent-B-jQOrER.js → Agent-CZUFbLo7.js} +85 -80
  47. package/dist-vue/_chunks/Agent-CZUFbLo7.js.map +1 -0
  48. package/dist-vue/_chunks/{Document-DQtliJu6.js → Document-C06S5S5M.js} +2 -2
  49. package/dist-vue/_chunks/{Document-DQtliJu6.js.map → Document-C06S5S5M.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbot-BFAcqm6m.js → PkChatbot-BjD_4yaD.js} +8 -8
  51. package/dist-vue/_chunks/{PkChatbot-BFAcqm6m.js.map → PkChatbot-BjD_4yaD.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbotEmptyState-fADhr37n.js → PkChatbotEmptyState-CMNmmQdu.js} +2 -2
  53. package/dist-vue/_chunks/{PkChatbotEmptyState-fADhr37n.js.map → PkChatbotEmptyState-CMNmmQdu.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkChatbotInput-CUOcwWDz.js → PkChatbotInput-CdpjDIzr.js} +2 -2
  55. package/dist-vue/_chunks/{PkChatbotInput-CUOcwWDz.js.map → PkChatbotInput-CdpjDIzr.js.map} +1 -1
  56. package/dist-vue/_chunks/PkChatbotMessages-ozG-o8mm.js +965 -0
  57. package/dist-vue/_chunks/PkChatbotMessages-ozG-o8mm.js.map +1 -0
  58. package/dist-vue/_chunks/{PkChatbotStepPayload-CQD8lb4l.js → PkChatbotStepPayload-WwVYTghY.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotStepPayload-CQD8lb4l.js.map → PkChatbotStepPayload-WwVYTghY.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bj1ZBPMz.js → PkChatbotStepToolDetail-BV2J0bAi.js} +3 -3
  61. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bj1ZBPMz.js.map → PkChatbotStepToolDetail-BV2J0bAi.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotSteps-DhIEYst5.js → PkChatbotSteps-D2z1P3h3.js} +5 -5
  63. package/dist-vue/_chunks/{PkChatbotSteps-DhIEYst5.js.map → PkChatbotSteps-D2z1P3h3.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotViewChat-CW4SxAtr.js → PkChatbotViewChat-BqFY0Evp.js} +7 -7
  65. package/dist-vue/_chunks/{PkChatbotViewChat-CW4SxAtr.js.map → PkChatbotViewChat-BqFY0Evp.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotViewConversations-BXxXUgso.js → PkChatbotViewConversations-DF_c4X6k.js} +3 -3
  67. package/dist-vue/_chunks/{PkChatbotViewConversations-BXxXUgso.js.map → PkChatbotViewConversations-DF_c4X6k.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotViewFiles-i_OUsdlU.js → PkChatbotViewFiles-B76IwGGP.js} +3 -3
  69. package/dist-vue/_chunks/{PkChatbotViewFiles-i_OUsdlU.js.map → PkChatbotViewFiles-B76IwGGP.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotViewProfile-x0oUCbeL.js → PkChatbotViewProfile-Bt0eH8fO.js} +2 -2
  71. package/dist-vue/_chunks/{PkChatbotViewProfile-x0oUCbeL.js.map → PkChatbotViewProfile-Bt0eH8fO.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkStreamingMarkdown-qZLlI83D.js → PkStreamingMarkdown-DbcGdYgv.js} +3 -3
  73. package/dist-vue/_chunks/{PkStreamingMarkdown-qZLlI83D.js.map → PkStreamingMarkdown-DbcGdYgv.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolChatFile-DPkLqqDt.js → PkToolChatFile-CVRYORvL.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolChatFile-DPkLqqDt.js.map → PkToolChatFile-CVRYORvL.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolRequestGeolocation-CY-NC6Rc.js → PkToolRequestGeolocation-DXHDyI5N.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolRequestGeolocation-CY-NC6Rc.js.map → PkToolRequestGeolocation-DXHDyI5N.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-RkbnKSde.js → PkToolRequestOAuthConnection-D5hBaUNG.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-RkbnKSde.js.map → PkToolRequestOAuthConnection-D5hBaUNG.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowArtifact-BDZjRnfs.js → PkToolShowArtifact-CucTREqR.js} +2 -2
  81. package/dist-vue/_chunks/{PkToolShowArtifact-BDZjRnfs.js.map → PkToolShowArtifact-CucTREqR.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowContactForm-CcIF7fNS.js → PkToolShowContactForm-B3uOHhnG.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowContactForm-CcIF7fNS.js.map → PkToolShowContactForm-B3uOHhnG.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowDiagram-CD70YQgq.js → PkToolShowDiagram-CHLApsxe.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolShowDiagram-CD70YQgq.js.map → PkToolShowDiagram-CHLApsxe.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowForm-edPn56Ka.js → PkToolShowForm-CblYA_3B.js} +4 -4
  87. package/dist-vue/_chunks/{PkToolShowForm-edPn56Ka.js.map → PkToolShowForm-CblYA_3B.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowImageGallery-82BzTTbf.js → PkToolShowImageGallery-uhRKuPJK.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowImageGallery-82BzTTbf.js.map → PkToolShowImageGallery-uhRKuPJK.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowProductList-CKPDiMkx.js → PkToolShowProductList-BIbKoptX.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowProductList-CKPDiMkx.js.map → PkToolShowProductList-BIbKoptX.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowSources-CHH2vKVG.js → PkToolShowSources-Ci8ssht-.js} +3 -3
  93. package/dist-vue/_chunks/{PkToolShowSources-CHH2vKVG.js.map → PkToolShowSources-Ci8ssht-.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CThFJVUq.js → PkToolShowSuggestedReply-CQgkPMgE.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowSuggestedReply-CThFJVUq.js.map → PkToolShowSuggestedReply-CQgkPMgE.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowVideo-C5TKoW1f.js → PkToolShowVideo-hQQ_Kr8f.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowVideo-C5TKoW1f.js.map → PkToolShowVideo-hQQ_Kr8f.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowWebPages-CuwLXH1I.js → PkToolShowWebPages-BUlVSK43.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowWebPages-CuwLXH1I.js.map → PkToolShowWebPages-BUlVSK43.js.map} +1 -1
  100. package/dist-vue/_chunks/{createChatbotApiClient-B3U31J_K.js → createChatbotApiClient-BYGLKd_e.js} +14 -14
  101. package/dist-vue/_chunks/{createChatbotApiClient-B3U31J_K.js.map → createChatbotApiClient-BYGLKd_e.js.map} +1 -1
  102. package/dist-vue/_chunks/{useChatbotStore-D2L4m3iJ.js → useChatbotStore-O0u7mVit.js} +475 -475
  103. package/dist-vue/_chunks/{useChatbotStore-D2L4m3iJ.js.map → useChatbotStore-O0u7mVit.js.map} +1 -1
  104. package/dist-vue/_chunks/{utils-C8jnMPj0.js → utils-CqPytB2D.js} +8 -8
  105. package/dist-vue/_chunks/{utils-C8jnMPj0.js.map → utils-CqPytB2D.js.map} +1 -1
  106. package/dist-vue/api.js +1 -1
  107. package/dist-vue/composables.js +8 -8
  108. package/dist-vue/composables.js.map +1 -1
  109. package/dist-vue/index.js +416 -375
  110. package/dist-vue/index.js.map +1 -1
  111. package/dist-vue/locales.js +32 -18
  112. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +2 -2
  113. package/dist-vue/packages/models/src/schema/Agent.d.ts +6 -0
  114. package/package.json +1 -1
  115. package/dist/_chunks/Agent-BdoXh8b0.js.map +0 -1
  116. package/dist-vue/_chunks/Agent-B-jQOrER.js.map +0 -1
  117. package/dist-vue/_chunks/PkChatbotMessages-CcTQozaF.js +0 -968
  118. package/dist-vue/_chunks/PkChatbotMessages-CcTQozaF.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,27 +1,27 @@
1
1
  import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
2
- import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-edPn56Ka.js";
2
+ import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-CblYA_3B.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-BO5QlXAp.js";
4
- import { t as v } from "./_chunks/PkChatbotMessages-CcTQozaF.js";
4
+ import { t as v } from "./_chunks/PkChatbotMessages-ozG-o8mm.js";
5
5
  import { a as y, i as ee, l as b, n as x, r as S } from "./_chunks/Media-DylqhvaF.js";
6
- import { C, F as te, G as w, I as ne, J as re, K as ie, L as ae, M as oe, N as se, P as ce, R as le, S as ue, T as de, V as fe, W as pe, Y as me, _ as he, a as ge, at as _e, b as ve, ct as ye, d as be, dt as xe, f as Se, i as Ce, it as we, j as Te, nt as Ee, ot as De, p as Oe, q as ke, r as T, rt as Ae, s as je, st as Me, t as Ne, tt as Pe, w as Fe, y as Ie } from "./_chunks/Agent-B-jQOrER.js";
7
- import { c as Le, d as Re, l as ze, r as Be, s as Ve, t as He, u as Ue } from "./_chunks/Document-DQtliJu6.js";
8
- import { a as We, i as Ge, n as Ke } from "./_chunks/createChatbotApiClient-B3U31J_K.js";
6
+ import { C, E as te, F as w, G as ne, H as re, I as ie, J as ae, K as oe, L as se, M as ce, N as le, P as ue, R as de, T as fe, X as pe, Y as me, a as he, at as ge, b as _e, ct as ve, d as ye, f as be, ft as xe, i as Se, it as Ce, lt as we, nt as Te, ot as Ee, p as De, q as Oe, r as T, rt as ke, s as Ae, st as je, t as Me, v as Ne, w as Pe, x as Fe, z as Ie } from "./_chunks/Agent-CZUFbLo7.js";
7
+ import { c as Le, d as Re, l as ze, r as Be, s as Ve, t as He, u as Ue } from "./_chunks/Document-C06S5S5M.js";
8
+ import { a as We, i as Ge, n as Ke } from "./_chunks/createChatbotApiClient-BYGLKd_e.js";
9
9
  import { t as qe } from "./_chunks/PkChatbotAuth-Btxg3TF0.js";
10
10
  import { t as Je } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
11
- import { n as Ye, t as Xe } from "./_chunks/PkStreamingMarkdown-qZLlI83D.js";
12
- import { a as Ze, i as Qe, n as $e, r as et } from "./_chunks/useChatbotStore-D2L4m3iJ.js";
11
+ import { n as Ye, t as Xe } from "./_chunks/PkStreamingMarkdown-DbcGdYgv.js";
12
+ import { a as Ze, i as Qe, n as $e, r as et } from "./_chunks/useChatbotStore-O0u7mVit.js";
13
13
  import "./_chunks/src-B-ZKEhTU.js";
14
14
  import { a as tt, l as nt, u as rt } from "./_chunks/message-DuibQyHy.js";
15
- import { A as it, D as at, F as ot, I as st, N as ct, P as lt, f as ut, g as dt, m as ft, w as pt } from "./_chunks/utils-C8jnMPj0.js";
15
+ import { A as it, D as at, F as ot, I as st, N as ct, P as lt, f as ut, g as dt, m as ft, w as pt } from "./_chunks/utils-CqPytB2D.js";
16
16
  import { t as mt } from "./_chunks/useSafeLocalStorage-a2eHEqAi.js";
17
17
  import { t as ht } from "./_chunks/useDialogConfirm-CyD9VTKg.js";
18
- import { n as gt, r as _t, t as vt } from "./_chunks/PkChatbotViewConversations-BXxXUgso.js";
19
- import { i as yt, n as bt, r as xt, t as St } from "./_chunks/PkChatbotViewChat-CW4SxAtr.js";
18
+ import { n as gt, r as _t, t as vt } from "./_chunks/PkChatbotViewConversations-DF_c4X6k.js";
19
+ import { i as yt, n as bt, r as xt, t as St } from "./_chunks/PkChatbotViewChat-BqFY0Evp.js";
20
20
  import { t as Ct } from "./_chunks/PkChatbotError-BS84xuiu.js";
21
21
  import { t as wt } from "./_chunks/useImageFallback-HUe4GHah.js";
22
22
  import { t as Tt } from "./_chunks/useLocalizedString-Dmn92nix.js";
23
23
  import { n as Et, t as Dt } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
24
- import { r as Ot, t as kt } from "./_chunks/PkToolShowArtifact-BDZjRnfs.js";
24
+ import { r as Ot, t as kt } from "./_chunks/PkToolShowArtifact-CucTREqR.js";
25
25
  import { $ as At, A as jt, B as Mt, C as Nt, Ct as Pt, D as Ft, E as It, F as Lt, G as Rt, H as zt, I as Bt, J as Vt, K as Ht, L as Ut, M as Wt, N as E, Q as Gt, S as Kt, St as qt, T as Jt, Tt as Yt, U as Xt, V as Zt, W as Qt, X as $t, _t as en, a as tn, at as nn, b as rn, bt as an, c as on, ct as sn, d as cn, dt as ln, et as un, f as dn, gt as fn, h as pn, it as mn, j as hn, k as gn, l as D, lt as O, mt as _n, nt as vn, o as yn, ot as bn, pt as xn, q as Sn, rt as Cn, st as wn, tt as Tn, u as En, ut as Dn, vt as On, w as kn, wt as An, x as jn, xt as Mn, y as Nn, yt as Pn, z as Fn } from "./_chunks/dist-DtxVAOxm.js";
26
26
  import { n as In, t as Ln } from "./_chunks/dist-CKKe4gMX.js";
27
27
  import { n as Rn, r as zn } from "./_chunks/dist-DTy4614p.js";
@@ -31,26 +31,26 @@ import { t as Wn } from "./_chunks/PkSvgViewer-BckH8MdR.js";
31
31
  import { t as Gn } from "./_chunks/PkUrl-IFszepUi.js";
32
32
  import { t as Kn } from "./_chunks/PkAvatar-uVRs_DD9.js";
33
33
  import { t as qn } from "./_chunks/PkChatbotFeedbackForm-Bh3tvNUW.js";
34
- import { n as Jn, t as Yn } from "./_chunks/PkChatbotSteps-DhIEYst5.js";
35
- import { t as Xn } from "./_chunks/PkChatbotStepPayload-CQD8lb4l.js";
36
- import { t as Zn } from "./_chunks/PkChatbotStepToolDetail-Bj1ZBPMz.js";
37
- import { n as Qn, t as $n } from "./_chunks/PkChatbotInput-CUOcwWDz.js";
38
- import { t as er } from "./_chunks/PkChatbotEmptyState-fADhr37n.js";
39
- import { t as tr } from "./_chunks/PkChatbotViewProfile-x0oUCbeL.js";
40
- import { t as nr } from "./_chunks/PkChatbot-BFAcqm6m.js";
41
- import { i as rr, r as ir, t as ar } from "./_chunks/PkToolShowSources-CHH2vKVG.js";
34
+ import { n as Jn, t as Yn } from "./_chunks/PkChatbotSteps-D2z1P3h3.js";
35
+ import { t as Xn } from "./_chunks/PkChatbotStepPayload-WwVYTghY.js";
36
+ import { t as Zn } from "./_chunks/PkChatbotStepToolDetail-BV2J0bAi.js";
37
+ import { n as Qn, t as $n } from "./_chunks/PkChatbotInput-CdpjDIzr.js";
38
+ import { t as er } from "./_chunks/PkChatbotEmptyState-CMNmmQdu.js";
39
+ import { t as tr } from "./_chunks/PkChatbotViewProfile-Bt0eH8fO.js";
40
+ import { t as nr } from "./_chunks/PkChatbot-BjD_4yaD.js";
41
+ import { i as rr, r as ir, t as ar } from "./_chunks/PkToolShowSources-Ci8ssht-.js";
42
42
  import { t as or } from "./_chunks/mcpOAuthReport-aR-W09MX.js";
43
43
  import { t as sr } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
44
44
  import { t as cr } from "./_chunks/PkToolShowMessage-Cca7K7GQ.js";
45
- import { t as lr } from "./_chunks/PkToolShowWebPages-CuwLXH1I.js";
46
- import { t as ur } from "./_chunks/PkToolShowProductList-CKPDiMkx.js";
47
- import { t as dr } from "./_chunks/PkToolShowContactForm-CcIF7fNS.js";
45
+ import { t as lr } from "./_chunks/PkToolShowWebPages-BUlVSK43.js";
46
+ import { t as ur } from "./_chunks/PkToolShowProductList-BIbKoptX.js";
47
+ import { t as dr } from "./_chunks/PkToolShowContactForm-B3uOHhnG.js";
48
48
  import { t as fr } from "./_chunks/PkToolShowCalendarEvent-C16j-Cto.js";
49
49
  import { t as pr } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
50
50
  import { t as mr } from "./_chunks/PkToolShowLocation-Cq0IXye1.js";
51
51
  import { t as hr } from "./_chunks/PkToolShowQrCode-skWaARYV.js";
52
- import { t as gr } from "./_chunks/PkToolShowImageGallery-82BzTTbf.js";
53
- import { t as _r } from "./_chunks/PkToolShowSuggestedReply-CThFJVUq.js";
52
+ import { t as gr } from "./_chunks/PkToolShowImageGallery-uhRKuPJK.js";
53
+ import { t as _r } from "./_chunks/PkToolShowSuggestedReply-CQgkPMgE.js";
54
54
  import { t as vr } from "./_chunks/PkToolShareDocument-CRghPfep.js";
55
55
  import { VvAccordion as yr, VvAccordionGroup as br, VvAlert as xr, VvAlertGroup as Sr, VvBadge as Cr, VvButtonGroup as wr, VvCheckbox as Tr, VvCombobox as Er, VvDialog as Dr, VvDropdown as Or, VvDropdownAction as kr, VvIcon as Ar, VvInputFile as jr, VvInputRange as Mr, VvInputText as Nr, VvTab as Pr, VvTooltip as Fr } from "@volverjs/ui-vue/components";
56
56
  import { Fragment as k, Teleport as Ir, Transition as Lr, TransitionGroup as Rr, cloneVNode as zr, computed as A, createApp as Br, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as Vr, createStaticVNode as Hr, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as Ur, h as Wr, inject as R, isRef as Gr, isVNode as Kr, mergeModels as qr, mergeProps as Jr, nextTick as Yr, normalizeClass as Xr, normalizeProps as Zr, normalizeStyle as Qr, onBeforeUnmount as $r, onMounted as ei, onUnmounted as ti, openBlock as z, provide as ni, reactive as ri, readonly as ii, ref as B, renderList as ai, renderSlot as oi, resolveComponent as si, resolveDynamicComponent as ci, shallowRef as li, toDisplayString as V, toRef as ui, toRefs as di, unref as H, useId as fi, useModel as U, useSlots as pi, useTemplateRef as mi, vModelSelect as hi, vModelText as gi, watch as W, withCtx as G, withDirectives as _i, withKeys as vi, withModifiers as yi } from "vue";
@@ -469,7 +469,7 @@ var Sa = {
469
469
  descriptionShort: a().max(80).optional(),
470
470
  descriptionFull: a().max(4e3).optional(),
471
471
  developerName: a().max(32).optional(),
472
- accentColor: a().regex(Ae).optional(),
472
+ accentColor: a().regex(Ce).optional(),
473
473
  version: a().regex(/^\d+\.\d+\.\d+$/).optional()
474
474
  });
475
475
  m({
@@ -561,14 +561,14 @@ var ka = 36500, Aa = s().int().min(0).nullish().catch(void 0), ja = m({
561
561
  }({});
562
562
  Na.Voice, Na.WhatsApp, Na.Teams, Na.McpServers, Na.ApiTools, Na.SubAgents, Na.Endpoints, Na.OpenAiApi, Na.HubSpot, Na.Salesforce, Na.SharePoint, Na.Leads, Na.FileUpload, Na.Gateway, Na.Byok, Na.ProactiveAutomations, Na.HostTools, Na.AgentVisibilityPublic, Na.AgentVisibilityRegistered, Na.AgentVisibilityRestricted, Sa.WhatsApp, Na.WhatsApp, Sa.Teams, Na.Teams;
563
563
  var Pa = {
564
- [Oe.Public]: Na.AgentVisibilityPublic,
565
- [Oe.Private]: Na.AgentVisibilityRegistered,
566
- [Oe.Organization]: null,
567
- [Oe.Restricted]: Na.AgentVisibilityRestricted
564
+ [De.Public]: Na.AgentVisibilityPublic,
565
+ [De.Private]: Na.AgentVisibilityRegistered,
566
+ [De.Organization]: null,
567
+ [De.Restricted]: Na.AgentVisibilityRestricted
568
568
  }, Fa = (e, t) => {
569
569
  let n = Pa[e];
570
570
  return n === null || t?.[n] !== !1;
571
- }, Ia = (e, t) => Object.values(Oe).filter((n) => (e !== Se.Reasoning || ue.includes(n)) && Fa(n, t));
571
+ }, Ia = (e, t) => Object.values(De).filter((n) => (e !== be.Reasoning || C.includes(n)) && Fa(n, t));
572
572
  da.HubSpot, Na.HubSpot, da.Salesforce, Na.Salesforce, da.SharePoint, Na.SharePoint;
573
573
  var La = { [Na.Leads]: [T.ShowContactForm] }, Ra = (e) => Object.entries(La).flatMap(([t, n]) => e?.[t] === !1 ? n : []), za = g(a(), h()).optional().catch(void 0), Ba = m({
574
574
  agentModel: a().optional(),
@@ -640,10 +640,10 @@ var Va = { class: "flex items-center gap-4 mb-4" }, Ha = { class: "font-semibold
640
640
  let n = U(e, "modelValue"), r = e, { t: i } = bi(), { t: a } = bi({ useScope: "global" }), o = A(() => {
641
641
  let e = [{
642
642
  label: a("agentType.chat"),
643
- value: Se.Chat
643
+ value: be.Chat
644
644
  }, {
645
645
  label: a("agentType.reasoning"),
646
- value: Se.Reasoning
646
+ value: be.Reasoning
647
647
  }];
648
648
  return r.readonly ? e.filter((e) => e.value === n.value) : e;
649
649
  });
@@ -933,7 +933,7 @@ function go(e) {
933
933
  }
934
934
  // ../../packages/components/src/PkEditorNotificationType.vue
935
935
  typeof go == "function" && go(ho);
936
- var _o = ho, vo = li(Me(Ee)), yo = li(""), bo = (e) => we(yo.value, e.checksum), xo = (e) => e ? bo(e) : null, So = () => {
936
+ var _o = ho, vo = li(ve(ke)), yo = li(""), bo = (e) => ge(yo.value, e.checksum), xo = (e) => e ? bo(e) : null, So = () => {
937
937
  let e = A(() => vo.value.assets), t = (t) => t ? e.value.logoDark ?? e.value.logoLight : e.value.logoLight ?? e.value.logoDark;
938
938
  return {
939
939
  branding: A(() => vo.value),
@@ -944,9 +944,9 @@ var _o = ho, vo = li(Me(Ee)), yo = li(""), bo = (e) => we(yo.value, e.checksum),
944
944
  mode: A(() => vo.value.mode),
945
945
  hasOwnPalette: (e) => {
946
946
  let t = e ? "dark" : "light";
947
- return !De(vo.value.colors[t], Ee.colors[t]);
947
+ return !je(vo.value.colors[t], ke.colors[t]);
948
948
  },
949
- canChooseTheme: A(() => vo.value.mode === Pe.System),
949
+ canChooseTheme: A(() => vo.value.mode === Te.System),
950
950
  logo: (e) => {
951
951
  let n = t(e);
952
952
  return n ? {
@@ -957,7 +957,7 @@ var _o = ho, vo = li(Me(Ee)), yo = li(""), bo = (e) => we(yo.value, e.checksum),
957
957
  },
958
958
  markUrl: (t) => {
959
959
  let { text: n, colors: r } = vo.value;
960
- return xo(e.value.mark) ?? (ye(n) ? null : _e(n.productName, r[t ? "dark" : "light"].brand));
960
+ return xo(e.value.mark) ?? (we(n) ? null : Ee(n.productName, r[t ? "dark" : "light"].brand));
961
961
  }
962
962
  };
963
963
  }, Co = /* @__PURE__ */ new Set(["object", "array/object"]), wo = {
@@ -1295,7 +1295,7 @@ var { getRawOptions: Jo } = { getRawOptions: async (e) => Wo(e) ? await qo(e) :
1295
1295
  uploadFileToBlob: Zo,
1296
1296
  createMediaFromFile: Qo
1297
1297
  };
1298
- }), es = (e) => e === Pe.ForceDark ? "dark" : e === Pe.ForceLight ? "light" : null;
1298
+ }), es = (e) => e === Te.ForceDark ? "dark" : e === Te.ForceLight ? "light" : null;
1299
1299
  function ts(e) {
1300
1300
  let t = document.documentElement;
1301
1301
  t.classList.remove("theme--dark", "theme--light"), t.classList.add("theme", `theme--${e}`);
@@ -18624,7 +18624,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
18624
18624
  ]);
18625
18625
  };
18626
18626
  }
18627
- }), zE = ze, BE = .6, VE = ge.parse({}), HE = /* @__PURE__ */ L({
18627
+ }), zE = ze, BE = .6, VE = he.parse({}), HE = /* @__PURE__ */ L({
18628
18628
  __name: "PkToolApprovalBadge",
18629
18629
  setup(e) {
18630
18630
  let { t } = bi({ useScope: "global" });
@@ -18916,15 +18916,15 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
18916
18916
  }),
18917
18917
  emits: ["update:reasoning"],
18918
18918
  setup(e) {
18919
- let { t, te: n } = bi({ useScope: "global" }), r = e, i = U(e, "reasoning"), a = A(() => ce("openai", i.value)), o = A(() => ce("anthropic", i.value)), s = A(() => ce("google", i.value)), c = A(() => ne(r.activeProvider) ? ce(r.activeProvider, i.value) : void 0), l = A(() => ({
18919
+ let { t, te: n } = bi({ useScope: "global" }), r = e, i = U(e, "reasoning"), a = A(() => w("openai", i.value)), o = A(() => w("anthropic", i.value)), s = A(() => w("google", i.value)), c = A(() => se(r.activeProvider) ? w(r.activeProvider, i.value) : void 0), l = A(() => ({
18920
18920
  openai: a.value !== i.value?.openai,
18921
18921
  anthropic: o.value !== i.value?.anthropic,
18922
18922
  google: s.value !== i.value?.google,
18923
- generic: ne(r.activeProvider) && c.value !== i.value?.[r.activeProvider]
18923
+ generic: se(r.activeProvider) && c.value !== i.value?.[r.activeProvider]
18924
18924
  })), u = (e, r) => r.map((r) => ({
18925
18925
  label: n(`reasoningOption.${e}.${r}`) ? t(`reasoningOption.${e}.${r}`) : r,
18926
18926
  value: r
18927
- })), d = A(() => u("level", C)), f = A(() => u("level", Ne)), p = A(() => u("level", ve)), m = A(() => u("level", Ie)), h = A(() => u("level", Fe)), g = A(() => u("anthropicType", [
18927
+ })), d = A(() => u("level", Pe)), f = A(() => u("level", Me)), p = A(() => u("level", Fe)), m = A(() => u("level", _e)), h = A(() => u("level", fe)), g = A(() => u("anthropicType", [
18928
18928
  "adaptive",
18929
18929
  "enabled",
18930
18930
  "disabled"
@@ -19169,7 +19169,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19169
19169
  "label",
19170
19170
  "placeholder",
19171
19171
  "options"
19172
- ])) : H(ne)(e.activeProvider) ? (z(), j(u, {
19172
+ ])) : H(se)(e.activeProvider) ? (z(), j(u, {
19173
19173
  key: 4,
19174
19174
  "model-value": c.value?.reasoningEffort,
19175
19175
  name: `reasoning.${e.activeProvider}.reasoningEffort`,
@@ -19206,7 +19206,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19206
19206
  }, {
19207
19207
  webSearch: { default: () => ({
19208
19208
  enabled: !1,
19209
- provider: oe.Native
19209
+ provider: le.Native
19210
19210
  }) },
19211
19211
  webSearchModifiers: {}
19212
19212
  }),
@@ -19214,11 +19214,11 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19214
19214
  setup(e) {
19215
19215
  let { t } = bi({ useScope: "global" }), n = e, r = A(() => {
19216
19216
  if (!n.activeProvider) return;
19217
- let e = fe(n.activeProvider);
19217
+ let e = re(n.activeProvider);
19218
19218
  if (!e) return t("hint.webSearchNativeFallback");
19219
- let r = n.fallbackModels ?? [], i = [.../* @__PURE__ */ new Set([e, ...r.flatMap((e) => fe(e) ?? [])])], a = r.some((e) => !fe(e));
19219
+ let r = n.fallbackModels ?? [], i = [.../* @__PURE__ */ new Set([e, ...r.flatMap((e) => re(e) ?? [])])], a = r.some((e) => !re(e));
19220
19220
  return i.length === 1 ? t(a ? "hint.webSearchNativeWithoutSearch" : "hint.webSearchNative", { provider: e }) : t(a ? "hint.webSearchNativeChainWithoutSearch" : "hint.webSearchNativeChain", { providers: i.join(", ") });
19221
- }), i = U(e, "webSearch"), a = A(() => i.value?.provider ?? oe.Native), o = A({
19221
+ }), i = U(e, "webSearch"), a = A(() => i.value?.provider ?? le.Native), o = A({
19222
19222
  get: () => i.value?.perplexity?.searchDomainFilter?.join(", ") ?? "",
19223
19223
  set: (e) => {
19224
19224
  let t = e.split(",").map((e) => e.trim()).filter(Boolean);
@@ -19580,12 +19580,12 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19580
19580
  }), lD = /* @__PURE__ */ L({
19581
19581
  __name: "PkEditorChannels",
19582
19582
  props: /*@__PURE__*/ qr({ type: {} }, {
19583
- modelValue: { default: () => Object.values(Ce) },
19583
+ modelValue: { default: () => Object.values(Se) },
19584
19584
  modelModifiers: {}
19585
19585
  }),
19586
19586
  emits: ["update:modelValue"],
19587
19587
  setup(e) {
19588
- let t = e, n = U(e, "modelValue"), r = A(() => t.type === Se.Chat);
19588
+ let t = e, n = U(e, "modelValue"), r = A(() => t.type === be.Chat);
19589
19589
  function i(e) {
19590
19590
  return n.value.includes(e);
19591
19591
  }
@@ -19595,12 +19595,12 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19595
19595
  return (e, t) => (z(), j(fs, { legend: e.$t("label.channels") }, {
19596
19596
  default: G(() => [
19597
19597
  I(KT, {
19598
- "model-value": i(H(Ce).Frontoffice),
19598
+ "model-value": i(H(Se).Frontoffice),
19599
19599
  name: "channel.frontoffice",
19600
19600
  switch: "",
19601
19601
  label: e.$t("agent.channel.frontoffice"),
19602
19602
  "hint-label": e.$t("hint.channel.frontoffice"),
19603
- "onUpdate:modelValue": t[0] ||= (e) => a(H(Ce).Frontoffice, e)
19603
+ "onUpdate:modelValue": t[0] ||= (e) => a(H(Se).Frontoffice, e)
19604
19604
  }, null, 8, [
19605
19605
  "model-value",
19606
19606
  "label",
@@ -19608,12 +19608,12 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19608
19608
  ]),
19609
19609
  r.value ? (z(), j(KT, {
19610
19610
  key: 0,
19611
- "model-value": i(H(Ce).App),
19611
+ "model-value": i(H(Se).App),
19612
19612
  name: "channel.app",
19613
19613
  switch: "",
19614
19614
  label: e.$t("agent.channel.app"),
19615
19615
  "hint-label": e.$t("hint.channel.app"),
19616
- "onUpdate:modelValue": t[1] ||= (e) => a(H(Ce).App, e)
19616
+ "onUpdate:modelValue": t[1] ||= (e) => a(H(Se).App, e)
19617
19617
  }, null, 8, [
19618
19618
  "model-value",
19619
19619
  "label",
@@ -19621,13 +19621,13 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19621
19621
  ])) : M("", !0),
19622
19622
  r.value ? (z(), j(KT, {
19623
19623
  key: 1,
19624
- "model-value": i(H(Ce).Widget),
19624
+ "model-value": i(H(Se).Widget),
19625
19625
  name: "channel.widget",
19626
19626
  switch: "",
19627
19627
  class: "mb-0",
19628
19628
  label: e.$t("agent.channel.widget"),
19629
19629
  "hint-label": e.$t("hint.channel.widget"),
19630
- "onUpdate:modelValue": t[2] ||= (e) => a(H(Ce).Widget, e)
19630
+ "onUpdate:modelValue": t[2] ||= (e) => a(H(Se).Widget, e)
19631
19631
  }, null, 8, [
19632
19632
  "model-value",
19633
19633
  "label",
@@ -19738,7 +19738,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19738
19738
  let n = [...c.value];
19739
19739
  n[e] = t.trim(), c.value = n;
19740
19740
  }, u = (e) => {
19741
- if (e) return me.test(e) ? ie(e) ? r("hint.hostToolNameReserved") : void 0 : r("hint.hostToolNameInvalid");
19741
+ if (e) return pe.test(e) ? Oe(e) ? r("hint.hostToolNameReserved") : void 0 : r("hint.hostToolNameInvalid");
19742
19742
  }, d = A({
19743
19743
  get: () => t.value?.requireConfirmation ?? [],
19744
19744
  set: (e) => i({ requireConfirmation: e })
@@ -19909,10 +19909,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19909
19909
  emits: ["update:modelValue"],
19910
19910
  setup(e) {
19911
19911
  let t = U(e, "modelValue"), n = e, { t: r, d: i, availableLocales: a } = bi({ useScope: "global" }), o = [
19912
- pe.Off,
19913
- pe.Read,
19914
- pe.Forms,
19915
- pe.Full
19912
+ ne.Off,
19913
+ ne.Read,
19914
+ ne.Forms,
19915
+ ne.Full
19916
19916
  ], s = A(() => o.map((e) => ({
19917
19917
  value: e,
19918
19918
  label: r(`label.pageAccessLevel.${e}`)
@@ -19921,10 +19921,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19921
19921
  ...t.value,
19922
19922
  ...e
19923
19923
  };
19924
- }, l = (e, t) => JSON.stringify(e) === JSON.stringify(t), u = B(), d = B(), f = (e) => w(t.value, e) || re(d.value, e), p = A({
19925
- get: () => t.value?.level ?? pe.Off,
19924
+ }, l = (e, t) => JSON.stringify(e) === JSON.stringify(t), u = B(), d = B(), f = (e) => oe(t.value, e) || me(d.value, e), p = A({
19925
+ get: () => t.value?.level ?? ne.Off,
19926
19926
  set: (e) => {
19927
- e !== p.value && (re(e, pe.Forms) && !f(e) ? u.value = e : c({ level: e }));
19927
+ e !== p.value && (me(e, ne.Forms) && !f(e) ? u.value = e : c({ level: e }));
19928
19928
  }
19929
19929
  }), m = A({
19930
19930
  get: () => u.value !== void 0,
@@ -19937,7 +19937,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
19937
19937
  acknowledgedAt: /* @__PURE__ */ new Date(),
19938
19938
  acknowledgedLevel: u.value
19939
19939
  })), u.value = void 0;
19940
- }, g = A(() => u.value ? o.filter((e) => e !== pe.Off && re(u.value, e)).map((e) => r(`hint.pageAccessRisk.${e}`)) : []), _ = A(() => p.value !== pe.Off), v = A(() => re(p.value, pe.Forms)), y = A(() => v.value && !f(p.value)), ee = () => {
19940
+ }, g = A(() => u.value ? o.filter((e) => e !== ne.Off && me(u.value, e)).map((e) => r(`hint.pageAccessRisk.${e}`)) : []), _ = A(() => p.value !== ne.Off), v = A(() => me(p.value, ne.Forms)), y = A(() => v.value && !f(p.value)), ee = () => {
19941
19941
  u.value = p.value;
19942
19942
  }, b = A(() => (n.trustedOrigins?.filter(Boolean).length ?? 0) > 0 && !n.trustedOrigins?.includes("*")), x = A({
19943
19943
  get: () => t.value?.excludeSelectors ?? [],
@@ -20006,7 +20006,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20006
20006
  onClick: ee
20007
20007
  }, null, 8, ["label"])]),
20008
20008
  _: 1
20009
- })) : v.value && t.value?.acknowledgedAt && H(w)(t.value, p.value) ? (z(), N("p", vD, V(H(r)("hint.pageAccessAccepted", { date: H(i)(new Date(t.value.acknowledgedAt), "date-time") })), 1)) : M("", !0),
20009
+ })) : v.value && t.value?.acknowledgedAt && H(oe)(t.value, p.value) ? (z(), N("p", vD, V(H(r)("hint.pageAccessAccepted", { date: H(i)(new Date(t.value.acknowledgedAt), "date-time") })), 1)) : M("", !0),
20010
20010
  _.value ? (z(), N(k, { key: 3 }, [
20011
20011
  I(HT, {
20012
20012
  modelValue: x.value,
@@ -20023,7 +20023,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20023
20023
  name: `pageAccessExcludeSelectors.${e}`,
20024
20024
  label: H(r)("label.cssSelector"),
20025
20025
  placeholder: ".account-danger-zone",
20026
- invalid: !H(ke)(x.value[e] ?? ""),
20026
+ invalid: !H(ae)(x.value[e] ?? ""),
20027
20027
  "invalid-label": H(r)("hint.invalidCssSelector"),
20028
20028
  floating: "",
20029
20029
  "onUpdate:modelValue": (t) => S(e, t)
@@ -20042,7 +20042,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20042
20042
  "placeholder"
20043
20043
  ]),
20044
20044
  P("p", yD, V(H(r)("hint.pageAccessExcludeSelectors")), 1),
20045
- p.value === H(pe).Full ? (z(), j(KT, {
20045
+ p.value === H(ne).Full ? (z(), j(KT, {
20046
20046
  key: 0,
20047
20047
  modelValue: C.value,
20048
20048
  "onUpdate:modelValue": n[2] ||= (e) => C.value = e,
@@ -20107,10 +20107,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20107
20107
  }, CD = { class: "p-8 flex flex-col" }, wD = { class: "flex flex-col ml-12 gap-2" }, TD = { class: "text-12 text-word-3" }, ED = { class: "mb-md" }, DD = { class: "flex items-center gap-xs mb-2" }, OD = ["for"], kD = { class: "relative cursor-help text-word-3" }, AD = { class: "mb-md" }, jD = { class: "flex items-center gap-xs mb-2" }, MD = ["for"], ND = { class: "relative cursor-help text-word-3" }, PD = { class: "text-12 text-word-3 mt-xs leading-normal" }, FD = { class: "flex flex-col ml-12 gap-2" }, ID = { class: "text-12 text-word-3" }, LD = { class: "mb-md" }, RD = { class: "flex items-center gap-xs mb-2" }, zD = ["for"], BD = { class: "relative cursor-help text-word-3" }, VD = { class: "mb-md" }, HD = { class: "flex items-center gap-xs mb-2" }, UD = ["for"], WD = { class: "relative cursor-help text-word-3" }, GD = { class: "flex flex-col ml-12 gap-2" }, KD = { class: "text-12 text-word-3" }, qD = { class: "flex flex-col ml-12 gap-2" }, JD = { class: "text-12 text-word-3" }, YD = { class: "flex flex-col ml-12 gap-2" }, XD = { class: "text-12 text-word-3" }, ZD = { class: "flex items-end gap-sm mt-md" }, QD = { class: "flex flex-col gap-2 min-w-0" }, $D = { class: "truncate" }, eO = {
20108
20108
  key: 0,
20109
20109
  class: "text-12 text-word-3 truncate"
20110
- }, tO = { class: "p-8 flex flex-col" }, nO = { class: "flex flex-col ml-12 gap-2" }, rO = { class: "text-12 text-word-3" }, iO = { class: "flex gap-sm mt-md" }, aO = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, oO = { class: "p-8 flex flex-col" }, sO = { class: "grid sm:grid-cols-2 gap-md items-start" }, cO = { class: "flex flex-col gap-md" }, lO = { class: "text-12 text-word-3 mb-sm" }, uO = { class: "flex items-center gap-4" }, dO = { class: "text-12 text-word-3 mb-xs" }, fO = { class: "flex flex-col nx-md nb-md" }, pO = { class: "flex flex-col ml-12 gap-2" }, mO = { class: "flex items-center gap-8" }, hO = { class: "font-semibold" }, gO = { class: "text-12 text-word-3" }, _O = ["title"], vO = { class: "p-xs flex flex-col" }, yO = {
20110
+ }, tO = { class: "p-8 flex flex-col" }, nO = { class: "flex flex-col ml-12 gap-2" }, rO = { class: "text-12 text-word-3" }, iO = { class: "flex gap-sm mt-md" }, aO = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, oO = { class: "p-8 flex flex-col" }, sO = ["aria-label", "onClick"], cO = { class: "grid sm:grid-cols-2 gap-md items-start" }, lO = { class: "flex flex-col gap-md" }, uO = { class: "text-12 text-word-3 mb-sm" }, dO = { class: "flex items-center gap-4" }, fO = { class: "text-12 text-word-3 mb-xs" }, pO = { class: "flex flex-col nx-md nb-md" }, mO = { class: "flex flex-col ml-12 gap-2" }, hO = { class: "flex items-center gap-8" }, gO = { class: "font-semibold" }, _O = { class: "text-12 text-word-3" }, vO = ["title"], yO = { class: "p-xs flex flex-col" }, bO = {
20111
20111
  key: 0,
20112
20112
  class: "flex gap-md items-start"
20113
- }, bO = { class: "flex flex-col gap-md" }, xO = { class: "font-semibold mb-xs" }, SO = { class: "text-smaller" }, CO = { key: 2 }, wO = { class: "p-8 flex flex-col" }, TO = { class: "font-semibold mb-xs" }, EO = { class: "text-smaller" }, DO = { class: "font-semibold mb-xs" }, OO = { class: "text-smaller" }, kO = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, AO = { class: "flex flex-col gap-md" }, jO = { class: "text-12 text-word-3 mb-xs" }, MO = { class: "grid sm:grid-cols-2 gap-md" }, NO = { class: "text-12 text-word-3 mb-md" }, PO = /* @__PURE__ */ L({
20113
+ }, xO = { class: "flex flex-col gap-md" }, SO = { class: "font-semibold mb-xs" }, CO = { class: "text-smaller" }, wO = { key: 2 }, TO = { class: "p-8 flex flex-col" }, EO = { class: "font-semibold mb-xs" }, DO = { class: "text-smaller" }, OO = { class: "font-semibold mb-xs" }, kO = { class: "text-smaller" }, AO = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, jO = { class: "flex flex-col gap-md" }, MO = { class: "text-12 text-word-3 mb-xs" }, NO = { class: "grid sm:grid-cols-2 gap-md" }, PO = { class: "text-12 text-word-3 mb-md" }, FO = /* @__PURE__ */ L({
20114
20114
  __name: "PkAgentSettingsPanel",
20115
20115
  props: /*@__PURE__*/ qr({
20116
20116
  organizationSlug: {},
@@ -20130,7 +20130,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20130
20130
  agentIdModifiers: {},
20131
20131
  name: { default: "" },
20132
20132
  nameModifiers: {},
20133
- type: { default: Se.Chat },
20133
+ type: { default: be.Chat },
20134
20134
  typeModifiers: {},
20135
20135
  initialMessage: { default: void 0 },
20136
20136
  initialMessageModifiers: {},
@@ -20168,7 +20168,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20168
20168
  reasoningModifiers: {},
20169
20169
  webSearch: { default: () => ({
20170
20170
  enabled: !1,
20171
- provider: oe.Native
20171
+ provider: le.Native
20172
20172
  }) },
20173
20173
  webSearchModifiers: {},
20174
20174
  theme: { default: "auto" },
@@ -20270,7 +20270,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20270
20270
  default: !1
20271
20271
  },
20272
20272
  fileUploadEnabledModifiers: {},
20273
- toolWorkingSetMode: { default: be.Off },
20273
+ toolWorkingSetMode: { default: ye.Off },
20274
20274
  toolWorkingSetModeModifiers: {},
20275
20275
  voiceEnabled: {
20276
20276
  type: Boolean,
@@ -20336,7 +20336,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20336
20336
  default: !1
20337
20337
  },
20338
20338
  showExtendedStepsModifiers: {},
20339
- channels: { default: () => Object.values(Ce) },
20339
+ channels: { default: () => Object.values(Se) },
20340
20340
  channelsModifiers: {},
20341
20341
  externalContextSchema: { default: void 0 },
20342
20342
  externalContextSchemaModifiers: {},
@@ -20369,10 +20369,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20369
20369
  ...v.value?.[0],
20370
20370
  [e]: t
20371
20371
  }, ...v.value?.slice(1) ?? []];
20372
- }, x = U(e, "messagePlaceholder"), S = U(e, "dismissableNotice"), C = U(e, "footerMessage"), w = U(e, "model"), ne = A(() => Re(w.value)), re = A(() => d.catalog?.find((e) => e.id === w.value)), ie = A(() => {
20373
- let e = re.value;
20372
+ }, x = U(e, "messagePlaceholder"), S = U(e, "dismissableNotice"), w = U(e, "footerMessage"), ne = U(e, "model"), re = A(() => Re(ne.value)), ae = A(() => d.catalog?.find((e) => e.id === ne.value)), oe = A(() => {
20373
+ let e = ae.value;
20374
20374
  if (e) return e.retired ? r("hint.modelRetired") : Ut.value && e.zdr === na.None || Wt.value && e.noTraining === na.None ? r("hint.modelNotCompatible") : Ut.value && e.zdr === na.Some || Wt.value && e.noTraining === na.Some ? r("hint.modelGuaranteedOnSome") : e.contextWindow ? r("hint.modelContextWindow", { count: a(Math.round(e.contextWindow / 1e3)) }) : void 0;
20375
- }), oe = U(e, "temperature"), ce = U(e, "prompt"), fe = U(e, "status"), pe = U(e, "visibility"), me = U(e, "limit"), he = U(e, "maxStepCount"), ge = U(e, "maxOutputTokens"), _e = U(e, "presencePenalty"), ve = U(e, "frequencyPenalty"), ye = U(e, "searchMode"), xe = U(e, "reasoning"), we = U(e, "webSearch"), Ee = U(e, "theme"), De = U(e, "mainColor"), ke = U(e, "textColor"), Ae = U(e, "useColorsForAgentHeader"), Me = U(e, "welcomePopup"), Ne = U(e, "interactiveLogin"), Pe = U(e, "floatingButtonPosition"), Fe = U(e, "layout"), Ie = U(e, "workingGlow"), Le = U(e, "appearance"), ze = U(e, "hideFloatingButton"), Be = U(e, "copilotPageCss"), Ve = U(e, "maxMessageLength"), He = U(e, "media"), Ue = U(e, "minuteRateLimit"), We = U(e, "hourRateLimit"), Ge = U(e, "dayRateLimit"), Ke = U(e, "monthRateLimit"), qe = U(e, "trustedOrigins"), Ye = U(e, "imageHosts"), Xe = U(e, "disabledTools"), Ze = U(e, "shareDocumentEnabled"), Qe = U(e, "createSpreadsheetEnabled"), $e = U(e, "createWordDocumentEnabled"), et = U(e, "approvalTools"), tt = U(e, "useAllUserKb"), nt = U(e, "useAllUserFiles"), rt = U(e, "formMaxSteps"), it = U(e, "formMaxOptionsPerStep"), at = U(e, "widgetUrl"), ot = U(e, "loadDelay"), st = U(e, "loaderStrategy"), lt = U(e, "fileUploadEnabled"), ut = U(e, "toolWorkingSetMode"), dt = U(e, "voiceEnabled"), ft = U(e, "voiceMaxSessionSeconds"), pt = U(e, "voiceId"), mt = U(e, "voiceLanguage"), ht = U(e, "voiceFirstMessage"), gt = U(e, "voiceCascadeTimeoutSeconds"), _t = U(e, "voiceFillerAfterSeconds"), vt = U(e, "voiceFillerMessage"), yt = U(e, "voiceIgnoreBackgroundVoices"), bt = U(e, "voiceTurnEagerness"), xt = U(e, "voiceTurnTimeoutSeconds"), St = [
20375
+ }), se = U(e, "temperature"), le = U(e, "prompt"), fe = U(e, "status"), pe = U(e, "visibility"), me = U(e, "limit"), he = U(e, "maxStepCount"), ge = U(e, "maxOutputTokens"), _e = U(e, "presencePenalty"), ve = U(e, "frequencyPenalty"), xe = U(e, "searchMode"), Ce = U(e, "reasoning"), we = U(e, "webSearch"), Te = U(e, "theme"), Ee = U(e, "mainColor"), Oe = U(e, "textColor"), ke = U(e, "useColorsForAgentHeader"), je = U(e, "welcomePopup"), Me = U(e, "interactiveLogin"), Ne = U(e, "floatingButtonPosition"), Pe = U(e, "layout"), Fe = U(e, "workingGlow"), Le = U(e, "appearance"), ze = U(e, "hideFloatingButton"), Be = U(e, "copilotPageCss"), Ve = U(e, "maxMessageLength"), He = U(e, "media"), Ue = U(e, "minuteRateLimit"), We = U(e, "hourRateLimit"), Ge = U(e, "dayRateLimit"), Ke = U(e, "monthRateLimit"), qe = U(e, "trustedOrigins"), Ye = U(e, "imageHosts"), Xe = U(e, "disabledTools"), Ze = U(e, "shareDocumentEnabled"), Qe = U(e, "createSpreadsheetEnabled"), $e = U(e, "createWordDocumentEnabled"), et = U(e, "approvalTools"), tt = U(e, "useAllUserKb"), nt = U(e, "useAllUserFiles"), rt = U(e, "formMaxSteps"), it = U(e, "formMaxOptionsPerStep"), at = U(e, "widgetUrl"), ot = U(e, "loadDelay"), st = U(e, "loaderStrategy"), lt = U(e, "fileUploadEnabled"), ut = U(e, "toolWorkingSetMode"), dt = U(e, "voiceEnabled"), ft = U(e, "voiceMaxSessionSeconds"), pt = U(e, "voiceId"), mt = U(e, "voiceLanguage"), ht = U(e, "voiceFirstMessage"), gt = U(e, "voiceCascadeTimeoutSeconds"), _t = U(e, "voiceFillerAfterSeconds"), vt = U(e, "voiceFillerMessage"), yt = U(e, "voiceIgnoreBackgroundVoices"), bt = U(e, "voiceTurnEagerness"), xt = U(e, "voiceTurnTimeoutSeconds"), St = [
20376
20376
  "it",
20377
20377
  "en",
20378
20378
  "es",
@@ -20473,46 +20473,60 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20473
20473
  "image/gif",
20474
20474
  "image/webp"
20475
20475
  ],
20476
- documents: ["application/pdf"],
20476
+ pdf: ["application/pdf"],
20477
20477
  text: [
20478
20478
  "text/plain",
20479
20479
  "text/markdown",
20480
20480
  "text/csv"
20481
20481
  ],
20482
20482
  code: [...y],
20483
- spreadsheets: [de],
20484
- wordDocuments: [Te],
20483
+ spreadsheets: [te],
20484
+ wordDocuments: [ce],
20485
20485
  audio: [...ee]
20486
20486
  }, on = A(() => [
20487
20487
  {
20488
20488
  label: r("label.mimeTypeImages"),
20489
+ description: r("hint.mimeTypeImages"),
20490
+ icon: "ri:image-2-line",
20489
20491
  value: "images"
20490
20492
  },
20491
20493
  {
20492
- label: r("label.mimeTypeDocuments"),
20493
- value: "documents"
20494
+ label: r("label.mimeTypePdf"),
20495
+ description: r("hint.mimeTypePdf"),
20496
+ icon: "ri:file-pdf-2-line",
20497
+ value: "pdf"
20494
20498
  },
20495
20499
  {
20496
20500
  label: r("label.mimeTypeText"),
20501
+ description: r("hint.mimeTypeText"),
20502
+ icon: "ri:file-text-line",
20497
20503
  value: "text"
20498
20504
  },
20499
20505
  {
20500
20506
  label: r("label.mimeTypeCode"),
20507
+ description: r("hint.mimeTypeCode"),
20508
+ icon: "ri:file-code-line",
20501
20509
  value: "code"
20502
20510
  },
20503
20511
  {
20504
20512
  label: r("label.mimeTypeSpreadsheets"),
20513
+ description: r("hint.mimeTypeSpreadsheets"),
20514
+ icon: "ri:file-excel-2-line",
20505
20515
  value: "spreadsheets"
20506
20516
  },
20507
20517
  {
20508
20518
  label: r("label.mimeTypeWordDocuments"),
20519
+ description: r("hint.mimeTypeWordDocuments"),
20520
+ icon: "ri:file-word-2-line",
20509
20521
  value: "wordDocuments"
20510
20522
  },
20511
20523
  ...d.features?.gateway === !1 ? [] : [{
20512
20524
  label: r("label.mimeTypeAudio"),
20525
+ description: r("hint.mimeTypeAudio"),
20526
+ icon: "ri:file-music-line",
20513
20527
  value: "audio"
20514
20528
  }]
20515
- ]), sn = A(() => Object.values(be).map((e) => ({
20529
+ ]), sn = A(() => Object.values(ye).map((e) => ({
20516
20530
  label: r(`agent.toolWorkingSetMode.${e}`),
20517
20531
  value: e
20518
20532
  }))), cn = A({
@@ -20522,7 +20536,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20522
20536
  Lt.value = [.../* @__PURE__ */ new Set([...Lt.value.filter((e) => !t.has(e)), ...e.flatMap((e) => an[e] ?? [])])];
20523
20537
  }
20524
20538
  }), ln = A(() => {
20525
- let e = on.value.filter(({ value: e }) => cn.value.includes(e) && an[e].some((e) => te(e, Xe.value))).map(({ label: e }) => e);
20539
+ let e = on.value.filter(({ value: e }) => cn.value.includes(e) && an[e].some((e) => ie(e, Xe.value))).map(({ label: e }) => e);
20526
20540
  return e.length ? r("hint.fileUploadToolOff", { types: e.join(", ") }) : void 0;
20527
20541
  }), un = A({
20528
20542
  get: () => Math.round(It.value / 1048576),
@@ -20603,17 +20617,17 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20603
20617
  ]), pn = A(() => fn.value.map((e) => ({
20604
20618
  ...e,
20605
20619
  tools: e.tools.filter((e) => !dn.value.has(e))
20606
- })).filter((e) => e.tools.length > 0)), mn = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !Xe.value.includes(T.SearchInKnowledgeBase) : e === T.ShowWeather ? !Xe.value.includes(T.GetWeather) : e !== T.ShareDocument || !d.playground && !Xe.value.includes(T.SearchInKnowledgeBase), hn = (e) => le(e) || e === T.Spreadsheet || e === T.WordDocument, gn = A(() => w.value ? [w.value] : []);
20620
+ })).filter((e) => e.tools.length > 0)), mn = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !Xe.value.includes(T.SearchInKnowledgeBase) : e === T.ShowWeather ? !Xe.value.includes(T.GetWeather) : e !== T.ShareDocument || !d.playground && !Xe.value.includes(T.SearchInKnowledgeBase), hn = (e) => Ie(e) || e === T.Spreadsheet || e === T.WordDocument, gn = A(() => ne.value ? [ne.value] : []);
20607
20621
  function D(e) {
20608
20622
  return e === T.ShareDocument ? Ze.value : !Xe.value.includes(e);
20609
20623
  }
20610
20624
  function O(e) {
20611
- return e === T.ShowForm || e === T.UserMemory || e === T.SearchInUserFiles || se(e);
20625
+ return e === T.ShowForm || e === T.UserMemory || e === T.SearchInUserFiles || ue(e);
20612
20626
  }
20613
20627
  function _n(e) {
20614
20628
  return et.value.includes(e);
20615
20629
  }
20616
- let vn = A(() => et.value.filter((e) => se(e) && D(e)).map((e) => ct(e, {
20630
+ let vn = A(() => et.value.filter((e) => ue(e) && D(e)).map((e) => ct(e, {
20617
20631
  t: r,
20618
20632
  te: i
20619
20633
  })));
@@ -20623,9 +20637,9 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20623
20637
  function bn(e, t) {
20624
20638
  e === T.ShareDocument ? (Ze.value = t, t || yn(e, !1)) : t ? Xe.value = Xe.value.filter((t) => t !== e) : (Xe.value = [...Xe.value, e], yn(e, !1), e === T.UserMemory && (tt.value = !1), e === T.SearchInUserFiles && (nt.value = !1), e === T.Spreadsheet && !d.playground && (Qe.value = !1), e === T.WordDocument && !d.playground && ($e.value = !1));
20625
20639
  }
20626
- let xn = A(() => w.value?.split("/")[0] ?? ""), Sn = A(() => g.value === Se.Chat), Cn = A(() => {
20640
+ let xn = A(() => ne.value?.split("/")[0] ?? ""), Sn = A(() => g.value === be.Chat), Cn = A(() => {
20627
20641
  let e = Ia(g.value, d.features);
20628
- return Object.values(Oe).filter((t) => e.includes(t) || t === pe.value).map((e) => ({
20642
+ return Object.values(De).filter((t) => e.includes(t) || t === pe.value).map((e) => ({
20629
20643
  label: r(`agent.visibility.${e}`),
20630
20644
  value: e
20631
20645
  }));
@@ -20658,12 +20672,12 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20658
20672
  }), Tn = A(() => `${window.location.origin}/app/${d.organizationSlug}/${m.value}`), En = A(() => `${window.location.origin}/app/${d.organizationSlug}/${m.value}/chat`), Dn = A(() => `<script src="${`${d.baseUrl}/api/v1/public/organizations/${d.organizationSlug}/agents/${m.value}/embed.js`}" defer><\/script>`), On = A(() => `<iframe src="${Tn.value}" width="100%" height="600" frameborder="0"
20659
20673
  style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
20660
20674
  return (n, i) => {
20661
- let o = Er, s = Je, d = Nr, p = Mr, m = Tr, y = Ar, ee = Fr, te = yr, re = Pr, de = Cr, be = Dr;
20675
+ let o = Er, s = Je, d = Nr, p = Mr, m = Tr, y = Ar, ee = Fr, te = yr, ie = Pr, ae = Cr, ce = Dr;
20662
20676
  return z(), N("div", {
20663
20677
  ref_key: "panelRoot",
20664
20678
  ref: tn,
20665
20679
  class: "pk-agent-settings-panel"
20666
- }, [I(re, {
20680
+ }, [I(ie, {
20667
20681
  items: wn.value,
20668
20682
  lazy: "once",
20669
20683
  "onUpdate:modelValue": nn
@@ -20751,7 +20765,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20751
20765
  "hint-label",
20752
20766
  "disabled"
20753
20767
  ]),
20754
- e.manageAccess && !e.playground && H(ue).includes(pe.value) ? (z(), j(s, {
20768
+ e.manageAccess && !e.playground && H(C).includes(pe.value) ? (z(), j(s, {
20755
20769
  key: 0,
20756
20770
  modifiers: "action-small",
20757
20771
  icon: "ri:team-line",
@@ -20771,8 +20785,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20771
20785
  "placeholder"
20772
20786
  ]),
20773
20787
  I(aD, {
20774
- modelValue: w.value,
20775
- "onUpdate:modelValue": i[5] ||= (e) => w.value = e,
20788
+ modelValue: ne.value,
20789
+ "onUpdate:modelValue": i[5] ||= (e) => ne.value = e,
20776
20790
  name: "model",
20777
20791
  label: H(r)("label.model"),
20778
20792
  strategy: "fixed",
@@ -20780,7 +20794,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20780
20794
  catalog: e.catalog,
20781
20795
  "zero-data-retention": Ut.value,
20782
20796
  "disallow-prompt-training": Wt.value,
20783
- current: w.value,
20797
+ current: ne.value,
20784
20798
  unselectable: !1
20785
20799
  }, null, 8, [
20786
20800
  "modelValue",
@@ -20791,8 +20805,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20791
20805
  "disallow-prompt-training",
20792
20806
  "current"
20793
20807
  ]),
20794
- ie.value ? (z(), N("p", SD, V(ie.value), 1)) : M("", !0),
20795
- ne.value && e.features?.gateway !== !1 ? (z(), j(qT, {
20808
+ oe.value ? (z(), N("p", SD, V(oe.value), 1)) : M("", !0),
20809
+ re.value && e.features?.gateway !== !1 ? (z(), j(qT, {
20796
20810
  key: 2,
20797
20811
  icon: "ri:server-line",
20798
20812
  class: "mb-md"
@@ -20801,8 +20815,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20801
20815
  _: 1
20802
20816
  })) : M("", !0),
20803
20817
  I(PT, {
20804
- modelValue: ce.value,
20805
- "onUpdate:modelValue": i[6] ||= (e) => ce.value = e,
20818
+ modelValue: le.value,
20819
+ "onUpdate:modelValue": i[6] ||= (e) => le.value = e,
20806
20820
  name: "prompt",
20807
20821
  label: H(r)("label.prompt"),
20808
20822
  placeholder: H(r)("placeholder.insert")
@@ -20819,7 +20833,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20819
20833
  default: G(() => [P("div", CD, [
20820
20834
  I(fs, { legend: H(r)("label.modelParameters") }, {
20821
20835
  default: G(() => [
20822
- ne.value ? M("", !0) : (z(), j(aD, {
20836
+ re.value ? M("", !0) : (z(), j(aD, {
20823
20837
  key: 0,
20824
20838
  modelValue: Ht.value,
20825
20839
  "onUpdate:modelValue": i[7] ||= (e) => Ht.value = e,
@@ -20856,8 +20870,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20856
20870
  "placeholder"
20857
20871
  ]),
20858
20872
  I(p, {
20859
- modelValue: oe.value,
20860
- "onUpdate:modelValue": i[9] ||= (e) => oe.value = e,
20873
+ modelValue: se.value,
20874
+ "onUpdate:modelValue": i[9] ||= (e) => se.value = e,
20861
20875
  name: "temperature",
20862
20876
  label: H(r)("label.temperature"),
20863
20877
  min: "0",
@@ -20922,8 +20936,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20922
20936
  }, 8, ["legend"]),
20923
20937
  I(fs, { legend: H(r)("label.reasoning") }, {
20924
20938
  default: G(() => [I(sD, {
20925
- reasoning: xe.value,
20926
- "onUpdate:reasoning": i[13] ||= (e) => xe.value = e,
20939
+ reasoning: Ce.value,
20940
+ "onUpdate:reasoning": i[13] ||= (e) => Ce.value = e,
20927
20941
  "active-provider": xn.value
20928
20942
  }, null, 8, ["reasoning", "active-provider"]), I(KT, {
20929
20943
  modelValue: Kt.value,
@@ -20943,8 +20957,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
20943
20957
  I(fs, { legend: H(r)("label.searchAndExecution") }, {
20944
20958
  default: G(() => [
20945
20959
  I(o, {
20946
- modelValue: ye.value,
20947
- "onUpdate:modelValue": i[15] ||= (e) => ye.value = e,
20960
+ modelValue: xe.value,
20961
+ "onUpdate:modelValue": i[15] ||= (e) => xe.value = e,
20948
20962
  name: "searchMode",
20949
20963
  icon: "ri:search-line",
20950
20964
  strategy: "fixed",
@@ -21138,7 +21152,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21138
21152
  ]),
21139
21153
  _: 1
21140
21154
  }, 8, ["legend"]),
21141
- ne.value ? M("", !0) : (z(), j(fs, {
21155
+ re.value ? M("", !0) : (z(), j(fs, {
21142
21156
  key: 0,
21143
21157
  legend: H(r)("label.privacy"),
21144
21158
  class: "mb-0"
@@ -21450,8 +21464,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21450
21464
  ])),
21451
21465
  Sn.value ? (z(), j(t, {
21452
21466
  key: 1,
21453
- modelValue: Ee.value,
21454
- "onUpdate:modelValue": i[40] ||= (e) => Ee.value = e,
21467
+ modelValue: Te.value,
21468
+ "onUpdate:modelValue": i[40] ||= (e) => Te.value = e,
21455
21469
  name: "theme",
21456
21470
  segmented: "",
21457
21471
  label: H(r)("label.theme"),
@@ -21490,13 +21504,13 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21490
21504
  ])) : M("", !0),
21491
21505
  I(fs, { legend: H(r)("label.appearance") }, {
21492
21506
  default: G(() => [I(pD, {
21493
- modelValue: De.value,
21494
- "onUpdate:modelValue": i[41] ||= (e) => De.value = e,
21507
+ modelValue: Ee.value,
21508
+ "onUpdate:modelValue": i[41] ||= (e) => Ee.value = e,
21495
21509
  name: "mainColor",
21496
21510
  label: H(r)("label.mainColor")
21497
21511
  }, null, 8, ["modelValue", "label"]), I(t, {
21498
- modelValue: ke.value,
21499
- "onUpdate:modelValue": i[42] ||= (e) => ke.value = e,
21512
+ modelValue: Oe.value,
21513
+ "onUpdate:modelValue": i[42] ||= (e) => Oe.value = e,
21500
21514
  name: "textColor",
21501
21515
  segmented: "",
21502
21516
  label: H(r)("label.textColor"),
@@ -21530,8 +21544,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21530
21544
  default: G(() => [P("div", oO, [
21531
21545
  Sn.value ? (z(), j(KT, {
21532
21546
  key: 0,
21533
- modelValue: Ae.value,
21534
- "onUpdate:modelValue": i[43] ||= (e) => Ae.value = e,
21547
+ modelValue: ke.value,
21548
+ "onUpdate:modelValue": i[43] ||= (e) => ke.value = e,
21535
21549
  name: "useColorsForAgentHeader",
21536
21550
  switch: "",
21537
21551
  class: "mb-0",
@@ -21558,8 +21572,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21558
21572
  ])) : M("", !0),
21559
21573
  !e.playground && Sn.value ? (z(), j(KT, {
21560
21574
  key: 2,
21561
- modelValue: Me.value,
21562
- "onUpdate:modelValue": i[45] ||= (e) => Me.value = e,
21575
+ modelValue: je.value,
21576
+ "onUpdate:modelValue": i[45] ||= (e) => je.value = e,
21563
21577
  name: "welcomePopup",
21564
21578
  class: "mt-md mb-0",
21565
21579
  switch: "",
@@ -21572,8 +21586,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21572
21586
  ])) : M("", !0),
21573
21587
  !e.playground && Sn.value && pe.value === "public" ? (z(), j(KT, {
21574
21588
  key: 3,
21575
- modelValue: Ne.value,
21576
- "onUpdate:modelValue": i[46] ||= (e) => Ne.value = e,
21589
+ modelValue: Me.value,
21590
+ "onUpdate:modelValue": i[46] ||= (e) => Me.value = e,
21577
21591
  name: "interactiveLogin",
21578
21592
  class: "mt-md mb-0",
21579
21593
  switch: "",
@@ -21586,12 +21600,12 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21586
21600
  ])) : M("", !0),
21587
21601
  !e.playground && Sn.value ? (z(), j(t, {
21588
21602
  key: 4,
21589
- modelValue: Fe.value,
21590
- "onUpdate:modelValue": i[47] ||= (e) => Fe.value = e,
21603
+ modelValue: Pe.value,
21604
+ "onUpdate:modelValue": i[47] ||= (e) => Pe.value = e,
21591
21605
  name: "layout",
21592
21606
  segmented: "",
21593
21607
  label: H(r)("label.widgetLayout"),
21594
- "hint-label": Fe.value === "copilot" ? H(r)("hint.widgetLayoutCopilot") : H(r)("hint.widgetLayoutFloating"),
21608
+ "hint-label": Pe.value === "copilot" ? H(r)("hint.widgetLayoutCopilot") : H(r)("hint.widgetLayoutFloating"),
21595
21609
  options: [{
21596
21610
  label: H(r)("label.widgetLayoutFloating"),
21597
21611
  value: "floating"
@@ -21618,8 +21632,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21618
21632
  ])) : M("", !0),
21619
21633
  !e.playground && Sn.value ? (z(), j(t, {
21620
21634
  key: 5,
21621
- modelValue: Pe.value,
21622
- "onUpdate:modelValue": i[48] ||= (e) => Pe.value = e,
21635
+ modelValue: Ne.value,
21636
+ "onUpdate:modelValue": i[48] ||= (e) => Ne.value = e,
21623
21637
  name: "floatingButtonPosition",
21624
21638
  segmented: "",
21625
21639
  label: H(r)("label.floatingButtonPosition"),
@@ -21646,7 +21660,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21646
21660
  "label",
21647
21661
  "options"
21648
21662
  ])) : M("", !0),
21649
- !e.playground && Sn.value && Fe.value === "floating" ? (z(), j(t, {
21663
+ !e.playground && Sn.value && Pe.value === "floating" ? (z(), j(t, {
21650
21664
  key: 6,
21651
21665
  modelValue: Le.value,
21652
21666
  "onUpdate:modelValue": i[49] ||= (e) => Le.value = e,
@@ -21682,10 +21696,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21682
21696
  "label",
21683
21697
  "hint-label"
21684
21698
  ])) : M("", !0),
21685
- !e.playground && Sn.value && Fe.value === "copilot" ? (z(), j(KT, {
21699
+ !e.playground && Sn.value && Pe.value === "copilot" ? (z(), j(KT, {
21686
21700
  key: 8,
21687
- modelValue: Ie.value,
21688
- "onUpdate:modelValue": i[51] ||= (e) => Ie.value = e,
21701
+ modelValue: Fe.value,
21702
+ "onUpdate:modelValue": i[51] ||= (e) => Fe.value = e,
21689
21703
  name: "workingGlow",
21690
21704
  class: "mt-md mb-0",
21691
21705
  switch: "",
@@ -21696,7 +21710,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21696
21710
  "label",
21697
21711
  "hint-label"
21698
21712
  ])) : M("", !0),
21699
- !e.playground && Sn.value && Fe.value === "copilot" ? (z(), j(ls, {
21713
+ !e.playground && Sn.value && Pe.value === "copilot" ? (z(), j(ls, {
21700
21714
  key: 9,
21701
21715
  modelValue: Be.value,
21702
21716
  "onUpdate:modelValue": i[52] ||= (e) => Be.value = e,
@@ -21745,7 +21759,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21745
21759
  ])]),
21746
21760
  _: 1
21747
21761
  }, 8, ["title"]),
21748
- Sn.value ? (z(), j(re, {
21762
+ Sn.value ? (z(), j(ie, {
21749
21763
  key: 2,
21750
21764
  items: c.value.map((e) => ({
21751
21765
  tab: e,
@@ -21832,13 +21846,13 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21832
21846
  "onUpdate:modelValue"
21833
21847
  ]),
21834
21848
  I(PT, {
21835
- "model-value": C.value?.[e] ?? "",
21849
+ "model-value": w.value?.[e] ?? "",
21836
21850
  name: `footerMessage.${e}`,
21837
21851
  lang: e,
21838
21852
  label: H(r)("label.footer"),
21839
21853
  placeholder: H(r)("placeholder.insert"),
21840
- "onUpdate:modelValue": (t) => C.value = {
21841
- ...C.value,
21854
+ "onUpdate:modelValue": (t) => w.value = {
21855
+ ...w.value,
21842
21856
  [e]: t ?? ""
21843
21857
  }
21844
21858
  }, null, 8, [
@@ -21922,7 +21936,34 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21922
21936
  badges: "",
21923
21937
  multiple: "",
21924
21938
  strategy: "fixed"
21925
- }, null, 8, [
21939
+ }, {
21940
+ value: G(({ selectedOptions: t, onInput: n }) => [(z(!0), N(k, null, ai(t, (t) => (z(), j(ae, {
21941
+ key: t.value,
21942
+ class: "vv-select__badge"
21943
+ }, {
21944
+ default: G(() => [
21945
+ I(y, { name: t.icon }, null, 8, ["name"]),
21946
+ F(" " + V(t.label) + " ", 1),
21947
+ e.playground ? M("", !0) : (z(), N("button", {
21948
+ key: 0,
21949
+ "aria-label": H(r)("label.deselectAction"),
21950
+ type: "button",
21951
+ onClick: yi((e) => n(t), ["stop"])
21952
+ }, [I(y, { name: "close" })], 8, sO))
21953
+ ]),
21954
+ _: 2
21955
+ }, 1024))), 128))]),
21956
+ option: G(({ option: e }) => [I(gs, {
21957
+ icon: e.icon,
21958
+ label: e.label,
21959
+ description: e.description
21960
+ }, null, 8, [
21961
+ "icon",
21962
+ "label",
21963
+ "description"
21964
+ ])]),
21965
+ _: 1
21966
+ }, 8, [
21926
21967
  "modelValue",
21927
21968
  "disabled",
21928
21969
  "label",
@@ -21937,7 +21978,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21937
21978
  default: G(() => [F(V(ln.value), 1)]),
21938
21979
  _: 1
21939
21980
  })) : M("", !0),
21940
- P("div", sO, [I(d, {
21981
+ P("div", cO, [I(d, {
21941
21982
  modelValue: Rt.value,
21942
21983
  "onUpdate:modelValue": i[58] ||= (e) => Rt.value = e,
21943
21984
  disabled: e.playground,
@@ -21971,7 +22012,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21971
22012
  ], 64)) : M("", !0)]),
21972
22013
  _: 1
21973
22014
  }, 8, ["legend"])),
21974
- ne.value ? M("", !0) : (z(), j(fs, {
22015
+ re.value ? M("", !0) : (z(), j(fs, {
21975
22016
  key: 1,
21976
22017
  legend: H(r)("label.webSearch")
21977
22018
  }, {
@@ -21987,7 +22028,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
21987
22028
  ])]),
21988
22029
  _: 1
21989
22030
  }, 8, ["legend"])),
21990
- e.features?.gateway !== !1 && !ne.value ? (z(), j(fs, {
22031
+ e.features?.gateway !== !1 && !re.value ? (z(), j(fs, {
21991
22032
  key: 2,
21992
22033
  legend: H(r)("label.toolWorkingSet")
21993
22034
  }, {
@@ -22015,15 +22056,15 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22015
22056
  })]),
22016
22057
  _: 1
22017
22058
  }, 8, ["legend"])) : M("", !0),
22018
- P("div", cO, [P("p", lO, V(H(r)("hint.approvalChannels")), 1), (z(!0), N(k, null, ai(pn.value, (t) => (z(), N(k, { key: t.key }, [Sn.value || !t.tools.every((e) => hn(e)) ? (z(), j(fs, {
22059
+ P("div", lO, [P("p", uO, V(H(r)("hint.approvalChannels")), 1), (z(!0), N(k, null, ai(pn.value, (t) => (z(), N(k, { key: t.key }, [Sn.value || !t.tools.every((e) => hn(e)) ? (z(), j(fs, {
22019
22060
  key: 0,
22020
22061
  class: "mb-0"
22021
22062
  }, {
22022
- legend: G(() => [P("span", uO, [I(y, {
22063
+ legend: G(() => [P("span", dO, [I(y, {
22023
22064
  name: t.icon,
22024
22065
  class: "text-16"
22025
22066
  }, null, 8, ["name"]), F(" " + V(H(r)(`toolGroup.${t.key}`)), 1)])]),
22026
- default: G(() => [P("p", dO, V(H(r)(`toolGroupInfo.${t.key}`)), 1), P("div", fO, [(z(!0), N(k, null, ai(t.tools, (t) => (z(), N(k, { key: t }, [!hn(t) || Sn.value ? (z(), N(k, { key: 0 }, [I(m, {
22067
+ default: G(() => [P("p", fO, V(H(r)(`toolGroupInfo.${t.key}`)), 1), P("div", pO, [(z(!0), N(k, null, ai(t.tools, (t) => (z(), N(k, { key: t }, [!hn(t) || Sn.value ? (z(), N(k, { key: 0 }, [I(m, {
22027
22068
  class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
22028
22069
  "model-value": D(t),
22029
22070
  name: `tool.${t}`,
@@ -22033,10 +22074,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22033
22074
  switch: "",
22034
22075
  "onUpdate:modelValue": (e) => bn(t, e)
22035
22076
  }, {
22036
- default: G(() => [P("div", pO, [
22037
- P("div", mO, [
22038
- P("strong", hO, V(H(r)(`agent.tool.${t}`)), 1),
22039
- t === H(T).ShowMultipleChoice ? (z(), j(de, {
22077
+ default: G(() => [P("div", mO, [
22078
+ P("div", hO, [
22079
+ P("strong", gO, V(H(r)(`agent.tool.${t}`)), 1),
22080
+ t === H(T).ShowMultipleChoice ? (z(), j(ae, {
22040
22081
  key: 0,
22041
22082
  modifiers: "gray sm"
22042
22083
  }, {
@@ -22045,12 +22086,12 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22045
22086
  })) : M("", !0),
22046
22087
  _n(t) ? (z(), j(HE, { key: 1 })) : M("", !0)
22047
22088
  ]),
22048
- P("small", gO, V(H(r)(`hint.tool.${t}`)), 1),
22049
- H(le)(t) && H(ae)(t) ? (z(), N("div", {
22089
+ P("small", _O, V(H(r)(`hint.tool.${t}`)), 1),
22090
+ H(Ie)(t) && H(de)(t) ? (z(), N("div", {
22050
22091
  key: 0,
22051
22092
  class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
22052
22093
  title: H(r)("hint.platformSupported")
22053
- }, [I(de, {
22094
+ }, [I(ae, {
22054
22095
  modifiers: "ghost sm",
22055
22096
  class: "inline-flex items-center gap-4"
22056
22097
  }, {
@@ -22059,7 +22100,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22059
22100
  class: "text-12"
22060
22101
  }), F(" " + V(H(r)("label.whatsapp")), 1)]),
22061
22102
  _: 1
22062
- }), I(de, {
22103
+ }), I(ae, {
22063
22104
  modifiers: "ghost sm",
22064
22105
  class: "inline-flex items-center gap-4"
22065
22106
  }, {
@@ -22068,7 +22109,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22068
22109
  class: "text-12"
22069
22110
  }), F(" " + V(H(r)("label.teams")), 1)]),
22070
22111
  _: 1
22071
- })], 8, _O)) : M("", !0)
22112
+ })], 8, vO)) : M("", !0)
22072
22113
  ])]),
22073
22114
  _: 2
22074
22115
  }, 1032, [
@@ -22082,8 +22123,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22082
22123
  modifiers: "details",
22083
22124
  class: "border border-surface-3 rounded-lg mx-md mb-md"
22084
22125
  }, {
22085
- default: G(() => [P("div", vO, [
22086
- t === H(T).ShowForm ? (z(), N("div", yO, [I(d, {
22126
+ default: G(() => [P("div", yO, [
22127
+ t === H(T).ShowForm ? (z(), N("div", bO, [I(d, {
22087
22128
  modelValue: rt.value,
22088
22129
  "onUpdate:modelValue": i[62] ||= (e) => rt.value = e,
22089
22130
  name: "formMaxSteps",
@@ -22168,7 +22209,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22168
22209
  "hint-label",
22169
22210
  "disabled"
22170
22211
  ])) : M("", !0),
22171
- H(se)(t) ? (z(), j(KT, {
22212
+ H(ue)(t) ? (z(), j(KT, {
22172
22213
  key: 5,
22173
22214
  "model-value": _n(t),
22174
22215
  name: `tool.${t}.approval`,
@@ -22191,8 +22232,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22191
22232
  _: 2
22192
22233
  }, 1024)) : M("", !0)], 64))), 128))])
22193
22234
  ]),
22194
- "panel::embed": G(() => [P("div", bO, [
22195
- qt.value.includes(H(Ce).Widget) ? M("", !0) : (z(), j(qT, {
22235
+ "panel::embed": G(() => [P("div", xO, [
22236
+ qt.value.includes(H(Se).Widget) ? M("", !0) : (z(), j(qT, {
22196
22237
  key: 0,
22197
22238
  level: "warning",
22198
22239
  class: "mb-0"
@@ -22200,7 +22241,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22200
22241
  default: G(() => [F(V(H(r)("hint.channelWidgetDisabled")), 1)]),
22201
22242
  _: 1
22202
22243
  })),
22203
- qt.value.includes(H(Ce).App) ? M("", !0) : (z(), j(qT, {
22244
+ qt.value.includes(H(Se).App) ? M("", !0) : (z(), j(qT, {
22204
22245
  key: 1,
22205
22246
  level: "warning",
22206
22247
  class: "mb-0"
@@ -22208,7 +22249,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22208
22249
  default: G(() => [F(V(H(r)("hint.channelAppDisabled")), 1)]),
22209
22250
  _: 1
22210
22251
  })),
22211
- P("div", null, [P("h3", xO, V(H(r)("label.chatWidget")), 1), P("p", SO, V(H(r)("hint.embedCode")), 1)]),
22252
+ P("div", null, [P("h3", SO, V(H(r)("label.chatWidget")), 1), P("p", CO, V(H(r)("hint.embedCode")), 1)]),
22212
22253
  I(fD, { source: Dn.value }, {
22213
22254
  default: G(() => [I(Ot, {
22214
22255
  code: Dn.value,
@@ -22218,7 +22259,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22218
22259
  }, null, 8, ["code"])]),
22219
22260
  _: 1
22220
22261
  }, 8, ["source"]),
22221
- e.playground ? M("", !0) : (z(), N("div", CO, [I(d, {
22262
+ e.playground ? M("", !0) : (z(), N("div", wO, [I(d, {
22222
22263
  modelValue: at.value,
22223
22264
  "onUpdate:modelValue": i[68] ||= (e) => at.value = e,
22224
22265
  name: "widgetUrl",
@@ -22235,7 +22276,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22235
22276
  modifiers: "details",
22236
22277
  class: "border border-surface-3 rounded-lg mb-0"
22237
22278
  }, {
22238
- default: G(() => [P("div", wO, [
22279
+ default: G(() => [P("div", TO, [
22239
22280
  I(d, {
22240
22281
  modelValue: ot.value,
22241
22282
  "onUpdate:modelValue": i[69] ||= (e) => ot.value = e,
@@ -22265,15 +22306,15 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22265
22306
  options: [
22266
22307
  {
22267
22308
  label: H(r)("label.loaderStrategyInlineModule"),
22268
- value: H(je).InlineModule
22309
+ value: H(Ae).InlineModule
22269
22310
  },
22270
22311
  {
22271
22312
  label: H(r)("label.loaderStrategyScriptSrc"),
22272
- value: H(je).ScriptSrc
22313
+ value: H(Ae).ScriptSrc
22273
22314
  },
22274
22315
  {
22275
22316
  label: H(r)("label.loaderStrategyDynamicImport"),
22276
- value: H(je).DynamicImport
22317
+ value: H(Ae).DynamicImport
22277
22318
  }
22278
22319
  ]
22279
22320
  }, null, 8, [
@@ -22291,7 +22332,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22291
22332
  ])]),
22292
22333
  _: 1
22293
22334
  }, 8, ["title"])])),
22294
- P("div", null, [P("h3", TO, V(H(r)("label.iframe")), 1), P("p", EO, V(H(r)("hint.embedIframe")), 1)]),
22335
+ P("div", null, [P("h3", EO, V(H(r)("label.iframe")), 1), P("p", DO, V(H(r)("hint.embedIframe")), 1)]),
22295
22336
  I(fD, { source: On.value }, {
22296
22337
  default: G(() => [I(Ot, {
22297
22338
  code: On.value,
@@ -22301,7 +22342,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22301
22342
  }, null, 8, ["code"])]),
22302
22343
  _: 1
22303
22344
  }, 8, ["source"]),
22304
- P("div", null, [P("h4", DO, V(H(r)("label.preview")), 1), P("p", OO, V(H(r)("hint.embedPreview")), 1)]),
22345
+ P("div", null, [P("h4", OO, V(H(r)("label.preview")), 1), P("p", kO, V(H(r)("hint.embedPreview")), 1)]),
22305
22346
  I(fD, { source: En.value }, {
22306
22347
  actions: G(() => [I(s, {
22307
22348
  modifiers: "action-quiet-small",
@@ -22310,16 +22351,16 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22310
22351
  href: En.value,
22311
22352
  target: "_blank"
22312
22353
  }, null, 8, ["label", "href"])]),
22313
- default: G(() => [P("code", kO, V(En.value), 1)]),
22354
+ default: G(() => [P("code", AO, V(En.value), 1)]),
22314
22355
  _: 1
22315
22356
  }, 8, ["source"])
22316
22357
  ])]),
22317
- "panel::site": G(() => [P("div", AO, [I(fs, {
22358
+ "panel::site": G(() => [P("div", jO, [I(fs, {
22318
22359
  legend: H(r)("label.externalContext"),
22319
22360
  class: "mb-0"
22320
22361
  }, {
22321
22362
  default: G(() => [
22322
- P("p", jO, V(H(r)("hint.externalContextSchema")), 1),
22363
+ P("p", MO, V(H(r)("hint.externalContextSchema")), 1),
22323
22364
  I(KT, {
22324
22365
  modelValue: rn.value,
22325
22366
  "onUpdate:modelValue": i[71] ||= (e) => rn.value = e,
@@ -22340,7 +22381,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22340
22381
  label: H(r)("action.editSchema"),
22341
22382
  onClick: i[72] ||= (e) => en.value = !0
22342
22383
  }, null, 8, ["label"])) : M("", !0),
22343
- I(be, {
22384
+ I(ce, {
22344
22385
  modelValue: en.value,
22345
22386
  "onUpdate:modelValue": i[75] ||= (e) => en.value = e,
22346
22387
  title: H(r)("label.externalContextSchema"),
@@ -22375,7 +22416,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22375
22416
  }, null, 8, ["modelValue", "trusted-origins"])], 64)) : M("", !0)])]),
22376
22417
  "panel::security": G(() => [
22377
22418
  I(fs, { legend: H(r)("label.rateLimits") }, {
22378
- default: G(() => [P("div", MO, [
22419
+ default: G(() => [P("div", NO, [
22379
22420
  I(d, {
22380
22421
  modelValue: Ue.value,
22381
22422
  "onUpdate:modelValue": i[78] ||= (e) => Ue.value = e,
@@ -22523,13 +22564,13 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22523
22564
  "invalid",
22524
22565
  "invalid-label"
22525
22566
  ]),
22526
- P("p", NO, V(H(r)("label.imageHostsHint")), 1)
22567
+ P("p", PO, V(H(r)("label.imageHostsHint")), 1)
22527
22568
  ]),
22528
22569
  _: 1
22529
22570
  }, 8, ["items"]), oi(n.$slots, "default")], 512);
22530
22571
  };
22531
22572
  }
22532
- }), FO = ["aria-current", "title"], IO = /* @__PURE__ */ L({
22573
+ }), IO = ["aria-current", "title"], LO = /* @__PURE__ */ L({
22533
22574
  __name: "PkChatSidebarConversationItem",
22534
22575
  props: /*@__PURE__*/ qr({
22535
22576
  conversation: {},
@@ -22593,7 +22634,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22593
22634
  "aria-current": e.active ? "page" : void 0,
22594
22635
  title: o.value,
22595
22636
  onClick: n[4] ||= (e) => i("select")
22596
- }, V(o.value), 9, FO),
22637
+ }, V(o.value), 9, IO),
22597
22638
  e.answering ? (z(), j(u, {
22598
22639
  key: 0,
22599
22640
  name: "loading-loop",
@@ -22636,19 +22677,19 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22636
22677
  ], 64))], 2);
22637
22678
  };
22638
22679
  }
22639
- }), LO = ["inert", "aria-label"], RO = { class: "pk-chat-sidebar__header" }, zO = ["title"], BO = { class: "pk-chat-sidebar__actions" }, VO = {
22680
+ }), RO = ["inert", "aria-label"], zO = { class: "pk-chat-sidebar__header" }, BO = ["title"], VO = { class: "pk-chat-sidebar__actions" }, HO = {
22640
22681
  key: 0,
22641
22682
  class: "pk-chat-sidebar__list scrollbar-thin vv-skeleton"
22642
- }, HO = {
22683
+ }, UO = {
22643
22684
  key: 1,
22644
22685
  class: "pk-chat-sidebar__list scrollbar-thin"
22645
- }, UO = {
22686
+ }, WO = {
22646
22687
  key: 0,
22647
22688
  class: "pk-chat-sidebar__no-results"
22648
- }, WO = { class: "pk-chat-sidebar__group-label" }, GO = {
22689
+ }, GO = { class: "pk-chat-sidebar__group-label" }, KO = {
22649
22690
  key: 2,
22650
22691
  class: "pk-chat-sidebar__footer"
22651
- }, KO = 864e5, qO = /* @__PURE__ */ L({
22692
+ }, qO = 864e5, JO = /* @__PURE__ */ L({
22652
22693
  __name: "PkChatSidebar",
22653
22694
  props: /*@__PURE__*/ qr({
22654
22695
  agentId: {},
@@ -22684,7 +22725,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22684
22725
  };
22685
22726
  for (let n of w.value) {
22686
22727
  let r = n.lastMessageAt ? new Date(n.lastMessageAt).getTime() : 0;
22687
- r >= e ? t.today.push(n) : r >= e - KO ? t.yesterday.push(n) : r >= e - 7 * KO ? t.last7Days.push(n) : r >= e - 30 * KO ? t.last30Days.push(n) : t.older.push(n);
22728
+ r >= e ? t.today.push(n) : r >= e - qO ? t.yesterday.push(n) : r >= e - 7 * qO ? t.last7Days.push(n) : r >= e - 30 * qO ? t.last30Days.push(n) : t.older.push(n);
22688
22729
  }
22689
22730
  return Object.entries(t).filter(([, e]) => e.length > 0).map(([e, t]) => ({
22690
22731
  key: e,
@@ -22727,7 +22768,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22727
22768
  "aria-label": H(s)("label.conversations"),
22728
22769
  onKeydown: le
22729
22770
  }, [
22730
- P("header", RO, [
22771
+ P("header", zO, [
22731
22772
  e.organizationLogo || e.organizationName ? (z(), j(Kn, {
22732
22773
  key: 0,
22733
22774
  modifiers: "surface ring",
@@ -22739,7 +22780,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22739
22780
  key: 1,
22740
22781
  class: "pk-chat-sidebar__org-name",
22741
22782
  title: e.organizationName
22742
- }, V(e.organizationName), 9, zO)) : M("", !0),
22783
+ }, V(e.organizationName), 9, BO)) : M("", !0),
22743
22784
  I(a, {
22744
22785
  class: "ml-auto",
22745
22786
  icon: H(i) ? "ri:close-line" : "ri:sidebar-fold-line",
@@ -22753,7 +22794,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22753
22794
  "title"
22754
22795
  ])
22755
22796
  ]),
22756
- P("div", BO, [
22797
+ P("div", VO, [
22757
22798
  e.agents ? (z(), j(RE, {
22758
22799
  key: 0,
22759
22800
  agents: e.agents,
@@ -22781,13 +22822,13 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22781
22822
  "placeholder"
22782
22823
  ])
22783
22824
  ]),
22784
- H(u) && H(l).length === 0 ? (z(), N("div", VO, [(z(), N(k, null, ai(6, (e) => P("div", {
22825
+ H(u) && H(l).length === 0 ? (z(), N("div", HO, [(z(), N(k, null, ai(6, (e) => P("div", {
22785
22826
  key: e,
22786
22827
  class: "vv-skeleton__item rounded-md h-36"
22787
- })), 64))])) : (z(), N("nav", HO, [ne.value.length === 0 ? (z(), N("p", UO, V(H(s)("message.noConversations")), 1)) : M("", !0), (z(!0), N(k, null, ai(ne.value, (t) => (z(), N("div", {
22828
+ })), 64))])) : (z(), N("nav", UO, [ne.value.length === 0 ? (z(), N("p", WO, V(H(s)("message.noConversations")), 1)) : M("", !0), (z(!0), N(k, null, ai(ne.value, (t) => (z(), N("div", {
22788
22829
  key: t.key,
22789
22830
  class: "pk-chat-sidebar__group"
22790
- }, [P("span", WO, V(t.label), 1), (z(!0), N(k, null, ai(t.items, (t) => (z(), j(IO, {
22831
+ }, [P("span", GO, V(t.label), 1), (z(!0), N(k, null, ai(t.items, (t) => (z(), j(LO, {
22791
22832
  key: t.id,
22792
22833
  "editing-title": H(v),
22793
22834
  "onUpdate:editingTitle": n[4] ||= (e) => Gr(v) ? v.value = e : null,
@@ -22818,44 +22859,44 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22818
22859
  "onDelete",
22819
22860
  "onFiles"
22820
22861
  ]))), 128))]))), 128))])),
22821
- t.$slots.footer ? (z(), N("footer", GO, [oi(t.$slots, "footer")])) : M("", !0)
22822
- ], 46, LO)], 64);
22862
+ t.$slots.footer ? (z(), N("footer", KO, [oi(t.$slots, "footer")])) : M("", !0)
22863
+ ], 46, RO)], 64);
22823
22864
  };
22824
22865
  }
22825
- }), JO = { class: "pk-retry-countdown" }, YO = /* @__PURE__ */ L({
22866
+ }), YO = { class: "pk-retry-countdown" }, XO = /* @__PURE__ */ L({
22826
22867
  __name: "PkRetryCountdown",
22827
22868
  props: {
22828
22869
  countdown: {},
22829
22870
  maxSeconds: {}
22830
22871
  },
22831
22872
  setup(e) {
22832
- return (e, t) => (z(), N("div", JO, [...t[0] ||= [Hr("<div class=\"pk-retry-countdown__loader\"><div class=\"pk-retry-countdown__bubble\"><div class=\"pk-retry-countdown__typing\"><span class=\"pk-retry-countdown__dot\"></span><span class=\"pk-retry-countdown__dot\"></span><span class=\"pk-retry-countdown__dot\"></span></div></div></div>", 1)]]));
22873
+ return (e, t) => (z(), N("div", YO, [...t[0] ||= [Hr("<div class=\"pk-retry-countdown__loader\"><div class=\"pk-retry-countdown__bubble\"><div class=\"pk-retry-countdown__typing\"><span class=\"pk-retry-countdown__dot\"></span><span class=\"pk-retry-countdown__dot\"></span><span class=\"pk-retry-countdown__dot\"></span></div></div></div>", 1)]]));
22833
22874
  }
22834
- }), XO = {
22875
+ }), ZO = {
22835
22876
  key: 0,
22836
22877
  class: "pk-tool-selection"
22837
- }, ZO = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, QO = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, $O = { class: "font-semibold text-12 truncate" }, ek = {
22878
+ }, QO = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, $O = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, ek = { class: "font-semibold text-12 truncate" }, tk = {
22838
22879
  key: 0,
22839
22880
  class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
22840
- }, tk = ["title"], nk = { class: "font-mono text-10 text-word-3 truncate ml-auto" }, rk = { class: "border rounded-b border-surface-3" }, ik = {
22881
+ }, nk = ["title"], rk = { class: "font-mono text-10 text-word-3 truncate ml-auto" }, ik = { class: "border rounded-b border-surface-3" }, ak = {
22841
22882
  key: 0,
22842
22883
  class: "flex flex-col gap-6 p-8 border-b border-surface-3 text-12 text-word-2"
22843
- }, ak = { key: 0 }, ok = {
22884
+ }, ok = { key: 0 }, sk = {
22844
22885
  key: 1,
22845
22886
  class: "flex items-center gap-4"
22846
- }, sk = { class: "flex flex-wrap items-center justify-between gap-x-12 gap-y-4 p-8 border-b border-surface-3 text-12 text-word-3" }, ck = ["title"], lk = { class: "flex shrink-0" }, uk = { class: "pk-tool-selection__label" }, dk = { class: "tabular-nums truncate" }, fk = { class: "pk-tool-selection__groups" }, pk = { class: "flex flex-col gap-4 min-w-0" }, mk = { class: "flex items-center gap-6 min-w-0" }, hk = { class: "pk-tool-selection__label" }, gk = ["title"], _k = { class: "flex flex-wrap items-center gap-x-6 gap-y-2 text-10 text-word-3" }, vk = { key: 0 }, yk = {
22887
+ }, ck = { class: "flex flex-wrap items-center justify-between gap-x-12 gap-y-4 p-8 border-b border-surface-3 text-12 text-word-3" }, lk = ["title"], uk = { class: "flex shrink-0" }, dk = { class: "pk-tool-selection__label" }, fk = { class: "tabular-nums truncate" }, pk = { class: "pk-tool-selection__groups" }, mk = { class: "flex flex-col gap-4 min-w-0" }, hk = { class: "flex items-center gap-6 min-w-0" }, gk = { class: "pk-tool-selection__label" }, _k = ["title"], vk = { class: "flex flex-wrap items-center gap-x-6 gap-y-2 text-10 text-word-3" }, yk = { key: 0 }, bk = {
22847
22888
  key: 1,
22848
22889
  class: "text-word-1 bg-surface-warning rounded px-4 py-2"
22849
- }, bk = {
22890
+ }, xk = {
22850
22891
  key: 2,
22851
22892
  class: "pk-tool-selection__label"
22852
- }, xk = {
22893
+ }, Sk = {
22853
22894
  key: 3,
22854
22895
  class: "pk-tool-selection__tag rounded px-4 py-2"
22855
- }, Sk = {
22896
+ }, Ck = {
22856
22897
  key: 4,
22857
22898
  class: "pk-tool-selection__tag rounded px-4 py-2"
22858
- }, Ck = ["title"], wk = { class: "text-10 text-word-2 tabular-nums" }, Tk = /* @__PURE__ */ L({
22899
+ }, wk = ["title"], Tk = { class: "text-10 text-word-2 tabular-nums" }, Ek = /* @__PURE__ */ L({
22859
22900
  __name: "PkToolSelection",
22860
22901
  props: { message: {} },
22861
22902
  setup(e) {
@@ -22897,32 +22938,32 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22897
22938
  });
22898
22939
  return (e, t) => {
22899
22940
  let s = Ar;
22900
- return a.value ? (z(), N("section", XO, [P("header", ZO, [
22901
- P("div", QO, [I(s, {
22941
+ return a.value ? (z(), N("section", ZO, [P("header", QO, [
22942
+ P("div", $O, [I(s, {
22902
22943
  name: "ri:filter-3-line",
22903
22944
  class: "w-12 h-12"
22904
22945
  })]),
22905
- P("strong", $O, V(H(n)("toolSelection.title")), 1),
22906
- a.value.decision.failed ? (z(), N("span", ek, V(H(n)("toolSelection.failed")), 1)) : (z(), N("span", {
22946
+ P("strong", ek, V(H(n)("toolSelection.title")), 1),
22947
+ a.value.decision.failed ? (z(), N("span", tk, V(H(n)("toolSelection.failed")), 1)) : (z(), N("span", {
22907
22948
  key: 1,
22908
22949
  class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2",
22909
22950
  title: H(n)(`toolSelection.modeHint.${a.value.decision.mode}`)
22910
- }, V(H(n)(`toolSelection.mode.${a.value.decision.mode}`)), 9, tk)),
22911
- P("code", nk, V(H(Le)), 1)
22912
- ]), P("div", rk, [
22913
- a.value.decision.failed || a.value.missed > 0 ? (z(), N("div", ik, [a.value.decision.failed ? (z(), N("p", ak, V(H(n)("toolSelection.leadFailed", { budget: H(r)(a.value.decision.budgetMs, "integer") })), 1)) : M("", !0), a.value.missed > 0 ? (z(), N("p", ok, [I(s, {
22951
+ }, V(H(n)(`toolSelection.mode.${a.value.decision.mode}`)), 9, nk)),
22952
+ P("code", rk, V(H(Le)), 1)
22953
+ ]), P("div", ik, [
22954
+ a.value.decision.failed || a.value.missed > 0 ? (z(), N("div", ak, [a.value.decision.failed ? (z(), N("p", ok, V(H(n)("toolSelection.leadFailed", { budget: H(r)(a.value.decision.budgetMs, "integer") })), 1)) : M("", !0), a.value.missed > 0 ? (z(), N("p", sk, [I(s, {
22914
22955
  name: "ri:error-warning-line",
22915
22956
  class: "shrink-0 text-warning-darken-3"
22916
22957
  }), F(" " + V(H(n)(a.value.decision.mode === "active" ? "toolSelection.missedActive" : "toolSelection.missedShadow", a.value.missed)), 1)])) : M("", !0)])) : M("", !0),
22917
- P("dl", sk, [(z(!0), N(k, null, ai(o.value, (e) => (z(), N("div", {
22958
+ P("dl", ck, [(z(!0), N(k, null, ai(o.value, (e) => (z(), N("div", {
22918
22959
  key: e.icon,
22919
22960
  class: "flex items-center gap-6 min-w-0",
22920
22961
  title: e.label
22921
- }, [P("dt", lk, [I(s, {
22962
+ }, [P("dt", uk, [I(s, {
22922
22963
  name: e.icon,
22923
22964
  "aria-hidden": "true"
22924
- }, null, 8, ["name"]), P("span", uk, V(e.label), 1)]), P("dd", dk, V(e.value), 1)], 8, ck))), 128))]),
22925
- P("ul", fk, [(z(!0), N(k, null, ai(a.value.groups, (e) => (z(), N("li", {
22965
+ }, null, 8, ["name"]), P("span", dk, V(e.label), 1)]), P("dd", fk, V(e.value), 1)], 8, lk))), 128))]),
22966
+ P("ul", pk, [(z(!0), N(k, null, ai(a.value.groups, (e) => (z(), N("li", {
22926
22967
  key: e.id,
22927
22968
  class: Xr(["pk-tool-selection__group", {
22928
22969
  "pk-tool-selection__group--selected": e.selected,
@@ -22933,24 +22974,24 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22933
22974
  name: e.selected ? "ri:check-line" : "ri:subtract-line",
22934
22975
  class: "pk-tool-selection__mark shrink-0"
22935
22976
  }, null, 8, ["name"]),
22936
- P("div", pk, [P("span", mk, [
22977
+ P("div", mk, [P("span", hk, [
22937
22978
  I(s, {
22938
22979
  name: i[e.kind],
22939
22980
  class: "shrink-0 w-14 h-14",
22940
22981
  title: H(n)(`toolSelection.kind.${e.kind}`),
22941
22982
  "aria-hidden": "true"
22942
22983
  }, null, 8, ["name", "title"]),
22943
- P("span", hk, V(H(n)(`toolSelection.kind.${e.kind}`)), 1),
22984
+ P("span", gk, V(H(n)(`toolSelection.kind.${e.kind}`)), 1),
22944
22985
  P("span", {
22945
22986
  class: "pk-tool-selection__name truncate",
22946
22987
  title: e.name
22947
- }, V(e.name), 9, gk)
22948
- ]), P("span", _k, [
22949
- e.kind === "mcp" ? (z(), N("span", vk, V(H(n)("toolSelection.tools", e.tools)), 1)) : M("", !0),
22950
- e.used && !e.selected ? (z(), N("span", yk, V(H(n)("toolSelection.missed")), 1)) : M("", !0),
22951
- e.used ? (z(), N("span", bk, V(H(n)("toolSelection.used")), 1)) : M("", !0),
22952
- e.enabled ? (z(), N("span", xk, V(H(n)("toolSelection.enabled")), 1)) : M("", !0),
22953
- e.seeded ? (z(), N("span", Sk, V(H(n)("toolSelection.seeded")), 1)) : M("", !0)
22988
+ }, V(e.name), 9, _k)
22989
+ ]), P("span", vk, [
22990
+ e.kind === "mcp" ? (z(), N("span", yk, V(H(n)("toolSelection.tools", e.tools)), 1)) : M("", !0),
22991
+ e.used && !e.selected ? (z(), N("span", bk, V(H(n)("toolSelection.missed")), 1)) : M("", !0),
22992
+ e.used ? (z(), N("span", xk, V(H(n)("toolSelection.used")), 1)) : M("", !0),
22993
+ e.enabled ? (z(), N("span", Sk, V(H(n)("toolSelection.enabled")), 1)) : M("", !0),
22994
+ e.seeded ? (z(), N("span", Ck, V(H(n)("toolSelection.seeded")), 1)) : M("", !0)
22954
22995
  ])]),
22955
22996
  e.probability === void 0 ? M("", !0) : (z(), N("div", {
22956
22997
  key: 0,
@@ -22963,18 +23004,18 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
22963
23004
  "--pk-tool-selection-probability": `${e.probability * 100}%`,
22964
23005
  "--pk-tool-selection-threshold": `${a.value.decision.threshold * 100}%`
22965
23006
  })
22966
- }, null, 4), P("span", wk, V(H(r)(e.probability, "decimal")), 1)], 8, Ck))
23007
+ }, null, 4), P("span", Tk, V(H(r)(e.probability, "decimal")), 1)], 8, wk))
22967
23008
  ], 2))), 128))])
22968
23009
  ])])) : M("", !0);
22969
23010
  };
22970
23011
  }
22971
- }), Ek = ["aria-labelledby"], Dk = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, Ok = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, kk = ["id"], Ak = {
23012
+ }), Dk = ["aria-labelledby"], Ok = { class: "text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8" }, kk = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, Ak = ["id"], jk = {
22972
23013
  key: 0,
22973
23014
  class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
22974
- }, jk = ["title"], Mk = { class: "u-visually-hidden" }, Nk = ["title"], Pk = { class: "u-visually-hidden" }, Fk = { class: "border rounded-b border-surface-3" }, Ik = {
23015
+ }, Mk = ["title"], Nk = { class: "u-visually-hidden" }, Pk = ["title"], Fk = { class: "u-visually-hidden" }, Ik = { class: "border rounded-b border-surface-3" }, Lk = {
22975
23016
  key: 0,
22976
23017
  class: "p-8 border-b border-surface-3 text-12 text-word-2"
22977
- }, Lk = ["title"], Rk = { class: "flex shrink-0" }, zk = { class: "u-visually-hidden" }, Bk = { class: "tabular-nums truncate" }, Vk = { key: 1 }, Hk = ["title"], Uk = ["title"], Wk = { class: "text-10 text-word-2 tabular-nums" }, Gk = .5, Kk = /* @__PURE__ */ L({
23018
+ }, Rk = ["title"], zk = { class: "flex shrink-0" }, Bk = { class: "u-visually-hidden" }, Vk = { class: "tabular-nums truncate" }, Hk = { key: 1 }, Uk = ["title"], Wk = ["title"], Gk = { class: "text-10 text-word-2 tabular-nums" }, Kk = .5, qk = /* @__PURE__ */ L({
22978
23019
  __name: "PkTurnEvaluation",
22979
23020
  props: { message: {} },
22980
23021
  setup(e) {
@@ -23018,79 +23059,79 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23018
23059
  key: 0,
23019
23060
  class: "pk-turn-evaluation",
23020
23061
  "aria-labelledby": H(a)
23021
- }, [P("header", Dk, [
23022
- P("div", Ok, [I(r, {
23062
+ }, [P("header", Ok, [
23063
+ P("div", kk, [I(r, {
23023
23064
  name: "ri:scales-line",
23024
23065
  class: "w-12 h-12"
23025
23066
  })]),
23026
23067
  P("strong", {
23027
23068
  id: H(a),
23028
23069
  class: "font-semibold text-12 truncate"
23029
- }, V(H(n)("turnEvaluation.title")), 9, kk),
23030
- o.value.failed ? (z(), N("span", Ak, V(H(n)("toolSelection.failed")), 1)) : (z(), N("span", {
23070
+ }, V(H(n)("turnEvaluation.title")), 9, Ak),
23071
+ o.value.failed ? (z(), N("span", jk, V(H(n)("toolSelection.failed")), 1)) : (z(), N("span", {
23031
23072
  key: 1,
23032
23073
  class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2",
23033
23074
  title: H(n)("turnEvaluation.modeHint")
23034
- }, [F(V(H(n)(`toolSelection.mode.${o.value.mode}`)) + " ", 1), P("span", Mk, V(H(n)("turnEvaluation.modeHint")), 1)], 8, jk)),
23075
+ }, [F(V(H(n)(`toolSelection.mode.${o.value.mode}`)) + " ", 1), P("span", Nk, V(H(n)("turnEvaluation.modeHint")), 1)], 8, Mk)),
23035
23076
  P("code", {
23036
23077
  class: "font-mono text-10 text-word-3 truncate ml-auto",
23037
23078
  title: H(n)("turnEvaluation.version", { version: o.value.version })
23038
- }, [F(V(H(Le)) + " ", 1), P("span", Pk, V(H(n)("turnEvaluation.version", { version: o.value.version })), 1)], 8, Nk)
23039
- ]), P("div", Fk, [
23040
- o.value.failed ? (z(), N("p", Ik, V(H(n)("turnEvaluation.leadFailed", { budget: H(i)(o.value.budgetMs, "integer") })), 1)) : M("", !0),
23079
+ }, [F(V(H(Le)) + " ", 1), P("span", Fk, V(H(n)("turnEvaluation.version", { version: o.value.version })), 1)], 8, Pk)
23080
+ ]), P("div", Ik, [
23081
+ o.value.failed ? (z(), N("p", Lk, V(H(n)("turnEvaluation.leadFailed", { budget: H(i)(o.value.budgetMs, "integer") })), 1)) : M("", !0),
23041
23082
  P("dl", { class: Xr(["flex flex-wrap items-center justify-between gap-x-12 gap-y-4 p-8 text-12 text-word-3", { "border-b border-surface-3": c.value.length > 0 }]) }, [(z(!0), N(k, null, ai(l.value, (e) => (z(), N("div", {
23042
23083
  key: e.icon,
23043
23084
  class: "flex items-center gap-6 min-w-0",
23044
23085
  title: e.label
23045
- }, [P("dt", Rk, [I(r, {
23086
+ }, [P("dt", zk, [I(r, {
23046
23087
  name: e.icon,
23047
23088
  "aria-hidden": "true"
23048
- }, null, 8, ["name"]), P("span", zk, V(e.label), 1)]), P("dd", Bk, V(e.value), 1)], 8, Lk))), 128))], 2),
23049
- c.value.length > 0 ? (z(), N("ul", Vk, [(z(!0), N(k, null, ai(c.value, (e) => (z(), N("li", {
23089
+ }, null, 8, ["name"]), P("span", Bk, V(e.label), 1)]), P("dd", Vk, V(e.value), 1)], 8, Rk))), 128))], 2),
23090
+ c.value.length > 0 ? (z(), N("ul", Hk, [(z(!0), N(k, null, ai(c.value, (e) => (z(), N("li", {
23050
23091
  key: e.id,
23051
- class: Xr(["pk-turn-evaluation__question", { "pk-turn-evaluation__question--yes": e.probability >= Gk }])
23092
+ class: Xr(["pk-turn-evaluation__question", { "pk-turn-evaluation__question--yes": e.probability >= Kk }])
23052
23093
  }, [P("span", {
23053
23094
  class: "truncate",
23054
23095
  title: e.label
23055
- }, V(e.label), 9, Hk), P("div", {
23096
+ }, V(e.label), 9, Uk), P("div", {
23056
23097
  class: "pk-turn-evaluation__probability",
23057
23098
  title: H(n)("turnEvaluation.probability")
23058
23099
  }, [P("span", {
23059
23100
  class: "pk-turn-evaluation__bar",
23060
23101
  "aria-hidden": "true",
23061
23102
  style: Qr({ "--pk-turn-evaluation-probability": `${e.probability * 100}%` })
23062
- }, null, 4), P("span", Wk, V(H(i)(e.probability, "decimal")), 1)], 8, Uk)], 2))), 128))])) : M("", !0)
23063
- ])], 8, Ek)) : M("", !0);
23103
+ }, null, 4), P("span", Gk, V(H(i)(e.probability, "decimal")), 1)], 8, Wk)], 2))), 128))])) : M("", !0)
23104
+ ])], 8, Dk)) : M("", !0);
23064
23105
  };
23065
23106
  }
23066
- }), qk = { class: "flex flex-col gap-16" }, Jk = {
23107
+ }), Jk = { class: "flex flex-col gap-16" }, Yk = {
23067
23108
  key: 0,
23068
23109
  class: "grid grid-cols-2 gap-x-10 text-12 text-word-3 justify-between"
23069
- }, Yk = { class: "flex flex-col gap-y-4" }, Xk = {
23110
+ }, Xk = { class: "flex flex-col gap-y-4" }, Zk = {
23070
23111
  key: 1,
23071
23112
  class: "flex items-center gap-4 min-w-0"
23072
- }, Zk = { class: "truncate" }, Qk = {
23113
+ }, Qk = { class: "truncate" }, $k = {
23073
23114
  key: 2,
23074
23115
  class: "flex items-center gap-4 min-w-0"
23075
- }, $k = { class: "truncate" }, eA = { key: 0 }, tA = {
23116
+ }, eA = { class: "truncate" }, tA = { key: 0 }, nA = {
23076
23117
  key: 3,
23077
23118
  class: "flex items-center gap-4"
23078
- }, nA = {
23119
+ }, rA = {
23079
23120
  key: 4,
23080
23121
  class: "flex items-center gap-4"
23081
- }, rA = { class: "flex flex-col gap-y-4 items-end" }, iA = ["datetime"], aA = {
23122
+ }, iA = { class: "flex flex-col gap-y-4 items-end" }, aA = ["datetime"], oA = {
23082
23123
  key: 1,
23083
23124
  class: "flex items-center gap-4"
23084
- }, oA = { key: 0 }, sA = {
23125
+ }, sA = { key: 0 }, cA = {
23085
23126
  key: 2,
23086
23127
  class: "flex items-center gap-4"
23087
- }, cA = {
23128
+ }, lA = {
23088
23129
  key: 3,
23089
23130
  class: "flex items-center gap-4 min-w-0"
23090
- }, lA = { class: "truncate" }, uA = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, dA = { class: "font-semibold truncate" }, fA = ["title"], pA = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, mA = { class: "font-semibold truncate" }, hA = ["title"], gA = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, _A = { class: "font-semibold truncate" }, vA = ["title"], yA = { class: "flex flex-col gap-16" }, bA = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, xA = { class: "tracking-widest border-r border-gray-lighten-3 pr-4" }, SA = { class: "font-bold text-12" }, CA = { class: "text-10" }, wA = { class: "text-12 text-word-2 truncate" }, TA = {
23131
+ }, uA = { class: "truncate" }, dA = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, fA = { class: "font-semibold truncate" }, pA = ["title"], mA = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, hA = { class: "font-semibold truncate" }, gA = ["title"], _A = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, vA = { class: "font-semibold truncate" }, yA = ["title"], bA = { class: "flex flex-col gap-16" }, xA = { class: "flex items-center bg-gray text-white px-6 py-3 rounded" }, SA = { class: "tracking-widest border-r border-gray-lighten-3 pr-4" }, CA = { class: "font-bold text-12" }, wA = { class: "text-10" }, TA = { class: "text-12 text-word-2 truncate" }, EA = {
23091
23132
  key: 0,
23092
23133
  class: "text-10 text-word-4 whitespace-nowrap ml-auto"
23093
- }, EA = { key: 0 }, DA = { class: "border rounded-b border-surface-3" }, OA = { class: "font-bold text-10 uppercase p-8 border-b border-surface-3" }, kA = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, AA = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, jA = { class: "text-12 font-mono leading-snug bg-surface-1 p-8 m-0 whitespace-pre-wrap" }, MA = /* @__PURE__ */ L({
23134
+ }, DA = { key: 0 }, OA = { class: "border rounded-b border-surface-3" }, kA = { class: "font-bold text-10 uppercase p-8 border-b border-surface-3" }, AA = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, jA = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, MA = { class: "text-12 font-mono leading-snug bg-surface-1 p-8 m-0 whitespace-pre-wrap" }, NA = /* @__PURE__ */ L({
23094
23135
  __name: "PkMessageParts",
23095
23136
  props: { message: {} },
23096
23137
  setup(e) {
@@ -23118,32 +23159,32 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23118
23159
  ...ee.length > 0 ? { connection: ee.join(" · ") } : {},
23119
23160
  ...b.length > 0 ? { flags: b.join(" · ") } : {}
23120
23161
  };
23121
- }), l = A(() => t.message?.metadata?.transport === he.Voice), u = A(() => t.message?.metadata?.externalContext && Object.keys(t.message.metadata.externalContext).length > 0), d = A(() => t.message?.metadata?.platformContext && Object.keys(t.message.metadata.platformContext).length > 0);
23162
+ }), l = A(() => t.message?.metadata?.transport === Ne.Voice), u = A(() => t.message?.metadata?.externalContext && Object.keys(t.message.metadata.externalContext).length > 0), d = A(() => t.message?.metadata?.platformContext && Object.keys(t.message.metadata.platformContext).length > 0);
23122
23163
  return (t, f) => {
23123
23164
  let p = Ar, m = yr, h = br, g = si("PjResizablePanel");
23124
- return z(), N("div", qk, [
23125
- e.message.metadata?.model || l.value ? (z(), N("div", Jk, [P("div", Yk, [
23165
+ return z(), N("div", Jk, [
23166
+ e.message.metadata?.model || l.value ? (z(), N("div", Yk, [P("div", Xk, [
23126
23167
  e.message.metadata?.model ? (z(), j(QE, {
23127
23168
  key: 0,
23128
23169
  "model-name": e.message.metadata?.model,
23129
23170
  historical: ""
23130
23171
  }, null, 8, ["model-name"])) : M("", !0),
23131
- e.message?.metadata?.resolvedProvider ? (z(), N("span", Xk, [I(p, {
23172
+ e.message?.metadata?.resolvedProvider ? (z(), N("span", Zk, [I(p, {
23132
23173
  name: "ri:cloud-line",
23133
23174
  class: "shrink-0"
23134
- }), P("span", Zk, [F(V(H(it)(e.message.metadata.resolvedProvider)) + " ", 1), e.message.metadata.resolvedModelId ? (z(), N(k, { key: 0 }, [F(" (" + V(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
23135
- e.message?.metadata?.totalTokens ? (z(), N("span", Qk, [I(p, {
23175
+ }), P("span", Qk, [F(V(H(it)(e.message.metadata.resolvedProvider)) + " ", 1), e.message.metadata.resolvedModelId ? (z(), N(k, { key: 0 }, [F(" (" + V(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
23176
+ e.message?.metadata?.totalTokens ? (z(), N("span", $k, [I(p, {
23136
23177
  name: "ri:ai-generate-2-line",
23137
23178
  class: "shrink-0"
23138
- }), P("span", $k, [F(V(t.$n(e.message.metadata.totalTokens, "integer")) + " " + V(t.$t("label.tokens")) + " ", 1), e.message?.metadata?.cachedTokens ? (z(), N("span", eA, " (" + V(t.$n(e.message.metadata.cachedTokens, "integer")) + " " + V(t.$t("label.cached")) + ") ", 1)) : M("", !0)])])) : M("", !0),
23139
- e.message?.metadata?.zeroDataRetention ? (z(), N("span", tA, [I(p, {
23179
+ }), P("span", eA, [F(V(t.$n(e.message.metadata.totalTokens, "integer")) + " " + V(t.$t("label.tokens")) + " ", 1), e.message?.metadata?.cachedTokens ? (z(), N("span", tA, " (" + V(t.$n(e.message.metadata.cachedTokens, "integer")) + " " + V(t.$t("label.cached")) + ") ", 1)) : M("", !0)])])) : M("", !0),
23180
+ e.message?.metadata?.zeroDataRetention ? (z(), N("span", nA, [I(p, {
23140
23181
  name: "ri:shield-check-line",
23141
23182
  class: "shrink-0"
23142
- }), F(" " + V(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (z(), N("span", nA, [I(p, {
23183
+ }), F(" " + V(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (z(), N("span", rA, [I(p, {
23143
23184
  name: "ri:shield-check-line",
23144
23185
  class: "shrink-0"
23145
23186
  }), F(" " + V(t.$t("label.noPromptTraining")), 1)])) : M("", !0)
23146
- ]), P("div", rA, [
23187
+ ]), P("div", iA, [
23147
23188
  e.message?.metadata?.createdAt ? (z(), N("time", {
23148
23189
  key: 0,
23149
23190
  datetime: new Date(e.message.metadata.createdAt).toISOString(),
@@ -23151,8 +23192,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23151
23192
  }, [I(p, {
23152
23193
  name: "ri:time-line",
23153
23194
  class: "shrink-0"
23154
- }), F(" " + V(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8, iA)) : M("", !0),
23155
- e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (z(), N("div", aA, [
23195
+ }), F(" " + V(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8, aA)) : M("", !0),
23196
+ e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (z(), N("div", oA, [
23156
23197
  I(p, {
23157
23198
  name: "ri:hourglass-line",
23158
23199
  class: "shrink-0"
@@ -23161,16 +23202,16 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23161
23202
  date: e.message.metadata?.createdAt,
23162
23203
  "end-date": e.message.metadata?.completedAt
23163
23204
  }, null, 8, ["date", "end-date"]),
23164
- e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (z(), N("span", oA, " (" + V(e.message.metadata.totalProviderAttemptCount) + " attempts) ", 1)) : M("", !0)
23205
+ e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (z(), N("span", sA, " (" + V(e.message.metadata.totalProviderAttemptCount) + " attempts) ", 1)) : M("", !0)
23165
23206
  ])) : M("", !0),
23166
- e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (z(), N("span", sA, [I(p, {
23207
+ e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (z(), N("span", cA, [I(p, {
23167
23208
  name: "ri:wallet-line",
23168
23209
  class: "shrink-0"
23169
23210
  }), F(" " + V(t.$n(parseFloat(e.message.metadata.cost), "currencyUSD")), 1)])) : M("", !0),
23170
- l.value ? (z(), N("span", cA, [I(p, {
23211
+ l.value ? (z(), N("span", lA, [I(p, {
23171
23212
  name: "ri:mic-line",
23172
23213
  class: "shrink-0"
23173
- }), P("span", lA, V(t.$t("label.spokenExchange")), 1)])) : M("", !0)
23214
+ }), P("span", uA, V(t.$t("label.spokenExchange")), 1)])) : M("", !0)
23174
23215
  ])])) : M("", !0),
23175
23216
  c.value || d.value || u.value ? (z(), j(h, {
23176
23217
  key: 1,
@@ -23183,10 +23224,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23183
23224
  title: t.$t("label.platformContext"),
23184
23225
  class: "border border-surface-3 rounded"
23185
23226
  }, {
23186
- default: G(() => [P("dl", uA, [(z(!0), N(k, null, ai(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", dA, V(H(lt)(H(ot)(t))), 1), P("dd", {
23227
+ default: G(() => [P("dl", dA, [(z(!0), N(k, null, ai(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", fA, V(H(lt)(H(ot)(t))), 1), P("dd", {
23187
23228
  class: "truncate font-mono col-span-2",
23188
23229
  title: String(e)
23189
- }, V(e), 9, fA)], 64))), 128))])]),
23230
+ }, V(e), 9, pA)], 64))), 128))])]),
23190
23231
  _: 1
23191
23232
  }, 8, ["title"])) : M("", !0),
23192
23233
  c.value ? (z(), j(m, {
@@ -23195,10 +23236,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23195
23236
  title: t.$t("label.deviceContext"),
23196
23237
  class: "border border-surface-3 rounded"
23197
23238
  }, {
23198
- default: G(() => [P("dl", pA, [(z(!0), N(k, null, ai(c.value, (e, t) => (z(), N(k, { key: t }, [P("dt", mA, V(H(lt)(H(ot)(t))), 1), P("dd", {
23239
+ default: G(() => [P("dl", mA, [(z(!0), N(k, null, ai(c.value, (e, t) => (z(), N(k, { key: t }, [P("dt", hA, V(H(lt)(H(ot)(t))), 1), P("dd", {
23199
23240
  class: "truncate font-mono col-span-2",
23200
23241
  title: String(e)
23201
- }, V(e), 9, hA)], 64))), 128))])]),
23242
+ }, V(e), 9, gA)], 64))), 128))])]),
23202
23243
  _: 1
23203
23244
  }, 8, ["title"])) : M("", !0),
23204
23245
  u.value ? (z(), j(m, {
@@ -23207,19 +23248,19 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23207
23248
  title: t.$t("label.externalContext"),
23208
23249
  class: "border border-surface-3 rounded"
23209
23250
  }, {
23210
- default: G(() => [P("dl", gA, [(z(!0), N(k, null, ai(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", _A, V(H(lt)(H(ot)(t))), 1), P("dd", {
23251
+ default: G(() => [P("dl", _A, [(z(!0), N(k, null, ai(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", vA, V(H(lt)(H(ot)(t))), 1), P("dd", {
23211
23252
  class: "truncate font-mono col-span-2",
23212
23253
  title: String(e)
23213
- }, V(e), 9, vA)], 64))), 128))])]),
23254
+ }, V(e), 9, yA)], 64))), 128))])]),
23214
23255
  _: 1
23215
23256
  }, 8, ["title"])) : M("", !0)
23216
23257
  ]),
23217
23258
  _: 1
23218
23259
  })) : M("", !0),
23219
- I(Tk, { message: e.message }, null, 8, ["message"]),
23220
- P("ol", yA, [(z(!0), N(k, null, ai(r.value, (e, c) => (z(), N("li", { key: c }, [
23260
+ I(Ek, { message: e.message }, null, 8, ["message"]),
23261
+ P("ol", bA, [(z(!0), N(k, null, ai(r.value, (e, c) => (z(), N("li", { key: c }, [
23221
23262
  P("span", { class: Xr(["text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8", { "border-b rounded-b": !n(e) && !H(tt)(e) }]) }, [
23222
- P("div", bA, [P("span", xA, [P("strong", SA, V(c + 1), 1), P("span", CA, "/" + V(r.value.length), 1)]), (n(e) || H(nt)(e)) && H(pt)(e.state) ? (z(), j(p, {
23263
+ P("div", xA, [P("span", SA, [P("strong", CA, V(c + 1), 1), P("span", wA, "/" + V(r.value.length), 1)]), (n(e) || H(nt)(e)) && H(pt)(e.state) ? (z(), j(p, {
23223
23264
  key: 0,
23224
23265
  name: "loading-loop",
23225
23266
  class: "w-12 h-12 ml-4"
@@ -23228,14 +23269,14 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23228
23269
  name: H(ft)(e) || "ri:question-line",
23229
23270
  class: "w-12 h-12 ml-4"
23230
23271
  }, null, 8, ["name"]))]),
23231
- P("span", wA, V(H(dt)(e, {
23272
+ P("span", TA, V(H(dt)(e, {
23232
23273
  t: H(o),
23233
23274
  te: H(s)
23234
23275
  })), 1),
23235
- "toolCallId" in e && i(e.toolCallId) ? (z(), N("span", TA, V(H(a)(i(e.toolCallId))), 1)) : M("", !0)
23276
+ "toolCallId" in e && i(e.toolCallId) ? (z(), N("span", EA, V(H(a)(i(e.toolCallId))), 1)) : M("", !0)
23236
23277
  ], 2),
23237
- n(e) ? (z(), N("div", EA, [P("div", DA, [
23238
- P("div", OA, V(t.$t("label.input")), 1),
23278
+ n(e) ? (z(), N("div", DA, [P("div", OA, [
23279
+ P("div", kA, V(t.$t("label.input")), 1),
23239
23280
  I(g, {
23240
23281
  "min-height": 128,
23241
23282
  "fit-content": ""
@@ -23247,7 +23288,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23247
23288
  }, null, 8, ["code"])]),
23248
23289
  _: 2
23249
23290
  }, 1024),
23250
- e.output && e.output !== "null" ? (z(), N(k, { key: 0 }, [P("div", kA, V(t.$t("label.output")), 1), I(g, {
23291
+ e.output && e.output !== "null" ? (z(), N(k, { key: 0 }, [P("div", AA, V(t.$t("label.output")), 1), I(g, {
23251
23292
  "min-height": 128,
23252
23293
  "fit-content": ""
23253
23294
  }, {
@@ -23258,7 +23299,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23258
23299
  }, null, 8, ["code"])]),
23259
23300
  _: 2
23260
23301
  }, 1024)], 64)) : M("", !0),
23261
- "errorText" in e && e.errorText ? (z(), N(k, { key: 1 }, [P("div", AA, V(t.$t("messagePart.stepError")), 1), P("pre", jA, V(e.errorText), 1)], 64)) : M("", !0),
23302
+ "errorText" in e && e.errorText ? (z(), N(k, { key: 1 }, [P("div", jA, V(t.$t("messagePart.stepError")), 1), P("pre", MA, V(e.errorText), 1)], 64)) : M("", !0),
23262
23303
  e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? oi(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : oi(t.$slots, H(st)(e.type), { part: e }, void 0, void 0, 3)
23263
23304
  ])])) : M("", !0),
23264
23305
  H(tt)(e) ? (z(), j(g, {
@@ -23274,26 +23315,26 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23274
23315
  _: 2
23275
23316
  }, 1024)) : M("", !0)
23276
23317
  ]))), 128))]),
23277
- I(Kk, { message: e.message }, null, 8, ["message"])
23318
+ I(qk, { message: e.message }, null, 8, ["message"])
23278
23319
  ]);
23279
23320
  };
23280
23321
  }
23281
- }), NA = {
23322
+ }), PA = {
23282
23323
  key: 0,
23283
23324
  class: "border-t border-surface-3"
23284
- }, PA = { class: "flex flex-col" }, FA = { class: "flex items-center hover:bg-surface-1 transition-colors" }, IA = ["aria-expanded", "onClick"], LA = { class: "flex items-center gap-4 shrink-0" }, RA = {
23325
+ }, FA = { class: "flex flex-col" }, IA = { class: "flex items-center hover:bg-surface-1 transition-colors" }, LA = ["aria-expanded", "onClick"], RA = { class: "flex items-center gap-4 shrink-0" }, zA = {
23285
23326
  key: 0,
23286
23327
  class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
23287
- }, zA = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, BA = {
23328
+ }, BA = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, VA = {
23288
23329
  key: 0,
23289
23330
  class: "border-t border-surface-3"
23290
- }, VA = {
23331
+ }, HA = {
23291
23332
  key: 0,
23292
23333
  class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
23293
- }, HA = ["onClick"], UA = {
23334
+ }, UA = ["onClick"], WA = {
23294
23335
  key: 0,
23295
23336
  class: "px-8 py-6 bg-surface-1 border-t border-surface-3"
23296
- }, WA = { class: "flex justify-between items-center gap-4 min-w-0" }, GA = { class: "font-semibold text-12 truncate" }, KA = /* @__PURE__ */ L({
23337
+ }, GA = { class: "flex justify-between items-center gap-4 min-w-0" }, KA = { class: "font-semibold text-12 truncate" }, qA = /* @__PURE__ */ L({
23297
23338
  __name: "PkMessageDetail",
23298
23339
  props: {
23299
23340
  message: {},
@@ -23318,14 +23359,14 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23318
23359
  };
23319
23360
  return (s, c) => {
23320
23361
  let l = Ar, u = Je, d = yr;
23321
- return z(), j(MA, { message: e.message }, Vr({
23362
+ return z(), j(NA, { message: e.message }, Vr({
23322
23363
  subagent: G(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (z(), j(d, {
23323
23364
  key: 0,
23324
23365
  title: t.output.subAgentId ? s.$t("label.subAgent") : s.$t("agent.tool.runWorker"),
23325
23366
  modifiers: "details",
23326
23367
  class: "border-t border-surface-3"
23327
23368
  }, {
23328
- default: G(() => [P("div", WA, [P("strong", GA, V(t.output.subAgentName ?? t.input?.objective), 1), I(u, {
23369
+ default: G(() => [P("div", GA, [P("strong", KA, V(t.output.subAgentName ?? t.input?.objective), 1), I(u, {
23329
23370
  modifiers: "action-small",
23330
23371
  icon: "ri:eye-line",
23331
23372
  class: "text-10 shrink-0",
@@ -23344,10 +23385,10 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23344
23385
  _: 2
23345
23386
  }, [e.canReadDocuments ? {
23346
23387
  name: "tool-search-in-knowledge-base",
23347
- fn: G(({ part: c }) => [c.output?.results?.length ? (z(), N("div", NA, [P("ul", PA, [(z(!0), N(k, null, ai(o(c.output.results), (o) => (z(), N("li", {
23388
+ fn: G(({ part: c }) => [c.output?.results?.length ? (z(), N("div", PA, [P("ul", FA, [(z(!0), N(k, null, ai(o(c.output.results), (o) => (z(), N("li", {
23348
23389
  key: o.document.id,
23349
23390
  class: "border-b border-surface-3 last:border-b-0"
23350
- }, [P("div", FA, [P("button", {
23391
+ }, [P("div", IA, [P("button", {
23351
23392
  type: "button",
23352
23393
  class: "flex items-center gap-8 p-8 flex-1 min-w-0 text-left cursor-pointer",
23353
23394
  "aria-expanded": t.has(o.document.id),
@@ -23363,14 +23404,14 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23363
23404
  "name",
23364
23405
  "url",
23365
23406
  "filename"
23366
- ]), P("div", LA, [
23367
- o.chunks.length > 1 ? (z(), N("span", RA, V(o.chunks.length), 1)) : M("", !0),
23368
- P("span", zA, V(o.document.language), 1),
23407
+ ]), P("div", RA, [
23408
+ o.chunks.length > 1 ? (z(), N("span", zA, V(o.chunks.length), 1)) : M("", !0),
23409
+ P("span", BA, V(o.document.language), 1),
23369
23410
  I(l, {
23370
23411
  name: t.has(o.document.id) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
23371
23412
  class: "text-16 text-word-3"
23372
23413
  }, null, 8, ["name"])
23373
- ])], 8, IA), I(u, {
23414
+ ])], 8, LA), I(u, {
23374
23415
  modifiers: "action-quiet-small",
23375
23416
  icon: "ri:eye-line",
23376
23417
  class: "text-10 shrink-0 mr-8",
@@ -23387,7 +23428,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23387
23428
  "title",
23388
23429
  "aria-label",
23389
23430
  "to"
23390
- ])]), t.has(o.document.id) ? (z(), N("div", BA, [o.document.source.description ? (z(), N("div", VA, V(o.document.source.description), 1)) : M("", !0), (z(!0), N(k, null, ai(o.chunks, (e) => (z(), N("div", {
23431
+ ])]), t.has(o.document.id) ? (z(), N("div", VA, [o.document.source.description ? (z(), N("div", HA, V(o.document.source.description), 1)) : M("", !0), (z(!0), N(k, null, ai(o.chunks, (e) => (z(), N("div", {
23391
23432
  key: e.id,
23392
23433
  class: "border-b border-surface-3 last:border-b-0"
23393
23434
  }, [P("button", {
@@ -23403,7 +23444,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23403
23444
  "similarity",
23404
23445
  "max-similarity",
23405
23446
  "expanded"
23406
- ])], 8, HA), n.has(e.id) ? (z(), N("div", UA, [I(Xe, {
23447
+ ])], 8, UA), n.has(e.id) ? (z(), N("div", WA, [I(Xe, {
23407
23448
  markdown: e.content,
23408
23449
  class: "wysiwyg text-10"
23409
23450
  }, null, 8, ["markdown"])])) : M("", !0)]))), 128))])) : M("", !0)]))), 128))])])) : M("", !0)]),
@@ -23411,19 +23452,19 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23411
23452
  } : void 0]), 1032, ["message"]);
23412
23453
  };
23413
23454
  }
23414
- }), qA = { class: "flex flex-col h-full bg-surface rounded-xl" }, JA = { class: "sticky z-1 top-0 bg-surface-1 flex items-center justify-between gap-sm p-sm border-b border-surface-3" }, YA = { class: "flex items-center gap-sm min-w-0" }, XA = ["title"], ZA = {
23455
+ }), JA = { class: "flex flex-col h-full bg-surface rounded-xl" }, YA = { class: "sticky z-1 top-0 bg-surface-1 flex items-center justify-between gap-sm p-sm border-b border-surface-3" }, XA = { class: "flex items-center gap-sm min-w-0" }, ZA = ["title"], QA = {
23415
23456
  key: 1,
23416
23457
  class: "text-14 font-bold"
23417
- }, QA = { class: "flex-1 flex flex-col gap-md p-md overflow-y-auto min-h-0" }, $A = { class: "flex flex-col" }, ej = { class: "text-12 font-medium text-word-2 mb-xs block" }, tj = ["placeholder", "disabled"], nj = { class: "flex justify-end mt-xs" }, rj = {
23458
+ }, $A = { class: "flex-1 flex flex-col gap-md p-md overflow-y-auto min-h-0" }, ej = { class: "flex flex-col" }, tj = { class: "text-12 font-medium text-word-2 mb-xs block" }, nj = ["placeholder", "disabled"], rj = { class: "flex justify-end mt-xs" }, ij = {
23418
23459
  key: 1,
23419
23460
  class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
23420
- }, ij = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, aj = { class: "text-12 text-word-3" }, oj = {
23461
+ }, aj = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, oj = { class: "text-12 text-word-3" }, sj = {
23421
23462
  key: 2,
23422
23463
  class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
23423
- }, sj = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, cj = { class: "text-12 font-medium text-word-2" }, lj = { class: "flex items-center gap-xs ml-auto" }, uj = {
23464
+ }, cj = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, lj = { class: "text-12 font-medium text-word-2" }, uj = { class: "flex items-center gap-xs ml-auto" }, dj = {
23424
23465
  key: 0,
23425
23466
  class: "py-sm text-word-2 leading-normal"
23426
- }, dj = /* @__PURE__ */ L({
23467
+ }, fj = /* @__PURE__ */ L({
23427
23468
  __name: "PkReasoningChat",
23428
23469
  props: {
23429
23470
  baseUrl: {},
@@ -23459,7 +23500,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23459
23500
  }), _ = A(() => g.value?.parts.find((e) => e.type === "text")?.text || "");
23460
23501
  return (t, r) => {
23461
23502
  let o = Je, s = xr, l = Ar;
23462
- return z(), N("div", qA, [P("div", JA, [P("div", YA, [I(Kn, {
23503
+ return z(), N("div", JA, [P("div", YA, [P("div", XA, [I(Kn, {
23463
23504
  modifiers: "surface ring shrink-0",
23464
23505
  class: "w-24 h-24",
23465
23506
  name: e.name
@@ -23467,16 +23508,16 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23467
23508
  key: 0,
23468
23509
  class: "text-14 font-bold truncate",
23469
23510
  title: e.name
23470
- }, V(e.name), 9, XA)) : (z(), N("strong", ZA, V(H(n)("label.reasoningAgentTester")), 1))]), h.value ? (z(), j(o, {
23511
+ }, V(e.name), 9, ZA)) : (z(), N("strong", QA, V(H(n)("label.reasoningAgentTester")), 1))]), h.value ? (z(), j(o, {
23471
23512
  key: 0,
23472
23513
  icon: "ri:reset-right-line",
23473
23514
  modifiers: "action-quiet",
23474
23515
  title: H(n)("action.clear"),
23475
23516
  disabled: m.value,
23476
23517
  onClick: p
23477
- }, null, 8, ["title", "disabled"])) : M("", !0)]), P("div", QA, [
23478
- P("div", $A, [
23479
- P("label", ej, V(H(n)("label.question")), 1),
23518
+ }, null, 8, ["title", "disabled"])) : M("", !0)]), P("div", $A, [
23519
+ P("div", ej, [
23520
+ P("label", tj, V(H(n)("label.question")), 1),
23480
23521
  _i(P("textarea", {
23481
23522
  "onUpdate:modelValue": r[0] ||= (e) => a.value = e,
23482
23523
  placeholder: H(n)("placeholder.enterYourQuestion"),
@@ -23484,8 +23525,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23484
23525
  class: "pk-reasoning-chat__input u-field w-full p-sm text-14 min-h-64",
23485
23526
  rows: "3",
23486
23527
  onKeydown: f
23487
- }, null, 40, tj), [[gi, a.value]]),
23488
- P("div", nj, [I(o, {
23528
+ }, null, 40, nj), [[gi, a.value]]),
23529
+ P("div", rj, [I(o, {
23489
23530
  label: H(n)("action.submit"),
23490
23531
  loading: m.value,
23491
23532
  disabled: !a.value.trim() || m.value,
@@ -23502,17 +23543,17 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23502
23543
  title: H(n)("label.error"),
23503
23544
  content: H(c).message
23504
23545
  }, null, 8, ["title", "content"])) : M("", !0),
23505
- m.value && !g.value ? (z(), N("div", rj, [P("div", ij, [I(l, {
23546
+ m.value && !g.value ? (z(), N("div", ij, [P("div", aj, [I(l, {
23506
23547
  name: "loading-loop",
23507
23548
  class: "w-16 h-16"
23508
- }), P("span", aj, V(H(n)("label.processing")), 1)]), r[2] ||= P("div", { class: "vv-skeleton flex flex-col gap-8" }, [P("div", { class: "vv-skeleton__item h-12 rounded" }), P("div", { class: "vv-skeleton__item h-12 rounded w-192" })], -1)])) : M("", !0),
23509
- g.value ? (z(), N("div", oj, [P("div", sj, [
23549
+ }), P("span", oj, V(H(n)("label.processing")), 1)]), r[2] ||= P("div", { class: "vv-skeleton flex flex-col gap-8" }, [P("div", { class: "vv-skeleton__item h-12 rounded" }), P("div", { class: "vv-skeleton__item h-12 rounded w-192" })], -1)])) : M("", !0),
23550
+ g.value ? (z(), N("div", sj, [P("div", cj, [
23510
23551
  I(l, {
23511
23552
  name: "ri:robot-2-line",
23512
23553
  class: "w-16 h-16"
23513
23554
  }),
23514
- P("span", cj, V(H(n)("label.answer")), 1),
23515
- P("div", lj, [m.value ? (z(), j(l, {
23555
+ P("span", lj, V(H(n)("label.answer")), 1),
23556
+ P("div", uj, [m.value ? (z(), j(l, {
23516
23557
  key: 0,
23517
23558
  name: "loading-loop",
23518
23559
  class: "w-14 h-14"
@@ -23523,7 +23564,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23523
23564
  modifiers: "action-quiet-small",
23524
23565
  onClick: r[1] ||= yi((e) => i("show-info", g.value), ["stop"])
23525
23566
  }, null, 8, ["title"])) : M("", !0)])
23526
- ]), _.value ? (z(), N("div", uj, [I(Xe, {
23567
+ ]), _.value ? (z(), N("div", dj, [I(Xe, {
23527
23568
  markdown: _.value,
23528
23569
  loading: m.value,
23529
23570
  class: "wysiwyg text-14"
@@ -23531,7 +23572,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23531
23572
  ])]);
23532
23573
  };
23533
23574
  }
23534
- }), fj = { class: "welcome-popup__text" }, pj = ["aria-label"], mj = 100, hj = /* @__PURE__ */ L({
23575
+ }), pj = { class: "welcome-popup__text" }, mj = ["aria-label"], hj = 100, gj = /* @__PURE__ */ L({
23535
23576
  __name: "PkWelcomePopup",
23536
23577
  props: {
23537
23578
  agentId: {},
@@ -23546,7 +23587,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23546
23587
  c.value = [], s.value = !1;
23547
23588
  let t = e.split(/(\s+)/), n = 0;
23548
23589
  function r() {
23549
- n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, mj)) : s.value = !0;
23590
+ n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, hj)) : s.value = !0;
23550
23591
  }
23551
23592
  r();
23552
23593
  }
@@ -23570,7 +23611,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23570
23611
  key: 0,
23571
23612
  class: "welcome-popup",
23572
23613
  onClick: yi(m, ["stop"])
23573
- }, [P("p", fj, [(z(!0), N(k, null, ai(c.value, (e, t) => (z(), N("span", {
23614
+ }, [P("p", pj, [(z(!0), N(k, null, ai(c.value, (e, t) => (z(), N("span", {
23574
23615
  key: t,
23575
23616
  class: "welcome-popup__word"
23576
23617
  }, V(e), 1))), 128))]), I(Lr, null, {
@@ -23586,35 +23627,35 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23586
23627
  width: "14",
23587
23628
  height: "14",
23588
23629
  fill: "currentColor"
23589
- }, [P("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8, pj)) : M("", !0)]),
23630
+ }, [P("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8, mj)) : M("", !0)]),
23590
23631
  _: 1
23591
23632
  })])) : M("", !0)]),
23592
23633
  _: 1
23593
23634
  }));
23594
23635
  }
23595
- }), gj = {
23636
+ }), _j = {
23596
23637
  key: 0,
23597
23638
  class: "pk-working-beam",
23598
23639
  "aria-hidden": "true"
23599
- }, _j = /* @__PURE__ */ L({
23640
+ }, vj = /* @__PURE__ */ L({
23600
23641
  __name: "PkWorkingBeam",
23601
23642
  props: { active: { type: Boolean } },
23602
23643
  setup(e) {
23603
23644
  return (t, n) => (z(), j(Lr, { name: "pk-working-beam" }, {
23604
- default: G(() => [e.active ? (z(), N("span", gj, [...n[0] ||= [P("span", { class: "pk-working-beam__halo" }, null, -1), P("span", { class: "pk-working-beam__ring" }, [P("span", { class: "pk-working-beam__light" })], -1)]])) : M("", !0)]),
23645
+ default: G(() => [e.active ? (z(), N("span", _j, [...n[0] ||= [P("span", { class: "pk-working-beam__halo" }, null, -1), P("span", { class: "pk-working-beam__ring" }, [P("span", { class: "pk-working-beam__light" })], -1)]])) : M("", !0)]),
23605
23646
  _: 1
23606
23647
  }));
23607
23648
  }
23608
- }), vj = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, yj = { class: "flex items-center" }, bj = ["for"], xj = ["id", "disabled"], Sj = ["value"], Cj = {
23649
+ }), yj = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, bj = { class: "flex items-center" }, xj = ["for"], Sj = ["id", "disabled"], Cj = ["value"], wj = {
23609
23650
  key: 1,
23610
23651
  class: "ml-8 text-12 font-semibold tabular-nums"
23611
- }, wj = { class: "flex justify-center items-center" }, Tj = {
23652
+ }, Tj = { class: "flex justify-center items-center" }, Ej = {
23612
23653
  class: "rounded-md border border-surface-3 px-14 py-4 text-center text-12 font-bold tabular-nums",
23613
23654
  type: "button"
23614
- }, Ej = {
23655
+ }, Dj = {
23615
23656
  key: 0,
23616
23657
  class: "ml-6 text-12 whitespace-nowrap tabular-nums"
23617
- }, Dj = { class: "flex text-12 justify-end items-center whitespace-nowrap tabular-nums" }, Oj = /* @__PURE__ */ L({
23658
+ }, Oj = { class: "flex text-12 justify-end items-center whitespace-nowrap tabular-nums" }, kj = /* @__PURE__ */ L({
23618
23659
  __name: "PkPagination",
23619
23660
  props: {
23620
23661
  page: {
@@ -23646,11 +23687,11 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23646
23687
  });
23647
23688
  return (t, i) => {
23648
23689
  let u = Je, d = wr;
23649
- return z(), N("div", vj, [
23650
- P("div", yj, [P("label", {
23690
+ return z(), N("div", yj, [
23691
+ P("div", bj, [P("label", {
23651
23692
  for: H(r),
23652
23693
  class: "text-12 whitespace-nowrap"
23653
- }, V(H(n)("label.itemsPerPage")), 9, bj), e.limitSteps ? _i((z(), N("select", {
23694
+ }, V(H(n)("label.itemsPerPage")), 9, xj), e.limitSteps ? _i((z(), N("select", {
23654
23695
  key: 0,
23655
23696
  id: H(r),
23656
23697
  "onUpdate:modelValue": i[0] ||= (e) => l.value = e,
@@ -23659,8 +23700,8 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23659
23700
  }, [(z(!0), N(k, null, ai(e.limitSteps, (e) => (z(), N("option", {
23660
23701
  key: e,
23661
23702
  value: e
23662
- }, V(e), 9, Sj))), 128))], 8, xj)), [[hi, l.value]]) : (z(), N("span", Cj, V(e.limit), 1))]),
23663
- P("div", wj, [I(d, { class: "flex-nowrap" }, {
23703
+ }, V(e), 9, Cj))), 128))], 8, Sj)), [[hi, l.value]]) : (z(), N("span", wj, V(e.limit), 1))]),
23704
+ P("div", Tj, [I(d, { class: "flex-nowrap" }, {
23664
23705
  default: G(() => [
23665
23706
  I(u, {
23666
23707
  title: H(n)("action.prev"),
@@ -23669,7 +23710,7 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23669
23710
  modifiers: "action-quiet",
23670
23711
  onClick: i[1] ||= yi((t) => a("update:page", e.page - 1), ["stop"])
23671
23712
  }, null, 8, ["title", "disabled"]),
23672
- P("button", Tj, V(e.page), 1),
23713
+ P("button", Ej, V(e.page), 1),
23673
23714
  I(u, {
23674
23715
  title: H(n)("action.next"),
23675
23716
  disabled: c.value,
@@ -23679,21 +23720,21 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23679
23720
  }, null, 8, ["title", "disabled"])
23680
23721
  ]),
23681
23722
  _: 1
23682
- }), o.value ? (z(), N("small", Ej, V(H(n)("label.totalPages", { total: o.value })), 1)) : M("", !0)]),
23683
- P("div", Dj, V(H(n)("label.totalItemsCount", { total: e.total })), 1)
23723
+ }), o.value ? (z(), N("small", Dj, V(H(n)("label.totalPages", { total: o.value })), 1)) : M("", !0)]),
23724
+ P("div", Oj, V(H(n)("label.totalItemsCount", { total: e.total })), 1)
23684
23725
  ]);
23685
23726
  };
23686
23727
  }
23687
- }), kj = { class: "pk-table-empty" }, Aj = {
23728
+ }), Aj = { class: "pk-table-empty" }, jj = {
23688
23729
  class: "pk-table-empty__glyph",
23689
23730
  "aria-hidden": "true"
23690
- }, jj = { class: "pk-table-empty__text" }, Mj = { class: "pk-table-empty__title" }, Nj = {
23731
+ }, Mj = { class: "pk-table-empty__text" }, Nj = { class: "pk-table-empty__title" }, Pj = {
23691
23732
  key: 0,
23692
23733
  class: "pk-table-empty__description"
23693
- }, Pj = {
23734
+ }, Fj = {
23694
23735
  key: 0,
23695
23736
  class: "pk-table-empty__actions"
23696
- }, Fj = /* @__PURE__ */ L({
23737
+ }, Ij = /* @__PURE__ */ L({
23697
23738
  __name: "PkTableEmpty",
23698
23739
  props: {
23699
23740
  title: { default: void 0 },
@@ -23704,86 +23745,86 @@ var PE = { class: "flex items-center gap-xs min-w-0" }, FE = { class: "truncate"
23704
23745
  let { t } = bi({ useScope: "global" });
23705
23746
  return (n, r) => {
23706
23747
  let i = Ar;
23707
- return z(), N("div", kj, [
23708
- P("div", Aj, [I(i, { name: e.icon }, null, 8, ["name"])]),
23709
- P("div", jj, [P("strong", Mj, V(e.title ?? H(t)("message.empty")), 1), e.description ? (z(), N("p", Nj, V(e.description), 1)) : M("", !0)]),
23710
- n.$slots.actions ? (z(), N("div", Pj, [oi(n.$slots, "actions")])) : M("", !0)
23748
+ return z(), N("div", Aj, [
23749
+ P("div", jj, [I(i, { name: e.icon }, null, 8, ["name"])]),
23750
+ P("div", Mj, [P("strong", Nj, V(e.title ?? H(t)("message.empty")), 1), e.description ? (z(), N("p", Pj, V(e.description), 1)) : M("", !0)]),
23751
+ n.$slots.actions ? (z(), N("div", Fj, [oi(n.$slots, "actions")])) : M("", !0)
23711
23752
  ]);
23712
23753
  };
23713
23754
  }
23714
- }), Ij = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, Lj = { class: "mb-4" }, Rj = { class: "font-bold" }, zj = { class: "text-smaller text-word-3" }, Bj = /* @__PURE__ */ L({
23755
+ }), Lj = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, Rj = { class: "mb-4" }, zj = { class: "font-bold" }, Bj = { class: "text-smaller text-word-3" }, Vj = /* @__PURE__ */ L({
23715
23756
  __name: "PkTableError",
23716
23757
  setup(e) {
23717
23758
  let { t } = bi({ useScope: "global" });
23718
23759
  return (e, n) => {
23719
23760
  let r = Ar;
23720
- return z(), N("div", Ij, [
23721
- P("div", Lj, [I(r, {
23761
+ return z(), N("div", Lj, [
23762
+ P("div", Rj, [I(r, {
23722
23763
  name: "ri:alert-line",
23723
23764
  class: "text-32 text-word-2"
23724
23765
  })]),
23725
- P("strong", Rj, V(H(t)("message.warning")), 1),
23726
- P("div", zj, V(H(t)("message.readError")), 1)
23766
+ P("strong", zj, V(H(t)("message.warning")), 1),
23767
+ P("div", Bj, V(H(t)("message.readError")), 1)
23727
23768
  ]);
23728
23769
  };
23729
23770
  }
23730
23771
  });
23731
23772
  // ../../node_modules/.pnpm/ts-util-is@2.1.0/node_modules/ts-util-is/dist/src/index.js
23732
- function Vj(e) {
23773
+ function Hj(e) {
23733
23774
  return Array.isArray(e);
23734
23775
  }
23735
- function Hj(e) {
23776
+ function Uj(e) {
23736
23777
  return e !== void 0;
23737
23778
  }
23738
- function Uj(e) {
23779
+ function Wj(e) {
23739
23780
  return e === null;
23740
23781
  }
23741
- function Wj(e) {
23782
+ function Gj(e) {
23742
23783
  return typeof e == "object";
23743
23784
  }
23744
- function Gj(e) {
23785
+ function Kj(e) {
23745
23786
  return typeof e == "string";
23746
23787
  }
23747
- function Kj(e) {
23788
+ function qj(e) {
23748
23789
  return e === void 0;
23749
23790
  }
23750
23791
  // ../../node_modules/.pnpm/ts-dot-prop@2.1.4/node_modules/ts-dot-prop/dist/index.js
23751
- var qj = /^[0-9]+$/, Jj = [
23792
+ var Jj = /^[0-9]+$/, Yj = [
23752
23793
  "__proto__",
23753
23794
  "prototype",
23754
23795
  "constructor"
23755
23796
  ];
23756
- function Yj(e, t, n) {
23757
- let r = Hj(n) ? n : void 0;
23758
- if (!Wj(e) || !Gj(t)) return r;
23759
- let i = Xj(t);
23797
+ function Xj(e, t, n) {
23798
+ let r = Uj(n) ? n : void 0;
23799
+ if (!Gj(e) || !Kj(t)) return r;
23800
+ let i = Zj(t);
23760
23801
  if (i.length !== 0) {
23761
23802
  for (let t of i) {
23762
23803
  if (t === "*") continue;
23763
23804
  let n = function(e) {
23764
- return e.map((e) => Kj(e) || Uj(e) ? e : Vj(e) ? n(e) : e[t]);
23805
+ return e.map((e) => qj(e) || Wj(e) ? e : Hj(e) ? n(e) : e[t]);
23765
23806
  };
23766
- if (e = Vj(e) && !qj.test(t) ? n(e) : e[t], Kj(e) || Uj(e)) break;
23807
+ if (e = Hj(e) && !Jj.test(t) ? n(e) : e[t], qj(e) || Wj(e)) break;
23767
23808
  }
23768
- return Kj(e) ? r : e;
23809
+ return qj(e) ? r : e;
23769
23810
  }
23770
23811
  }
23771
- function Xj(e) {
23812
+ function Zj(e) {
23772
23813
  let t = e.split(/[.]|(?:\[(\d|\*)\])/).filter((e) => !!e);
23773
- return t.some((e) => Jj.indexOf(e) !== -1) ? [] : t;
23814
+ return t.some((e) => Yj.indexOf(e) !== -1) ? [] : t;
23774
23815
  }
23775
23816
  // ../../packages/components/src/table/PkTableSortable.vue?vue&type=script&setup=true&lang.ts
23776
- var Zj = {
23817
+ var Qj = {
23777
23818
  key: 0,
23778
23819
  class: "pk-table-sortable__sort"
23779
- }, Qj = ["for"], $j = ["id"], eM = {
23820
+ }, $j = ["for"], eM = ["id"], tM = {
23780
23821
  key: 0,
23781
23822
  value: "",
23782
23823
  disabled: ""
23783
- }, tM = ["value"], nM = { key: 0 }, rM = {
23824
+ }, nM = ["value"], rM = { key: 0 }, iM = {
23784
23825
  key: 0,
23785
23826
  class: "truncate"
23786
- }, iM = ["onClick"], aM = ["onClick"], oM = ["data-label"], sM = { key: 1 }, cM = ["colspan"], lM = { key: 2 }, uM = ["colspan"], dM = { key: 1 }, fM = { key: 2 }, pM = "a, button, input, select, textarea, label, [contenteditable], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"menuitem\"]", mM = /* @__PURE__ */ L({
23827
+ }, aM = ["onClick"], oM = ["onClick"], sM = ["data-label"], cM = { key: 1 }, lM = ["colspan"], uM = { key: 2 }, dM = ["colspan"], fM = { key: 1 }, pM = { key: 2 }, mM = "a, button, input, select, textarea, label, [contenteditable], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"menuitem\"]", hM = /* @__PURE__ */ L({
23787
23828
  __name: "PkTableSortable",
23788
23829
  props: {
23789
23830
  columns: {
@@ -23923,7 +23964,7 @@ var Zj = {
23923
23964
  let S = (e) => {
23924
23965
  u.value === e ? d.value = d.value === "asc" ? "desc" : "asc" : u.value = e;
23925
23966
  }, C = (e, t, n) => {
23926
- a.rowClickable && (n.target?.closest(pM) || o("click:row", e, t));
23967
+ a.rowClickable && (n.target?.closest(mM) || o("click:row", e, t));
23927
23968
  }, te = () => {
23928
23969
  l.value++;
23929
23970
  }, w = () => {
@@ -23933,19 +23974,19 @@ var Zj = {
23933
23974
  a.page || o("update:page", l.value), a.limit || o("update:limit", c.value);
23934
23975
  }), (t, a) => {
23935
23976
  let o = Je, ne = Ar;
23936
- return z(), N("div", { class: Xr(["pk-table-sortable", { "pk-table-sortable--stacked": e.stacked }]) }, [P("div", { class: Xr([v.value, "pk-table-sortable__wrapper"]) }, [e.stacked && !e.hideHead && m.value.length ? (z(), N("div", Zj, [
23977
+ return z(), N("div", { class: Xr(["pk-table-sortable", { "pk-table-sortable--stacked": e.stacked }]) }, [P("div", { class: Xr([v.value, "pk-table-sortable__wrapper"]) }, [e.stacked && !e.hideHead && m.value.length ? (z(), N("div", Qj, [
23937
23978
  P("label", {
23938
23979
  for: H(i),
23939
23980
  class: "text-12 text-word-3 truncate"
23940
- }, V(H(r)("label.sortBy")), 9, Qj),
23981
+ }, V(H(r)("label.sortBy")), 9, $j),
23941
23982
  _i(P("select", {
23942
23983
  id: H(i),
23943
23984
  "onUpdate:modelValue": a[0] ||= (e) => h.value = e,
23944
23985
  class: "pk-table-sortable__sort-field u-field u-field--compact"
23945
- }, [h.value ? M("", !0) : (z(), N("option", eM)), (z(!0), N(k, null, ai(m.value, (e) => (z(), N("option", {
23986
+ }, [h.value ? M("", !0) : (z(), N("option", tM)), (z(!0), N(k, null, ai(m.value, (e) => (z(), N("option", {
23946
23987
  key: e.name,
23947
23988
  value: e.name
23948
- }, V(e.label), 9, tM))), 128))], 8, $j), [[hi, h.value]]),
23989
+ }, V(e.label), 9, nM))), 128))], 8, eM), [[hi, h.value]]),
23949
23990
  I(o, {
23950
23991
  modifiers: "action-quiet",
23951
23992
  icon: H(d) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line",
@@ -23960,7 +24001,7 @@ var Zj = {
23960
24001
  "disabled"
23961
24002
  ])
23962
24003
  ])) : M("", !0), P("table", { class: Xr(["vv-table", e.classTable]) }, [
23963
- e.hideHead ? M("", !0) : (z(), N("thead", nM, [P("tr", null, [(z(!0), N(k, null, ai(p.value, (e) => (z(), N("th", Jr({ key: e.name }, { ref_for: !0 }, { class: [
24004
+ e.hideHead ? M("", !0) : (z(), N("thead", rM, [P("tr", null, [(z(!0), N(k, null, ai(p.value, (e) => (z(), N("th", Jr({ key: e.name }, { ref_for: !0 }, { class: [
23964
24005
  e.class,
23965
24006
  e.classTh,
23966
24007
  { selected: H(u) === e.name }
@@ -23968,7 +24009,7 @@ var Zj = {
23968
24009
  key: 1,
23969
24010
  type: "button",
23970
24011
  onClick: (t) => S(e.name)
23971
- }, [oi(t.$slots, `col::header::${e.name}`, {}, () => [F(V(e.label), 1)]), I(ne, Jr({ class: { "opacity-30": H(u) !== e.name } }, { ref_for: !0 }, H(u) === e.name ? { name: H(d) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line" } : { name: "ri:arrow-up-down-line" }), null, 16, ["class"])], 8, iM)) : (z(), N("div", rM, [oi(t.$slots, `col::header::${e.name}`, {}, () => [F(V(e.label), 1)])]))], 16))), 128))])])),
24012
+ }, [oi(t.$slots, `col::header::${e.name}`, {}, () => [F(V(e.label), 1)]), I(ne, Jr({ class: { "opacity-30": H(u) !== e.name } }, { ref_for: !0 }, H(u) === e.name ? { name: H(d) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line" } : { name: "ri:arrow-up-down-line" }), null, 16, ["class"])], 8, aM)) : (z(), N("div", iM, [oi(t.$slots, `col::header::${e.name}`, {}, () => [F(V(e.label), 1)])]))], 16))), 128))])])),
23972
24013
  I(Rr, {
23973
24014
  tag: "tbody",
23974
24015
  name: e.transitionName
@@ -23980,7 +24021,7 @@ var Zj = {
23980
24021
  })), () => [e.isLoading ? oi(t.$slots, "loading", {}, () => [(z(!0), N(k, null, ai(c.value, (e) => (z(), N("tr", { key: e }, [(z(!0), N(k, null, ai(p.value, ({ name: n, wrapperClass: r }) => (z(), N("td", { key: n }, [oi(t.$slots, `skeleton::${n}`, Jr({ ref_for: !0 }, {
23981
24022
  index: e,
23982
24023
  wrapperClass: r
23983
- }), () => [P("div", { class: Xr(["vv-skeleton", r]) }, [...a[3] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (z(), N("tr", lM, [P("td", { colspan: p.value.length }, [oi(t.$slots, "error", {}, () => [I(Bj)])], 8, uM)])) : M("", !0) : (z(), N(k, { key: 1 }, [e.data?.length ? (z(!0), N(k, { key: 0 }, ai(e.data, (r, i) => (z(), N("tr", {
24024
+ }), () => [P("div", { class: Xr(["vv-skeleton", r]) }, [...a[3] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (z(), N("tr", uM, [P("td", { colspan: p.value.length }, [oi(t.$slots, "error", {}, () => [I(Vj)])], 8, dM)])) : M("", !0) : (z(), N(k, { key: 1 }, [e.data?.length ? (z(!0), N(k, { key: 0 }, ai(e.data, (r, i) => (z(), N("tr", {
23984
24025
  key: i,
23985
24026
  class: Xr([{
23986
24027
  "pk-table-sortable__row--clickable": e.rowClickable,
@@ -24004,11 +24045,11 @@ var Zj = {
24004
24045
  wrapperClass: o,
24005
24046
  index: i,
24006
24047
  value: r[e]
24007
- }), () => [P("div", { class: Xr(["truncate", o]) }, V(H(Yj)(r, a ?? e)), 3)], void 0, 2)], 10, oM))), 128))], 10, aM))), 128)) : (z(), N("tr", sM, [P("td", { colspan: p.value.length }, [oi(t.$slots, "empty", {}, () => [I(Fj)])], 8, cM)]))], 64))])]),
24048
+ }), () => [P("div", { class: Xr(["truncate", o]) }, V(H(Xj)(r, a ?? e)), 3)], void 0, 2)], 10, sM))), 128))], 10, oM))), 128)) : (z(), N("tr", cM, [P("td", { colspan: p.value.length }, [oi(t.$slots, "empty", {}, () => [I(Ij)])], 8, lM)]))], 64))])]),
24008
24049
  _: 3
24009
24050
  }, 8, ["name"]),
24010
- H(n).tfoot ? (z(), N("tfoot", dM, [oi(t.$slots, "tfoot")])) : M("", !0),
24011
- H(n).caption ? (z(), N("caption", fM, [oi(t.$slots, "caption")])) : M("", !0)
24051
+ H(n).tfoot ? (z(), N("tfoot", fM, [oi(t.$slots, "tfoot")])) : M("", !0),
24052
+ H(n).caption ? (z(), N("caption", pM, [oi(t.$slots, "caption")])) : M("", !0)
24012
24053
  ], 2)], 2), oi(t.$slots, "navigation", Zr(Ur({
24013
24054
  hide: e.hideNavigation,
24014
24055
  prevDisabled: x.value,
@@ -24017,7 +24058,7 @@ var Zj = {
24017
24058
  next: te,
24018
24059
  total: f.value,
24019
24060
  page: l.value
24020
- })), () => [e.hideNavigation ? M("", !0) : (z(), j(Oj, {
24061
+ })), () => [e.hideNavigation ? M("", !0) : (z(), j(kj, {
24021
24062
  key: 0,
24022
24063
  page: l.value,
24023
24064
  total: s.value ?? 0,
@@ -24038,6 +24079,6 @@ var Zj = {
24038
24079
  };
24039
24080
  }
24040
24081
  });
24041
- export { AE as AGENT_STATUS_GLYPHS, jE as AGENT_VISIBILITY_GLYPHS, UE as MODEL_CATALOG_KEY, RE as PkAgentSelectorInline, PO as PkAgentSettingsPanel, yt as PkAuroraCanvas, Kn as PkAvatar, Ri as PkBadge, Qn as PkChatButton, qO as PkChatSidebar, IO as PkChatSidebarConversationItem, nr as PkChatbot, qe as PkChatbotAuth, er as PkChatbotEmptyState, Ct as PkChatbotError, qn as PkChatbotFeedbackForm, Un as PkChatbotFilePreview, $n as PkChatbotInput, v as PkChatbotMessages, Xn as PkChatbotStepPayload, Zn as PkChatbotStepToolDetail, Yn as PkChatbotSteps, St as PkChatbotViewChat, vt as PkChatbotViewConversations, tr as PkChatbotViewProfile, KT as PkCheckboxField, rr as PkChunkPreview, Ot as PkCode, fD as PkCopyBlock, ir as PkDocumentHeader, Ya as PkEditorAgentType, n as PkEditorCheckboxButtons, ls as PkEditorCode, so as PkEditorDocumentType, Ns as PkEditorJsonSchema, ET as PkEditorMarkdown, DT as PkEditorMedia, _o as PkEditorNotificationType, PT as PkEditorPrompt, t as PkEditorRadioButtons, HT as PkEditorRepeater, fs as PkFieldset, gs as PkIconOption, qT as PkInfobox, pD as PkInputColor, tE as PkIntegrationProvider, QE as PkLanguageModel, aD as PkLanguageModelCombobox, Bn as PkLazyImg, rE as PkLightbox, sE as PkLoader, lE as PkMedia, KA as PkMessageDetail, MA as PkMessageParts, iD as PkModelOption, vE as PkOfflineScreen, Oj as PkPagination, TE as PkPwaNotices, DE as PkQrCode, dj as PkReasoningChat, sD as PkReasoningSettings, Dt as PkRelativeTime, YO as PkRetryCountdown, Es as PkSchemaField, kE as PkSkeleton, Xe as PkStreamingMarkdown, Jn as PkStreamingMarkdownAutoscroll, Wn as PkSvgViewer, Fj as PkTableEmpty, Bj as PkTableError, mM as PkTableSortable, HE as PkToolApprovalBadge, vr as PkToolShareDocument, kt as PkToolShowArtifact, fr as PkToolShowCalendarEvent, pr as PkToolShowComparison, dr as PkToolShowContactForm, sr as PkToolShowEmail, r as PkToolShowForm, gr as PkToolShowImageGallery, mr as PkToolShowLocation, cr as PkToolShowMessage, ur as PkToolShowProductList, hr as PkToolShowQrCode, ar as PkToolShowSources, _r as PkToolShowSuggestedReply, lr as PkToolShowWebPages, Gn as PkUrl, xt as PkVoiceOrb, bt as PkVoiceSession, cD as PkWebSearchSettings, hj as PkWelcomePopup, _j as PkWorkingBeam, Je as VvButtonLocalized, ME as agentStatusGlyph, NE as agentVisibilityGlyph, ZT as integrationProviderIcon, or as isMcpOAuthReport, at as localizeSummaryLabels, Ye as provideChatImagePolicy, WE as provideModelCatalog, GE as useModelCatalogEntry };
24082
+ export { AE as AGENT_STATUS_GLYPHS, jE as AGENT_VISIBILITY_GLYPHS, UE as MODEL_CATALOG_KEY, RE as PkAgentSelectorInline, FO as PkAgentSettingsPanel, yt as PkAuroraCanvas, Kn as PkAvatar, Ri as PkBadge, Qn as PkChatButton, JO as PkChatSidebar, LO as PkChatSidebarConversationItem, nr as PkChatbot, qe as PkChatbotAuth, er as PkChatbotEmptyState, Ct as PkChatbotError, qn as PkChatbotFeedbackForm, Un as PkChatbotFilePreview, $n as PkChatbotInput, v as PkChatbotMessages, Xn as PkChatbotStepPayload, Zn as PkChatbotStepToolDetail, Yn as PkChatbotSteps, St as PkChatbotViewChat, vt as PkChatbotViewConversations, tr as PkChatbotViewProfile, KT as PkCheckboxField, rr as PkChunkPreview, Ot as PkCode, fD as PkCopyBlock, ir as PkDocumentHeader, Ya as PkEditorAgentType, n as PkEditorCheckboxButtons, ls as PkEditorCode, so as PkEditorDocumentType, Ns as PkEditorJsonSchema, ET as PkEditorMarkdown, DT as PkEditorMedia, _o as PkEditorNotificationType, PT as PkEditorPrompt, t as PkEditorRadioButtons, HT as PkEditorRepeater, fs as PkFieldset, gs as PkIconOption, qT as PkInfobox, pD as PkInputColor, tE as PkIntegrationProvider, QE as PkLanguageModel, aD as PkLanguageModelCombobox, Bn as PkLazyImg, rE as PkLightbox, sE as PkLoader, lE as PkMedia, qA as PkMessageDetail, NA as PkMessageParts, iD as PkModelOption, vE as PkOfflineScreen, kj as PkPagination, TE as PkPwaNotices, DE as PkQrCode, fj as PkReasoningChat, sD as PkReasoningSettings, Dt as PkRelativeTime, XO as PkRetryCountdown, Es as PkSchemaField, kE as PkSkeleton, Xe as PkStreamingMarkdown, Jn as PkStreamingMarkdownAutoscroll, Wn as PkSvgViewer, Ij as PkTableEmpty, Vj as PkTableError, hM as PkTableSortable, HE as PkToolApprovalBadge, vr as PkToolShareDocument, kt as PkToolShowArtifact, fr as PkToolShowCalendarEvent, pr as PkToolShowComparison, dr as PkToolShowContactForm, sr as PkToolShowEmail, r as PkToolShowForm, gr as PkToolShowImageGallery, mr as PkToolShowLocation, cr as PkToolShowMessage, ur as PkToolShowProductList, hr as PkToolShowQrCode, ar as PkToolShowSources, _r as PkToolShowSuggestedReply, lr as PkToolShowWebPages, Gn as PkUrl, xt as PkVoiceOrb, bt as PkVoiceSession, cD as PkWebSearchSettings, gj as PkWelcomePopup, vj as PkWorkingBeam, Je as VvButtonLocalized, ME as agentStatusGlyph, NE as agentVisibilityGlyph, ZT as integrationProviderIcon, or as isMcpOAuthReport, at as localizeSummaryLabels, Ye as provideChatImagePolicy, WE as provideModelCatalog, GE as useModelCatalogEntry };
24042
24083
 
24043
24084
  //# sourceMappingURL=index.js.map