@8wave/ai-elements 0.121.0-beta.39 → 0.121.0-beta.40
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.
- package/README.md +67 -15
- package/dist/_chunks/{Agent-C3m0UmlL.js → Agent-BuPgJIt4.js} +203 -202
- package/dist/_chunks/Agent-BuPgJIt4.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown--PCkA4Fg.js → PkStreamingMarkdown-D2aqCD0I.js} +953 -927
- package/dist/_chunks/PkStreamingMarkdown-D2aqCD0I.js.map +1 -0
- package/dist/_chunks/{PkToolEditSpreadsheet-DAMWWIVt.js → PkToolEditSpreadsheet-83ZdmGeA.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-DAMWWIVt.js.map → PkToolEditSpreadsheet-83ZdmGeA.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-BgsvQb7Q.js → PkToolRequestGeolocation-1cOmCG8P.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-BgsvQb7Q.js.map → PkToolRequestGeolocation-1cOmCG8P.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-DtuZw7yk.js → PkToolRequestOAuthConnection-CCu3FCyo.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-DtuZw7yk.js.map → PkToolRequestOAuthConnection-CCu3FCyo.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-B163OvqY.js → PkToolShowArtifact-CiYkZkpe.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-B163OvqY.js.map → PkToolShowArtifact-CiYkZkpe.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-C_ptr7Xs.js → PkToolShowContactForm-D7TEzrYe.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-C_ptr7Xs.js.map → PkToolShowContactForm-D7TEzrYe.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-fburTpQm.js → PkToolShowForm-CSh4Q6sl.js} +5 -5
- package/dist/_chunks/{PkToolShowForm-fburTpQm.js.map → PkToolShowForm-CSh4Q6sl.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-ChauJukk.js → PkToolShowImageGallery-CQEaEfYE.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-ChauJukk.js.map → PkToolShowImageGallery-CQEaEfYE.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-B_XZezYw.js → PkToolShowProductList-BCmULLct.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-B_XZezYw.js.map → PkToolShowProductList-BCmULLct.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-CS4nEuL0.js → PkToolShowSources-R9KWsfTQ.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-CS4nEuL0.js.map → PkToolShowSources-R9KWsfTQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-BIe56XdA.js → PkToolShowSuggestedReply-DYZz9aV2.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-BIe56XdA.js.map → PkToolShowSuggestedReply-DYZz9aV2.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DzU1XJqv.js → PkToolShowVideo-C_9SZtZM.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-DzU1XJqv.js.map → PkToolShowVideo-C_9SZtZM.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-BlKe8Arf.js → PkToolShowWebPages-DwRYfle9.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-BlKe8Arf.js.map → PkToolShowWebPages-DwRYfle9.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-ChSkpiw6.js → chatImagePolicy-CQYTWTkP.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-ChSkpiw6.js.map → chatImagePolicy-CQYTWTkP.js.map} +1 -1
- package/dist/_chunks/{markdown-D3iMlF6T.js → markdown-Br9ROCBT.js} +2 -2
- package/dist/_chunks/{markdown-D3iMlF6T.js.map → markdown-Br9ROCBT.js.map} +1 -1
- package/dist/ai-elements.es.js +4378 -3756
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-3IHYHv05.js → Agent-DZb775Ak.js} +193 -192
- package/dist-vue/_chunks/Agent-DZb775Ak.js.map +1 -0
- package/dist-vue/_chunks/{Document-B0A_y6N5.js → Document-E72l_VU6.js} +2 -2
- package/dist-vue/_chunks/{Document-B0A_y6N5.js.map → Document-E72l_VU6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-Bu76hH4F.js → PkChatbot-DIqduIwr.js} +9 -9
- package/dist-vue/_chunks/{PkChatbot-Bu76hH4F.js.map → PkChatbot-DIqduIwr.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-ilPJoYjk.js → PkChatbotEmptyState-Dh7ETVnf.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-ilPJoYjk.js.map → PkChatbotEmptyState-Dh7ETVnf.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-CY0YRGkG.js → PkChatbotInput-BJHtmPR-.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-CY0YRGkG.js.map → PkChatbotInput-BJHtmPR-.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotMessages-DMSActW1.js +968 -0
- package/dist-vue/_chunks/PkChatbotMessages-DMSActW1.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-CiEcIlzW.js → PkChatbotStepPayload-CXdsUMrw.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-CiEcIlzW.js.map → PkChatbotStepPayload-CXdsUMrw.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-VqLkuWi7.js → PkChatbotStepToolDetail-DbpXR7jh.js} +16 -16
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-VqLkuWi7.js.map → PkChatbotStepToolDetail-DbpXR7jh.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotSteps-QFFZ0DjH.js +189 -0
- package/dist-vue/_chunks/PkChatbotSteps-QFFZ0DjH.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-t-XkwFbe.js → PkChatbotViewChat-BI_PtT72.js} +300 -298
- package/dist-vue/_chunks/PkChatbotViewChat-BI_PtT72.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-CgRMohUQ.js → PkChatbotViewConversations-Bg4jSO9a.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-CgRMohUQ.js.map → PkChatbotViewConversations-Bg4jSO9a.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DkeysDGW.js → PkChatbotViewFiles-Cwm-JQMF.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DkeysDGW.js.map → PkChatbotViewFiles-Cwm-JQMF.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-kgqu10ED.js → PkChatbotViewProfile-C_GElIM3.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-kgqu10ED.js.map → PkChatbotViewProfile-C_GElIM3.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-CDlpb5w0.js → PkStreamingMarkdown-DwDs-cGP.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-CDlpb5w0.js.map → PkStreamingMarkdown-DwDs-cGP.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D0EPgCmp.js → PkToolEditSpreadsheet-B61LtERY.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D0EPgCmp.js.map → PkToolEditSpreadsheet-B61LtERY.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DZnJd1od.js → PkToolRequestGeolocation-DC8hSH0j.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DZnJd1od.js.map → PkToolRequestGeolocation-DC8hSH0j.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C8MGtBlh.js → PkToolRequestOAuthConnection-BH_-drvw.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C8MGtBlh.js.map → PkToolRequestOAuthConnection-BH_-drvw.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-CtXB1-vJ.js → PkToolShowArtifact-CjVN96wJ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-CtXB1-vJ.js.map → PkToolShowArtifact-CjVN96wJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-DlZdfcNw.js → PkToolShowContactForm-CmBLigw8.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-DlZdfcNw.js.map → PkToolShowContactForm-CmBLigw8.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BUUjmUpE.js → PkToolShowDiagram-dKUU5_6F.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BUUjmUpE.js.map → PkToolShowDiagram-dKUU5_6F.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-DxiiMSCC.js → PkToolShowForm-B6ESvq-5.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-DxiiMSCC.js.map → PkToolShowForm-B6ESvq-5.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-D01aM-9U.js → PkToolShowImageGallery-Daq0IwTH.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-D01aM-9U.js.map → PkToolShowImageGallery-Daq0IwTH.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BRMF3WJf.js → PkToolShowProductList-Bc3Gzyxy.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-BRMF3WJf.js.map → PkToolShowProductList-Bc3Gzyxy.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-C0_MwX7m.js → PkToolShowSources-BDvRbenn.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-C0_MwX7m.js.map → PkToolShowSources-BDvRbenn.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BcjKYwbk.js → PkToolShowSuggestedReply-Cd6VkzvJ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BcjKYwbk.js.map → PkToolShowSuggestedReply-Cd6VkzvJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CjjoQH7j.js → PkToolShowVideo-Bo1gsD97.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CjjoQH7j.js.map → PkToolShowVideo-Bo1gsD97.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-B5reGh4g.js → PkToolShowWebPages-DI3sZiqh.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-B5reGh4g.js.map → PkToolShowWebPages-DI3sZiqh.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DcLpptlt.js → createChatbotApiClient-DUz4dwzY.js} +12 -12
- package/dist-vue/_chunks/{createChatbotApiClient-DcLpptlt.js.map → createChatbotApiClient-DUz4dwzY.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-BliRphuB.js → useChatbotStore-D7LcpA-6.js} +481 -455
- package/dist-vue/_chunks/useChatbotStore-D7LcpA-6.js.map +1 -0
- package/dist-vue/_chunks/{utils-C7-KrzRE.js → utils-EPX3V3VI.js} +112 -86
- package/dist-vue/_chunks/utils-EPX3V3VI.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +2 -0
- package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +2 -0
- package/dist-vue/apps/web-component/src/composables/usePageTools.d.ts +1 -0
- package/dist-vue/apps/web-component/src/lib.d.ts +10 -0
- package/dist-vue/apps/web-component/src/pageTools/actions.d.ts +2 -0
- package/dist-vue/apps/web-component/src/pageTools/announcements.d.ts +9 -0
- package/dist-vue/apps/web-component/src/pageTools/index.d.ts +12 -1
- package/dist-vue/apps/web-component/src/pageTools/navigation.d.ts +40 -8
- package/dist-vue/apps/web-component/src/pageTools/snapshot.d.ts +60 -0
- package/dist-vue/composables.js +34 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +145 -125
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +28 -2
- package/dist-vue/packages/components/src/PkEditorPrompt.d.ts +6 -0
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +4 -0
- package/dist-vue/packages/components/src/chat/PkHostCallConfirmCard.d.ts +7 -1
- package/dist-vue/packages/components/src/chat/PkHostCallConfirmDialog.d.ts +4 -0
- package/dist-vue/packages/components/src/chat/PkPageControlBar.d.ts +5 -1
- package/dist-vue/packages/components/src/chat/utils.d.ts +11 -1
- package/dist-vue/packages/composable/src/chatbot/hostTools.d.ts +37 -8
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +8 -2
- package/dist-vue/packages/models/src/schema/PageAccess.d.ts +9 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-C3m0UmlL.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown--PCkA4Fg.js.map +0 -1
- package/dist-vue/_chunks/Agent-3IHYHv05.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-BfKqJ8n_.js +0 -954
- package/dist-vue/_chunks/PkChatbotMessages-BfKqJ8n_.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotSteps-CoDtEaL7.js +0 -189
- package/dist-vue/_chunks/PkChatbotSteps-CoDtEaL7.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-t-XkwFbe.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-BliRphuB.js.map +0 -1
- package/dist-vue/_chunks/utils-C7-KrzRE.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-
|
|
2
|
+
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-B6ESvq-5.js";
|
|
3
3
|
import { E as i, S as a, T as o, _ as s, f as c, m as l, o as u, r as d, s as f, u as p, v as m, w as h, x as g, y as _ } from "./_chunks/schemas-Bu1lick6.js";
|
|
4
|
-
import { t as v } from "./_chunks/PkChatbotMessages-
|
|
4
|
+
import { t as v } from "./_chunks/PkChatbotMessages-DMSActW1.js";
|
|
5
5
|
import { a as y, i as b, l as x, n as S, r as C } from "./_chunks/Media-D-UGzdcW.js";
|
|
6
|
-
import { $ as w, C as ee, F as te, G as ne, H as re, I as ie, K as ae, M as oe, N as se, P as ce,
|
|
7
|
-
import { c as Fe, d as Ie, l as Le, r as Re, s as ze, t as Be, u as Ve } from "./_chunks/Document-
|
|
8
|
-
import { a as He, i as Ue, n as We } from "./_chunks/createChatbotApiClient-
|
|
6
|
+
import { $ as w, C as ee, F as te, G as ne, H as re, I as ie, K as ae, M as oe, N as se, P as ce, S as le, T as ue, U as de, W as fe, _ as pe, a as me, at as he, b as ge, d as _e, et as ve, f as ye, i as be, it as xe, j as Se, lt as Ce, nt as we, ot as Te, p as Ee, q as De, r as T, rt as Oe, s as ke, t as Ae, tt as je, w as Me, y as Ne, z as Pe } from "./_chunks/Agent-DZb775Ak.js";
|
|
7
|
+
import { c as Fe, d as Ie, l as Le, r as Re, s as ze, t as Be, u as Ve } from "./_chunks/Document-E72l_VU6.js";
|
|
8
|
+
import { a as He, i as Ue, n as We } from "./_chunks/createChatbotApiClient-DUz4dwzY.js";
|
|
9
9
|
import { t as Ge } from "./_chunks/PkChatbotAuth-BsxfxDgR.js";
|
|
10
10
|
import { t as Ke } from "./_chunks/VvButtonLocalized-BuzLsXp3.js";
|
|
11
|
-
import { n as qe, t as Je } from "./_chunks/PkStreamingMarkdown-
|
|
12
|
-
import { a as Ye, i as Xe, n as Ze, r as Qe } from "./_chunks/useChatbotStore-
|
|
11
|
+
import { n as qe, t as Je } from "./_chunks/PkStreamingMarkdown-DwDs-cGP.js";
|
|
12
|
+
import { a as Ye, i as Xe, n as Ze, r as Qe } from "./_chunks/useChatbotStore-D7LcpA-6.js";
|
|
13
13
|
import "./_chunks/src-BZRiAJsH.js";
|
|
14
14
|
import { a as $e, l as et, u as tt } from "./_chunks/message-DZvfzt9j.js";
|
|
15
|
-
import {
|
|
15
|
+
import { A as nt, D as rt, F as it, I as at, N as ot, P as st, f as ct, g as lt, m as ut, w as dt } from "./_chunks/utils-EPX3V3VI.js";
|
|
16
16
|
import { t as ft } from "./_chunks/useSafeLocalStorage-C1BlCeKw.js";
|
|
17
17
|
import { t as pt } from "./_chunks/useDialogConfirm-BxhvsnRr.js";
|
|
18
|
-
import { n as mt, r as ht, t as gt } from "./_chunks/PkChatbotViewConversations-
|
|
19
|
-
import { i as _t, n as vt, r as yt, t as bt } from "./_chunks/PkChatbotViewChat-
|
|
18
|
+
import { n as mt, r as ht, t as gt } from "./_chunks/PkChatbotViewConversations-Bg4jSO9a.js";
|
|
19
|
+
import { i as _t, n as vt, r as yt, t as bt } from "./_chunks/PkChatbotViewChat-BI_PtT72.js";
|
|
20
20
|
import { t as xt } from "./_chunks/PkChatbotError-BV5ga7hk.js";
|
|
21
21
|
import { t as St } from "./_chunks/useImageFallback-5vQIO0pC.js";
|
|
22
22
|
import { t as Ct } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
23
23
|
import { n as wt, t as Tt } from "./_chunks/PkRelativeTime--1cIphlA.js";
|
|
24
|
-
import { r as Et, t as Dt } from "./_chunks/PkToolShowArtifact-
|
|
24
|
+
import { r as Et, t as Dt } from "./_chunks/PkToolShowArtifact-CjVN96wJ.js";
|
|
25
25
|
import { $ as Ot, A as kt, B as At, C as jt, Ct as Mt, D as Nt, E as Pt, F as Ft, G as It, H as Lt, I as Rt, J as zt, K as Bt, L as Vt, M as Ht, N as E, Q as Ut, S as Wt, St as Gt, T as Kt, Tt as qt, U as Jt, V as Yt, W as Xt, X as Zt, _t as Qt, a as $t, at as en, b as tn, bt as nn, c as rn, ct as an, d as on, dt as sn, et as cn, f as ln, gt as un, h as dn, it as fn, j as pn, k as mn, l as D, lt as O, mt as hn, nt as gn, o as _n, ot as vn, pt as yn, q as bn, rt as xn, st as Sn, tt as Cn, u as wn, ut as Tn, vt as En, w as Dn, wt as On, x as kn, xt as An, y as jn, yt as Mn, z as Nn } from "./_chunks/dist-DLs-FvuY.js";
|
|
26
26
|
import { n as Pn, t as Fn } from "./_chunks/dist-BNG63goF.js";
|
|
27
27
|
import { n as In, r as Ln } from "./_chunks/dist-DPNJlSyW.js";
|
|
@@ -31,26 +31,26 @@ import { t as Hn } from "./_chunks/PkSvgViewer-BKygi00X.js";
|
|
|
31
31
|
import { t as Un } from "./_chunks/PkUrl-CN1kkZiH.js";
|
|
32
32
|
import { t as Wn } from "./_chunks/PkAvatar-BTqu8tn9.js";
|
|
33
33
|
import { t as Gn } from "./_chunks/PkChatbotFeedbackForm-pQc2JrQT.js";
|
|
34
|
-
import { n as Kn, t as qn } from "./_chunks/PkChatbotSteps-
|
|
35
|
-
import { t as Jn } from "./_chunks/PkChatbotStepPayload-
|
|
36
|
-
import { t as Yn } from "./_chunks/PkChatbotStepToolDetail-
|
|
37
|
-
import { n as Xn, t as Zn } from "./_chunks/PkChatbotInput-
|
|
38
|
-
import { t as Qn } from "./_chunks/PkChatbotEmptyState-
|
|
39
|
-
import { t as $n } from "./_chunks/PkChatbotViewProfile-
|
|
40
|
-
import { t as er } from "./_chunks/PkChatbot-
|
|
41
|
-
import { i as tr, r as nr, t as rr } from "./_chunks/PkToolShowSources-
|
|
34
|
+
import { n as Kn, t as qn } from "./_chunks/PkChatbotSteps-QFFZ0DjH.js";
|
|
35
|
+
import { t as Jn } from "./_chunks/PkChatbotStepPayload-CXdsUMrw.js";
|
|
36
|
+
import { t as Yn } from "./_chunks/PkChatbotStepToolDetail-DbpXR7jh.js";
|
|
37
|
+
import { n as Xn, t as Zn } from "./_chunks/PkChatbotInput-BJHtmPR-.js";
|
|
38
|
+
import { t as Qn } from "./_chunks/PkChatbotEmptyState-Dh7ETVnf.js";
|
|
39
|
+
import { t as $n } from "./_chunks/PkChatbotViewProfile-C_GElIM3.js";
|
|
40
|
+
import { t as er } from "./_chunks/PkChatbot-DIqduIwr.js";
|
|
41
|
+
import { i as tr, r as nr, t as rr } from "./_chunks/PkToolShowSources-BDvRbenn.js";
|
|
42
42
|
import { t as ir } from "./_chunks/mcpOAuthReport-BHCMTtgf.js";
|
|
43
43
|
import { t as ar } from "./_chunks/PkToolShowEmail-CUgZN0J5.js";
|
|
44
44
|
import { t as or } from "./_chunks/PkToolShowMessage-ATTN5Hac.js";
|
|
45
|
-
import { t as sr } from "./_chunks/PkToolShowWebPages-
|
|
46
|
-
import { t as cr } from "./_chunks/PkToolShowProductList-
|
|
47
|
-
import { t as lr } from "./_chunks/PkToolShowContactForm-
|
|
45
|
+
import { t as sr } from "./_chunks/PkToolShowWebPages-DI3sZiqh.js";
|
|
46
|
+
import { t as cr } from "./_chunks/PkToolShowProductList-Bc3Gzyxy.js";
|
|
47
|
+
import { t as lr } from "./_chunks/PkToolShowContactForm-CmBLigw8.js";
|
|
48
48
|
import { t as ur } from "./_chunks/PkToolShowCalendarEvent-CFODjoDV.js";
|
|
49
49
|
import { t as dr } from "./_chunks/PkToolShowComparison-c2e239T4.js";
|
|
50
50
|
import { t as fr } from "./_chunks/PkToolShowLocation-BipZrvw7.js";
|
|
51
51
|
import { t as pr } from "./_chunks/PkToolShowQrCode-D_5VUtEB.js";
|
|
52
|
-
import { t as mr } from "./_chunks/PkToolShowImageGallery-
|
|
53
|
-
import { t as hr } from "./_chunks/PkToolShowSuggestedReply-
|
|
52
|
+
import { t as mr } from "./_chunks/PkToolShowImageGallery-Daq0IwTH.js";
|
|
53
|
+
import { t as hr } from "./_chunks/PkToolShowSuggestedReply-Cd6VkzvJ.js";
|
|
54
54
|
import { t as gr } from "./_chunks/PkToolShareDocument-C8sPmh0k.js";
|
|
55
55
|
import { VvAccordion as _r, VvAccordionGroup as vr, VvAlert as yr, VvAlertGroup as br, VvBadge as xr, VvButtonGroup as Sr, VvCheckbox as Cr, VvCombobox as wr, VvDialog as Tr, VvDropdown as Er, VvDropdownAction as Dr, VvIcon as Or, VvInputFile as kr, VvInputRange as Ar, VvInputText as jr, VvTab as Mr, VvTooltip as Nr } from "@volverjs/ui-vue/components";
|
|
56
56
|
import { Fragment as k, Teleport as Pr, Transition as Fr, TransitionGroup as Ir, cloneVNode as Lr, computed as A, createApp as Rr, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as zr, createStaticVNode as Br, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as Vr, h as Hr, inject as R, isRef as Ur, isVNode as Wr, mergeModels as Gr, mergeProps as Kr, nextTick as qr, normalizeClass as Jr, normalizeProps as Yr, normalizeStyle as Xr, onBeforeUnmount as Zr, onMounted as Qr, onUnmounted as $r, openBlock as z, provide as ei, reactive as ti, readonly as ni, ref as B, renderList as ri, renderSlot as V, resolveComponent as ii, resolveDynamicComponent as ai, shallowRef as oi, toDisplayString as H, toRef as si, toRefs as ci, unref as U, useId as li, useModel as W, useSlots as ui, useTemplateRef as di, vModelSelect as fi, vModelText as pi, watch as G, withCtx as K, withDirectives as mi, withKeys as hi, withModifiers as gi } from "vue";
|
|
@@ -258,18 +258,18 @@ var ra = a(), ia = m({
|
|
|
258
258
|
updatedAt: x()
|
|
259
259
|
});
|
|
260
260
|
m({
|
|
261
|
-
...
|
|
262
|
-
...
|
|
261
|
+
...Ce.pagination(),
|
|
262
|
+
...Ce.sort([
|
|
263
263
|
"createdAt",
|
|
264
264
|
"updatedAt",
|
|
265
265
|
"scheduledAt"
|
|
266
266
|
]),
|
|
267
|
-
...
|
|
267
|
+
...Ce.filters([
|
|
268
268
|
"type",
|
|
269
269
|
"readAt",
|
|
270
270
|
"scheduledAt"
|
|
271
271
|
]),
|
|
272
|
-
...
|
|
272
|
+
...Ce.ids()
|
|
273
273
|
}), ia.pick({
|
|
274
274
|
id: !0,
|
|
275
275
|
organizationId: !0,
|
|
@@ -404,13 +404,13 @@ m(ga).superRefine(_a), m({
|
|
|
404
404
|
config: g(a(), h()).optional(),
|
|
405
405
|
fieldMapping: u(fa).optional()
|
|
406
406
|
}), m({ enabled: f() }), m({
|
|
407
|
-
...
|
|
408
|
-
...
|
|
407
|
+
...Ce.pagination(),
|
|
408
|
+
...Ce.sort([
|
|
409
409
|
"createdAt",
|
|
410
410
|
"updatedAt",
|
|
411
411
|
"provider"
|
|
412
412
|
]),
|
|
413
|
-
...
|
|
413
|
+
...Ce.ids(),
|
|
414
414
|
organizationId: i().optional(),
|
|
415
415
|
provider: d(sa).optional()
|
|
416
416
|
}), m({
|
|
@@ -427,13 +427,13 @@ m(ga).superRefine(_a), m({
|
|
|
427
427
|
createdAt: x(),
|
|
428
428
|
updatedAt: x()
|
|
429
429
|
}), m({
|
|
430
|
-
...
|
|
431
|
-
...
|
|
430
|
+
...Ce.pagination(),
|
|
431
|
+
...Ce.sort([
|
|
432
432
|
"createdAt",
|
|
433
433
|
"updatedAt",
|
|
434
434
|
"status"
|
|
435
435
|
]),
|
|
436
|
-
...
|
|
436
|
+
...Ce.ids(),
|
|
437
437
|
integrationId: i().optional(),
|
|
438
438
|
leadId: i().optional(),
|
|
439
439
|
status: d(ua).optional()
|
|
@@ -470,7 +470,7 @@ var va = {
|
|
|
470
470
|
descriptionShort: a().max(80).optional(),
|
|
471
471
|
descriptionFull: a().max(4e3).optional(),
|
|
472
472
|
developerName: a().max(32).optional(),
|
|
473
|
-
accentColor: a().regex(
|
|
473
|
+
accentColor: a().regex(je).optional(),
|
|
474
474
|
version: a().regex(/^\d+\.\d+\.\d+$/).optional()
|
|
475
475
|
});
|
|
476
476
|
m({
|
|
@@ -587,16 +587,16 @@ m({
|
|
|
587
587
|
crm: f(),
|
|
588
588
|
voice: f()
|
|
589
589
|
}), m({
|
|
590
|
-
...
|
|
591
|
-
...
|
|
590
|
+
...Ce.pagination(),
|
|
591
|
+
...Ce.sort([
|
|
592
592
|
"name",
|
|
593
593
|
"updatedAt",
|
|
594
594
|
"createdAt",
|
|
595
595
|
"slug"
|
|
596
596
|
]),
|
|
597
|
-
...
|
|
598
|
-
...
|
|
599
|
-
...
|
|
597
|
+
...Ce.fullText(),
|
|
598
|
+
...Ce.ids(),
|
|
599
|
+
...Ce.include("deleted")
|
|
600
600
|
}), m({ refillAmount: s().positive() }), m({
|
|
601
601
|
organizationId: a(),
|
|
602
602
|
creditRemaining: s(),
|
|
@@ -613,8 +613,8 @@ m({
|
|
|
613
613
|
createdBy: a().optional().nullable(),
|
|
614
614
|
createdByName: a().optional().nullable()
|
|
615
615
|
}), m({
|
|
616
|
-
...
|
|
617
|
-
...
|
|
616
|
+
...Ce.pagination(),
|
|
617
|
+
...Ce.sort(["createdAt", "refillAmount"])
|
|
618
618
|
});
|
|
619
619
|
//#endregion
|
|
620
620
|
//#region ../../packages/components/src/PkEditorAgentType.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -632,10 +632,10 @@ var Pa = { class: "flex items-center gap-4 mb-4" }, Fa = { class: "font-semibold
|
|
|
632
632
|
let n = W(e, "modelValue"), r = e, { t: i } = q(), { t: a } = q({ useScope: "global" }), o = A(() => {
|
|
633
633
|
let e = [{
|
|
634
634
|
label: a("agentType.chat"),
|
|
635
|
-
value:
|
|
635
|
+
value: ye.Chat
|
|
636
636
|
}, {
|
|
637
637
|
label: a("agentType.reasoning"),
|
|
638
|
-
value:
|
|
638
|
+
value: ye.Reasoning
|
|
639
639
|
}];
|
|
640
640
|
return r.readonly ? e.filter((e) => e.value === n.value) : e;
|
|
641
641
|
});
|
|
@@ -667,7 +667,7 @@ var Pa = { class: "flex items-center gap-4 mb-4" }, Fa = { class: "font-semibold
|
|
|
667
667
|
}
|
|
668
668
|
});
|
|
669
669
|
//#endregion
|
|
670
|
-
//#region virtual:intlify-i18n-
|
|
670
|
+
//#region virtual:intlify-i18n-1
|
|
671
671
|
function Va(e) {
|
|
672
672
|
let t = e;
|
|
673
673
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -776,7 +776,7 @@ var Ha = Ba, Ua = { class: "flex items-center gap-4 mb-4" }, Wa = { class: "font
|
|
|
776
776
|
}
|
|
777
777
|
});
|
|
778
778
|
//#endregion
|
|
779
|
-
//#region virtual:intlify-i18n-
|
|
779
|
+
//#region virtual:intlify-i18n-0
|
|
780
780
|
function $a(e) {
|
|
781
781
|
let t = e;
|
|
782
782
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -931,7 +931,7 @@ function co(e) {
|
|
|
931
931
|
//#endregion
|
|
932
932
|
//#region ../../packages/components/src/PkEditorNotificationType.vue
|
|
933
933
|
typeof co == "function" && co(so);
|
|
934
|
-
var lo = so, uo = oi(
|
|
934
|
+
var lo = so, uo = oi(he(ve)), fo = oi(""), po = (e) => we(fo.value, e.checksum), mo = (e) => e ? po(e) : null, ho = () => {
|
|
935
935
|
let e = A(() => uo.value.assets), t = (t) => t ? e.value.logoDark ?? e.value.logoLight : e.value.logoLight ?? e.value.logoDark;
|
|
936
936
|
return {
|
|
937
937
|
branding: A(() => uo.value),
|
|
@@ -942,9 +942,9 @@ var lo = so, uo = oi(we(w)), fo = oi(""), po = (e) => je(fo.value, e.checksum),
|
|
|
942
942
|
mode: A(() => uo.value.mode),
|
|
943
943
|
hasOwnPalette: (e) => {
|
|
944
944
|
let t = e ? "dark" : "light";
|
|
945
|
-
return !
|
|
945
|
+
return !xe(uo.value.colors[t], ve.colors[t]);
|
|
946
946
|
},
|
|
947
|
-
canChooseTheme: A(() => uo.value.mode ===
|
|
947
|
+
canChooseTheme: A(() => uo.value.mode === w.System),
|
|
948
948
|
logo: (e) => {
|
|
949
949
|
let n = t(e);
|
|
950
950
|
return n ? {
|
|
@@ -955,7 +955,7 @@ var lo = so, uo = oi(we(w)), fo = oi(""), po = (e) => je(fo.value, e.checksum),
|
|
|
955
955
|
},
|
|
956
956
|
markUrl: (t) => {
|
|
957
957
|
let { text: n, colors: r } = uo.value;
|
|
958
|
-
return mo(e.value.mark) ?? (
|
|
958
|
+
return mo(e.value.mark) ?? (Te(n) ? null : Oe(n.productName, r[t ? "dark" : "light"].brand));
|
|
959
959
|
}
|
|
960
960
|
};
|
|
961
961
|
}, go = /* @__PURE__ */ new Set(["object", "array/object"]), _o = {
|
|
@@ -1296,7 +1296,7 @@ var { getRawOptions: Vo } = { getRawOptions: async (e) => Lo(e) ? await Bo(e) :
|
|
|
1296
1296
|
uploadFileToBlob: Wo,
|
|
1297
1297
|
createMediaFromFile: Go
|
|
1298
1298
|
};
|
|
1299
|
-
}), qo = (e) => e ===
|
|
1299
|
+
}), qo = (e) => e === w.ForceDark ? "dark" : e === w.ForceLight ? "light" : null;
|
|
1300
1300
|
function Jo(e) {
|
|
1301
1301
|
let t = document.documentElement;
|
|
1302
1302
|
t.classList.remove("theme--dark", "theme--light"), t.classList.add("theme", `theme--${e}`);
|
|
@@ -15961,6 +15961,7 @@ var TC = {
|
|
|
15961
15961
|
key: 0,
|
|
15962
15962
|
class: "pk-editor-prompt__label"
|
|
15963
15963
|
}, MC = [
|
|
15964
|
+
"lang",
|
|
15964
15965
|
"tabindex",
|
|
15965
15966
|
"aria-label",
|
|
15966
15967
|
"onKeydown"
|
|
@@ -15985,7 +15986,8 @@ var TC = {
|
|
|
15985
15986
|
placeholder: {},
|
|
15986
15987
|
hintLabel: {},
|
|
15987
15988
|
invalid: { type: Boolean },
|
|
15988
|
-
invalidLabel: {}
|
|
15989
|
+
invalidLabel: {},
|
|
15990
|
+
lang: {}
|
|
15989
15991
|
}, {
|
|
15990
15992
|
modelValue: { default: void 0 },
|
|
15991
15993
|
modelModifiers: {}
|
|
@@ -16010,6 +16012,7 @@ var TC = {
|
|
|
16010
16012
|
onClick: l[0] ||= gi(() => {}, ["stop"])
|
|
16011
16013
|
}, [P("div", {
|
|
16012
16014
|
class: "pk-editor-prompt__input light-scrollbar",
|
|
16015
|
+
lang: e.lang,
|
|
16013
16016
|
tabindex: a.value ? 0 : void 0,
|
|
16014
16017
|
"aria-label": a.value && e.label || void 0,
|
|
16015
16018
|
onClick: s,
|
|
@@ -16050,8 +16053,13 @@ var TC = {
|
|
|
16050
16053
|
modelValue: o.value,
|
|
16051
16054
|
"onUpdate:modelValue": l[1] ||= (e) => o.value = e,
|
|
16052
16055
|
class: "mb-0",
|
|
16056
|
+
lang: e.lang,
|
|
16053
16057
|
readonly: e.readonly
|
|
16054
|
-
}, null, 8, [
|
|
16058
|
+
}, null, 8, [
|
|
16059
|
+
"modelValue",
|
|
16060
|
+
"lang",
|
|
16061
|
+
"readonly"
|
|
16062
|
+
])) : M("", !0)]),
|
|
16055
16063
|
_: 1
|
|
16056
16064
|
}, 8, ["modelValue", "title"])
|
|
16057
16065
|
], 2);
|
|
@@ -16934,7 +16942,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
16934
16942
|
]);
|
|
16935
16943
|
};
|
|
16936
16944
|
}
|
|
16937
|
-
}), Hw = Le, Uw = .6, Ww =
|
|
16945
|
+
}), Hw = Le, Uw = .6, Ww = me.parse({}), Gw = /* @__PURE__ */ L({
|
|
16938
16946
|
__name: "PkToolApprovalBadge",
|
|
16939
16947
|
setup(e) {
|
|
16940
16948
|
let { t } = q({ useScope: "global" });
|
|
@@ -17234,7 +17242,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17234
17242
|
})), u = (e, r) => r.map((r) => ({
|
|
17235
17243
|
label: n(`reasoningOption.${e}.${r}`) ? t(`reasoningOption.${e}.${r}`) : r,
|
|
17236
17244
|
value: r
|
|
17237
|
-
})), d = A(() => u("level", ee)), f = A(() => u("level", Ae)), p = A(() => u("level",
|
|
17245
|
+
})), d = A(() => u("level", ee)), f = A(() => u("level", Ae)), p = A(() => u("level", ge)), m = A(() => u("level", Ne)), h = A(() => u("level", Me)), g = A(() => u("anthropicType", [
|
|
17238
17246
|
"adaptive",
|
|
17239
17247
|
"enabled",
|
|
17240
17248
|
"disabled"
|
|
@@ -17516,7 +17524,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17516
17524
|
}, {
|
|
17517
17525
|
webSearch: { default: () => ({
|
|
17518
17526
|
enabled: !1,
|
|
17519
|
-
provider:
|
|
17527
|
+
provider: Se.Native
|
|
17520
17528
|
}) },
|
|
17521
17529
|
webSearchModifiers: {}
|
|
17522
17530
|
}),
|
|
@@ -17528,7 +17536,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17528
17536
|
if (!e) return t("hint.webSearchNativeFallback");
|
|
17529
17537
|
let r = n.fallbackModels ?? [], i = [.../* @__PURE__ */ new Set([e, ...r.flatMap((e) => Pe(e) ?? [])])], a = r.some((e) => !Pe(e));
|
|
17530
17538
|
return i.length === 1 ? t(a ? "hint.webSearchNativeWithoutSearch" : "hint.webSearchNative", { provider: e }) : t(a ? "hint.webSearchNativeChainWithoutSearch" : "hint.webSearchNativeChain", { providers: i.join(", ") });
|
|
17531
|
-
}), i = W(e, "webSearch"), a = A(() => i.value?.provider ??
|
|
17539
|
+
}), i = W(e, "webSearch"), a = A(() => i.value?.provider ?? Se.Native), o = A({
|
|
17532
17540
|
get: () => i.value?.perplexity?.searchDomainFilter?.join(", ") ?? "",
|
|
17533
17541
|
set: (e) => {
|
|
17534
17542
|
let t = e.split(",").map((e) => e.trim()).filter(Boolean);
|
|
@@ -17890,12 +17898,12 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17890
17898
|
}), fT = /* @__PURE__ */ L({
|
|
17891
17899
|
__name: "PkEditorChannels",
|
|
17892
17900
|
props: /*@__PURE__*/ Gr({ type: {} }, {
|
|
17893
|
-
modelValue: { default: () => Object.values(
|
|
17901
|
+
modelValue: { default: () => Object.values(be) },
|
|
17894
17902
|
modelModifiers: {}
|
|
17895
17903
|
}),
|
|
17896
17904
|
emits: ["update:modelValue"],
|
|
17897
17905
|
setup(e) {
|
|
17898
|
-
let t = e, n = W(e, "modelValue"), r = A(() => t.type ===
|
|
17906
|
+
let t = e, n = W(e, "modelValue"), r = A(() => t.type === ye.Chat);
|
|
17899
17907
|
function i(e) {
|
|
17900
17908
|
return n.value.includes(e);
|
|
17901
17909
|
}
|
|
@@ -17905,12 +17913,12 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17905
17913
|
return (e, t) => (z(), j(as, { legend: e.$t("label.channels") }, {
|
|
17906
17914
|
default: K(() => [
|
|
17907
17915
|
I(YC, {
|
|
17908
|
-
"model-value": i(U(
|
|
17916
|
+
"model-value": i(U(be).Frontoffice),
|
|
17909
17917
|
name: "channel.frontoffice",
|
|
17910
17918
|
switch: "",
|
|
17911
17919
|
label: e.$t("agent.channel.frontoffice"),
|
|
17912
17920
|
"hint-label": e.$t("hint.channel.frontoffice"),
|
|
17913
|
-
"onUpdate:modelValue": t[0] ||= (e) => a(U(
|
|
17921
|
+
"onUpdate:modelValue": t[0] ||= (e) => a(U(be).Frontoffice, e)
|
|
17914
17922
|
}, null, 8, [
|
|
17915
17923
|
"model-value",
|
|
17916
17924
|
"label",
|
|
@@ -17918,12 +17926,12 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17918
17926
|
]),
|
|
17919
17927
|
r.value ? (z(), j(YC, {
|
|
17920
17928
|
key: 0,
|
|
17921
|
-
"model-value": i(U(
|
|
17929
|
+
"model-value": i(U(be).App),
|
|
17922
17930
|
name: "channel.app",
|
|
17923
17931
|
switch: "",
|
|
17924
17932
|
label: e.$t("agent.channel.app"),
|
|
17925
17933
|
"hint-label": e.$t("hint.channel.app"),
|
|
17926
|
-
"onUpdate:modelValue": t[1] ||= (e) => a(U(
|
|
17934
|
+
"onUpdate:modelValue": t[1] ||= (e) => a(U(be).App, e)
|
|
17927
17935
|
}, null, 8, [
|
|
17928
17936
|
"model-value",
|
|
17929
17937
|
"label",
|
|
@@ -17931,13 +17939,13 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
17931
17939
|
])) : M("", !0),
|
|
17932
17940
|
r.value ? (z(), j(YC, {
|
|
17933
17941
|
key: 1,
|
|
17934
|
-
"model-value": i(U(
|
|
17942
|
+
"model-value": i(U(be).Widget),
|
|
17935
17943
|
name: "channel.widget",
|
|
17936
17944
|
switch: "",
|
|
17937
17945
|
class: "mb-0",
|
|
17938
17946
|
label: e.$t("agent.channel.widget"),
|
|
17939
17947
|
"hint-label": e.$t("hint.channel.widget"),
|
|
17940
|
-
"onUpdate:modelValue": t[2] ||= (e) => a(U(
|
|
17948
|
+
"onUpdate:modelValue": t[2] ||= (e) => a(U(be).Widget, e)
|
|
17941
17949
|
}, null, 8, [
|
|
17942
17950
|
"model-value",
|
|
17943
17951
|
"label",
|
|
@@ -18048,7 +18056,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18048
18056
|
let n = [...c.value];
|
|
18049
18057
|
n[e] = t.trim(), c.value = n;
|
|
18050
18058
|
}, u = (e) => {
|
|
18051
|
-
if (e) return
|
|
18059
|
+
if (e) return De.test(e) ? fe(e) ? r("hint.hostToolNameReserved") : void 0 : r("hint.hostToolNameInvalid");
|
|
18052
18060
|
}, d = A({
|
|
18053
18061
|
get: () => t.value?.requireConfirmation ?? [],
|
|
18054
18062
|
set: (e) => i({ requireConfirmation: e })
|
|
@@ -18219,10 +18227,10 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18219
18227
|
emits: ["update:modelValue"],
|
|
18220
18228
|
setup(e) {
|
|
18221
18229
|
let t = W(e, "modelValue"), n = e, { t: r, d: i, availableLocales: a } = q({ useScope: "global" }), o = [
|
|
18222
|
-
|
|
18223
|
-
|
|
18224
|
-
|
|
18225
|
-
|
|
18230
|
+
re.Off,
|
|
18231
|
+
re.Read,
|
|
18232
|
+
re.Forms,
|
|
18233
|
+
re.Full
|
|
18226
18234
|
], s = A(() => o.map((e) => ({
|
|
18227
18235
|
value: e,
|
|
18228
18236
|
label: r(`label.pageAccessLevel.${e}`)
|
|
@@ -18231,10 +18239,10 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18231
18239
|
...t.value,
|
|
18232
18240
|
...e
|
|
18233
18241
|
};
|
|
18234
|
-
}, l = (e, t) => JSON.stringify(e) === JSON.stringify(t), u = B(), d = B(), f = (e) =>
|
|
18235
|
-
get: () => t.value?.level ??
|
|
18242
|
+
}, l = (e, t) => JSON.stringify(e) === JSON.stringify(t), u = B(), d = B(), f = (e) => de(t.value, e) || ae(d.value, e), p = A({
|
|
18243
|
+
get: () => t.value?.level ?? re.Off,
|
|
18236
18244
|
set: (e) => {
|
|
18237
|
-
e !== p.value && (
|
|
18245
|
+
e !== p.value && (ae(e, re.Forms) && !f(e) ? u.value = e : c({ level: e }));
|
|
18238
18246
|
}
|
|
18239
18247
|
}), m = A({
|
|
18240
18248
|
get: () => u.value !== void 0,
|
|
@@ -18247,7 +18255,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18247
18255
|
acknowledgedAt: /* @__PURE__ */ new Date(),
|
|
18248
18256
|
acknowledgedLevel: u.value
|
|
18249
18257
|
})), u.value = void 0;
|
|
18250
|
-
}, g = A(() => u.value ? o.filter((e) => e !==
|
|
18258
|
+
}, g = A(() => u.value ? o.filter((e) => e !== re.Off && ae(u.value, e)).map((e) => r(`hint.pageAccessRisk.${e}`)) : []), _ = A(() => p.value !== re.Off), v = A(() => ae(p.value, re.Forms)), y = A(() => v.value && !f(p.value)), b = () => {
|
|
18251
18259
|
u.value = p.value;
|
|
18252
18260
|
}, x = A(() => (n.trustedOrigins?.filter(Boolean).length ?? 0) > 0 && !n.trustedOrigins?.includes("*")), S = A({
|
|
18253
18261
|
get: () => t.value?.excludeSelectors ?? [],
|
|
@@ -18316,7 +18324,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18316
18324
|
onClick: b
|
|
18317
18325
|
}, null, 8, ["label"])]),
|
|
18318
18326
|
_: 1
|
|
18319
|
-
})) : v.value && t.value?.acknowledgedAt && U(
|
|
18327
|
+
})) : v.value && t.value?.acknowledgedAt && U(de)(t.value, p.value) ? (z(), N("p", xT, H(U(r)("hint.pageAccessAccepted", { date: U(i)(new Date(t.value.acknowledgedAt), "date-time") })), 1)) : M("", !0),
|
|
18320
18328
|
_.value ? (z(), N(k, { key: 3 }, [
|
|
18321
18329
|
I(GC, {
|
|
18322
18330
|
modelValue: S.value,
|
|
@@ -18333,7 +18341,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18333
18341
|
name: `pageAccessExcludeSelectors.${e}`,
|
|
18334
18342
|
label: U(r)("label.cssSelector"),
|
|
18335
18343
|
placeholder: ".account-danger-zone",
|
|
18336
|
-
invalid: !U(
|
|
18344
|
+
invalid: !U(ne)(S.value[e] ?? ""),
|
|
18337
18345
|
"invalid-label": U(r)("hint.invalidCssSelector"),
|
|
18338
18346
|
floating: "",
|
|
18339
18347
|
"onUpdate:modelValue": (t) => C(e, t)
|
|
@@ -18352,7 +18360,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18352
18360
|
"placeholder"
|
|
18353
18361
|
]),
|
|
18354
18362
|
P("p", ST, H(U(r)("hint.pageAccessExcludeSelectors")), 1),
|
|
18355
|
-
p.value === U(
|
|
18363
|
+
p.value === U(re).Full ? (z(), j(YC, {
|
|
18356
18364
|
key: 0,
|
|
18357
18365
|
modelValue: w.value,
|
|
18358
18366
|
"onUpdate:modelValue": n[2] ||= (e) => w.value = e,
|
|
@@ -18437,7 +18445,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18437
18445
|
agentIdModifiers: {},
|
|
18438
18446
|
name: { default: "" },
|
|
18439
18447
|
nameModifiers: {},
|
|
18440
|
-
type: { default:
|
|
18448
|
+
type: { default: ye.Chat },
|
|
18441
18449
|
typeModifiers: {},
|
|
18442
18450
|
initialMessage: { default: void 0 },
|
|
18443
18451
|
initialMessageModifiers: {},
|
|
@@ -18475,7 +18483,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18475
18483
|
reasoningModifiers: {},
|
|
18476
18484
|
webSearch: { default: () => ({
|
|
18477
18485
|
enabled: !1,
|
|
18478
|
-
provider:
|
|
18486
|
+
provider: Se.Native
|
|
18479
18487
|
}) },
|
|
18480
18488
|
webSearchModifiers: {},
|
|
18481
18489
|
theme: { default: "auto" },
|
|
@@ -18567,7 +18575,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18567
18575
|
default: !1
|
|
18568
18576
|
},
|
|
18569
18577
|
fileUploadEnabledModifiers: {},
|
|
18570
|
-
toolWorkingSetMode: { default:
|
|
18578
|
+
toolWorkingSetMode: { default: _e.Off },
|
|
18571
18579
|
toolWorkingSetModeModifiers: {},
|
|
18572
18580
|
voiceEnabled: {
|
|
18573
18581
|
type: Boolean,
|
|
@@ -18633,7 +18641,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18633
18641
|
default: !1
|
|
18634
18642
|
},
|
|
18635
18643
|
showExtendedStepsModifiers: {},
|
|
18636
|
-
channels: { default: () => Object.values(
|
|
18644
|
+
channels: { default: () => Object.values(be) },
|
|
18637
18645
|
channelsModifiers: {},
|
|
18638
18646
|
externalContextSchema: { default: void 0 },
|
|
18639
18647
|
externalContextSchemaModifiers: {},
|
|
@@ -18669,7 +18677,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18669
18677
|
}, S = W(e, "messagePlaceholder"), C = W(e, "dismissableNotice"), w = W(e, "footerMessage"), ee = W(e, "model"), ne = A(() => Ie(ee.value)), re = A(() => d.catalog?.find((e) => e.id === ee.value)), ae = A(() => {
|
|
18670
18678
|
let e = re.value;
|
|
18671
18679
|
if (e) return e.retired ? r("hint.modelRetired") : zt.value && e.zdr === Qi.None || Bt.value && e.noTraining === Qi.None ? r("hint.modelNotCompatible") : zt.value && e.zdr === Qi.Some || Bt.value && e.noTraining === Qi.Some ? r("hint.modelGuaranteedOnSome") : e.contextWindow ? r("hint.modelContextWindow", { count: a(Math.round(e.contextWindow / 1e3)) }) : void 0;
|
|
18672
|
-
}), se = W(e, "temperature"), ce = W(e, "prompt"),
|
|
18680
|
+
}), se = W(e, "temperature"), ce = W(e, "prompt"), de = W(e, "status"), fe = W(e, "visibility"), pe = W(e, "limit"), me = W(e, "maxStepCount"), he = W(e, "maxOutputTokens"), ge = W(e, "presencePenalty"), ve = W(e, "frequencyPenalty"), xe = W(e, "searchMode"), Se = W(e, "reasoning"), Ce = W(e, "webSearch"), we = W(e, "theme"), Te = W(e, "mainColor"), De = W(e, "textColor"), Oe = W(e, "useColorsForAgentHeader"), Ae = W(e, "welcomePopup"), je = W(e, "interactiveLogin"), Me = W(e, "floatingButtonPosition"), Ne = W(e, "layout"), Pe = W(e, "workingGlow"), Fe = W(e, "appearance"), Le = W(e, "hideFloatingButton"), Re = W(e, "copilotPageCss"), ze = W(e, "maxMessageLength"), Be = W(e, "media"), Ve = W(e, "minuteRateLimit"), He = W(e, "hourRateLimit"), Ue = W(e, "dayRateLimit"), We = W(e, "monthRateLimit"), Ge = W(e, "trustedOrigins"), qe = W(e, "imageHosts"), Je = W(e, "disabledTools"), Ye = W(e, "shareDocumentEnabled"), Xe = W(e, "approvalTools"), Ze = W(e, "useAllUserKb"), Qe = W(e, "useAllUserFiles"), $e = W(e, "formMaxSteps"), et = W(e, "formMaxOptionsPerStep"), tt = W(e, "widgetUrl"), nt = W(e, "loadDelay"), rt = W(e, "loaderStrategy"), it = W(e, "fileUploadEnabled"), at = W(e, "toolWorkingSetMode"), st = W(e, "voiceEnabled"), ct = W(e, "voiceMaxSessionSeconds"), lt = W(e, "voiceId"), ut = W(e, "voiceLanguage"), dt = W(e, "voiceFirstMessage"), ft = W(e, "voiceCascadeTimeoutSeconds"), pt = W(e, "voiceFillerAfterSeconds"), mt = W(e, "voiceFillerMessage"), ht = W(e, "voiceIgnoreBackgroundVoices"), gt = W(e, "voiceTurnEagerness"), _t = W(e, "voiceTurnTimeoutSeconds"), vt = [
|
|
18673
18681
|
"it",
|
|
18674
18682
|
"en",
|
|
18675
18683
|
"es",
|
|
@@ -18777,7 +18785,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18777
18785
|
"text/csv"
|
|
18778
18786
|
],
|
|
18779
18787
|
code: [...y],
|
|
18780
|
-
spreadsheets: [
|
|
18788
|
+
spreadsheets: [ue],
|
|
18781
18789
|
audio: [...b]
|
|
18782
18790
|
}, tn = A(() => [
|
|
18783
18791
|
{
|
|
@@ -18804,7 +18812,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18804
18812
|
label: r("label.mimeTypeAudio"),
|
|
18805
18813
|
value: "audio"
|
|
18806
18814
|
}]
|
|
18807
|
-
]), nn = A(() => Object.values(
|
|
18815
|
+
]), nn = A(() => Object.values(_e).map((e) => ({
|
|
18808
18816
|
label: r(`agent.toolWorkingSetMode.${e}`),
|
|
18809
18817
|
value: e
|
|
18810
18818
|
}))), rn = A({
|
|
@@ -18901,7 +18909,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18901
18909
|
function mn(e) {
|
|
18902
18910
|
return Xe.value.includes(e);
|
|
18903
18911
|
}
|
|
18904
|
-
let D = A(() => Xe.value.filter((e) => oe(e) && fn(e)).map((e) =>
|
|
18912
|
+
let D = A(() => Xe.value.filter((e) => oe(e) && fn(e)).map((e) => ot(e, {
|
|
18905
18913
|
t: r,
|
|
18906
18914
|
te: i
|
|
18907
18915
|
})));
|
|
@@ -18911,12 +18919,12 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18911
18919
|
function hn(e, t) {
|
|
18912
18920
|
e === T.ShareDocument ? (Ye.value = t, t || O(e, !1)) : t ? Je.value = Je.value.filter((t) => t !== e) : (Je.value = [...Je.value, e], O(e, !1), e === T.UserMemory && (Ze.value = !1), e === T.SearchInUserFiles && (Qe.value = !1));
|
|
18913
18921
|
}
|
|
18914
|
-
let gn = A(() => ee.value?.split("/")[0] ?? ""), _n = A(() => g.value ===
|
|
18915
|
-
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
].filter((e) => _n.value ||
|
|
18922
|
+
let gn = A(() => ee.value?.split("/")[0] ?? ""), _n = A(() => g.value === ye.Chat), vn = A(() => [
|
|
18923
|
+
Ee.Public,
|
|
18924
|
+
Ee.Private,
|
|
18925
|
+
Ee.Organization,
|
|
18926
|
+
Ee.Restricted
|
|
18927
|
+
].filter((e) => _n.value || le.includes(e)).map((e) => ({
|
|
18920
18928
|
label: r(`agent.visibility.${e}`),
|
|
18921
18929
|
value: e
|
|
18922
18930
|
}))), yn = A(() => {
|
|
@@ -18948,12 +18956,12 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18948
18956
|
}), bn = A(() => `${window.location.origin}/app/${d.organizationSlug}/${m.value}`), xn = A(() => `${window.location.origin}/app/${d.organizationSlug}/${m.value}/chat`), Sn = A(() => `<script src="${`${d.baseUrl}/api/v1/public/organizations/${d.organizationSlug}/agents/${m.value}/embed.js`}" defer><\/script>`), Cn = A(() => `<iframe src="${bn.value}" width="100%" height="600" frameborder="0"
|
|
18949
18957
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
18950
18958
|
return (n, i) => {
|
|
18951
|
-
let o = wr, s = Ke, d = jr, p = Ar, m = Cr, y = Or, b = Nr, re = _r,
|
|
18959
|
+
let o = wr, s = Ke, d = jr, p = Ar, m = Cr, y = Or, b = Nr, re = _r, ue = Mr, _e = xr, ye = Tr;
|
|
18952
18960
|
return z(), N("div", {
|
|
18953
18961
|
ref_key: "panelRoot",
|
|
18954
18962
|
ref: Zt,
|
|
18955
18963
|
class: "pk-agent-settings-panel"
|
|
18956
|
-
}, [I(
|
|
18964
|
+
}, [I(ue, {
|
|
18957
18965
|
items: yn.value,
|
|
18958
18966
|
lazy: "once",
|
|
18959
18967
|
"onUpdate:modelValue": Qt
|
|
@@ -18968,10 +18976,10 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
18968
18976
|
vertical: ""
|
|
18969
18977
|
}, null, 8, ["modelValue", "label"]),
|
|
18970
18978
|
I(o, {
|
|
18971
|
-
modelValue:
|
|
18972
|
-
"onUpdate:modelValue": i[1] ||= (e) =>
|
|
18979
|
+
modelValue: de.value,
|
|
18980
|
+
"onUpdate:modelValue": i[1] ||= (e) => de.value = e,
|
|
18973
18981
|
name: "status",
|
|
18974
|
-
icon: U(Fw)(
|
|
18982
|
+
icon: U(Fw)(de.value),
|
|
18975
18983
|
label: U(r)("label.status"),
|
|
18976
18984
|
placeholder: U(r)("placeholder.select"),
|
|
18977
18985
|
unselectable: !1,
|
|
@@ -19041,7 +19049,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
19041
19049
|
"hint-label",
|
|
19042
19050
|
"disabled"
|
|
19043
19051
|
]),
|
|
19044
|
-
e.manageAccess && !e.playground && U(
|
|
19052
|
+
e.manageAccess && !e.playground && U(le).includes(fe.value) ? (z(), j(s, {
|
|
19045
19053
|
key: 0,
|
|
19046
19054
|
modifiers: "action-small",
|
|
19047
19055
|
icon: "ri:team-line",
|
|
@@ -19174,8 +19182,8 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
19174
19182
|
"format-value"
|
|
19175
19183
|
]),
|
|
19176
19184
|
I(p, {
|
|
19177
|
-
modelValue:
|
|
19178
|
-
"onUpdate:modelValue": i[11] ||= (e) =>
|
|
19185
|
+
modelValue: ve.value,
|
|
19186
|
+
"onUpdate:modelValue": i[11] ||= (e) => ve.value = e,
|
|
19179
19187
|
name: "frequencyPenalty",
|
|
19180
19188
|
label: U(r)("label.frequencyPenalty"),
|
|
19181
19189
|
min: "-2",
|
|
@@ -19212,8 +19220,8 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
19212
19220
|
}, 8, ["legend"]),
|
|
19213
19221
|
I(as, { legend: U(r)("label.reasoning") }, {
|
|
19214
19222
|
default: K(() => [I(uT, {
|
|
19215
|
-
reasoning:
|
|
19216
|
-
"onUpdate:reasoning": i[13] ||= (e) =>
|
|
19223
|
+
reasoning: Se.value,
|
|
19224
|
+
"onUpdate:reasoning": i[13] ||= (e) => Se.value = e,
|
|
19217
19225
|
"active-provider": gn.value
|
|
19218
19226
|
}, null, 8, ["reasoning", "active-provider"]), I(YC, {
|
|
19219
19227
|
modelValue: E.value,
|
|
@@ -19233,8 +19241,8 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
19233
19241
|
I(as, { legend: U(r)("label.searchAndExecution") }, {
|
|
19234
19242
|
default: K(() => [
|
|
19235
19243
|
I(o, {
|
|
19236
|
-
modelValue:
|
|
19237
|
-
"onUpdate:modelValue": i[15] ||= (e) =>
|
|
19244
|
+
modelValue: xe.value,
|
|
19245
|
+
"onUpdate:modelValue": i[15] ||= (e) => xe.value = e,
|
|
19238
19246
|
name: "searchMode",
|
|
19239
19247
|
icon: "ri:search-line",
|
|
19240
19248
|
strategy: "fixed",
|
|
@@ -19785,8 +19793,8 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
19785
19793
|
name: "mainColor",
|
|
19786
19794
|
label: U(r)("label.mainColor")
|
|
19787
19795
|
}, null, 8, ["modelValue", "label"]), I(t, {
|
|
19788
|
-
modelValue:
|
|
19789
|
-
"onUpdate:modelValue": i[42] ||= (e) =>
|
|
19796
|
+
modelValue: De.value,
|
|
19797
|
+
"onUpdate:modelValue": i[42] ||= (e) => De.value = e,
|
|
19790
19798
|
name: "textColor",
|
|
19791
19799
|
segmented: "",
|
|
19792
19800
|
label: U(r)("label.textColor"),
|
|
@@ -20035,7 +20043,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20035
20043
|
])]),
|
|
20036
20044
|
_: 1
|
|
20037
20045
|
}, 8, ["title"]),
|
|
20038
|
-
_n.value ? (z(), j(
|
|
20046
|
+
_n.value ? (z(), j(ue, {
|
|
20039
20047
|
key: 2,
|
|
20040
20048
|
items: c.value.map((e) => ({
|
|
20041
20049
|
tab: e,
|
|
@@ -20049,6 +20057,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20049
20057
|
I(LC, {
|
|
20050
20058
|
"model-value": _.value?.[e] ?? "",
|
|
20051
20059
|
name: `initialMessage.${e}`,
|
|
20060
|
+
lang: e,
|
|
20052
20061
|
label: U(r)("label.initialMessage"),
|
|
20053
20062
|
placeholder: U(r)("message.defaultAgentWelcome", {}, { locale: e }),
|
|
20054
20063
|
"onUpdate:modelValue": (t) => _.value = {
|
|
@@ -20058,6 +20067,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20058
20067
|
}, null, 8, [
|
|
20059
20068
|
"model-value",
|
|
20060
20069
|
"name",
|
|
20070
|
+
"lang",
|
|
20061
20071
|
"label",
|
|
20062
20072
|
"placeholder",
|
|
20063
20073
|
"onUpdate:modelValue"
|
|
@@ -20065,12 +20075,14 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20065
20075
|
I(d, {
|
|
20066
20076
|
"model-value": v.value?.[0]?.[e] ?? "",
|
|
20067
20077
|
name: `greeting.${e}`,
|
|
20078
|
+
lang: e,
|
|
20068
20079
|
label: U(r)("label.greeting"),
|
|
20069
20080
|
placeholder: U(r)("message.defaultAgentWelcome", {}, { locale: e }),
|
|
20070
20081
|
"onUpdate:modelValue": (t) => x(e, t)
|
|
20071
20082
|
}, null, 8, [
|
|
20072
20083
|
"model-value",
|
|
20073
20084
|
"name",
|
|
20085
|
+
"lang",
|
|
20074
20086
|
"label",
|
|
20075
20087
|
"placeholder",
|
|
20076
20088
|
"onUpdate:modelValue"
|
|
@@ -20082,6 +20094,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20082
20094
|
I(d, {
|
|
20083
20095
|
"model-value": S.value?.[e] ?? "",
|
|
20084
20096
|
name: `messagePlaceholder.${e}`,
|
|
20097
|
+
lang: e,
|
|
20085
20098
|
label: U(r)("label.messagePlaceholder"),
|
|
20086
20099
|
placeholder: U(r)("placeholder.askAnything", {}, { locale: e }),
|
|
20087
20100
|
"onUpdate:modelValue": (t) => S.value = {
|
|
@@ -20091,6 +20104,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20091
20104
|
}, null, 8, [
|
|
20092
20105
|
"model-value",
|
|
20093
20106
|
"name",
|
|
20107
|
+
"lang",
|
|
20094
20108
|
"label",
|
|
20095
20109
|
"placeholder",
|
|
20096
20110
|
"onUpdate:modelValue"
|
|
@@ -20098,6 +20112,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20098
20112
|
I(LC, {
|
|
20099
20113
|
"model-value": C.value?.[e] ?? "",
|
|
20100
20114
|
name: `dismissableNotice.${e}`,
|
|
20115
|
+
lang: e,
|
|
20101
20116
|
label: U(r)("label.dismissableNotice"),
|
|
20102
20117
|
placeholder: U(r)("placeholder.insert"),
|
|
20103
20118
|
"hint-label": U(r)("hint.dismissableNotice"),
|
|
@@ -20108,6 +20123,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20108
20123
|
}, null, 8, [
|
|
20109
20124
|
"model-value",
|
|
20110
20125
|
"name",
|
|
20126
|
+
"lang",
|
|
20111
20127
|
"label",
|
|
20112
20128
|
"placeholder",
|
|
20113
20129
|
"hint-label",
|
|
@@ -20116,6 +20132,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20116
20132
|
I(LC, {
|
|
20117
20133
|
"model-value": w.value?.[e] ?? "",
|
|
20118
20134
|
name: `footerMessage.${e}`,
|
|
20135
|
+
lang: e,
|
|
20119
20136
|
label: U(r)("label.footer"),
|
|
20120
20137
|
placeholder: U(r)("placeholder.insert"),
|
|
20121
20138
|
"onUpdate:modelValue": (t) => w.value = {
|
|
@@ -20125,6 +20142,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20125
20142
|
}, null, 8, [
|
|
20126
20143
|
"model-value",
|
|
20127
20144
|
"name",
|
|
20145
|
+
"lang",
|
|
20128
20146
|
"label",
|
|
20129
20147
|
"placeholder",
|
|
20130
20148
|
"onUpdate:modelValue"
|
|
@@ -20133,6 +20151,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20133
20151
|
key: 0,
|
|
20134
20152
|
"model-value": Lt.value?.[e] ?? "",
|
|
20135
20153
|
name: `privacyPolicyNotice.${e}`,
|
|
20154
|
+
lang: e,
|
|
20136
20155
|
label: U(r)("label.privacyPolicyNotice"),
|
|
20137
20156
|
placeholder: U(r)("placeholder.insert"),
|
|
20138
20157
|
"hint-label": U(r)("hint.privacyPolicyNotice"),
|
|
@@ -20144,6 +20163,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20144
20163
|
}, null, 8, [
|
|
20145
20164
|
"model-value",
|
|
20146
20165
|
"name",
|
|
20166
|
+
"lang",
|
|
20147
20167
|
"label",
|
|
20148
20168
|
"placeholder",
|
|
20149
20169
|
"hint-label",
|
|
@@ -20246,8 +20266,8 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20246
20266
|
legend: U(r)("label.webSearch")
|
|
20247
20267
|
}, {
|
|
20248
20268
|
default: K(() => [I(dT, {
|
|
20249
|
-
"web-search":
|
|
20250
|
-
"onUpdate:webSearch": i[60] ||= (e) =>
|
|
20269
|
+
"web-search": Ce.value,
|
|
20270
|
+
"onUpdate:webSearch": i[60] ||= (e) => Ce.value = e,
|
|
20251
20271
|
"active-provider": gn.value,
|
|
20252
20272
|
"fallback-models": Rt.value
|
|
20253
20273
|
}, null, 8, [
|
|
@@ -20262,8 +20282,8 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20262
20282
|
legend: U(r)("label.toolWorkingSet")
|
|
20263
20283
|
}, {
|
|
20264
20284
|
default: K(() => [I(o, {
|
|
20265
|
-
modelValue:
|
|
20266
|
-
"onUpdate:modelValue": i[61] ||= (e) =>
|
|
20285
|
+
modelValue: at.value,
|
|
20286
|
+
"onUpdate:modelValue": i[61] ||= (e) => at.value = e,
|
|
20267
20287
|
disabled: e.playground,
|
|
20268
20288
|
name: "toolWorkingSetMode",
|
|
20269
20289
|
label: U(r)("label.toolWorkingSetMode"),
|
|
@@ -20280,7 +20300,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20280
20300
|
"label",
|
|
20281
20301
|
"options"
|
|
20282
20302
|
]), I(XC, { class: "mt-md mb-0" }, {
|
|
20283
|
-
default: K(() => [F(H(U(r)(`hint.toolWorkingSetMode.${
|
|
20303
|
+
default: K(() => [F(H(U(r)(`hint.toolWorkingSetMode.${at.value}`)), 1)]),
|
|
20284
20304
|
_: 1
|
|
20285
20305
|
})]),
|
|
20286
20306
|
_: 1
|
|
@@ -20306,7 +20326,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20306
20326
|
default: K(() => [P("div", gE, [
|
|
20307
20327
|
P("div", _E, [
|
|
20308
20328
|
P("strong", vE, H(U(r)(`agent.tool.${t}`)), 1),
|
|
20309
|
-
t === U(T).ShowMultipleChoice ? (z(), j(
|
|
20329
|
+
t === U(T).ShowMultipleChoice ? (z(), j(_e, {
|
|
20310
20330
|
key: 0,
|
|
20311
20331
|
modifiers: "gray sm"
|
|
20312
20332
|
}, {
|
|
@@ -20320,7 +20340,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20320
20340
|
key: 0,
|
|
20321
20341
|
class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
|
|
20322
20342
|
title: U(r)("hint.platformSupported")
|
|
20323
|
-
}, [I(
|
|
20343
|
+
}, [I(_e, {
|
|
20324
20344
|
modifiers: "ghost sm",
|
|
20325
20345
|
class: "inline-flex items-center gap-4"
|
|
20326
20346
|
}, {
|
|
@@ -20329,7 +20349,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20329
20349
|
class: "text-12"
|
|
20330
20350
|
}), F(" " + H(U(r)("label.whatsapp")), 1)]),
|
|
20331
20351
|
_: 1
|
|
20332
|
-
}), I(
|
|
20352
|
+
}), I(_e, {
|
|
20333
20353
|
modifiers: "ghost sm",
|
|
20334
20354
|
class: "inline-flex items-center gap-4"
|
|
20335
20355
|
}, {
|
|
@@ -20434,7 +20454,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20434
20454
|
}, 1024)) : M("", !0)], 64))), 128))])
|
|
20435
20455
|
]),
|
|
20436
20456
|
"panel::embed": K(() => [P("div", SE, [
|
|
20437
|
-
Ut.value.includes(U(
|
|
20457
|
+
Ut.value.includes(U(be).Widget) ? M("", !0) : (z(), j(XC, {
|
|
20438
20458
|
key: 0,
|
|
20439
20459
|
level: "warning",
|
|
20440
20460
|
class: "mb-0"
|
|
@@ -20442,7 +20462,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20442
20462
|
default: K(() => [F(H(U(r)("hint.channelWidgetDisabled")), 1)]),
|
|
20443
20463
|
_: 1
|
|
20444
20464
|
})),
|
|
20445
|
-
Ut.value.includes(U(
|
|
20465
|
+
Ut.value.includes(U(be).App) ? M("", !0) : (z(), j(XC, {
|
|
20446
20466
|
key: 1,
|
|
20447
20467
|
level: "warning",
|
|
20448
20468
|
class: "mb-0"
|
|
@@ -20582,7 +20602,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
20582
20602
|
label: U(r)("action.editSchema"),
|
|
20583
20603
|
onClick: i[70] ||= (e) => Xt.value = !0
|
|
20584
20604
|
}, null, 8, ["label"])) : M("", !0),
|
|
20585
|
-
I(
|
|
20605
|
+
I(ye, {
|
|
20586
20606
|
modelValue: Xt.value,
|
|
20587
20607
|
"onUpdate:modelValue": i[73] ||= (e) => Xt.value = e,
|
|
20588
20608
|
title: U(r)("label.externalContextSchema"),
|
|
@@ -21346,7 +21366,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21346
21366
|
...b.length > 0 ? { connection: b.join(" · ") } : {},
|
|
21347
21367
|
...x.length > 0 ? { flags: x.join(" · ") } : {}
|
|
21348
21368
|
};
|
|
21349
|
-
}), l = A(() => t.message?.metadata?.transport ===
|
|
21369
|
+
}), l = A(() => t.message?.metadata?.transport === pe.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);
|
|
21350
21370
|
return (t, f) => {
|
|
21351
21371
|
let p = Or, m = _r, h = vr, g = ii("PjResizablePanel");
|
|
21352
21372
|
return z(), N("div", YD, [
|
|
@@ -21359,7 +21379,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21359
21379
|
e.message?.metadata?.resolvedProvider ? (z(), N("span", QD, [I(p, {
|
|
21360
21380
|
name: "ri:cloud-line",
|
|
21361
21381
|
class: "shrink-0"
|
|
21362
|
-
}), P("span", $D, [F(H(U(
|
|
21382
|
+
}), P("span", $D, [F(H(U(nt)(e.message.metadata.resolvedProvider)) + " ", 1), e.message.metadata.resolvedModelId ? (z(), N(k, { key: 0 }, [F(" (" + H(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
|
|
21363
21383
|
e.message?.metadata?.totalTokens ? (z(), N("span", eO, [I(p, {
|
|
21364
21384
|
name: "ri:ai-generate-2-line",
|
|
21365
21385
|
class: "shrink-0"
|
|
@@ -21411,7 +21431,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21411
21431
|
title: t.$t("label.platformContext"),
|
|
21412
21432
|
class: "border border-surface-3 rounded"
|
|
21413
21433
|
}, {
|
|
21414
|
-
default: K(() => [P("dl", fO, [(z(!0), N(k, null, ri(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", pO, H(U(
|
|
21434
|
+
default: K(() => [P("dl", fO, [(z(!0), N(k, null, ri(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", pO, H(U(st)(U(it)(t))), 1), P("dd", {
|
|
21415
21435
|
class: "truncate font-mono col-span-2",
|
|
21416
21436
|
title: String(e)
|
|
21417
21437
|
}, H(e), 9, mO)], 64))), 128))])]),
|
|
@@ -21423,7 +21443,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21423
21443
|
title: t.$t("label.deviceContext"),
|
|
21424
21444
|
class: "border border-surface-3 rounded"
|
|
21425
21445
|
}, {
|
|
21426
|
-
default: K(() => [P("dl", hO, [(z(!0), N(k, null, ri(c.value, (e, t) => (z(), N(k, { key: t }, [P("dt", gO, H(U(
|
|
21446
|
+
default: K(() => [P("dl", hO, [(z(!0), N(k, null, ri(c.value, (e, t) => (z(), N(k, { key: t }, [P("dt", gO, H(U(st)(U(it)(t))), 1), P("dd", {
|
|
21427
21447
|
class: "truncate font-mono col-span-2",
|
|
21428
21448
|
title: String(e)
|
|
21429
21449
|
}, H(e), 9, _O)], 64))), 128))])]),
|
|
@@ -21435,7 +21455,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21435
21455
|
title: t.$t("label.externalContext"),
|
|
21436
21456
|
class: "border border-surface-3 rounded"
|
|
21437
21457
|
}, {
|
|
21438
|
-
default: K(() => [P("dl", vO, [(z(!0), N(k, null, ri(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", yO, H(U(
|
|
21458
|
+
default: K(() => [P("dl", vO, [(z(!0), N(k, null, ri(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", yO, H(U(st)(U(it)(t))), 1), P("dd", {
|
|
21439
21459
|
class: "truncate font-mono col-span-2",
|
|
21440
21460
|
title: String(e)
|
|
21441
21461
|
}, H(e), 9, bO)], 64))), 128))])]),
|
|
@@ -21447,13 +21467,13 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21447
21467
|
I(DD, { message: e.message }, null, 8, ["message"]),
|
|
21448
21468
|
P("ol", xO, [(z(!0), N(k, null, ri(r.value, (e, c) => (z(), N("li", { key: c }, [
|
|
21449
21469
|
P("span", { class: Jr(["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) && !U($e)(e) }]) }, [
|
|
21450
|
-
P("div", SO, [P("span", CO, [P("strong", wO, H(c + 1), 1), P("span", TO, "/" + H(r.value.length), 1)]), (n(e) || U(et)(e)) && U(
|
|
21470
|
+
P("div", SO, [P("span", CO, [P("strong", wO, H(c + 1), 1), P("span", TO, "/" + H(r.value.length), 1)]), (n(e) || U(et)(e)) && U(dt)(e.state) ? (z(), j(p, {
|
|
21451
21471
|
key: 0,
|
|
21452
21472
|
name: "loading-loop",
|
|
21453
21473
|
class: "w-12 h-12 ml-4"
|
|
21454
21474
|
})) : (z(), j(p, {
|
|
21455
21475
|
key: 1,
|
|
21456
|
-
name: U(
|
|
21476
|
+
name: U(ut)(e) || "ri:question-line",
|
|
21457
21477
|
class: "w-12 h-12 ml-4"
|
|
21458
21478
|
}, null, 8, ["name"]))]),
|
|
21459
21479
|
P("span", EO, H(U(lt)(e, {
|
|
@@ -21487,7 +21507,7 @@ var Lw = { class: "flex items-center gap-xs min-w-0" }, Rw = { class: "truncate"
|
|
|
21487
21507
|
_: 2
|
|
21488
21508
|
}, 1024)], 64)) : M("", !0),
|
|
21489
21509
|
"errorText" in e && e.errorText ? (z(), N(k, { key: 1 }, [P("div", MO, H(t.$t("messagePart.stepError")), 1), P("pre", NO, H(e.errorText), 1)], 64)) : M("", !0),
|
|
21490
|
-
e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? V(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : V(t.$slots, U(
|
|
21510
|
+
e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? V(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : V(t.$slots, U(at)(e.type), { part: e }, void 0, void 0, 3)
|
|
21491
21511
|
])])) : M("", !0),
|
|
21492
21512
|
U($e)(e) ? (z(), j(g, {
|
|
21493
21513
|
key: 1,
|