@8wave/ai-elements 0.126.0-beta.31 → 0.126.0-beta.33
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/dist/_chunks/{Agent-COa7L9GK.js → Agent-DZEyfr8D.js} +2 -1
- package/dist/_chunks/Agent-DZEyfr8D.js.map +1 -0
- package/dist/_chunks/{PkFilePreview-SBGa95Ca.js → PkFilePreview-C6ZZablL.js} +3 -3
- package/dist/_chunks/{PkFilePreview-SBGa95Ca.js.map → PkFilePreview-C6ZZablL.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-Cc7iZWCl.js → PkFilePreviewDialog-BzBHAt8l.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-Cc7iZWCl.js.map → PkFilePreviewDialog-BzBHAt8l.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-D13bWv-N.js → PkImageEditorDialog-Dm34WFmS.js} +2 -2
- package/dist/_chunks/{PkImageEditorDialog-D13bWv-N.js.map → PkImageEditorDialog-Dm34WFmS.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-BaX_rsCt.js → PkSelectionActions-CYqbMEjg.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-BaX_rsCt.js.map → PkSelectionActions-CYqbMEjg.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-GRB3Gg_x.js → PkStreamingMarkdown-B8rZbprU.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-GRB3Gg_x.js.map → PkStreamingMarkdown-B8rZbprU.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-DTm5-CE4.js → PkToolChatFile-C0emIVfS.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-DTm5-CE4.js.map → PkToolChatFile-C0emIVfS.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DZenn1az.js → PkToolRequestGeolocation-DNzNRszE.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DZenn1az.js.map → PkToolRequestGeolocation-DNzNRszE.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-Dz0qfYu5.js → PkToolRequestOAuthConnection-BDxYXz4s.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-Dz0qfYu5.js.map → PkToolRequestOAuthConnection-BDxYXz4s.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-C9_DHr5Y.js → PkToolShowArtifact-B_KIIjEn.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-C9_DHr5Y.js.map → PkToolShowArtifact-B_KIIjEn.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-DhyelktO.js → PkToolShowContactForm-DiHb3fRQ.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-DhyelktO.js.map → PkToolShowContactForm-DiHb3fRQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-Dz2Hnzts.js → PkToolShowForm-BmUAhIQy.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-Dz2Hnzts.js.map → PkToolShowForm-BmUAhIQy.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CiDfIboY.js → PkToolShowImageGallery-CZ394fdT.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CiDfIboY.js.map → PkToolShowImageGallery-CZ394fdT.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-CY96IGWn.js → PkToolShowProductList-uNvUr2s9.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-CY96IGWn.js.map → PkToolShowProductList-uNvUr2s9.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-CRk-MOoE.js → PkToolShowSources-Dm0L4prK.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-CRk-MOoE.js.map → PkToolShowSources-Dm0L4prK.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-DKuV4mmV.js → PkToolShowSuggestedReply-B_dRrZfj.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-DKuV4mmV.js.map → PkToolShowSuggestedReply-B_dRrZfj.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DI6ohcVU.js → PkToolShowVideo-DLgQjTq_.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-DI6ohcVU.js.map → PkToolShowVideo-DLgQjTq_.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-Dh6L_n9T.js → PkToolShowWebPages-Cj2mJrs5.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-Dh6L_n9T.js.map → PkToolShowWebPages-Cj2mJrs5.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-Ckz-KAHA.js → chatImagePolicy-DMt6O5iK.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-Ckz-KAHA.js.map → chatImagePolicy-DMt6O5iK.js.map} +1 -1
- package/dist/_chunks/{markdown-DHayRAiy.js → markdown-nw5sXwU0.js} +2 -2
- package/dist/_chunks/{markdown-DHayRAiy.js.map → markdown-nw5sXwU0.js.map} +1 -1
- package/dist/_chunks/{utils-3jpXeGGy.js → utils-DPGBO-HU.js} +2 -2
- package/dist/_chunks/{utils-3jpXeGGy.js.map → utils-DPGBO-HU.js.map} +1 -1
- package/dist/ai-elements.es.js +3927 -3858
- 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-CRwhrv5Z.js → Agent-CBAd3F7k.js} +2 -1
- package/dist-vue/_chunks/Agent-CBAd3F7k.js.map +1 -0
- package/dist-vue/_chunks/{Document-Bp-qpa8v.js → Document-B3w5H0R0.js} +2 -2
- package/dist-vue/_chunks/{Document-Bp-qpa8v.js.map → Document-B3w5H0R0.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-CtrcDgBe.js → PkChatbot-CXpftmWm.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-CtrcDgBe.js.map → PkChatbot-CXpftmWm.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-BF3Odn3v.js → PkChatbotEmptyState-vA2v4FES.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BF3Odn3v.js.map → PkChatbotEmptyState-vA2v4FES.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotInput-CIIJ1bpF.js +584 -0
- package/dist-vue/_chunks/PkChatbotInput-CIIJ1bpF.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-10eBKpC5.js → PkChatbotMessages-15R8RxAq.js} +18 -18
- package/dist-vue/_chunks/{PkChatbotMessages-10eBKpC5.js.map → PkChatbotMessages-15R8RxAq.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-C4ahOq6Z.js → PkChatbotStepPayload-BbNSav-U.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-C4ahOq6Z.js.map → PkChatbotStepPayload-BbNSav-U.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CkIX0aKu.js → PkChatbotStepToolDetail-B_4pmbLe.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-CkIX0aKu.js.map → PkChatbotStepToolDetail-B_4pmbLe.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-BalLo6DZ.js → PkChatbotSteps-h4E6DH_g.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-BalLo6DZ.js.map → PkChatbotSteps-h4E6DH_g.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotViewChat-CLQ0J9_f.js +1382 -0
- package/dist-vue/_chunks/PkChatbotViewChat-CLQ0J9_f.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-D0vDYTyo.js → PkChatbotViewConversations-DFBbypGg.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-D0vDYTyo.js.map → PkChatbotViewConversations-DFBbypGg.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-BwfAnywk.js → PkChatbotViewFiles-PHdrHZOf.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-BwfAnywk.js.map → PkChatbotViewFiles-PHdrHZOf.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-GW0WuMOy.js → PkChatbotViewProfile-B0AZvHTr.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-GW0WuMOy.js.map → PkChatbotViewProfile-B0AZvHTr.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-qizsvSVW.js → PkFilePreview-Cb-1YRPN.js} +616 -666
- package/dist-vue/_chunks/PkFilePreview-Cb-1YRPN.js.map +1 -0
- package/dist-vue/_chunks/{PkFilePreviewDialog-WsVzH9hg.js → PkFilePreviewDialog-Bd7kEoCB.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-WsVzH9hg.js.map → PkFilePreviewDialog-Bd7kEoCB.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-NQFpdqCU.js → PkImageEditorDialog-Bj4sUHXM.js} +2 -2
- package/dist-vue/_chunks/{PkImageEditorDialog-NQFpdqCU.js.map → PkImageEditorDialog-Bj4sUHXM.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-CMxiJTMR.js → PkStreamingMarkdown-BcUq4ThC.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-CMxiJTMR.js.map → PkStreamingMarkdown-BcUq4ThC.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-Bd6Ci7i1.js → PkToolChatFile-BOexrlLt.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-Bd6Ci7i1.js.map → PkToolChatFile-BOexrlLt.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-C2OmF31d.js → PkToolRequestGeolocation-CyL_M1Rm.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-C2OmF31d.js.map → PkToolRequestGeolocation-CyL_M1Rm.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CgD-o99C.js → PkToolRequestOAuthConnection-DWkeVLpx.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CgD-o99C.js.map → PkToolRequestOAuthConnection-DWkeVLpx.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-rlZ-AGWh.js → PkToolShowArtifact-C4gHB6lH.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-rlZ-AGWh.js.map → PkToolShowArtifact-C4gHB6lH.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowChart-B8xJi1yY.js → PkToolShowChart-CsPXNAb9.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowChart-B8xJi1yY.js.map → PkToolShowChart-CsPXNAb9.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BVBL7Unx.js → PkToolShowContactForm-2_HBPZaa.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BVBL7Unx.js.map → PkToolShowContactForm-2_HBPZaa.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-Bs39QQZ3.js → PkToolShowDiagram-cCbeL6MK.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-Bs39QQZ3.js.map → PkToolShowDiagram-cCbeL6MK.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-D-RJeA2F.js → PkToolShowForm-DjB3fji5.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-D-RJeA2F.js.map → PkToolShowForm-DjB3fji5.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-CrkkKCVI.js → PkToolShowImageGallery-C22TCUKW.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-CrkkKCVI.js.map → PkToolShowImageGallery-C22TCUKW.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BwfUG41_.js → PkToolShowProductList-BvtmiHBf.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-BwfUG41_.js.map → PkToolShowProductList-BvtmiHBf.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-q9gQIuam.js → PkToolShowSources-uKO4MQgd.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-q9gQIuam.js.map → PkToolShowSources-uKO4MQgd.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-75Kc8-OQ.js → PkToolShowSuggestedReply-wKgwHTRO.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-75Kc8-OQ.js.map → PkToolShowSuggestedReply-wKgwHTRO.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-BK-jDVJd.js → PkToolShowVideo-DKj5N1vo.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-BK-jDVJd.js.map → PkToolShowVideo-DKj5N1vo.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-K3Jml1f7.js → PkToolShowWebPages-BNZmbCSf.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-K3Jml1f7.js.map → PkToolShowWebPages-BNZmbCSf.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-Pb7_cU2s.js → createChatbotApiClient-DBKfGL6y.js} +5 -2
- package/dist-vue/_chunks/{createChatbotApiClient-Pb7_cU2s.js.map → createChatbotApiClient-DBKfGL6y.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-ChrZVIDt.js → useChatbotStore-Hb5EjISl.js} +94 -85
- package/dist-vue/_chunks/useChatbotStore-Hb5EjISl.js.map +1 -0
- package/dist-vue/_chunks/{utils-Bdk5kFfi.js → utils-waie4Gfn.js} +2 -2
- package/dist-vue/_chunks/{utils-Bdk5kFfi.js.map → utils-waie4Gfn.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +2 -0
- package/dist-vue/composables.js +8 -8
- package/dist-vue/index.js +408 -389
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +6 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +9 -2
- package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +6 -0
- package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +5 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +10 -1
- package/dist-vue/packages/models/src/schema/Agent.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/constants.d.ts +11 -2
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-COa7L9GK.js.map +0 -1
- package/dist-vue/_chunks/Agent-CRwhrv5Z.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-DNXvFvyG.js +0 -520
- package/dist-vue/_chunks/PkChatbotInput-DNXvFvyG.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-U6T-gG-c.js +0 -1336
- package/dist-vue/_chunks/PkChatbotViewChat-U6T-gG-c.js.map +0 -1
- package/dist-vue/_chunks/PkFilePreview-qizsvSVW.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-ChrZVIDt.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { $ as t, B as n, D as r, Dt as i, E as a, F as o, G as s, I as c, J as l, K as u, L as d, N as f, P as p, Q as m, R as h, S as g, St as _, T as v, U as y, X as b, Y as x, a as S, d as C, dt as w, et as ee, f as te, ft as ne, gt as re, ht as ie, i as ae, lt as oe, mt as se, nt as ce, p as le, pt as ue, q as de, r as T, rt as fe, s as pe, t as me, tt as he, ut as ge, vt as _e, w as ve, wt as ye, x as be, xt as xe, y as Se, yt as Ce, z as we } from "./_chunks/Agent-
|
|
2
|
+
import { $ as t, B as n, D as r, Dt as i, E as a, F as o, G as s, I as c, J as l, K as u, L as d, N as f, P as p, Q as m, R as h, S as g, St as _, T as v, U as y, X as b, Y as x, a as S, d as C, dt as w, et as ee, f as te, ft as ne, gt as re, ht as ie, i as ae, lt as oe, mt as se, nt as ce, p as le, pt as ue, q as de, r as T, rt as fe, s as pe, t as me, tt as he, ut as ge, vt as _e, w as ve, wt as ye, x as be, xt as xe, y as Se, yt as Ce, z as we } from "./_chunks/Agent-CBAd3F7k.js";
|
|
3
3
|
import { C as Te, S as Ee, _ as De, b as E, f as Oe, g as D, h as ke, m as Ae, o as je, r as Me, s as Ne, u as Pe, w as Fe, y as Ie } from "./_chunks/schemas-CwcNxjnD.js";
|
|
4
4
|
import { a as Le, i as Re, l as ze, n as Be, r as Ve } from "./_chunks/Media-0U2B_qCS.js";
|
|
5
5
|
import { t as He } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
|
|
6
|
-
import { r as Ue, t as We } from "./_chunks/Document-
|
|
7
|
-
import { a as Ge, i as Ke, n as qe, r as Je } from "./_chunks/useChatbotStore-
|
|
8
|
-
import { a as Ye, n as Xe, o as Ze } from "./_chunks/createChatbotApiClient-
|
|
9
|
-
import { t as Qe } from "./_chunks/PkChatbotMessages-
|
|
6
|
+
import { r as Ue, t as We } from "./_chunks/Document-B3w5H0R0.js";
|
|
7
|
+
import { a as Ge, i as Ke, n as qe, r as Je } from "./_chunks/useChatbotStore-Hb5EjISl.js";
|
|
8
|
+
import { a as Ye, n as Xe, o as Ze } from "./_chunks/createChatbotApiClient-DBKfGL6y.js";
|
|
9
|
+
import { t as Qe } from "./_chunks/PkChatbotMessages-15R8RxAq.js";
|
|
10
10
|
import { t as $e } from "./_chunks/PkChatbotAuth-449QUBoC.js";
|
|
11
11
|
import { t as et } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
|
|
12
|
-
import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-
|
|
12
|
+
import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-C4gHB6lH.js";
|
|
13
13
|
import { $ as rt, A as it, B as at, C as ot, Ct as st, D as ct, E as lt, F as ut, G as dt, H as ft, I as pt, J as mt, K as ht, L as gt, M as _t, N as O, Q as vt, S as yt, St as bt, T as xt, Tt as St, U as Ct, V as wt, W as Tt, X as Et, _t as Dt, a as Ot, at as kt, b as At, bt as jt, c as Mt, ct as Nt, d as Pt, dt as Ft, et as It, f as Lt, gt as Rt, h as zt, it as Bt, j as Vt, k as Ht, l as k, lt as A, mt as Ut, nt as Wt, o as Gt, ot as Kt, pt as qt, q as Jt, rt as Yt, st as Xt, tt as Zt, u as Qt, ut as $t, vt as en, w as tn, wt as nn, x as rn, xt as an, y as on, yt as sn, z as cn } from "./_chunks/dist-DtxVAOxm.js";
|
|
14
14
|
import { n as ln, t as un } from "./_chunks/dist-CKKe4gMX.js";
|
|
15
15
|
import { n as dn, r as fn } from "./_chunks/dist-CrTGiCae.js";
|
|
16
16
|
import { a as pn, l as mn, u as hn } from "./_chunks/message-DuibQyHy.js";
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
17
|
+
import { a as gn, i as _n, n as vn, o as yn, s as bn, t as xn } from "./_chunks/PkChatbotViewChat-CLQ0J9_f.js";
|
|
18
|
+
import { n as Sn, t as Cn } from "./_chunks/PkStreamingMarkdown-BcUq4ThC.js";
|
|
19
|
+
import { t as wn } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
|
|
20
|
+
import { i as Tn, r as En } from "./_chunks/useLightbox-DrEFS3gx.js";
|
|
21
21
|
import { t as Dn } from "./_chunks/PkChatbotError-DFZ5S5jd.js";
|
|
22
22
|
import { t as On } from "./_chunks/useImageFallback-HUe4GHah.js";
|
|
23
23
|
import { t as kn } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
24
|
+
import { n as An, t as jn } from "./_chunks/PkChatbotInput-CIIJ1bpF.js";
|
|
25
|
+
import { t as Mn } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
|
|
26
|
+
import { i as Nn, r as Pn } from "./_chunks/PkFilePreview-Cb-1YRPN.js";
|
|
27
|
+
import { $ as Fn, B as In, D as Ln, F as Rn, M as zn, Q as Bn, R as Vn, U as Hn, _ as Un, et as Wn, l as Gn, x as Kn, y as qn } from "./_chunks/utils-waie4Gfn.js";
|
|
28
|
+
import { t as Jn } from "./_chunks/PkAvatar-DwtZWSW4.js";
|
|
29
|
+
import { i as Yn, n as Xn, r as Zn, t as Qn } from "./_chunks/PkChatbotViewConversations-DFBbypGg.js";
|
|
30
|
+
import { r as $n, t as er } from "./_chunks/PkToolShowForm-DjB3fji5.js";
|
|
29
31
|
import "./_chunks/src-nb8MU1sh.js";
|
|
30
|
-
import { r as Zn, t as Qn } from "./_chunks/PkToolShowForm-D-RJeA2F.js";
|
|
31
|
-
import { n as $n, t as er } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
|
|
32
32
|
import { t as tr } from "./_chunks/PkSvgViewer-PAr87kCa.js";
|
|
33
33
|
import { t as nr } from "./_chunks/PkUrl-IFszepUi.js";
|
|
34
|
-
import { n as rr, t as ir } from "./_chunks/
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import { t as mr } from "./_chunks/PkChatbotEmptyState-
|
|
42
|
-
import { t as hr } from "./_chunks/PkChatbotViewProfile-
|
|
43
|
-
import { t as gr } from "./_chunks/PkChatbot-
|
|
34
|
+
import { n as rr, t as ir } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
|
|
35
|
+
import { n as ar, t as or } from "./_chunks/PkChatbotSteps-h4E6DH_g.js";
|
|
36
|
+
import { t as sr } from "./_chunks/PkChatbotFeedbackForm-DdQQlAr1.js";
|
|
37
|
+
import { t as cr } from "./_chunks/PkChatbotFilePreview-aKJBtw04.js";
|
|
38
|
+
import { i as lr, r as ur, t as dr } from "./_chunks/PkToolShowSources-uKO4MQgd.js";
|
|
39
|
+
import { t as fr } from "./_chunks/PkChatbotStepPayload-BbNSav-U.js";
|
|
40
|
+
import { t as pr } from "./_chunks/PkChatbotStepToolDetail-B_4pmbLe.js";
|
|
41
|
+
import { t as mr } from "./_chunks/PkChatbotEmptyState-vA2v4FES.js";
|
|
42
|
+
import { t as hr } from "./_chunks/PkChatbotViewProfile-B0AZvHTr.js";
|
|
43
|
+
import { t as gr } from "./_chunks/PkChatbot-CXpftmWm.js";
|
|
44
44
|
import { t as _r } from "./_chunks/useLocalizedString-Dmn92nix.js";
|
|
45
45
|
import { t as vr } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
|
|
46
46
|
import { t as yr } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
|
|
47
47
|
import { t as br } from "./_chunks/PkToolShowMessage-Cca7K7GQ.js";
|
|
48
|
-
import { t as xr } from "./_chunks/PkToolShowWebPages-
|
|
49
|
-
import { t as Sr } from "./_chunks/PkToolShowProductList-
|
|
50
|
-
import { t as Cr } from "./_chunks/PkToolShowContactForm-
|
|
48
|
+
import { t as xr } from "./_chunks/PkToolShowWebPages-BNZmbCSf.js";
|
|
49
|
+
import { t as Sr } from "./_chunks/PkToolShowProductList-BvtmiHBf.js";
|
|
50
|
+
import { t as Cr } from "./_chunks/PkToolShowContactForm-2_HBPZaa.js";
|
|
51
51
|
import { t as wr } from "./_chunks/PkToolShowCalendarEvent-CAejFLQI.js";
|
|
52
52
|
import { t as Tr } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
|
|
53
53
|
import { t as Er } from "./_chunks/PkToolShowLocation-CqqtwH_R.js";
|
|
54
54
|
import { t as Dr } from "./_chunks/PkToolShowQrCode-96KzD1rX.js";
|
|
55
|
-
import { t as Or } from "./_chunks/PkToolShowImageGallery-
|
|
56
|
-
import { t as kr } from "./_chunks/PkToolShowSuggestedReply-
|
|
55
|
+
import { t as Or } from "./_chunks/PkToolShowImageGallery-C22TCUKW.js";
|
|
56
|
+
import { t as kr } from "./_chunks/PkToolShowSuggestedReply-wKgwHTRO.js";
|
|
57
57
|
import { t as Ar } from "./_chunks/PkToolShareDocument-Bkt9JVqk.js";
|
|
58
|
-
import { t as jr } from "./_chunks/PkToolChatFile-
|
|
59
|
-
import { t as Mr } from "./_chunks/PkFilePreviewDialog-
|
|
60
|
-
import { t as Nr } from "./_chunks/PkToolRequestGeolocation-
|
|
58
|
+
import { t as jr } from "./_chunks/PkToolChatFile-BOexrlLt.js";
|
|
59
|
+
import { t as Mr } from "./_chunks/PkFilePreviewDialog-Bd7kEoCB.js";
|
|
60
|
+
import { t as Nr } from "./_chunks/PkToolRequestGeolocation-CyL_M1Rm.js";
|
|
61
61
|
import { VvAccordion as Pr, VvAccordionGroup as Fr, VvAlert as Ir, VvAlertGroup as Lr, VvBadge as Rr, VvButtonGroup as zr, VvCheckbox as Br, VvCombobox as Vr, VvDialog as Hr, VvDropdown as Ur, VvDropdownAction as Wr, VvIcon as Gr, VvInputFile as Kr, VvInputRange as qr, VvInputText as Jr, VvTab as Yr, VvTextarea as Xr } from "@volverjs/ui-vue/components";
|
|
62
62
|
import { Fragment as j, Teleport as Zr, Transition as Qr, TransitionGroup as $r, cloneVNode as ei, computed as M, createApp as ti, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ni, createStaticVNode as ri, createTextVNode as L, createVNode as R, defineComponent as z, guardReactiveProps as ii, h as ai, inject as B, isRef as oi, isVNode as si, mergeModels as ci, mergeProps as li, nextTick as ui, normalizeClass as di, normalizeProps as fi, normalizeStyle as pi, onBeforeUnmount as mi, onMounted as hi, onUnmounted as gi, openBlock as V, provide as _i, reactive as vi, readonly as yi, ref as H, renderList as bi, renderSlot as xi, resolveComponent as Si, resolveDynamicComponent as Ci, shallowRef as wi, toDisplayString as U, toRef as Ti, toRefs as Ei, unref as W, useId as Di, useModel as G, useSlots as Oi, useTemplateRef as ki, vModelSelect as Ai, vModelText as ji, watch as K, withCtx as q, withDirectives as Mi, withKeys as Ni, withModifiers as Pi } from "vue";
|
|
63
63
|
import { useI18n as Fi } from "vue-i18n";
|
|
@@ -17829,7 +17829,7 @@ var RT = LT(), zT = /* @__PURE__ */ aT({
|
|
|
17829
17829
|
tabindex: a.value ? 0 : void 0,
|
|
17830
17830
|
onClick: s,
|
|
17831
17831
|
onKeydown: Ni(Pi(s, ["self", "prevent"]), ["enter"])
|
|
17832
|
-
}, [r.value ? (V(), F("div", XT, [R(
|
|
17832
|
+
}, [r.value ? (V(), F("div", XT, [R(Cn, {
|
|
17833
17833
|
class: "wysiwyg wysiwyg--compact",
|
|
17834
17834
|
markdown: r.value
|
|
17835
17835
|
}, null, 8, ["markdown"])])) : e.placeholder ? (V(), F("span", ZT, U(e.placeholder), 1)) : P("", !0)], 40, YT), e.readonly ? P("", !0) : (V(), N(u, {
|
|
@@ -17928,7 +17928,7 @@ var RT = LT(), zT = /* @__PURE__ */ aT({
|
|
|
17928
17928
|
K(o, (e) => {
|
|
17929
17929
|
e.length === 0 && !i.allowEmpty && c();
|
|
17930
17930
|
}, { immediate: !0 });
|
|
17931
|
-
let { openDialogConfirm: l } =
|
|
17931
|
+
let { openDialogConfirm: l } = wn(), u = async (e) => {
|
|
17932
17932
|
(!i.confirm || await l()) && (o.value = o.value.filter((t, n) => n !== e));
|
|
17933
17933
|
}, d = async () => {
|
|
17934
17934
|
(!i.confirm || await l()) && a("update:modelValue", []);
|
|
@@ -18220,7 +18220,7 @@ var EE = { class: "flex gap-sm items-center min-w-0" }, DE = { class: "w-40 h-40
|
|
|
18220
18220
|
}
|
|
18221
18221
|
},
|
|
18222
18222
|
setup(e, { expose: t }) {
|
|
18223
|
-
let n = e, r = H(), { preload: i, getSize: a } =
|
|
18223
|
+
let n = e, r = H(), { preload: i, getSize: a } = En(), { lightbox: o, init: s } = Tn({
|
|
18224
18224
|
gallery: r,
|
|
18225
18225
|
loop: n.loop,
|
|
18226
18226
|
downloadable: n.downloadable,
|
|
@@ -18490,7 +18490,7 @@ var KE = WE, qE = { class: "block text-smaller mt-4" }, JE = { class: "block tex
|
|
|
18490
18490
|
},
|
|
18491
18491
|
emits: ["update", "dismissUpdate"],
|
|
18492
18492
|
setup(e, { emit: t }) {
|
|
18493
|
-
let n = t, { t: r } = Fi(), { t: i } = Fi({ useScope: "global" }), { shortName: a } = Ho(), o =
|
|
18493
|
+
let n = t, { t: r } = Fi(), { t: i } = Fi({ useScope: "global" }), { shortName: a } = Ho(), o = Mn(YE, !1), s = H(), c = H(!1), l = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, u = () => {
|
|
18494
18494
|
let e = window.navigator.userAgent;
|
|
18495
18495
|
return (/iphone|ipad|ipod/i.test(e) || /macintosh/i.test(e) && window.navigator.maxTouchPoints > 1) && !/crios|fxios|edgios/i.test(e);
|
|
18496
18496
|
}, d = H(!1), f, p = M(() => !o.value && (!!s.value || d.value)), m = (e) => {
|
|
@@ -20360,11 +20360,11 @@ var cD = xe, lD = .6, uD = S.parse({}), dD = /* @__PURE__ */ z({
|
|
|
20360
20360
|
title: i(t),
|
|
20361
20361
|
"aria-label": i(t),
|
|
20362
20362
|
onClick: (n) => d(t, e)
|
|
20363
|
-
}, [R(f, { name: W(
|
|
20363
|
+
}, [R(f, { name: W(Pn)[t] }, null, 8, ["name"])], 8, JD))), 128))]),
|
|
20364
20364
|
after: q(() => [c.value.length === 0 ? (V(), F("p", YD, U(W(n)("message.noResults")), 1)) : P("", !0)]),
|
|
20365
20365
|
default: q(() => [R(o, {
|
|
20366
20366
|
modifiers: "secondary",
|
|
20367
|
-
icon: W(
|
|
20367
|
+
icon: W(Nn)(t.value),
|
|
20368
20368
|
class: "pk-selection-action-icon-picker__button",
|
|
20369
20369
|
title: W(n)("label.selectionActionIcon", { icon: i(r.value) }),
|
|
20370
20370
|
"aria-label": W(n)("label.selectionActionIcon", { icon: i(r.value) })
|
|
@@ -20659,6 +20659,11 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20659
20659
|
default: !1
|
|
20660
20660
|
},
|
|
20661
20661
|
welcomePopupModifiers: {},
|
|
20662
|
+
nextMessageSuggestion: {
|
|
20663
|
+
type: Boolean,
|
|
20664
|
+
default: !1
|
|
20665
|
+
},
|
|
20666
|
+
nextMessageSuggestionModifiers: {},
|
|
20662
20667
|
interactiveLogin: {
|
|
20663
20668
|
type: Boolean,
|
|
20664
20669
|
default: !0
|
|
@@ -20842,7 +20847,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20842
20847
|
ranking: { default: void 0 },
|
|
20843
20848
|
rankingModifiers: {}
|
|
20844
20849
|
}),
|
|
20845
|
-
emits: /*@__PURE__*/ ci(["manageAccess"], /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:greeting.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:glowTones.update:glowSecondColor.update:useColorsForAgentHeader.update:welcomePopup.update:interactiveLogin.update:floatingButtonPosition.update:layout.update:workingGlow.update:appearance.update:hideFloatingButton.update:copilotPageCss.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:holdExternalImages.update:imageHosts.update:disabledTools.update:shareDocumentEnabled.update:createSpreadsheetEnabled.update:createWordDocumentEnabled.update:approvalTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:toolWorkingSetMode.update:voiceEnabled.update:voiceMaxSessionSeconds.update:voiceId.update:voiceLanguage.update:voiceFirstMessage.update:voiceCascadeTimeoutSeconds.update:voiceFillerAfterSeconds.update:voiceFillerMessage.update:voiceIgnoreBackgroundVoices.update:voiceTurnEagerness.update:voiceTurnTimeoutSeconds.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:inferenceRegion.update:smoothStream.update:showExtendedSteps.update:showReasoning.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:selectionActionsPage.update:selectionActionsWord.update:selectionActionsExcel.update:confirmationsAllowAutomatic.update:ranking".split(".")),
|
|
20850
|
+
emits: /*@__PURE__*/ ci(["manageAccess"], /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:greeting.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:glowTones.update:glowSecondColor.update:useColorsForAgentHeader.update:welcomePopup.update:nextMessageSuggestion.update:interactiveLogin.update:floatingButtonPosition.update:layout.update:workingGlow.update:appearance.update:hideFloatingButton.update:copilotPageCss.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:holdExternalImages.update:imageHosts.update:disabledTools.update:shareDocumentEnabled.update:createSpreadsheetEnabled.update:createWordDocumentEnabled.update:approvalTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:toolWorkingSetMode.update:voiceEnabled.update:voiceMaxSessionSeconds.update:voiceId.update:voiceLanguage.update:voiceFirstMessage.update:voiceCascadeTimeoutSeconds.update:voiceFillerAfterSeconds.update:voiceFillerMessage.update:voiceIgnoreBackgroundVoices.update:voiceTurnEagerness.update:voiceTurnTimeoutSeconds.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:inferenceRegion.update:smoothStream.update:showExtendedSteps.update:showReasoning.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:selectionActionsPage.update:selectionActionsWord.update:selectionActionsExcel.update:confirmationsAllowAutomatic.update:ranking".split(".")),
|
|
20846
20851
|
setup(e, { emit: t }) {
|
|
20847
20852
|
let { t: i, te: a, n: s, locale: c, availableLocales: l } = Fi({ useScope: "global" }), u = M(() => [...l.filter((e) => e === c.value), ...l.filter((e) => e !== c.value)]), p = {
|
|
20848
20853
|
freshnessScale: Di(),
|
|
@@ -20866,8 +20871,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20866
20871
|
}, ...w.value?.slice(1) ?? []];
|
|
20867
20872
|
}, ne = G(e, "messagePlaceholder"), re = G(e, "dismissableNotice"), ie = G(e, "footerMessage"), oe = G(e, "model"), se = M(() => ye(oe.value)), ce = M(() => g.catalog?.find((e) => e.id === oe.value)), ue = M(() => {
|
|
20868
20873
|
let e = ce.value;
|
|
20869
|
-
if (e) return e.retired ? i("hint.modelRetired") :
|
|
20870
|
-
}), de = G(e, "temperature"), fe = G(e, "prompt"), me = G(e, "status"), he = G(e, "visibility"), ge = G(e, "limit"), _e = G(e, "maxStepCount"), be = G(e, "maxOutputTokens"), xe = G(e, "presencePenalty"), Se = G(e, "frequencyPenalty"), Ce = G(e, "searchMode"), Te = G(e, "reasoning"), Ee = G(e, "webSearch"), De = G(e, "theme"), E = G(e, "mainColor"), Oe = G(e, "textColor"), D = G(e, "glowTones"), ke = G(e, "glowSecondColor"), Ae = G(e, "useColorsForAgentHeader"), je = G(e, "welcomePopup"), Me = G(e, "
|
|
20874
|
+
if (e) return e.retired ? i("hint.modelRetired") : A.value && e.zdr === xa.None || Ut.value && e.noTraining === xa.None ? i("hint.modelNotCompatible") : Gt.value && !se.value && !e.regions?.includes(Gt.value) ? i("hint.modelOutsideInferenceRegion") : A.value && e.zdr === xa.Some || Ut.value && e.noTraining === xa.Some ? i("hint.modelGuaranteedOnSome") : e.contextWindow ? i("hint.modelContextWindow", { count: s(Math.round(e.contextWindow / 1e3)) }) : void 0;
|
|
20875
|
+
}), de = G(e, "temperature"), fe = G(e, "prompt"), me = G(e, "status"), he = G(e, "visibility"), ge = G(e, "limit"), _e = G(e, "maxStepCount"), be = G(e, "maxOutputTokens"), xe = G(e, "presencePenalty"), Se = G(e, "frequencyPenalty"), Ce = G(e, "searchMode"), Te = G(e, "reasoning"), Ee = G(e, "webSearch"), De = G(e, "theme"), E = G(e, "mainColor"), Oe = G(e, "textColor"), D = G(e, "glowTones"), ke = G(e, "glowSecondColor"), Ae = G(e, "useColorsForAgentHeader"), je = G(e, "welcomePopup"), Me = G(e, "nextMessageSuggestion"), Ne = G(e, "interactiveLogin"), Pe = G(e, "floatingButtonPosition"), Fe = G(e, "layout"), Ie = G(e, "workingGlow"), ze = G(e, "appearance"), Be = G(e, "hideFloatingButton"), Ve = G(e, "copilotPageCss"), Ue = G(e, "maxMessageLength"), We = G(e, "media"), Ge = G(e, "minuteRateLimit"), Ke = G(e, "hourRateLimit"), qe = G(e, "dayRateLimit"), Je = G(e, "monthRateLimit"), Ye = G(e, "trustedOrigins"), Xe = G(e, "holdExternalImages"), Ze = G(e, "imageHosts"), Qe = G(e, "disabledTools"), $e = G(e, "shareDocumentEnabled"), nt = G(e, "createSpreadsheetEnabled"), rt = G(e, "createWordDocumentEnabled"), it = G(e, "approvalTools"), at = G(e, "useAllUserKb"), ot = G(e, "useAllUserFiles"), st = G(e, "formMaxSteps"), ct = G(e, "formMaxOptionsPerStep"), lt = G(e, "widgetUrl"), ut = G(e, "loadDelay"), dt = G(e, "loaderStrategy"), ft = G(e, "fileUploadEnabled"), pt = G(e, "toolWorkingSetMode"), mt = G(e, "voiceEnabled"), ht = G(e, "voiceMaxSessionSeconds"), gt = G(e, "voiceId"), _t = G(e, "voiceLanguage"), O = G(e, "voiceFirstMessage"), vt = G(e, "voiceCascadeTimeoutSeconds"), yt = G(e, "voiceFillerAfterSeconds"), bt = G(e, "voiceFillerMessage"), xt = G(e, "voiceIgnoreBackgroundVoices"), St = G(e, "voiceTurnEagerness"), Ct = G(e, "voiceTurnTimeoutSeconds"), wt = [
|
|
20871
20876
|
"it",
|
|
20872
20877
|
"en",
|
|
20873
20878
|
"es",
|
|
@@ -20875,51 +20880,51 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20875
20880
|
"de",
|
|
20876
20881
|
"pt",
|
|
20877
20882
|
"nl"
|
|
20878
|
-
],
|
|
20883
|
+
], Tt = [
|
|
20879
20884
|
"gender",
|
|
20880
20885
|
"age",
|
|
20881
20886
|
"accent",
|
|
20882
20887
|
"descriptive",
|
|
20883
20888
|
"description",
|
|
20884
20889
|
"use_case"
|
|
20885
|
-
],
|
|
20890
|
+
], Et = ["language"], Dt = (e) => {
|
|
20886
20891
|
let t = e.replace(/_/g, " ");
|
|
20887
20892
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
20888
|
-
},
|
|
20889
|
-
let t = e.labels ?? {}, n = [...
|
|
20893
|
+
}, Ot = (e) => {
|
|
20894
|
+
let t = e.labels ?? {}, n = [...Tt.filter((e) => e in t), ...Object.keys(t).filter((e) => !Tt.includes(e) && !Et.includes(e))], r = /* @__PURE__ */ new Set();
|
|
20890
20895
|
return n.flatMap((e) => {
|
|
20891
20896
|
let n = t[e]?.trim().toLowerCase();
|
|
20892
|
-
return !n || r.has(n) ? [] : (r.add(n), [
|
|
20897
|
+
return !n || r.has(n) ? [] : (r.add(n), [Dt(n)]);
|
|
20893
20898
|
}).join(" · ");
|
|
20894
|
-
},
|
|
20899
|
+
}, kt = M(() => (g.voices ?? []).map((e) => ({
|
|
20895
20900
|
label: e.name,
|
|
20896
20901
|
value: e.voiceId,
|
|
20897
|
-
description:
|
|
20898
|
-
}))),
|
|
20902
|
+
description: Ot(e)
|
|
20903
|
+
}))), At = (e, t) => {
|
|
20899
20904
|
let n = e.trim().toLowerCase();
|
|
20900
20905
|
return n ? t.filter((e) => `${e.label} ${e.description}`.toLowerCase().includes(n)) : t;
|
|
20901
|
-
},
|
|
20902
|
-
|
|
20903
|
-
},
|
|
20904
|
-
if (
|
|
20905
|
-
|
|
20906
|
+
}, jt = M(() => i("hint.voiceId")), Mt = H(), Nt = H(!1), Pt = () => {
|
|
20907
|
+
Mt.value?.pause(), Mt.value = void 0, Nt.value = !1;
|
|
20908
|
+
}, Ft = () => {
|
|
20909
|
+
if (Nt.value) {
|
|
20910
|
+
Pt();
|
|
20906
20911
|
return;
|
|
20907
20912
|
}
|
|
20908
|
-
let e = g.voices?.find((e) => e.voiceId ===
|
|
20913
|
+
let e = g.voices?.find((e) => e.voiceId === gt.value)?.previewUrl;
|
|
20909
20914
|
if (!e) return;
|
|
20910
|
-
|
|
20915
|
+
Pt();
|
|
20911
20916
|
let t = new Audio(e);
|
|
20912
|
-
t.addEventListener("ended",
|
|
20913
|
-
},
|
|
20914
|
-
K(
|
|
20915
|
-
let
|
|
20916
|
-
get: () =>
|
|
20917
|
+
t.addEventListener("ended", Pt), Mt.value = t, Nt.value = !0, t.play().catch(Pt);
|
|
20918
|
+
}, It = M(() => !!g.voices?.find((e) => e.voiceId === gt.value)?.previewUrl);
|
|
20919
|
+
K(gt, Pt), mi(Pt);
|
|
20920
|
+
let Lt = G(e, "fileUploadMaxFileSize"), Rt = G(e, "fileUploadAllowedMimeTypes"), zt = G(e, "fileUploadMaxFilesPerMessage"), Bt = G(e, "fileUploadMaxFilesPerChat"), Vt = G(e, "customCss"), Ht = G(e, "privacyPolicyNotice"), k = G(e, "fallbackModels"), A = G(e, "zeroDataRetention"), Ut = G(e, "disallowPromptTraining"), Wt = G(e, "providerTimeoutMs"), Gt = G(e, "inferenceRegion"), Kt = M({
|
|
20921
|
+
get: () => Gt.value === "eu",
|
|
20917
20922
|
set: (e) => {
|
|
20918
|
-
|
|
20923
|
+
Gt.value = e ? "eu" : void 0;
|
|
20919
20924
|
}
|
|
20920
|
-
}),
|
|
20921
|
-
K(
|
|
20922
|
-
e?.freshness && e?.priority && e?.mmr || (
|
|
20925
|
+
}), qt = G(e, "smoothStream"), Jt = G(e, "showExtendedSteps"), Yt = G(e, "showReasoning"), Xt = G(e, "channels"), Zt = G(e, "externalContextSchema"), Qt = G(e, "hostTools"), $t = G(e, "pageAccess"), en = G(e, "selectionActionsPage"), tn = G(e, "selectionActionsWord"), nn = G(e, "selectionActionsExcel"), rn = G(e, "confirmationsAllowAutomatic"), an = G(e, "ranking");
|
|
20926
|
+
K(an, (e) => {
|
|
20927
|
+
e?.freshness && e?.priority && e?.mmr || (an.value = vi({
|
|
20923
20928
|
freshness: {
|
|
20924
20929
|
enabled: !1,
|
|
20925
20930
|
scale: 7776e3,
|
|
@@ -20938,16 +20943,16 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20938
20943
|
}
|
|
20939
20944
|
}));
|
|
20940
20945
|
}, { immediate: !0 });
|
|
20941
|
-
let
|
|
20946
|
+
let on = M({
|
|
20942
20947
|
get: () => {
|
|
20943
|
-
let e =
|
|
20948
|
+
let e = an.value?.freshness?.scale ?? 7776e3;
|
|
20944
20949
|
return e >= 86400 ? Math.round(e / 86400) : e;
|
|
20945
20950
|
},
|
|
20946
20951
|
set: (e) => {
|
|
20947
|
-
|
|
20952
|
+
an.value?.freshness && (an.value.freshness.scale = e * 86400);
|
|
20948
20953
|
}
|
|
20949
|
-
}),
|
|
20950
|
-
let e =
|
|
20954
|
+
}), sn = M(() => {
|
|
20955
|
+
let e = on.value, t = e * 4, n = Math.round(t / 30.4 * 10) / 10, r = an.value?.freshness?.weight ?? .1, a = Math.round(r / 2 * 1e3) / 1e3, o = Math.round(r * .06 * 1e3) / 1e3, s = {
|
|
20951
20956
|
half: e,
|
|
20952
20957
|
zero: t,
|
|
20953
20958
|
months: n,
|
|
@@ -20956,27 +20961,27 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20956
20961
|
zeroWeight: o.toFixed(3).replace(/0+$/, "").replace(/\.$/, "")
|
|
20957
20962
|
};
|
|
20958
20963
|
return i(t >= 30 ? "hint.freshnessScaleExplanationMonths" : "hint.freshnessScaleExplanationDays", s);
|
|
20959
|
-
}),
|
|
20960
|
-
await ui(),
|
|
20964
|
+
}), cn = H(!1), ln = ki("panelRoot"), un = async () => {
|
|
20965
|
+
await ui(), ln.value?.querySelector(".vv-tab .vv-nav__item-label.current")?.scrollIntoView({
|
|
20961
20966
|
block: "nearest",
|
|
20962
20967
|
inline: "nearest"
|
|
20963
20968
|
});
|
|
20964
|
-
},
|
|
20965
|
-
get: () =>
|
|
20969
|
+
}, dn = M({
|
|
20970
|
+
get: () => Zt.value != null,
|
|
20966
20971
|
set: (e) => {
|
|
20967
|
-
|
|
20972
|
+
Zt.value = e ? {} : void 0;
|
|
20968
20973
|
}
|
|
20969
|
-
}),
|
|
20974
|
+
}), fn = M(() => D.value === "two" || D.value === "auto" && Ln(E.value)), pn = M({
|
|
20970
20975
|
get: () => ke.value != null,
|
|
20971
20976
|
set: (e) => {
|
|
20972
20977
|
if (!e) {
|
|
20973
20978
|
ke.value = void 0;
|
|
20974
20979
|
return;
|
|
20975
20980
|
}
|
|
20976
|
-
let t =
|
|
20977
|
-
ke.value = t ?
|
|
20981
|
+
let t = ln.value ? In(ln.value, { mainColor: E.value })?.second : void 0;
|
|
20982
|
+
ke.value = t ? Gn(t) : E.value;
|
|
20978
20983
|
}
|
|
20979
|
-
}),
|
|
20984
|
+
}), mn = {
|
|
20980
20985
|
images: [
|
|
20981
20986
|
"image/jpeg",
|
|
20982
20987
|
"image/png",
|
|
@@ -20993,7 +20998,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20993
20998
|
spreadsheets: [r],
|
|
20994
20999
|
wordDocuments: [f],
|
|
20995
21000
|
audio: [...Re]
|
|
20996
|
-
},
|
|
21001
|
+
}, hn = M(() => [
|
|
20997
21002
|
{
|
|
20998
21003
|
label: i("label.mimeTypeImages"),
|
|
20999
21004
|
description: i("hint.mimeTypeImages"),
|
|
@@ -21036,24 +21041,24 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21036
21041
|
icon: "ri:file-music-line",
|
|
21037
21042
|
value: "audio"
|
|
21038
21043
|
}]
|
|
21039
|
-
]),
|
|
21044
|
+
]), gn = M(() => Object.values(C).map((e) => ({
|
|
21040
21045
|
label: i(`agent.toolWorkingSetMode.${e}`),
|
|
21041
21046
|
value: e
|
|
21042
|
-
}))),
|
|
21043
|
-
get: () => Object.entries(
|
|
21047
|
+
}))), _n = M({
|
|
21048
|
+
get: () => Object.entries(mn).filter(([, e]) => e.every((e) => Rt.value.includes(e))).map(([e]) => e),
|
|
21044
21049
|
set: (e) => {
|
|
21045
|
-
let t = new Set(
|
|
21046
|
-
|
|
21050
|
+
let t = new Set(_n.value.filter((t) => !e.includes(t)).flatMap((e) => mn[e] ?? []));
|
|
21051
|
+
Rt.value = [.../* @__PURE__ */ new Set([...Rt.value.filter((e) => !t.has(e)), ...e.flatMap((e) => mn[e] ?? [])])];
|
|
21047
21052
|
}
|
|
21048
|
-
}),
|
|
21049
|
-
let e =
|
|
21053
|
+
}), vn = M(() => {
|
|
21054
|
+
let e = hn.value.filter(({ value: e }) => _n.value.includes(e) && mn[e].some((e) => d(e, Qe.value))).map(({ label: e }) => e);
|
|
21050
21055
|
return e.length ? i("hint.fileUploadToolOff", { types: e.join(", ") }) : void 0;
|
|
21051
|
-
}),
|
|
21052
|
-
get: () => Math.round(
|
|
21056
|
+
}), yn = M({
|
|
21057
|
+
get: () => Math.round(Lt.value / 1048576),
|
|
21053
21058
|
set: (e) => {
|
|
21054
|
-
|
|
21059
|
+
Lt.value = e * 1024 * 1024;
|
|
21055
21060
|
}
|
|
21056
|
-
}),
|
|
21061
|
+
}), bn = M(() => new Set(ro(g.features))), xn = M(() => Dn(T.ShowContactForm) && !bn.value.has(T.ShowContactForm)), Sn = M(() => [
|
|
21057
21062
|
{
|
|
21058
21063
|
key: "knowledgeSearch",
|
|
21059
21064
|
icon: "ri:search-line",
|
|
@@ -21129,36 +21134,36 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21129
21134
|
icon: "ri:chat-3-line",
|
|
21130
21135
|
tools: [T.FetchTeamsChannelHistory]
|
|
21131
21136
|
}
|
|
21132
|
-
]),
|
|
21137
|
+
]), Cn = M(() => Sn.value.map((e) => ({
|
|
21133
21138
|
...e,
|
|
21134
|
-
tools: e.tools.filter((e) => !
|
|
21135
|
-
})).filter((e) => e.tools.length > 0)),
|
|
21136
|
-
function En(e) {
|
|
21137
|
-
return e === T.ShareDocument ? Qe.value : !Ze.value.includes(e);
|
|
21138
|
-
}
|
|
21139
|
+
tools: e.tools.filter((e) => !bn.value.has(e))
|
|
21140
|
+
})).filter((e) => e.tools.length > 0)), wn = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !Qe.value.includes(T.SearchInKnowledgeBase) : e === T.ShowWeather ? !Qe.value.includes(T.GetWeather) : e !== T.ShareDocument || !g.playground && !Qe.value.includes(T.SearchInKnowledgeBase), Tn = (e) => n(e) || e === T.Spreadsheet || e === T.WordDocument, En = M(() => oe.value ? [oe.value] : []);
|
|
21139
21141
|
function Dn(e) {
|
|
21140
|
-
return e === T.
|
|
21142
|
+
return e === T.ShareDocument ? $e.value : !Qe.value.includes(e);
|
|
21141
21143
|
}
|
|
21142
21144
|
function On(e) {
|
|
21143
|
-
return
|
|
21145
|
+
return e === T.ShowForm || e === T.UserMemory || e === T.SearchInUserFiles || o(e);
|
|
21146
|
+
}
|
|
21147
|
+
function kn(e) {
|
|
21148
|
+
return it.value.includes(e);
|
|
21144
21149
|
}
|
|
21145
|
-
let
|
|
21150
|
+
let An = M(() => it.value.filter((e) => o(e) && Dn(e)).map((e) => Hn(e, {
|
|
21146
21151
|
t: i,
|
|
21147
21152
|
te: a
|
|
21148
21153
|
})));
|
|
21149
|
-
function An(e, t) {
|
|
21150
|
-
rt.value = t ? [...rt.value, e] : rt.value.filter((t) => t !== e);
|
|
21151
|
-
}
|
|
21152
21154
|
function jn(e, t) {
|
|
21153
|
-
|
|
21155
|
+
it.value = t ? [...it.value, e] : it.value.filter((t) => t !== e);
|
|
21156
|
+
}
|
|
21157
|
+
function Mn(e, t) {
|
|
21158
|
+
e === T.ShareDocument ? ($e.value = t, t || jn(e, !1)) : t ? Qe.value = Qe.value.filter((t) => t !== e) : (Qe.value = [...Qe.value, e], jn(e, !1), e === T.UserMemory && (at.value = !1), e === T.SearchInUserFiles && (ot.value = !1), e === T.Spreadsheet && !g.playground && (nt.value = !1), e === T.WordDocument && !g.playground && (rt.value = !1));
|
|
21154
21159
|
}
|
|
21155
|
-
let
|
|
21160
|
+
let Nn = M(() => oe.value?.split("/")[0] ?? ""), Pn = M(() => x.value === te.Chat), Fn = M(() => {
|
|
21156
21161
|
let e = to(x.value, g.features);
|
|
21157
21162
|
return Object.values(le).filter((t) => e.includes(t) || t === he.value).map((e) => ({
|
|
21158
21163
|
label: i(`agent.visibility.${e}`),
|
|
21159
21164
|
value: e
|
|
21160
21165
|
}));
|
|
21161
|
-
}),
|
|
21166
|
+
}), Rn = M(() => {
|
|
21162
21167
|
let e = [
|
|
21163
21168
|
{
|
|
21164
21169
|
tab: "general",
|
|
@@ -21173,7 +21178,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21173
21178
|
label: i("label.tools")
|
|
21174
21179
|
}
|
|
21175
21180
|
];
|
|
21176
|
-
return
|
|
21181
|
+
return Pn.value && (g.playground || (e.push({
|
|
21177
21182
|
tab: "security",
|
|
21178
21183
|
label: i("label.security"),
|
|
21179
21184
|
class: v.value?.security ? "invalid" : ""
|
|
@@ -21184,18 +21189,18 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21184
21189
|
tab: "embed",
|
|
21185
21190
|
label: i("label.embed")
|
|
21186
21191
|
})), e;
|
|
21187
|
-
}),
|
|
21192
|
+
}), zn = M(() => `${window.location.origin}/app/${g.organizationSlug}/${y.value}`), Bn = M(() => `${window.location.origin}/app/${g.organizationSlug}/${y.value}/chat`), Vn = M(() => `<script src="${`${g.baseUrl}/api/v1/public/organizations/${g.organizationSlug}/agents/${y.value}/embed.js`}" defer><\/script>`), Un = M(() => `<iframe src="${zn.value}" width="100%" height="600" frameborder="0"
|
|
21188
21193
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
21189
21194
|
return (t, r) => {
|
|
21190
21195
|
let c = Vr, l = et, d = Jr, f = qr, g = Br, v = Ir, y = Pr, C = Gr, te = Yr, ce = Rr, le = Hr;
|
|
21191
21196
|
return V(), F("div", {
|
|
21192
21197
|
ref_key: "panelRoot",
|
|
21193
|
-
ref:
|
|
21198
|
+
ref: ln,
|
|
21194
21199
|
class: "pk-agent-settings-panel"
|
|
21195
21200
|
}, [R(te, {
|
|
21196
|
-
items:
|
|
21201
|
+
items: Rn.value,
|
|
21197
21202
|
lazy: "once",
|
|
21198
|
-
"onUpdate:modelValue":
|
|
21203
|
+
"onUpdate:modelValue": un
|
|
21199
21204
|
}, {
|
|
21200
21205
|
"panel::general": q(() => [
|
|
21201
21206
|
R(ho, {
|
|
@@ -21257,8 +21262,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21257
21262
|
"select-hint-label": "",
|
|
21258
21263
|
"deselect-hint-label": "",
|
|
21259
21264
|
"selected-hint-label": "",
|
|
21260
|
-
options:
|
|
21261
|
-
"hint-label":
|
|
21265
|
+
options: Fn.value,
|
|
21266
|
+
"hint-label": Pn.value ? he.value ? W(i)(`agent.visibilityHint.${he.value}`) : void 0 : W(i)("hint.reasoningVisibility"),
|
|
21262
21267
|
disabled: e.playground
|
|
21263
21268
|
}, {
|
|
21264
21269
|
option: q(({ option: e }) => [R(Is, {
|
|
@@ -21307,9 +21312,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21307
21312
|
strategy: "fixed",
|
|
21308
21313
|
placeholder: W(i)("action.select"),
|
|
21309
21314
|
catalog: e.catalog,
|
|
21310
|
-
"zero-data-retention":
|
|
21311
|
-
"disallow-prompt-training":
|
|
21312
|
-
"inference-region":
|
|
21315
|
+
"zero-data-retention": A.value,
|
|
21316
|
+
"disallow-prompt-training": Ut.value,
|
|
21317
|
+
"inference-region": Gt.value,
|
|
21313
21318
|
current: oe.value,
|
|
21314
21319
|
unselectable: !1
|
|
21315
21320
|
}, null, 8, [
|
|
@@ -21352,18 +21357,18 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21352
21357
|
default: q(() => [
|
|
21353
21358
|
se.value ? P("", !0) : (V(), N(OD, {
|
|
21354
21359
|
key: 0,
|
|
21355
|
-
modelValue:
|
|
21356
|
-
"onUpdate:modelValue": r[7] ||= (e) =>
|
|
21360
|
+
modelValue: k.value,
|
|
21361
|
+
"onUpdate:modelValue": r[7] ||= (e) => k.value = e,
|
|
21357
21362
|
name: "fallbackModels",
|
|
21358
21363
|
multiple: "",
|
|
21359
21364
|
strategy: "fixed",
|
|
21360
21365
|
label: W(i)("label.fallbackModels"),
|
|
21361
21366
|
placeholder: W(i)("placeholder.select"),
|
|
21362
21367
|
catalog: e.catalog,
|
|
21363
|
-
"zero-data-retention":
|
|
21364
|
-
"disallow-prompt-training":
|
|
21365
|
-
"inference-region":
|
|
21366
|
-
"exclude-models":
|
|
21368
|
+
"zero-data-retention": A.value,
|
|
21369
|
+
"disallow-prompt-training": Ut.value,
|
|
21370
|
+
"inference-region": Gt.value,
|
|
21371
|
+
"exclude-models": En.value
|
|
21367
21372
|
}, null, 8, [
|
|
21368
21373
|
"modelValue",
|
|
21369
21374
|
"label",
|
|
@@ -21431,8 +21436,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21431
21436
|
"format-value"
|
|
21432
21437
|
]),
|
|
21433
21438
|
R(d, {
|
|
21434
|
-
modelValue:
|
|
21435
|
-
"onUpdate:modelValue": r[12] ||= (e) =>
|
|
21439
|
+
modelValue: Wt.value,
|
|
21440
|
+
"onUpdate:modelValue": r[12] ||= (e) => Wt.value = e,
|
|
21436
21441
|
name: "providerTimeoutMs",
|
|
21437
21442
|
type: "number",
|
|
21438
21443
|
min: "1000",
|
|
@@ -21441,7 +21446,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21441
21446
|
class: "mb-0",
|
|
21442
21447
|
label: W(i)("label.providerTimeoutMs"),
|
|
21443
21448
|
placeholder: W(i)("placeholder.insert"),
|
|
21444
|
-
invalid:
|
|
21449
|
+
invalid: Wt.value !== void 0 && (Wt.value < 1e3 || Wt.value > 789e3),
|
|
21445
21450
|
"hint-label": W(i)("hint.providerTimeoutMs")
|
|
21446
21451
|
}, null, 8, [
|
|
21447
21452
|
"modelValue",
|
|
@@ -21458,11 +21463,11 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21458
21463
|
R(AD, {
|
|
21459
21464
|
reasoning: Te.value,
|
|
21460
21465
|
"onUpdate:reasoning": r[13] ||= (e) => Te.value = e,
|
|
21461
|
-
"active-provider":
|
|
21466
|
+
"active-provider": Nn.value
|
|
21462
21467
|
}, null, 8, ["reasoning", "active-provider"]),
|
|
21463
21468
|
R(bE, {
|
|
21464
|
-
modelValue:
|
|
21465
|
-
"onUpdate:modelValue": r[14] ||= (e) =>
|
|
21469
|
+
modelValue: Yt.value,
|
|
21470
|
+
"onUpdate:modelValue": r[14] ||= (e) => Yt.value = e,
|
|
21466
21471
|
name: "showReasoning",
|
|
21467
21472
|
class: "mt-md",
|
|
21468
21473
|
switch: "",
|
|
@@ -21474,8 +21479,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21474
21479
|
"hint-label"
|
|
21475
21480
|
]),
|
|
21476
21481
|
R(bE, {
|
|
21477
|
-
modelValue:
|
|
21478
|
-
"onUpdate:modelValue": r[15] ||= (e) =>
|
|
21482
|
+
modelValue: Jt.value,
|
|
21483
|
+
"onUpdate:modelValue": r[15] ||= (e) => Jt.value = e,
|
|
21479
21484
|
name: "showExtendedSteps",
|
|
21480
21485
|
class: "mb-0",
|
|
21481
21486
|
switch: "",
|
|
@@ -21557,10 +21562,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21557
21562
|
}, 8, ["legend"]),
|
|
21558
21563
|
R(Ms, { legend: W(i)("label.smartRanking") }, {
|
|
21559
21564
|
default: q(() => [
|
|
21560
|
-
|
|
21565
|
+
an.value?.freshness ? (V(), N(g, {
|
|
21561
21566
|
key: 0,
|
|
21562
|
-
modelValue:
|
|
21563
|
-
"onUpdate:modelValue": r[19] ||= (e) =>
|
|
21567
|
+
modelValue: an.value.freshness.enabled,
|
|
21568
|
+
"onUpdate:modelValue": r[19] ||= (e) => an.value.freshness.enabled = e,
|
|
21564
21569
|
name: "freshnessEnabled",
|
|
21565
21570
|
switch: "",
|
|
21566
21571
|
value: !0,
|
|
@@ -21570,13 +21575,13 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21570
21575
|
default: q(() => [I("div", lO, [I("strong", null, U(W(i)("label.freshnessBoost")), 1), I("small", uO, U(W(i)("hint.freshnessBoost")), 1)])]),
|
|
21571
21576
|
_: 1
|
|
21572
21577
|
}, 8, ["modelValue"])) : P("", !0),
|
|
21573
|
-
|
|
21578
|
+
an.value?.freshness?.enabled ? (V(), F(j, { key: 1 }, [I("div", dO, [I("div", fO, [I("label", {
|
|
21574
21579
|
class: "block text-12 text-word-3",
|
|
21575
21580
|
for: p.freshnessScale
|
|
21576
21581
|
}, U(W(i)("hint.freshnessScale")), 9, pO), R(mE, { text: W(i)("hint.freshnessScaleTooltip") }, null, 8, ["text"])]), R(f, {
|
|
21577
21582
|
id: p.freshnessScale,
|
|
21578
|
-
modelValue:
|
|
21579
|
-
"onUpdate:modelValue": r[20] ||= (e) =>
|
|
21583
|
+
modelValue: on.value,
|
|
21584
|
+
"onUpdate:modelValue": r[20] ||= (e) => on.value = e,
|
|
21580
21585
|
name: "freshnessScale",
|
|
21581
21586
|
min: "1",
|
|
21582
21587
|
max: "365",
|
|
@@ -21592,11 +21597,11 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21592
21597
|
class: "block text-12 text-word-3",
|
|
21593
21598
|
for: p.freshnessWeight
|
|
21594
21599
|
}, U(W(i)("label.freshnessWeight")), 9, gO), R(mE, { text: W(i)("hint.freshnessWeightTooltip") }, null, 8, ["text"])]),
|
|
21595
|
-
|
|
21600
|
+
an.value?.freshness ? (V(), N(f, {
|
|
21596
21601
|
key: 0,
|
|
21597
21602
|
id: p.freshnessWeight,
|
|
21598
|
-
modelValue:
|
|
21599
|
-
"onUpdate:modelValue": r[21] ||= (e) =>
|
|
21603
|
+
modelValue: an.value.freshness.weight,
|
|
21604
|
+
"onUpdate:modelValue": r[21] ||= (e) => an.value.freshness.weight = e,
|
|
21600
21605
|
name: "freshnessWeight",
|
|
21601
21606
|
min: "0.05",
|
|
21602
21607
|
max: "0.5",
|
|
@@ -21608,12 +21613,12 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21608
21613
|
"modelValue",
|
|
21609
21614
|
"format-value"
|
|
21610
21615
|
])) : P("", !0),
|
|
21611
|
-
I("p", _O, U(
|
|
21616
|
+
I("p", _O, U(sn.value), 1)
|
|
21612
21617
|
])], 64)) : P("", !0),
|
|
21613
|
-
|
|
21618
|
+
an.value?.mmr ? (V(), N(g, {
|
|
21614
21619
|
key: 2,
|
|
21615
|
-
modelValue:
|
|
21616
|
-
"onUpdate:modelValue": r[22] ||= (e) =>
|
|
21620
|
+
modelValue: an.value.mmr.enabled,
|
|
21621
|
+
"onUpdate:modelValue": r[22] ||= (e) => an.value.mmr.enabled = e,
|
|
21617
21622
|
name: "mmrEnabled",
|
|
21618
21623
|
switch: "",
|
|
21619
21624
|
value: !0,
|
|
@@ -21623,14 +21628,14 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21623
21628
|
default: q(() => [I("div", vO, [I("strong", null, U(W(i)("label.mmr")), 1), I("small", yO, U(W(i)("hint.mmr")), 1)])]),
|
|
21624
21629
|
_: 1
|
|
21625
21630
|
}, 8, ["modelValue"])) : P("", !0),
|
|
21626
|
-
|
|
21631
|
+
an.value?.mmr?.enabled ? (V(), F(j, { key: 3 }, [I("div", bO, [I("div", xO, [I("label", {
|
|
21627
21632
|
class: "block text-12 text-word-3",
|
|
21628
21633
|
for: p.mmrDiversity
|
|
21629
|
-
}, U(W(i)("label.mmrDiversity")), 9, SO), R(mE, { text: W(i)("hint.mmrDiversityTooltip") }, null, 8, ["text"])]),
|
|
21634
|
+
}, U(W(i)("label.mmrDiversity")), 9, SO), R(mE, { text: W(i)("hint.mmrDiversityTooltip") }, null, 8, ["text"])]), an.value?.mmr ? (V(), N(f, {
|
|
21630
21635
|
key: 0,
|
|
21631
21636
|
id: p.mmrDiversity,
|
|
21632
|
-
modelValue:
|
|
21633
|
-
"onUpdate:modelValue": r[23] ||= (e) =>
|
|
21637
|
+
modelValue: an.value.mmr.diversity,
|
|
21638
|
+
"onUpdate:modelValue": r[23] ||= (e) => an.value.mmr.diversity = e,
|
|
21634
21639
|
name: "mmrDiversity",
|
|
21635
21640
|
min: "0",
|
|
21636
21641
|
max: "1",
|
|
@@ -21644,11 +21649,11 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21644
21649
|
])) : P("", !0)]), I("div", CO, [I("div", wO, [I("label", {
|
|
21645
21650
|
class: "block text-12 text-word-3",
|
|
21646
21651
|
for: p.mmrCandidatesLimit
|
|
21647
|
-
}, U(W(i)("label.mmrCandidatesLimit")), 9, TO), R(mE, { text: W(i)("hint.mmrCandidatesLimitTooltip") }, null, 8, ["text"])]),
|
|
21652
|
+
}, U(W(i)("label.mmrCandidatesLimit")), 9, TO), R(mE, { text: W(i)("hint.mmrCandidatesLimitTooltip") }, null, 8, ["text"])]), an.value?.mmr ? (V(), N(f, {
|
|
21648
21653
|
key: 0,
|
|
21649
21654
|
id: p.mmrCandidatesLimit,
|
|
21650
|
-
modelValue:
|
|
21651
|
-
"onUpdate:modelValue": r[24] ||= (e) =>
|
|
21655
|
+
modelValue: an.value.mmr.candidatesLimit,
|
|
21656
|
+
"onUpdate:modelValue": r[24] ||= (e) => an.value.mmr.candidatesLimit = e,
|
|
21652
21657
|
name: "mmrCandidatesLimit",
|
|
21653
21658
|
min: "20",
|
|
21654
21659
|
max: "100",
|
|
@@ -21670,8 +21675,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21670
21675
|
}, {
|
|
21671
21676
|
default: q(() => [
|
|
21672
21677
|
R(g, {
|
|
21673
|
-
modelValue:
|
|
21674
|
-
"onUpdate:modelValue": r[25] ||= (e) =>
|
|
21678
|
+
modelValue: A.value,
|
|
21679
|
+
"onUpdate:modelValue": r[25] ||= (e) => A.value = e,
|
|
21675
21680
|
name: "zeroDataRetention",
|
|
21676
21681
|
switch: "",
|
|
21677
21682
|
value: !0,
|
|
@@ -21681,10 +21686,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21681
21686
|
default: q(() => [I("div", EO, [I("strong", null, U(W(i)("label.zeroDataRetention")), 1), I("small", DO, U(W(i)("hint.zeroDataRetention")), 1)])]),
|
|
21682
21687
|
_: 1
|
|
21683
21688
|
}, 8, ["modelValue"]),
|
|
21684
|
-
|
|
21689
|
+
A.value ? P("", !0) : (V(), N(g, {
|
|
21685
21690
|
key: 0,
|
|
21686
|
-
modelValue:
|
|
21687
|
-
"onUpdate:modelValue": r[26] ||= (e) =>
|
|
21691
|
+
modelValue: Ut.value,
|
|
21692
|
+
"onUpdate:modelValue": r[26] ||= (e) => Ut.value = e,
|
|
21688
21693
|
name: "disallowPromptTraining",
|
|
21689
21694
|
switch: "",
|
|
21690
21695
|
value: !0,
|
|
@@ -21695,8 +21700,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21695
21700
|
_: 1
|
|
21696
21701
|
}, 8, ["modelValue"])),
|
|
21697
21702
|
e.playground ? P("", !0) : (V(), F(j, { key: 1 }, [R(g, {
|
|
21698
|
-
modelValue:
|
|
21699
|
-
"onUpdate:modelValue": r[27] ||= (e) =>
|
|
21703
|
+
modelValue: Kt.value,
|
|
21704
|
+
"onUpdate:modelValue": r[27] ||= (e) => Kt.value = e,
|
|
21700
21705
|
name: "inferenceRegion",
|
|
21701
21706
|
switch: "",
|
|
21702
21707
|
value: !0,
|
|
@@ -21705,7 +21710,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21705
21710
|
}, {
|
|
21706
21711
|
default: q(() => [I("div", AO, [I("strong", null, U(W(i)("label.euInference")), 1), I("small", jO, U(W(i)("hint.euInference")), 1)])]),
|
|
21707
21712
|
_: 1
|
|
21708
|
-
}, 8, ["modelValue"]),
|
|
21713
|
+
}, 8, ["modelValue"]), Kt.value ? (V(), N(v, {
|
|
21709
21714
|
key: 0,
|
|
21710
21715
|
modifiers: "warning",
|
|
21711
21716
|
class: "mt-md mb-0"
|
|
@@ -21722,8 +21727,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21722
21727
|
class: "mb-0 mt-md"
|
|
21723
21728
|
}, {
|
|
21724
21729
|
default: q(() => [R(g, {
|
|
21725
|
-
modelValue:
|
|
21726
|
-
"onUpdate:modelValue": r[28] ||= (e) =>
|
|
21730
|
+
modelValue: mt.value,
|
|
21731
|
+
"onUpdate:modelValue": r[28] ||= (e) => mt.value = e,
|
|
21727
21732
|
name: "voiceEnabled",
|
|
21728
21733
|
switch: "",
|
|
21729
21734
|
value: !0,
|
|
@@ -21732,38 +21737,38 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21732
21737
|
}, {
|
|
21733
21738
|
default: q(() => [I("div", MO, [I("strong", null, U(W(i)("label.voiceEnabled")), 1), I("small", NO, U(W(i)("hint.voiceEnabled")), 1)])]),
|
|
21734
21739
|
_: 1
|
|
21735
|
-
}, 8, ["modelValue"]),
|
|
21736
|
-
|
|
21740
|
+
}, 8, ["modelValue"]), mt.value ? (V(), F(j, { key: 0 }, [
|
|
21741
|
+
An.value.length ? (V(), N(xE, {
|
|
21737
21742
|
key: 0,
|
|
21738
21743
|
level: "warning",
|
|
21739
21744
|
class: "mt-md mb-0"
|
|
21740
21745
|
}, {
|
|
21741
|
-
default: q(() => [L(U(W(i)("hint.voiceApprovalRefused", { tools:
|
|
21746
|
+
default: q(() => [L(U(W(i)("hint.voiceApprovalRefused", { tools: An.value.join(", ") })), 1)]),
|
|
21742
21747
|
_: 1
|
|
21743
21748
|
})) : P("", !0),
|
|
21744
21749
|
I("div", PO, [R(c, {
|
|
21745
|
-
modelValue:
|
|
21746
|
-
"onUpdate:modelValue": r[30] ||= (e) =>
|
|
21750
|
+
modelValue: gt.value,
|
|
21751
|
+
"onUpdate:modelValue": r[30] ||= (e) => gt.value = e,
|
|
21747
21752
|
name: "voiceId",
|
|
21748
21753
|
icon: "ri:user-voice-line",
|
|
21749
21754
|
strategy: "fixed",
|
|
21750
21755
|
class: "flex-1 mb-0",
|
|
21751
21756
|
searchable: "",
|
|
21752
21757
|
label: W(i)("label.voiceId"),
|
|
21753
|
-
"hint-label":
|
|
21758
|
+
"hint-label": jt.value,
|
|
21754
21759
|
placeholder: W(i)("placeholder.select"),
|
|
21755
21760
|
"select-hint-label": "",
|
|
21756
21761
|
"deselect-hint-label": "",
|
|
21757
21762
|
"selected-hint-label": "",
|
|
21758
|
-
options:
|
|
21759
|
-
"search-function":
|
|
21763
|
+
options: kt.value,
|
|
21764
|
+
"search-function": At
|
|
21760
21765
|
}, {
|
|
21761
21766
|
after: q(() => [R(l, {
|
|
21762
21767
|
modifiers: "action-quiet",
|
|
21763
|
-
icon:
|
|
21764
|
-
disabled: !
|
|
21765
|
-
title: W(i)(
|
|
21766
|
-
onClick: r[29] ||= (e) =>
|
|
21768
|
+
icon: Nt.value ? "ri:stop-circle-line" : "ri:play-circle-line",
|
|
21769
|
+
disabled: !It.value,
|
|
21770
|
+
title: W(i)(Nt.value ? "action.stopVoicePreview" : "action.playVoicePreview"),
|
|
21771
|
+
onClick: r[29] ||= (e) => Ft()
|
|
21767
21772
|
}, null, 8, [
|
|
21768
21773
|
"icon",
|
|
21769
21774
|
"disabled",
|
|
@@ -21779,8 +21784,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21779
21784
|
"options"
|
|
21780
21785
|
])]),
|
|
21781
21786
|
R(c, {
|
|
21782
|
-
modelValue:
|
|
21783
|
-
"onUpdate:modelValue": r[31] ||= (e) =>
|
|
21787
|
+
modelValue: _t.value,
|
|
21788
|
+
"onUpdate:modelValue": r[31] ||= (e) => _t.value = e,
|
|
21784
21789
|
name: "voiceLanguage",
|
|
21785
21790
|
icon: "ri:translate-2",
|
|
21786
21791
|
strategy: "fixed",
|
|
@@ -21792,7 +21797,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21792
21797
|
"select-hint-label": "",
|
|
21793
21798
|
"deselect-hint-label": "",
|
|
21794
21799
|
"selected-hint-label": "",
|
|
21795
|
-
options:
|
|
21800
|
+
options: wt.map((e) => ({
|
|
21796
21801
|
label: W(i)(`language.${e}`),
|
|
21797
21802
|
value: e
|
|
21798
21803
|
}))
|
|
@@ -21804,8 +21809,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21804
21809
|
"options"
|
|
21805
21810
|
]),
|
|
21806
21811
|
R(d, {
|
|
21807
|
-
modelValue:
|
|
21808
|
-
"onUpdate:modelValue": r[32] ||= (e) =>
|
|
21812
|
+
modelValue: O.value,
|
|
21813
|
+
"onUpdate:modelValue": r[32] ||= (e) => O.value = e,
|
|
21809
21814
|
name: "voiceFirstMessage",
|
|
21810
21815
|
maxlength: "300",
|
|
21811
21816
|
class: "mb-0 mt-md",
|
|
@@ -21825,8 +21830,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21825
21830
|
}, {
|
|
21826
21831
|
default: q(() => [I("div", RO, [
|
|
21827
21832
|
R(g, {
|
|
21828
|
-
modelValue:
|
|
21829
|
-
"onUpdate:modelValue": r[33] ||= (e) =>
|
|
21833
|
+
modelValue: xt.value,
|
|
21834
|
+
"onUpdate:modelValue": r[33] ||= (e) => xt.value = e,
|
|
21830
21835
|
name: "voiceIgnoreBackgroundVoices",
|
|
21831
21836
|
switch: "",
|
|
21832
21837
|
value: !0,
|
|
@@ -21837,8 +21842,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21837
21842
|
_: 1
|
|
21838
21843
|
}, 8, ["modelValue"]),
|
|
21839
21844
|
R(c, {
|
|
21840
|
-
modelValue:
|
|
21841
|
-
"onUpdate:modelValue": r[34] ||= (e) =>
|
|
21845
|
+
modelValue: St.value,
|
|
21846
|
+
"onUpdate:modelValue": r[34] ||= (e) => St.value = e,
|
|
21842
21847
|
name: "voiceTurnEagerness",
|
|
21843
21848
|
icon: "ri:hourglass-line",
|
|
21844
21849
|
strategy: "fixed",
|
|
@@ -21872,8 +21877,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21872
21877
|
"options"
|
|
21873
21878
|
]),
|
|
21874
21879
|
I("div", VO, [R(d, {
|
|
21875
|
-
modelValue:
|
|
21876
|
-
"onUpdate:modelValue": r[35] ||= (e) =>
|
|
21880
|
+
modelValue: Ct.value,
|
|
21881
|
+
"onUpdate:modelValue": r[35] ||= (e) => Ct.value = e,
|
|
21877
21882
|
name: "voiceTurnTimeoutSeconds",
|
|
21878
21883
|
type: "number",
|
|
21879
21884
|
min: "1",
|
|
@@ -21887,8 +21892,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21887
21892
|
"label",
|
|
21888
21893
|
"placeholder"
|
|
21889
21894
|
]), R(d, {
|
|
21890
|
-
modelValue:
|
|
21891
|
-
"onUpdate:modelValue": r[36] ||= (e) =>
|
|
21895
|
+
modelValue: vt.value,
|
|
21896
|
+
"onUpdate:modelValue": r[36] ||= (e) => vt.value = e,
|
|
21892
21897
|
name: "voiceCascadeTimeoutSeconds",
|
|
21893
21898
|
type: "number",
|
|
21894
21899
|
min: "5",
|
|
@@ -21904,8 +21909,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21904
21909
|
])]),
|
|
21905
21910
|
I("small", HO, U(W(i)("hint.voiceTurnTimeoutSeconds")), 1),
|
|
21906
21911
|
R(d, {
|
|
21907
|
-
modelValue:
|
|
21908
|
-
"onUpdate:modelValue": r[37] ||= (e) =>
|
|
21912
|
+
modelValue: ht.value,
|
|
21913
|
+
"onUpdate:modelValue": r[37] ||= (e) => ht.value = e,
|
|
21909
21914
|
name: "voiceMaxSessionSeconds",
|
|
21910
21915
|
type: "number",
|
|
21911
21916
|
min: "30",
|
|
@@ -21926,8 +21931,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21926
21931
|
_: 1
|
|
21927
21932
|
}),
|
|
21928
21933
|
R(d, {
|
|
21929
|
-
modelValue:
|
|
21930
|
-
"onUpdate:modelValue": r[38] ||= (e) =>
|
|
21934
|
+
modelValue: yt.value,
|
|
21935
|
+
"onUpdate:modelValue": r[38] ||= (e) => yt.value = e,
|
|
21931
21936
|
name: "voiceFillerAfterSeconds",
|
|
21932
21937
|
type: "number",
|
|
21933
21938
|
min: "0.5",
|
|
@@ -21944,8 +21949,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21944
21949
|
"placeholder"
|
|
21945
21950
|
]),
|
|
21946
21951
|
R(d, {
|
|
21947
|
-
modelValue:
|
|
21948
|
-
"onUpdate:modelValue": r[39] ||= (e) =>
|
|
21952
|
+
modelValue: bt.value,
|
|
21953
|
+
"onUpdate:modelValue": r[39] ||= (e) => bt.value = e,
|
|
21949
21954
|
name: "voiceFillerMessage",
|
|
21950
21955
|
maxlength: "200",
|
|
21951
21956
|
class: "mb-0 mt-md",
|
|
@@ -21966,8 +21971,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21966
21971
|
}, 8, ["legend"])) : P("", !0),
|
|
21967
21972
|
e.playground ? P("", !0) : (V(), N(MD, {
|
|
21968
21973
|
key: 2,
|
|
21969
|
-
modelValue:
|
|
21970
|
-
"onUpdate:modelValue": r[40] ||= (e) =>
|
|
21974
|
+
modelValue: Xt.value,
|
|
21975
|
+
"onUpdate:modelValue": r[40] ||= (e) => Xt.value = e,
|
|
21971
21976
|
class: "mb-0 mt-md",
|
|
21972
21977
|
type: x.value
|
|
21973
21978
|
}, null, 8, ["modelValue", "type"]))
|
|
@@ -21978,8 +21983,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21978
21983
|
"panel::style": q(() => [
|
|
21979
21984
|
e.playground ? P("", !0) : (V(), N(qT, {
|
|
21980
21985
|
key: 0,
|
|
21981
|
-
modelValue:
|
|
21982
|
-
"onUpdate:modelValue": r[41] ||= (e) =>
|
|
21986
|
+
modelValue: We.value,
|
|
21987
|
+
"onUpdate:modelValue": r[41] ||= (e) => We.value = e,
|
|
21983
21988
|
name: "media",
|
|
21984
21989
|
label: W(i)("label.logo"),
|
|
21985
21990
|
placeholder: W(i)("placeholder.uploadFile"),
|
|
@@ -21995,7 +22000,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21995
22000
|
"label-add",
|
|
21996
22001
|
"label-remove"
|
|
21997
22002
|
])),
|
|
21998
|
-
|
|
22003
|
+
Pn.value ? (V(), N(He, {
|
|
21999
22004
|
key: 1,
|
|
22000
22005
|
modelValue: De.value,
|
|
22001
22006
|
"onUpdate:modelValue": r[42] ||= (e) => De.value = e,
|
|
@@ -22063,14 +22068,14 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22063
22068
|
value: "black"
|
|
22064
22069
|
}
|
|
22065
22070
|
],
|
|
22066
|
-
class: di({ "mb-0": !
|
|
22071
|
+
class: di({ "mb-0": !Pn.value })
|
|
22067
22072
|
}, null, 8, [
|
|
22068
22073
|
"modelValue",
|
|
22069
22074
|
"label",
|
|
22070
22075
|
"options",
|
|
22071
22076
|
"class"
|
|
22072
22077
|
]),
|
|
22073
|
-
|
|
22078
|
+
Pn.value ? (V(), F(j, { key: 0 }, [R(He, {
|
|
22074
22079
|
modelValue: D.value,
|
|
22075
22080
|
"onUpdate:modelValue": r[45] ||= (e) => D.value = e,
|
|
22076
22081
|
name: "glowTones",
|
|
@@ -22091,16 +22096,16 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22091
22096
|
value: "two"
|
|
22092
22097
|
}
|
|
22093
22098
|
],
|
|
22094
|
-
class: di({ "mb-0": !
|
|
22099
|
+
class: di({ "mb-0": !fn.value })
|
|
22095
22100
|
}, null, 8, [
|
|
22096
22101
|
"modelValue",
|
|
22097
22102
|
"label",
|
|
22098
22103
|
"hint-label",
|
|
22099
22104
|
"options",
|
|
22100
22105
|
"class"
|
|
22101
|
-
]),
|
|
22102
|
-
modelValue:
|
|
22103
|
-
"onUpdate:modelValue": r[46] ||= (e) =>
|
|
22106
|
+
]), fn.value ? (V(), F(j, { key: 0 }, [R(bE, {
|
|
22107
|
+
modelValue: pn.value,
|
|
22108
|
+
"onUpdate:modelValue": r[46] ||= (e) => pn.value = e,
|
|
22104
22109
|
name: "glowSecondColorCustom",
|
|
22105
22110
|
switch: "",
|
|
22106
22111
|
class: "mb-0",
|
|
@@ -22124,10 +22129,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22124
22129
|
R(y, {
|
|
22125
22130
|
title: W(i)("label.advancedOptions"),
|
|
22126
22131
|
modifiers: "details",
|
|
22127
|
-
class: di(["border border-surface-3 rounded-lg mt-md",
|
|
22132
|
+
class: di(["border border-surface-3 rounded-lg mt-md", Pn.value ? "mb-md" : "mb-0"])
|
|
22128
22133
|
}, {
|
|
22129
22134
|
default: q(() => [I("div", UO, [
|
|
22130
|
-
|
|
22135
|
+
Pn.value ? (V(), N(bE, {
|
|
22131
22136
|
key: 0,
|
|
22132
22137
|
modelValue: Ae.value,
|
|
22133
22138
|
"onUpdate:modelValue": r[48] ||= (e) => Ae.value = e,
|
|
@@ -22141,10 +22146,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22141
22146
|
"label",
|
|
22142
22147
|
"hint-label"
|
|
22143
22148
|
])) : P("", !0),
|
|
22144
|
-
|
|
22149
|
+
Pn.value ? (V(), N(bE, {
|
|
22145
22150
|
key: 1,
|
|
22146
|
-
modelValue:
|
|
22147
|
-
"onUpdate:modelValue": r[49] ||= (e) =>
|
|
22151
|
+
modelValue: qt.value,
|
|
22152
|
+
"onUpdate:modelValue": r[49] ||= (e) => qt.value = e,
|
|
22148
22153
|
name: "smoothStream",
|
|
22149
22154
|
class: "mt-md mb-0",
|
|
22150
22155
|
switch: "",
|
|
@@ -22155,10 +22160,24 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22155
22160
|
"label",
|
|
22156
22161
|
"hint-label"
|
|
22157
22162
|
])) : P("", !0),
|
|
22158
|
-
!e.playground &&
|
|
22163
|
+
!e.playground && Pn.value ? (V(), N(bE, {
|
|
22159
22164
|
key: 2,
|
|
22165
|
+
modelValue: Me.value,
|
|
22166
|
+
"onUpdate:modelValue": r[50] ||= (e) => Me.value = e,
|
|
22167
|
+
name: "nextMessageSuggestion",
|
|
22168
|
+
class: "mt-md mb-0",
|
|
22169
|
+
switch: "",
|
|
22170
|
+
label: W(i)("label.nextMessageSuggestion"),
|
|
22171
|
+
"hint-label": W(i)("hint.nextMessageSuggestion")
|
|
22172
|
+
}, null, 8, [
|
|
22173
|
+
"modelValue",
|
|
22174
|
+
"label",
|
|
22175
|
+
"hint-label"
|
|
22176
|
+
])) : P("", !0),
|
|
22177
|
+
!e.playground && Pn.value ? (V(), N(bE, {
|
|
22178
|
+
key: 3,
|
|
22160
22179
|
modelValue: je.value,
|
|
22161
|
-
"onUpdate:modelValue": r[
|
|
22180
|
+
"onUpdate:modelValue": r[51] ||= (e) => je.value = e,
|
|
22162
22181
|
name: "welcomePopup",
|
|
22163
22182
|
class: "mt-md mb-0",
|
|
22164
22183
|
switch: "",
|
|
@@ -22169,10 +22188,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22169
22188
|
"label",
|
|
22170
22189
|
"hint-label"
|
|
22171
22190
|
])) : P("", !0),
|
|
22172
|
-
!e.playground &&
|
|
22173
|
-
key:
|
|
22174
|
-
modelValue:
|
|
22175
|
-
"onUpdate:modelValue": r[
|
|
22191
|
+
!e.playground && Pn.value && he.value === "public" ? (V(), N(bE, {
|
|
22192
|
+
key: 4,
|
|
22193
|
+
modelValue: Ne.value,
|
|
22194
|
+
"onUpdate:modelValue": r[52] ||= (e) => Ne.value = e,
|
|
22176
22195
|
name: "interactiveLogin",
|
|
22177
22196
|
class: "mt-md mb-0",
|
|
22178
22197
|
switch: "",
|
|
@@ -22183,14 +22202,14 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22183
22202
|
"label",
|
|
22184
22203
|
"hint-label"
|
|
22185
22204
|
])) : P("", !0),
|
|
22186
|
-
!e.playground &&
|
|
22187
|
-
key:
|
|
22188
|
-
modelValue:
|
|
22189
|
-
"onUpdate:modelValue": r[
|
|
22205
|
+
!e.playground && Pn.value ? (V(), N(He, {
|
|
22206
|
+
key: 5,
|
|
22207
|
+
modelValue: Fe.value,
|
|
22208
|
+
"onUpdate:modelValue": r[53] ||= (e) => Fe.value = e,
|
|
22190
22209
|
name: "layout",
|
|
22191
22210
|
segmented: "",
|
|
22192
22211
|
label: W(i)("label.widgetLayout"),
|
|
22193
|
-
"hint-label":
|
|
22212
|
+
"hint-label": Fe.value === "copilot" ? W(i)("hint.widgetLayoutCopilot") : W(i)("hint.widgetLayoutFloating"),
|
|
22194
22213
|
options: [{
|
|
22195
22214
|
label: W(i)("label.widgetLayoutFloating"),
|
|
22196
22215
|
value: "floating"
|
|
@@ -22215,10 +22234,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22215
22234
|
"hint-label",
|
|
22216
22235
|
"options"
|
|
22217
22236
|
])) : P("", !0),
|
|
22218
|
-
!e.playground &&
|
|
22219
|
-
key:
|
|
22220
|
-
modelValue:
|
|
22221
|
-
"onUpdate:modelValue": r[
|
|
22237
|
+
!e.playground && Pn.value ? (V(), N(He, {
|
|
22238
|
+
key: 6,
|
|
22239
|
+
modelValue: Pe.value,
|
|
22240
|
+
"onUpdate:modelValue": r[54] ||= (e) => Pe.value = e,
|
|
22222
22241
|
name: "floatingButtonPosition",
|
|
22223
22242
|
segmented: "",
|
|
22224
22243
|
label: W(i)("label.floatingButtonPosition"),
|
|
@@ -22245,14 +22264,14 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22245
22264
|
"label",
|
|
22246
22265
|
"options"
|
|
22247
22266
|
])) : P("", !0),
|
|
22248
|
-
!e.playground &&
|
|
22249
|
-
key:
|
|
22250
|
-
modelValue:
|
|
22251
|
-
"onUpdate:modelValue": r[
|
|
22267
|
+
!e.playground && Pn.value && Fe.value === "floating" ? (V(), N(He, {
|
|
22268
|
+
key: 7,
|
|
22269
|
+
modelValue: ze.value,
|
|
22270
|
+
"onUpdate:modelValue": r[55] ||= (e) => ze.value = e,
|
|
22252
22271
|
name: "appearance",
|
|
22253
22272
|
segmented: "",
|
|
22254
22273
|
label: W(i)("label.widgetAppearance"),
|
|
22255
|
-
"hint-label":
|
|
22274
|
+
"hint-label": ze.value === "glass" ? W(i)("hint.widgetAppearanceGlass") : W(i)("hint.widgetAppearanceSolid"),
|
|
22256
22275
|
options: [{
|
|
22257
22276
|
label: W(i)("label.widgetAppearanceSolid"),
|
|
22258
22277
|
value: "solid"
|
|
@@ -22267,10 +22286,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22267
22286
|
"hint-label",
|
|
22268
22287
|
"options"
|
|
22269
22288
|
])) : P("", !0),
|
|
22270
|
-
!e.playground &&
|
|
22271
|
-
key:
|
|
22272
|
-
modelValue:
|
|
22273
|
-
"onUpdate:modelValue": r[
|
|
22289
|
+
!e.playground && Pn.value ? (V(), N(bE, {
|
|
22290
|
+
key: 8,
|
|
22291
|
+
modelValue: Be.value,
|
|
22292
|
+
"onUpdate:modelValue": r[56] ||= (e) => Be.value = e,
|
|
22274
22293
|
name: "hideFloatingButton",
|
|
22275
22294
|
class: "mt-md mb-0",
|
|
22276
22295
|
switch: "",
|
|
@@ -22281,10 +22300,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22281
22300
|
"label",
|
|
22282
22301
|
"hint-label"
|
|
22283
22302
|
])) : P("", !0),
|
|
22284
|
-
!e.playground &&
|
|
22285
|
-
key:
|
|
22286
|
-
modelValue:
|
|
22287
|
-
"onUpdate:modelValue": r[
|
|
22303
|
+
!e.playground && Pn.value ? (V(), N(bE, {
|
|
22304
|
+
key: 9,
|
|
22305
|
+
modelValue: Ie.value,
|
|
22306
|
+
"onUpdate:modelValue": r[57] ||= (e) => Ie.value = e,
|
|
22288
22307
|
name: "workingGlow",
|
|
22289
22308
|
class: "mt-md mb-0",
|
|
22290
22309
|
switch: "",
|
|
@@ -22295,10 +22314,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22295
22314
|
"label",
|
|
22296
22315
|
"hint-label"
|
|
22297
22316
|
])) : P("", !0),
|
|
22298
|
-
!e.playground &&
|
|
22299
|
-
key:
|
|
22300
|
-
modelValue:
|
|
22301
|
-
"onUpdate:modelValue": r[
|
|
22317
|
+
!e.playground && Pn.value && Fe.value === "copilot" ? (V(), N(ks, {
|
|
22318
|
+
key: 10,
|
|
22319
|
+
modelValue: Ve.value,
|
|
22320
|
+
"onUpdate:modelValue": r[58] ||= (e) => Ve.value = e,
|
|
22302
22321
|
language: "css",
|
|
22303
22322
|
class: "mt-md mb-0",
|
|
22304
22323
|
label: W(i)("label.copilotPageCss"),
|
|
@@ -22310,10 +22329,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22310
22329
|
"hint-label",
|
|
22311
22330
|
"placeholder"
|
|
22312
22331
|
])) : P("", !0),
|
|
22313
|
-
|
|
22314
|
-
key:
|
|
22315
|
-
modelValue:
|
|
22316
|
-
"onUpdate:modelValue": r[
|
|
22332
|
+
Pn.value ? (V(), N(d, {
|
|
22333
|
+
key: 11,
|
|
22334
|
+
modelValue: Ue.value,
|
|
22335
|
+
"onUpdate:modelValue": r[59] ||= (e) => Ue.value = e,
|
|
22317
22336
|
name: "maxMessageLength",
|
|
22318
22337
|
type: "number",
|
|
22319
22338
|
min: "1",
|
|
@@ -22327,9 +22346,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22327
22346
|
"placeholder"
|
|
22328
22347
|
])) : P("", !0),
|
|
22329
22348
|
e.playground ? P("", !0) : (V(), N(ks, {
|
|
22330
|
-
key:
|
|
22331
|
-
modelValue:
|
|
22332
|
-
"onUpdate:modelValue": r[
|
|
22349
|
+
key: 12,
|
|
22350
|
+
modelValue: Vt.value,
|
|
22351
|
+
"onUpdate:modelValue": r[60] ||= (e) => Vt.value = e,
|
|
22333
22352
|
language: "css",
|
|
22334
22353
|
class: "mt-md mb-0",
|
|
22335
22354
|
label: W(i)("label.customCss"),
|
|
@@ -22344,7 +22363,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22344
22363
|
])]),
|
|
22345
22364
|
_: 1
|
|
22346
22365
|
}, 8, ["title", "class"]),
|
|
22347
|
-
|
|
22366
|
+
Pn.value ? (V(), N(te, {
|
|
22348
22367
|
key: 2,
|
|
22349
22368
|
items: u.value.map((e) => ({
|
|
22350
22369
|
tab: e,
|
|
@@ -22436,7 +22455,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22436
22455
|
lang: e,
|
|
22437
22456
|
label: W(i)("label.footer"),
|
|
22438
22457
|
placeholder: W(i)("placeholder.insert"),
|
|
22439
|
-
class: di({ "mb-0": !
|
|
22458
|
+
class: di({ "mb-0": !xn.value }),
|
|
22440
22459
|
"onUpdate:modelValue": (t) => ie.value = {
|
|
22441
22460
|
...ie.value,
|
|
22442
22461
|
[e]: t ?? ""
|
|
@@ -22450,17 +22469,17 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22450
22469
|
"class",
|
|
22451
22470
|
"onUpdate:modelValue"
|
|
22452
22471
|
]),
|
|
22453
|
-
|
|
22472
|
+
xn.value ? (V(), N(eE, {
|
|
22454
22473
|
key: 0,
|
|
22455
|
-
"model-value":
|
|
22474
|
+
"model-value": Ht.value?.[e] ?? "",
|
|
22456
22475
|
name: `privacyPolicyNotice.${e}`,
|
|
22457
22476
|
lang: e,
|
|
22458
22477
|
label: W(i)("label.privacyPolicyNotice"),
|
|
22459
22478
|
placeholder: W(i)("placeholder.insert"),
|
|
22460
22479
|
"hint-label": W(i)("hint.privacyPolicyNotice"),
|
|
22461
22480
|
class: "mb-0",
|
|
22462
|
-
"onUpdate:modelValue": (t) =>
|
|
22463
|
-
...
|
|
22481
|
+
"onUpdate:modelValue": (t) => Ht.value = {
|
|
22482
|
+
...Ht.value,
|
|
22464
22483
|
[e]: t ?? ""
|
|
22465
22484
|
}
|
|
22466
22485
|
}, null, 8, [
|
|
@@ -22481,11 +22500,11 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22481
22500
|
legend: W(i)("label.fileUpload")
|
|
22482
22501
|
}, {
|
|
22483
22502
|
default: q(() => [R(bE, {
|
|
22484
|
-
modelValue:
|
|
22485
|
-
"onUpdate:modelValue": r[
|
|
22503
|
+
modelValue: ft.value,
|
|
22504
|
+
"onUpdate:modelValue": r[61] ||= (e) => ft.value = e,
|
|
22486
22505
|
disabled: e.playground,
|
|
22487
22506
|
name: "fileUploadEnabled",
|
|
22488
|
-
class: di({ "mb-0": !
|
|
22507
|
+
class: di({ "mb-0": !ft.value }),
|
|
22489
22508
|
switch: "",
|
|
22490
22509
|
label: W(i)("label.fileUploadEnabled"),
|
|
22491
22510
|
"hint-label": W(i)("hint.fileUploadEnabled")
|
|
@@ -22495,10 +22514,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22495
22514
|
"class",
|
|
22496
22515
|
"label",
|
|
22497
22516
|
"hint-label"
|
|
22498
|
-
]),
|
|
22517
|
+
]), ft.value ? (V(), F(j, { key: 0 }, [
|
|
22499
22518
|
R(d, {
|
|
22500
|
-
modelValue:
|
|
22501
|
-
"onUpdate:modelValue": r[
|
|
22519
|
+
modelValue: yn.value,
|
|
22520
|
+
"onUpdate:modelValue": r[62] ||= (e) => yn.value = e,
|
|
22502
22521
|
disabled: e.playground,
|
|
22503
22522
|
name: "fileUploadMaxFileSize",
|
|
22504
22523
|
type: "number",
|
|
@@ -22513,15 +22532,15 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22513
22532
|
"placeholder"
|
|
22514
22533
|
]),
|
|
22515
22534
|
R(c, {
|
|
22516
|
-
modelValue:
|
|
22517
|
-
"onUpdate:modelValue": r[
|
|
22535
|
+
modelValue: _n.value,
|
|
22536
|
+
"onUpdate:modelValue": r[63] ||= (e) => _n.value = e,
|
|
22518
22537
|
disabled: e.playground,
|
|
22519
22538
|
name: "fileUploadAllowedMimeTypes",
|
|
22520
22539
|
"select-hint-label": "",
|
|
22521
22540
|
"deselect-hint-label": "",
|
|
22522
22541
|
label: W(i)("label.fileUploadAllowedMimeTypes"),
|
|
22523
22542
|
placeholder: W(i)("placeholder.select"),
|
|
22524
|
-
options:
|
|
22543
|
+
options: hn.value,
|
|
22525
22544
|
badges: "",
|
|
22526
22545
|
multiple: "",
|
|
22527
22546
|
strategy: "fixed"
|
|
@@ -22559,17 +22578,17 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22559
22578
|
"placeholder",
|
|
22560
22579
|
"options"
|
|
22561
22580
|
]),
|
|
22562
|
-
|
|
22581
|
+
vn.value ? (V(), N(xE, {
|
|
22563
22582
|
key: 0,
|
|
22564
22583
|
level: "warning",
|
|
22565
22584
|
class: "mb-md"
|
|
22566
22585
|
}, {
|
|
22567
|
-
default: q(() => [L(U(
|
|
22586
|
+
default: q(() => [L(U(vn.value), 1)]),
|
|
22568
22587
|
_: 1
|
|
22569
22588
|
})) : P("", !0),
|
|
22570
22589
|
I("div", GO, [R(d, {
|
|
22571
|
-
modelValue:
|
|
22572
|
-
"onUpdate:modelValue": r[
|
|
22590
|
+
modelValue: zt.value,
|
|
22591
|
+
"onUpdate:modelValue": r[64] ||= (e) => zt.value = e,
|
|
22573
22592
|
disabled: e.playground,
|
|
22574
22593
|
name: "fileUploadMaxFilesPerMessage",
|
|
22575
22594
|
type: "number",
|
|
@@ -22584,8 +22603,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22584
22603
|
"label",
|
|
22585
22604
|
"placeholder"
|
|
22586
22605
|
]), R(d, {
|
|
22587
|
-
modelValue:
|
|
22588
|
-
"onUpdate:modelValue": r[
|
|
22606
|
+
modelValue: Bt.value,
|
|
22607
|
+
"onUpdate:modelValue": r[65] ||= (e) => Bt.value = e,
|
|
22589
22608
|
disabled: e.playground,
|
|
22590
22609
|
name: "fileUploadMaxFilesPerChat",
|
|
22591
22610
|
type: "number",
|
|
@@ -22609,9 +22628,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22609
22628
|
}, {
|
|
22610
22629
|
default: q(() => [R(jD, {
|
|
22611
22630
|
"web-search": Ee.value,
|
|
22612
|
-
"onUpdate:webSearch": r[
|
|
22613
|
-
"active-provider":
|
|
22614
|
-
"fallback-models":
|
|
22631
|
+
"onUpdate:webSearch": r[66] ||= (e) => Ee.value = e,
|
|
22632
|
+
"active-provider": Nn.value,
|
|
22633
|
+
"fallback-models": k.value
|
|
22615
22634
|
}, null, 8, [
|
|
22616
22635
|
"web-search",
|
|
22617
22636
|
"active-provider",
|
|
@@ -22624,12 +22643,12 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22624
22643
|
legend: W(i)("label.toolWorkingSet")
|
|
22625
22644
|
}, {
|
|
22626
22645
|
default: q(() => [R(c, {
|
|
22627
|
-
modelValue:
|
|
22628
|
-
"onUpdate:modelValue": r[
|
|
22646
|
+
modelValue: pt.value,
|
|
22647
|
+
"onUpdate:modelValue": r[67] ||= (e) => pt.value = e,
|
|
22629
22648
|
disabled: e.playground,
|
|
22630
22649
|
name: "toolWorkingSetMode",
|
|
22631
22650
|
label: W(i)("label.toolWorkingSetMode"),
|
|
22632
|
-
options:
|
|
22651
|
+
options: gn.value,
|
|
22633
22652
|
unselectable: !1,
|
|
22634
22653
|
"select-hint-label": "",
|
|
22635
22654
|
"deselect-hint-label": "",
|
|
@@ -22642,12 +22661,12 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22642
22661
|
"label",
|
|
22643
22662
|
"options"
|
|
22644
22663
|
]), R(xE, { class: "mt-md mb-0" }, {
|
|
22645
|
-
default: q(() => [L(U(W(i)(`hint.toolWorkingSetMode.${
|
|
22664
|
+
default: q(() => [L(U(W(i)(`hint.toolWorkingSetMode.${pt.value}`)), 1)]),
|
|
22646
22665
|
_: 1
|
|
22647
22666
|
})]),
|
|
22648
22667
|
_: 1
|
|
22649
22668
|
}, 8, ["legend"])) : P("", !0),
|
|
22650
|
-
I("div", KO, [I("p", qO, U(W(i)("hint.approvalChannels")), 1), (V(!0), F(j, null, bi(
|
|
22669
|
+
I("div", KO, [I("p", qO, U(W(i)("hint.approvalChannels")), 1), (V(!0), F(j, null, bi(Cn.value, (t) => (V(), F(j, { key: t.key }, [Pn.value || !t.tools.every((e) => Tn(e)) ? (V(), N(Ms, {
|
|
22651
22670
|
key: 0,
|
|
22652
22671
|
class: "mb-0"
|
|
22653
22672
|
}, {
|
|
@@ -22655,15 +22674,15 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22655
22674
|
name: t.icon,
|
|
22656
22675
|
class: "text-16"
|
|
22657
22676
|
}, null, 8, ["name"]), L(" " + U(W(i)(`toolGroup.${t.key}`)), 1)])]),
|
|
22658
|
-
default: q(() => [I("p", YO, U(W(i)(`toolGroupInfo.${t.key}`)), 1), I("div", XO, [(V(!0), F(j, null, bi(t.tools, (t) => (V(), F(j, { key: t }, [!
|
|
22677
|
+
default: q(() => [I("p", YO, U(W(i)(`toolGroupInfo.${t.key}`)), 1), I("div", XO, [(V(!0), F(j, null, bi(t.tools, (t) => (V(), F(j, { key: t }, [!Tn(t) || Pn.value ? (V(), F(j, { key: 0 }, [R(g, {
|
|
22659
22678
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
22660
|
-
"model-value":
|
|
22679
|
+
"model-value": Dn(t),
|
|
22661
22680
|
name: `tool.${t}`,
|
|
22662
22681
|
value: !0,
|
|
22663
22682
|
"unchecked-value": !1,
|
|
22664
|
-
disabled: !
|
|
22683
|
+
disabled: !wn(t),
|
|
22665
22684
|
switch: "",
|
|
22666
|
-
"onUpdate:modelValue": (e) =>
|
|
22685
|
+
"onUpdate:modelValue": (e) => Mn(t, e)
|
|
22667
22686
|
}, {
|
|
22668
22687
|
default: q(() => [I("div", ZO, [
|
|
22669
22688
|
I("div", QO, [
|
|
@@ -22679,7 +22698,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22679
22698
|
default: q(() => [L(U(W(i)("label.deprecated")), 1)]),
|
|
22680
22699
|
_: 1
|
|
22681
22700
|
})) : P("", !0),
|
|
22682
|
-
|
|
22701
|
+
kn(t) ? (V(), N(dD, { key: 2 })) : P("", !0)
|
|
22683
22702
|
]),
|
|
22684
22703
|
I("small", ek, U(W(i)(`hint.tool.${t}`)), 1),
|
|
22685
22704
|
W(n)(t) && W(we)(t) ? (V(), F("div", {
|
|
@@ -22712,7 +22731,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22712
22731
|
"name",
|
|
22713
22732
|
"disabled",
|
|
22714
22733
|
"onUpdate:modelValue"
|
|
22715
|
-
]),
|
|
22734
|
+
]), On(t) && Dn(t) ? (V(), N(y, {
|
|
22716
22735
|
key: 0,
|
|
22717
22736
|
title: W(i)("label.advancedOptions"),
|
|
22718
22737
|
modifiers: "details",
|
|
@@ -22720,8 +22739,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22720
22739
|
}, {
|
|
22721
22740
|
default: q(() => [I("div", nk, [
|
|
22722
22741
|
t === W(T).ShowForm ? (V(), F("div", rk, [R(d, {
|
|
22723
|
-
modelValue:
|
|
22724
|
-
"onUpdate:modelValue": r[
|
|
22742
|
+
modelValue: st.value,
|
|
22743
|
+
"onUpdate:modelValue": r[68] ||= (e) => st.value = e,
|
|
22725
22744
|
name: "formMaxSteps",
|
|
22726
22745
|
type: "number",
|
|
22727
22746
|
min: 1,
|
|
@@ -22734,8 +22753,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22734
22753
|
"label",
|
|
22735
22754
|
"disabled"
|
|
22736
22755
|
]), R(d, {
|
|
22737
|
-
modelValue:
|
|
22738
|
-
"onUpdate:modelValue": r[
|
|
22756
|
+
modelValue: ct.value,
|
|
22757
|
+
"onUpdate:modelValue": r[69] ||= (e) => ct.value = e,
|
|
22739
22758
|
name: "formMaxOptionsPerStep",
|
|
22740
22759
|
type: "number",
|
|
22741
22760
|
min: 2,
|
|
@@ -22750,8 +22769,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22750
22769
|
])])) : P("", !0),
|
|
22751
22770
|
t === W(T).UserMemory ? (V(), N(bE, {
|
|
22752
22771
|
key: 1,
|
|
22753
|
-
modelValue:
|
|
22754
|
-
"onUpdate:modelValue": r[
|
|
22772
|
+
modelValue: at.value,
|
|
22773
|
+
"onUpdate:modelValue": r[70] ||= (e) => at.value = e,
|
|
22755
22774
|
name: "useAllUserKb",
|
|
22756
22775
|
label: W(i)("agent.tool.useAllUserKb"),
|
|
22757
22776
|
"hint-label": W(i)("hint.tool.useAllUserKb"),
|
|
@@ -22766,8 +22785,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22766
22785
|
])) : P("", !0),
|
|
22767
22786
|
t === W(T).SearchInUserFiles ? (V(), N(bE, {
|
|
22768
22787
|
key: 2,
|
|
22769
|
-
modelValue:
|
|
22770
|
-
"onUpdate:modelValue": r[
|
|
22788
|
+
modelValue: ot.value,
|
|
22789
|
+
"onUpdate:modelValue": r[71] ||= (e) => ot.value = e,
|
|
22771
22790
|
name: "useAllUserFiles",
|
|
22772
22791
|
label: W(i)("agent.tool.useAllUserFiles"),
|
|
22773
22792
|
"hint-label": W(i)("hint.tool.useAllUserFiles"),
|
|
@@ -22780,8 +22799,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22780
22799
|
])) : P("", !0),
|
|
22781
22800
|
t === W(T).Spreadsheet ? (V(), N(bE, {
|
|
22782
22801
|
key: 3,
|
|
22783
|
-
modelValue:
|
|
22784
|
-
"onUpdate:modelValue": r[
|
|
22802
|
+
modelValue: nt.value,
|
|
22803
|
+
"onUpdate:modelValue": r[72] ||= (e) => nt.value = e,
|
|
22785
22804
|
name: "createSpreadsheetEnabled",
|
|
22786
22805
|
label: W(i)("agent.tool.createSpreadsheet"),
|
|
22787
22806
|
"hint-label": W(i)("hint.tool.createSpreadsheet"),
|
|
@@ -22796,8 +22815,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22796
22815
|
])) : P("", !0),
|
|
22797
22816
|
t === W(T).WordDocument ? (V(), N(bE, {
|
|
22798
22817
|
key: 4,
|
|
22799
|
-
modelValue:
|
|
22800
|
-
"onUpdate:modelValue": r[
|
|
22818
|
+
modelValue: rt.value,
|
|
22819
|
+
"onUpdate:modelValue": r[73] ||= (e) => rt.value = e,
|
|
22801
22820
|
name: "createWordDocumentEnabled",
|
|
22802
22821
|
label: W(i)("agent.tool.createWordDocument"),
|
|
22803
22822
|
"hint-label": W(i)("hint.tool.createWordDocument"),
|
|
@@ -22812,13 +22831,13 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22812
22831
|
])) : P("", !0),
|
|
22813
22832
|
W(o)(t) ? (V(), N(bE, {
|
|
22814
22833
|
key: 5,
|
|
22815
|
-
"model-value":
|
|
22834
|
+
"model-value": kn(t),
|
|
22816
22835
|
name: `tool.${t}.approval`,
|
|
22817
22836
|
label: W(i)("label.toolRequiresApproval"),
|
|
22818
22837
|
"hint-label": W(i)("hint.toolRequiresApproval"),
|
|
22819
22838
|
disabled: e.playground,
|
|
22820
22839
|
class: "mb-0",
|
|
22821
|
-
"onUpdate:modelValue": (e) =>
|
|
22840
|
+
"onUpdate:modelValue": (e) => jn(t, e)
|
|
22822
22841
|
}, null, 8, [
|
|
22823
22842
|
"model-value",
|
|
22824
22843
|
"name",
|
|
@@ -22829,8 +22848,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22829
22848
|
])) : P("", !0),
|
|
22830
22849
|
!e.playground && t === W(T).WordDocument ? (V(), N(oO, {
|
|
22831
22850
|
key: 6,
|
|
22832
|
-
modelValue:
|
|
22833
|
-
"onUpdate:modelValue": r[
|
|
22851
|
+
modelValue: tn.value,
|
|
22852
|
+
"onUpdate:modelValue": r[74] ||= (e) => tn.value = e,
|
|
22834
22853
|
surface: "word",
|
|
22835
22854
|
locales: u.value,
|
|
22836
22855
|
bare: "",
|
|
@@ -22838,8 +22857,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22838
22857
|
}, null, 8, ["modelValue", "locales"])) : P("", !0),
|
|
22839
22858
|
!e.playground && t === W(T).Spreadsheet ? (V(), N(oO, {
|
|
22840
22859
|
key: 7,
|
|
22841
|
-
modelValue:
|
|
22842
|
-
"onUpdate:modelValue": r[
|
|
22860
|
+
modelValue: nn.value,
|
|
22861
|
+
"onUpdate:modelValue": r[75] ||= (e) => nn.value = e,
|
|
22843
22862
|
surface: "excel",
|
|
22844
22863
|
locales: u.value,
|
|
22845
22864
|
bare: "",
|
|
@@ -22852,7 +22871,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22852
22871
|
}, 1024)) : P("", !0)], 64))), 128))])
|
|
22853
22872
|
]),
|
|
22854
22873
|
"panel::embed": q(() => [I("div", ik, [
|
|
22855
|
-
|
|
22874
|
+
Xt.value.includes(W(ae).Widget) ? P("", !0) : (V(), N(xE, {
|
|
22856
22875
|
key: 0,
|
|
22857
22876
|
level: "warning",
|
|
22858
22877
|
class: "mb-0"
|
|
@@ -22860,7 +22879,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22860
22879
|
default: q(() => [L(U(W(i)("hint.channelWidgetDisabled")), 1)]),
|
|
22861
22880
|
_: 1
|
|
22862
22881
|
})),
|
|
22863
|
-
|
|
22882
|
+
Xt.value.includes(W(ae).App) ? P("", !0) : (V(), N(xE, {
|
|
22864
22883
|
key: 1,
|
|
22865
22884
|
level: "warning",
|
|
22866
22885
|
class: "mb-0"
|
|
@@ -22879,8 +22898,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22879
22898
|
_: 1
|
|
22880
22899
|
}, 8, ["source"]),
|
|
22881
22900
|
e.playground ? P("", !0) : (V(), F("div", sk, [R(d, {
|
|
22882
|
-
modelValue:
|
|
22883
|
-
"onUpdate:modelValue": r[
|
|
22901
|
+
modelValue: lt.value,
|
|
22902
|
+
"onUpdate:modelValue": r[76] ||= (e) => lt.value = e,
|
|
22884
22903
|
name: "widgetUrl",
|
|
22885
22904
|
type: "url",
|
|
22886
22905
|
icon: "ri:links-line",
|
|
@@ -22897,8 +22916,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22897
22916
|
}, {
|
|
22898
22917
|
default: q(() => [I("div", ck, [
|
|
22899
22918
|
R(d, {
|
|
22900
|
-
modelValue:
|
|
22901
|
-
"onUpdate:modelValue": r[
|
|
22919
|
+
modelValue: ut.value,
|
|
22920
|
+
"onUpdate:modelValue": r[77] ||= (e) => ut.value = e,
|
|
22902
22921
|
name: "loadDelay",
|
|
22903
22922
|
type: "number",
|
|
22904
22923
|
step: "100",
|
|
@@ -22914,8 +22933,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22914
22933
|
"hint-label"
|
|
22915
22934
|
]),
|
|
22916
22935
|
R(c, {
|
|
22917
|
-
modelValue:
|
|
22918
|
-
"onUpdate:modelValue": r[
|
|
22936
|
+
modelValue: dt.value,
|
|
22937
|
+
"onUpdate:modelValue": r[78] ||= (e) => dt.value = e,
|
|
22919
22938
|
name: "loaderStrategy",
|
|
22920
22939
|
"select-hint-label": "",
|
|
22921
22940
|
"deselect-hint-label": "",
|
|
@@ -22941,20 +22960,20 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22941
22960
|
"label",
|
|
22942
22961
|
"options"
|
|
22943
22962
|
]),
|
|
22944
|
-
|
|
22963
|
+
dt.value ? (V(), N(xE, {
|
|
22945
22964
|
key: 0,
|
|
22946
22965
|
class: "mt-md mb-0"
|
|
22947
22966
|
}, {
|
|
22948
|
-
default: q(() => [L(U(W(i)(`hint.loaderStrategy.${
|
|
22967
|
+
default: q(() => [L(U(W(i)(`hint.loaderStrategy.${dt.value}`)), 1)]),
|
|
22949
22968
|
_: 1
|
|
22950
22969
|
})) : P("", !0)
|
|
22951
22970
|
])]),
|
|
22952
22971
|
_: 1
|
|
22953
22972
|
}, 8, ["title"])])),
|
|
22954
22973
|
I("div", null, [I("h3", lk, U(W(i)("label.iframe")), 1), I("p", uk, U(W(i)("hint.embedIframe")), 1)]),
|
|
22955
|
-
R(FD, { source:
|
|
22974
|
+
R(FD, { source: Un.value }, {
|
|
22956
22975
|
default: q(() => [R(tt, {
|
|
22957
|
-
code:
|
|
22976
|
+
code: Un.value,
|
|
22958
22977
|
language: "html",
|
|
22959
22978
|
line: "",
|
|
22960
22979
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -22962,15 +22981,15 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22962
22981
|
_: 1
|
|
22963
22982
|
}, 8, ["source"]),
|
|
22964
22983
|
I("div", null, [I("h4", dk, U(W(i)("label.preview")), 1), I("p", fk, U(W(i)("hint.embedPreview")), 1)]),
|
|
22965
|
-
R(FD, { source:
|
|
22984
|
+
R(FD, { source: Bn.value }, {
|
|
22966
22985
|
actions: q(() => [R(l, {
|
|
22967
22986
|
modifiers: "action-quiet-small",
|
|
22968
22987
|
icon: "ri:eye-line",
|
|
22969
22988
|
label: W(i)("action.view"),
|
|
22970
|
-
href:
|
|
22989
|
+
href: Bn.value,
|
|
22971
22990
|
target: "_blank"
|
|
22972
22991
|
}, null, 8, ["label", "href"])]),
|
|
22973
|
-
default: q(() => [I("code", pk, U(
|
|
22992
|
+
default: q(() => [I("code", pk, U(Bn.value), 1)]),
|
|
22974
22993
|
_: 1
|
|
22975
22994
|
}, 8, ["source"])
|
|
22976
22995
|
])]),
|
|
@@ -22982,10 +23001,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22982
23001
|
default: q(() => [
|
|
22983
23002
|
I("p", hk, U(W(i)("hint.externalContextSchema")), 1),
|
|
22984
23003
|
R(bE, {
|
|
22985
|
-
modelValue:
|
|
22986
|
-
"onUpdate:modelValue": r[
|
|
23004
|
+
modelValue: dn.value,
|
|
23005
|
+
"onUpdate:modelValue": r[79] ||= (e) => dn.value = e,
|
|
22987
23006
|
name: "externalContextEnabled",
|
|
22988
|
-
class: di({ "mb-0": !
|
|
23007
|
+
class: di({ "mb-0": !dn.value }),
|
|
22989
23008
|
switch: "",
|
|
22990
23009
|
label: W(i)("label.externalContextSchema"),
|
|
22991
23010
|
"hint-label": W(i)("hint.externalContextSchemaToggle")
|
|
@@ -22995,27 +23014,27 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22995
23014
|
"label",
|
|
22996
23015
|
"hint-label"
|
|
22997
23016
|
]),
|
|
22998
|
-
|
|
23017
|
+
dn.value ? (V(), N(l, {
|
|
22999
23018
|
key: 0,
|
|
23000
23019
|
modifiers: "action-small",
|
|
23001
23020
|
icon: "ri:code-line",
|
|
23002
23021
|
class: "ml-auto",
|
|
23003
23022
|
label: W(i)("action.editSchema"),
|
|
23004
|
-
onClick: r[
|
|
23023
|
+
onClick: r[80] ||= (e) => cn.value = !0
|
|
23005
23024
|
}, null, 8, ["label"])) : P("", !0),
|
|
23006
23025
|
R(le, {
|
|
23007
|
-
modelValue:
|
|
23008
|
-
"onUpdate:modelValue": r[
|
|
23026
|
+
modelValue: cn.value,
|
|
23027
|
+
"onUpdate:modelValue": r[83] ||= (e) => cn.value = e,
|
|
23009
23028
|
title: W(i)("label.externalContextSchema"),
|
|
23010
23029
|
"keep-open": ""
|
|
23011
23030
|
}, {
|
|
23012
23031
|
footer: q(() => [R(l, {
|
|
23013
23032
|
label: W(i)("action.close"),
|
|
23014
|
-
onClick: r[
|
|
23033
|
+
onClick: r[82] ||= (e) => cn.value = !1
|
|
23015
23034
|
}, null, 8, ["label"])]),
|
|
23016
23035
|
default: q(() => [R($s, {
|
|
23017
|
-
modelValue:
|
|
23018
|
-
"onUpdate:modelValue": r[
|
|
23036
|
+
modelValue: Zt.value,
|
|
23037
|
+
"onUpdate:modelValue": r[81] ||= (e) => Zt.value = e,
|
|
23019
23038
|
label: W(i)("label.externalContextSchema"),
|
|
23020
23039
|
placeholder: W(i)("placeholder.insert"),
|
|
23021
23040
|
class: "mb-0"
|
|
@@ -23031,24 +23050,24 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23031
23050
|
}, 8, ["legend"]),
|
|
23032
23051
|
e.features?.hostTools === !0 ? (V(), F(j, { key: 0 }, [
|
|
23033
23052
|
R(zD, {
|
|
23034
|
-
modelValue: Zt.value,
|
|
23035
|
-
"onUpdate:modelValue": r[83] ||= (e) => Zt.value = e,
|
|
23036
|
-
"trusted-origins": Je.value.origins
|
|
23037
|
-
}, null, 8, ["modelValue", "trusted-origins"]),
|
|
23038
|
-
R(WD, {
|
|
23039
23053
|
modelValue: Qt.value,
|
|
23040
23054
|
"onUpdate:modelValue": r[84] ||= (e) => Qt.value = e,
|
|
23041
|
-
"trusted-origins":
|
|
23042
|
-
|
|
23055
|
+
"trusted-origins": Ye.value.origins
|
|
23056
|
+
}, null, 8, ["modelValue", "trusted-origins"]),
|
|
23057
|
+
R(WD, {
|
|
23058
|
+
modelValue: $t.value,
|
|
23059
|
+
"onUpdate:modelValue": r[85] ||= (e) => $t.value = e,
|
|
23060
|
+
"trusted-origins": Ye.value.origins,
|
|
23061
|
+
"automatic-allowed": e.features?.autoConfirmations === !0 && rn.value
|
|
23043
23062
|
}, null, 8, [
|
|
23044
23063
|
"modelValue",
|
|
23045
23064
|
"trusted-origins",
|
|
23046
23065
|
"automatic-allowed"
|
|
23047
23066
|
]),
|
|
23048
|
-
(
|
|
23067
|
+
($t.value?.level ?? W(m).Off) === W(m).Off ? P("", !0) : (V(), N(oO, {
|
|
23049
23068
|
key: 0,
|
|
23050
|
-
modelValue:
|
|
23051
|
-
"onUpdate:modelValue": r[
|
|
23069
|
+
modelValue: en.value,
|
|
23070
|
+
"onUpdate:modelValue": r[86] ||= (e) => en.value = e,
|
|
23052
23071
|
surface: "page",
|
|
23053
23072
|
locales: u.value
|
|
23054
23073
|
}, null, 8, ["modelValue", "locales"]))
|
|
@@ -23059,8 +23078,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23059
23078
|
legend: W(i)("label.confirmations")
|
|
23060
23079
|
}, {
|
|
23061
23080
|
default: q(() => [R(bE, {
|
|
23062
|
-
modelValue:
|
|
23063
|
-
"onUpdate:modelValue": r[
|
|
23081
|
+
modelValue: rn.value,
|
|
23082
|
+
"onUpdate:modelValue": r[87] ||= (e) => rn.value = e,
|
|
23064
23083
|
name: "confirmationsAllowAutomatic",
|
|
23065
23084
|
class: "mb-0",
|
|
23066
23085
|
switch: "",
|
|
@@ -23078,8 +23097,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23078
23097
|
R(Ms, { legend: W(i)("label.rateLimits") }, {
|
|
23079
23098
|
default: q(() => [I("div", gk, [
|
|
23080
23099
|
R(d, {
|
|
23081
|
-
modelValue:
|
|
23082
|
-
"onUpdate:modelValue": r[
|
|
23100
|
+
modelValue: Ge.value,
|
|
23101
|
+
"onUpdate:modelValue": r[88] ||= (e) => Ge.value = e,
|
|
23083
23102
|
class: "mb-0",
|
|
23084
23103
|
name: "minuteRateLimit",
|
|
23085
23104
|
type: "number",
|
|
@@ -23096,8 +23115,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23096
23115
|
"invalid-label"
|
|
23097
23116
|
]),
|
|
23098
23117
|
R(d, {
|
|
23099
|
-
modelValue:
|
|
23100
|
-
"onUpdate:modelValue": r[
|
|
23118
|
+
modelValue: Ke.value,
|
|
23119
|
+
"onUpdate:modelValue": r[89] ||= (e) => Ke.value = e,
|
|
23101
23120
|
class: "mb-0",
|
|
23102
23121
|
name: "hourRateLimit",
|
|
23103
23122
|
type: "number",
|
|
@@ -23114,8 +23133,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23114
23133
|
"invalid-label"
|
|
23115
23134
|
]),
|
|
23116
23135
|
R(d, {
|
|
23117
|
-
modelValue:
|
|
23118
|
-
"onUpdate:modelValue": r[
|
|
23136
|
+
modelValue: qe.value,
|
|
23137
|
+
"onUpdate:modelValue": r[90] ||= (e) => qe.value = e,
|
|
23119
23138
|
class: "mb-0",
|
|
23120
23139
|
name: "dayRateLimit",
|
|
23121
23140
|
type: "number",
|
|
@@ -23132,8 +23151,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23132
23151
|
"invalid-label"
|
|
23133
23152
|
]),
|
|
23134
23153
|
R(d, {
|
|
23135
|
-
modelValue:
|
|
23136
|
-
"onUpdate:modelValue": r[
|
|
23154
|
+
modelValue: Je.value,
|
|
23155
|
+
"onUpdate:modelValue": r[91] ||= (e) => Je.value = e,
|
|
23137
23156
|
class: "mb-0",
|
|
23138
23157
|
name: "monthRateLimit",
|
|
23139
23158
|
type: "number",
|
|
@@ -23153,8 +23172,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23153
23172
|
_: 1
|
|
23154
23173
|
}, 8, ["legend"]),
|
|
23155
23174
|
R(cE, {
|
|
23156
|
-
modelValue:
|
|
23157
|
-
"onUpdate:modelValue": r[
|
|
23175
|
+
modelValue: Ye.value.origins,
|
|
23176
|
+
"onUpdate:modelValue": r[92] ||= (e) => Ye.value.origins = e,
|
|
23158
23177
|
name: "trustedOrigins",
|
|
23159
23178
|
label: W(i)("label.trustedOrigins"),
|
|
23160
23179
|
placeholder: W(i)("placeholder.noTrustedOrigins"),
|
|
@@ -23165,8 +23184,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23165
23184
|
"allow-empty": ""
|
|
23166
23185
|
}, {
|
|
23167
23186
|
default: q(({ index: e }) => [R(d, {
|
|
23168
|
-
modelValue:
|
|
23169
|
-
"onUpdate:modelValue": (t) =>
|
|
23187
|
+
modelValue: Ye.value.origins[e],
|
|
23188
|
+
"onUpdate:modelValue": (t) => Ye.value.origins[e] = t,
|
|
23170
23189
|
name: `trustedOrigins.${e}`,
|
|
23171
23190
|
label: W(i)("label.origin"),
|
|
23172
23191
|
placeholder: W(i)("placeholder.insertOrigin"),
|
|
@@ -23191,10 +23210,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23191
23210
|
"invalid-label"
|
|
23192
23211
|
]),
|
|
23193
23212
|
R(bE, {
|
|
23194
|
-
modelValue:
|
|
23195
|
-
"onUpdate:modelValue": r[
|
|
23213
|
+
modelValue: Xe.value,
|
|
23214
|
+
"onUpdate:modelValue": r[93] ||= (e) => Xe.value = e,
|
|
23196
23215
|
name: "holdExternalImages",
|
|
23197
|
-
class: di({ "mb-0": !
|
|
23216
|
+
class: di({ "mb-0": !Xe.value }),
|
|
23198
23217
|
switch: "",
|
|
23199
23218
|
label: W(i)("label.holdExternalImages"),
|
|
23200
23219
|
"hint-label": W(i)("hint.holdExternalImages")
|
|
@@ -23204,9 +23223,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23204
23223
|
"label",
|
|
23205
23224
|
"hint-label"
|
|
23206
23225
|
]),
|
|
23207
|
-
|
|
23208
|
-
modelValue:
|
|
23209
|
-
"onUpdate:modelValue": r[
|
|
23226
|
+
Xe.value ? (V(), F(j, { key: 0 }, [R(cE, {
|
|
23227
|
+
modelValue: Ze.value,
|
|
23228
|
+
"onUpdate:modelValue": r[94] ||= (e) => Ze.value = e,
|
|
23210
23229
|
name: "imageHosts",
|
|
23211
23230
|
label: W(i)("label.imageHosts"),
|
|
23212
23231
|
placeholder: W(i)("placeholder.noImageHosts"),
|
|
@@ -23217,8 +23236,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23217
23236
|
"allow-empty": ""
|
|
23218
23237
|
}, {
|
|
23219
23238
|
default: q(({ index: e }) => [R(d, {
|
|
23220
|
-
modelValue:
|
|
23221
|
-
"onUpdate:modelValue": (t) =>
|
|
23239
|
+
modelValue: Ze.value[e],
|
|
23240
|
+
"onUpdate:modelValue": (t) => Ze.value[e] = t,
|
|
23222
23241
|
name: `imageHosts.${e}`,
|
|
23223
23242
|
label: W(i)("label.imageHost"),
|
|
23224
23243
|
placeholder: W(i)("placeholder.insertImageHost"),
|
|
@@ -23279,7 +23298,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23279
23298
|
}),
|
|
23280
23299
|
emits: /*@__PURE__*/ ci(["saved"], ["update:modelValue"]),
|
|
23281
23300
|
setup(e, { emit: t }) {
|
|
23282
|
-
let n = e, r = G(e, "modelValue"), i = t, { t: a } = Fi({ useScope: "global" }), o = qe(n.agentId), s = Lo(n.agentId), { openDialogConfirm: c } =
|
|
23301
|
+
let n = e, r = G(e, "modelValue"), i = t, { t: a } = Fi({ useScope: "global" }), o = qe(n.agentId), s = Lo(n.agentId), { openDialogConfirm: c } = wn(), l = H(""), u = H(""), d = H([]), f = H([]), p = H(), m = H(!1), h = H(!1), g = H(!1), _ = H(!1), v = H(!1), y = H(), b = H(), x = M(() => n.project?.role === "owner"), S = M(() => l.value.trim().length > 0 && !h.value && !v.value), C = (e) => `${e.name} (${e.email})`, w = (e) => e instanceof Error && e.message ? e.message : a("chatProjects.error");
|
|
23283
23302
|
async function ee() {
|
|
23284
23303
|
let e = n.project;
|
|
23285
23304
|
if (e) {
|
|
@@ -23468,7 +23487,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23468
23487
|
key: e.userId,
|
|
23469
23488
|
class: "vv-item vv-item--plain"
|
|
23470
23489
|
}, [I("div", Ek, [
|
|
23471
|
-
R(
|
|
23490
|
+
R(Jn, {
|
|
23472
23491
|
class: "shrink-0",
|
|
23473
23492
|
name: e.name,
|
|
23474
23493
|
"img-src": e.image
|
|
@@ -23692,9 +23711,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23692
23711
|
let m = M(() => {
|
|
23693
23712
|
let e = u.value.trim().toLowerCase();
|
|
23694
23713
|
if (!e) return s.value;
|
|
23695
|
-
let t = s.value.filter((t) =>
|
|
23714
|
+
let t = s.value.filter((t) => Xn(t).toLowerCase().includes(e)), n = new Set(t.map(({ id: e }) => e));
|
|
23696
23715
|
return [...t, ...d.value.filter(({ id: e }) => !n.has(e))];
|
|
23697
|
-
}), h = M(() =>
|
|
23716
|
+
}), h = M(() => Zn(m.value).map(({ key: e, items: t }) => ({
|
|
23698
23717
|
key: e,
|
|
23699
23718
|
label: a(`label.${e}`),
|
|
23700
23719
|
items: t
|
|
@@ -23790,7 +23809,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23790
23809
|
class: "pk-chat-search__option",
|
|
23791
23810
|
onMousemove: (t) => b.value = _.value.indexOf(e.id),
|
|
23792
23811
|
onClick: (t) => w(e.id)
|
|
23793
|
-
}, [R(n, { name: "ri:chat-3-line" }), I("span", Qk, U(W(
|
|
23812
|
+
}, [R(n, { name: "ri:chat-3-line" }), I("span", Qk, U(W(Xn)(e)), 1)], 40, Zk))), 128))], 8, Yk))), 128))], 8, Kk))]),
|
|
23794
23813
|
_: 1
|
|
23795
23814
|
}, 8, ["modelValue", "aria-label"]);
|
|
23796
23815
|
};
|
|
@@ -23856,7 +23875,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23856
23875
|
"remove-from-project"
|
|
23857
23876
|
], ["update:editingTitle"]),
|
|
23858
23877
|
setup(e, { emit: t }) {
|
|
23859
|
-
let n = e, r = G(e, "editingTitle"), i = t, { t: a } = Fi({ useScope: "global" }), o = M(() =>
|
|
23878
|
+
let n = e, r = G(e, "editingTitle"), i = t, { t: a } = Fi({ useScope: "global" }), o = M(() => Xn(n.conversation));
|
|
23860
23879
|
return (t, n) => {
|
|
23861
23880
|
let s = Jr, c = et, l = zr, u = Gr, d = Wr, f = Ur;
|
|
23862
23881
|
return V(), F("div", { class: di(["pk-chat-sidebar-item", { "pk-chat-sidebar-item--active": e.active }]) }, [e.editing ? (V(), F(j, { key: 0 }, [R(s, {
|
|
@@ -24038,7 +24057,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24038
24057
|
}, _ = M(() => ({
|
|
24039
24058
|
"--pk-chat-sidebar-width": `${u.value}px`,
|
|
24040
24059
|
...n.accentColor && { "--chat-sidebar-accent": n.accentColor }
|
|
24041
|
-
})), v = qe(n.agentId), { conversations: y, isLoadingConversations: b, hasMoreConversations: x, isLoadingMoreConversations: S, localChatId: C, runningChatIds: w } = Yi(v), { startNewChat: ee, navigate: te, focusInput: ne, renameChatTitle: re, deleteChat: ie, loadMoreConversations: ae } = v, { editingId: oe, editingTitle: se, startEdit: ce, confirmEdit: le, cancelEdit: ue, onRenameKeydown: de, requestDelete: T } =
|
|
24060
|
+
})), v = qe(n.agentId), { conversations: y, isLoadingConversations: b, hasMoreConversations: x, isLoadingMoreConversations: S, localChatId: C, runningChatIds: w } = Yi(v), { startNewChat: ee, navigate: te, focusInput: ne, renameChatTitle: re, deleteChat: ie, loadMoreConversations: ae } = v, { editingId: oe, editingTitle: se, startEdit: ce, confirmEdit: le, cancelEdit: ue, onRenameKeydown: de, requestDelete: T } = Yn({
|
|
24042
24061
|
renameChatTitle: re,
|
|
24043
24062
|
deleteChat: ie
|
|
24044
24063
|
}), fe = H(), pe = Hi(fe);
|
|
@@ -24050,7 +24069,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24050
24069
|
let t = fe.value, n = t?.parentElement;
|
|
24051
24070
|
t && n && t.getBoundingClientRect().top < n.getBoundingClientRect().bottom && ae();
|
|
24052
24071
|
});
|
|
24053
|
-
let me = M(() =>
|
|
24072
|
+
let me = M(() => Zn(y.value).map(({ key: e, items: t }) => ({
|
|
24054
24073
|
key: e,
|
|
24055
24074
|
label: s(`label.${e}`),
|
|
24056
24075
|
items: t
|
|
@@ -24177,7 +24196,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24177
24196
|
onKeydown: Ze
|
|
24178
24197
|
}, [
|
|
24179
24198
|
I("header", lA, [
|
|
24180
|
-
e.organizationLogo || e.organizationName ? (V(), N(
|
|
24199
|
+
e.organizationLogo || e.organizationName ? (V(), N(Jn, {
|
|
24181
24200
|
key: 0,
|
|
24182
24201
|
class: "pk-chat-sidebar__org-logo",
|
|
24183
24202
|
"img-src": e.organizationLogo,
|
|
@@ -24279,7 +24298,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24279
24298
|
author: we(t),
|
|
24280
24299
|
"project-action": "remove",
|
|
24281
24300
|
onSelect: (e) => he(t.id, t),
|
|
24282
|
-
onEditStart: (e) => W(ce)(t, W(
|
|
24301
|
+
onEditStart: (e) => W(ce)(t, W(Xn)(t)),
|
|
24283
24302
|
onEditConfirm: (e) => Fe(W(le)(t.id)),
|
|
24284
24303
|
onEditCancel: W(ue),
|
|
24285
24304
|
onEditKeydown: (e) => W(de)(e, t.id),
|
|
@@ -24342,7 +24361,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24342
24361
|
"files-enabled": e.filesEnabled,
|
|
24343
24362
|
"project-action": Te(t),
|
|
24344
24363
|
onSelect: (e) => he(t.id, t),
|
|
24345
|
-
onEditStart: (e) => W(ce)(t, W(
|
|
24364
|
+
onEditStart: (e) => W(ce)(t, W(Xn)(t)),
|
|
24346
24365
|
onEditConfirm: (e) => W(le)(t.id),
|
|
24347
24366
|
onEditCancel: W(ue),
|
|
24348
24367
|
onEditKeydown: (e) => W(de)(e, t.id),
|
|
@@ -24702,10 +24721,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24702
24721
|
__name: "PkMessageParts",
|
|
24703
24722
|
props: { message: {} },
|
|
24704
24723
|
setup(e) {
|
|
24705
|
-
let t = e, n = (e) => hn(e) || !!
|
|
24724
|
+
let t = e, n = (e) => hn(e) || !!Un(e), r = M(() => t.message.parts?.filter((e) => e.type !== "step-start") || []), i = (e) => {
|
|
24706
24725
|
let n = t.message?.metadata?.partTimings?.[e];
|
|
24707
24726
|
if (n && n > 1e3) return n;
|
|
24708
|
-
}, { formatDeltaToString: a } =
|
|
24727
|
+
}, { formatDeltaToString: a } = rr(), { t: o, te: s } = Fi({ useScope: "global" }), c = M(() => {
|
|
24709
24728
|
let e = t.message?.metadata?.deviceContext;
|
|
24710
24729
|
if (!e) return;
|
|
24711
24730
|
let { screenWidth: n, screenHeight: r, viewportWidth: i, viewportHeight: a, devicePixelRatio: o, hardwareConcurrency: s, deviceMemory: c, language: l, languages: u, pathname: d, connectionType: f, connectionEffectiveType: p, connectionDownlink: m, connectionRtt: h, darkMode: g, reducedMotion: _, saveData: v, ...y } = e, b = [
|
|
@@ -24739,7 +24758,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24739
24758
|
e.message?.metadata?.resolvedProvider ? (V(), F("span", Bj, [R(p, {
|
|
24740
24759
|
name: "ri:cloud-line",
|
|
24741
24760
|
class: "shrink-0"
|
|
24742
|
-
}), I("span", Vj, [L(U(W(
|
|
24761
|
+
}), I("span", Vj, [L(U(W(Vn)(e.message.metadata.resolvedProvider)) + " ", 1), e.message.metadata.resolvedModelId ? (V(), F(j, { key: 0 }, [L(" (" + U(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : P("", !0)])])) : P("", !0),
|
|
24743
24762
|
e.message?.metadata?.totalTokens ? (V(), F("span", Hj, [R(p, {
|
|
24744
24763
|
name: "ri:ai-generate-2-line",
|
|
24745
24764
|
class: "shrink-0"
|
|
@@ -24765,7 +24784,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24765
24784
|
name: "ri:hourglass-line",
|
|
24766
24785
|
class: "shrink-0"
|
|
24767
24786
|
}),
|
|
24768
|
-
R(
|
|
24787
|
+
R(ir, {
|
|
24769
24788
|
date: e.message.metadata?.createdAt,
|
|
24770
24789
|
"end-date": e.message.metadata?.completedAt
|
|
24771
24790
|
}, null, 8, ["date", "end-date"]),
|
|
@@ -24791,7 +24810,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24791
24810
|
title: t.$t("label.platformContext"),
|
|
24792
24811
|
class: "border border-surface-3 rounded"
|
|
24793
24812
|
}, {
|
|
24794
|
-
default: q(() => [I("dl", eM, [(V(!0), F(j, null, bi(e.message.metadata?.platformContext, (e, t) => (V(), F(j, { key: t }, [I("dt", tM, U(W(
|
|
24813
|
+
default: q(() => [I("dl", eM, [(V(!0), F(j, null, bi(e.message.metadata?.platformContext, (e, t) => (V(), F(j, { key: t }, [I("dt", tM, U(W(Bn)(W(Fn)(t))), 1), I("dd", {
|
|
24795
24814
|
class: "truncate font-mono col-span-2",
|
|
24796
24815
|
title: String(e)
|
|
24797
24816
|
}, U(e), 9, nM)], 64))), 128))])]),
|
|
@@ -24803,7 +24822,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24803
24822
|
title: t.$t("label.deviceContext"),
|
|
24804
24823
|
class: "border border-surface-3 rounded"
|
|
24805
24824
|
}, {
|
|
24806
|
-
default: q(() => [I("dl", rM, [(V(!0), F(j, null, bi(c.value, (e, t) => (V(), F(j, { key: t }, [I("dt", iM, U(W(
|
|
24825
|
+
default: q(() => [I("dl", rM, [(V(!0), F(j, null, bi(c.value, (e, t) => (V(), F(j, { key: t }, [I("dt", iM, U(W(Bn)(W(Fn)(t))), 1), I("dd", {
|
|
24807
24826
|
class: "truncate font-mono col-span-2",
|
|
24808
24827
|
title: String(e)
|
|
24809
24828
|
}, U(e), 9, aM)], 64))), 128))])]),
|
|
@@ -24815,7 +24834,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24815
24834
|
title: t.$t("label.externalContext"),
|
|
24816
24835
|
class: "border border-surface-3 rounded"
|
|
24817
24836
|
}, {
|
|
24818
|
-
default: q(() => [I("dl", oM, [(V(!0), F(j, null, bi(e.message.metadata?.externalContext, (e, t) => (V(), F(j, { key: t }, [I("dt", sM, U(W(
|
|
24837
|
+
default: q(() => [I("dl", oM, [(V(!0), F(j, null, bi(e.message.metadata?.externalContext, (e, t) => (V(), F(j, { key: t }, [I("dt", sM, U(W(Bn)(W(Fn)(t))), 1), I("dd", {
|
|
24819
24838
|
class: "truncate font-mono col-span-2",
|
|
24820
24839
|
title: String(e)
|
|
24821
24840
|
}, U(e), 9, cM)], 64))), 128))])]),
|
|
@@ -24827,16 +24846,16 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24827
24846
|
R(hj, { message: e.message }, null, 8, ["message"]),
|
|
24828
24847
|
I("ol", lM, [(V(!0), F(j, null, bi(r.value, (e, c) => (V(), F("li", { key: c }, [
|
|
24829
24848
|
I("span", { class: di(["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) && !W(pn)(e) }]) }, [
|
|
24830
|
-
I("div", uM, [I("span", dM, [I("strong", fM, U(c + 1), 1), I("span", pM, "/" + U(r.value.length), 1)]), (n(e) || W(mn)(e)) && W(
|
|
24849
|
+
I("div", uM, [I("span", dM, [I("strong", fM, U(c + 1), 1), I("span", pM, "/" + U(r.value.length), 1)]), (n(e) || W(mn)(e)) && W(zn)(e.state) ? (V(), N(p, {
|
|
24831
24850
|
key: 0,
|
|
24832
24851
|
name: "loading-loop",
|
|
24833
24852
|
class: "w-12 h-12 ml-4"
|
|
24834
24853
|
})) : (V(), N(p, {
|
|
24835
24854
|
key: 1,
|
|
24836
|
-
name: W(
|
|
24855
|
+
name: W(qn)(e) || "ri:question-line",
|
|
24837
24856
|
class: "w-12 h-12 ml-4"
|
|
24838
24857
|
}, null, 8, ["name"]))]),
|
|
24839
|
-
I("span", mM, U(W(
|
|
24858
|
+
I("span", mM, U(W(Kn)(e, {
|
|
24840
24859
|
t: W(o),
|
|
24841
24860
|
te: W(s)
|
|
24842
24861
|
})), 1),
|
|
@@ -24867,7 +24886,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24867
24886
|
_: 2
|
|
24868
24887
|
}, 1024)], 64)) : P("", !0),
|
|
24869
24888
|
"errorText" in e && e.errorText ? (V(), F(j, { key: 1 }, [I("div", bM, U(t.$t("messagePart.stepError")), 1), I("pre", xM, U(e.errorText), 1)], 64)) : P("", !0),
|
|
24870
|
-
e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? xi(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : xi(t.$slots, W(
|
|
24889
|
+
e.type.includes("tool-subagent") || e.type === "tool-runWorker" ? xi(t.$slots, "subagent", { part: e }, void 0, void 0, 2) : xi(t.$slots, W(Wn)(e.type), { part: e }, void 0, void 0, 3)
|
|
24871
24890
|
])])) : P("", !0),
|
|
24872
24891
|
W(pn)(e) ? (V(), N(g, {
|
|
24873
24892
|
key: 1,
|
|
@@ -24875,7 +24894,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24875
24894
|
"fit-content": "",
|
|
24876
24895
|
class: "border border-surface-3 rounded-b p-xs leading-normal bg-surface text-word-2"
|
|
24877
24896
|
}, {
|
|
24878
|
-
default: q(() => [xi(t.$slots, "text", { part: e }, () => [R(
|
|
24897
|
+
default: q(() => [xi(t.$slots, "text", { part: e }, () => [R(ar, {
|
|
24879
24898
|
markdown: e.text,
|
|
24880
24899
|
"inner-class": "wysiwyg text-14"
|
|
24881
24900
|
}, null, 8, ["markdown"])])]),
|
|
@@ -24960,7 +24979,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
24960
24979
|
class: "flex items-center gap-8 p-8 flex-1 min-w-0 text-left cursor-pointer",
|
|
24961
24980
|
"aria-expanded": t.has(o.document.id),
|
|
24962
24981
|
onClick: (e) => r(o.document.id)
|
|
24963
|
-
}, [R(
|
|
24982
|
+
}, [R(ur, {
|
|
24964
24983
|
type: o.document.type,
|
|
24965
24984
|
name: o.document.name ?? o.document.source.filename ?? o.document.id,
|
|
24966
24985
|
url: o.document.source.url,
|
|
@@ -25001,7 +25020,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
25001
25020
|
}, [I("button", {
|
|
25002
25021
|
class: "flex items-center gap-8 px-8 py-6 w-full text-left hover:bg-surface-1 transition-colors cursor-pointer",
|
|
25003
25022
|
onClick: (t) => i(e.id)
|
|
25004
|
-
}, [R(
|
|
25023
|
+
}, [R(lr, {
|
|
25005
25024
|
content: e.content,
|
|
25006
25025
|
similarity: e.similarity,
|
|
25007
25026
|
"max-similarity": a(c.output.results),
|
|
@@ -25011,7 +25030,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
25011
25030
|
"similarity",
|
|
25012
25031
|
"max-similarity",
|
|
25013
25032
|
"expanded"
|
|
25014
|
-
])], 8, MM), n.has(e.id) ? (V(), F("div", NM, [R(
|
|
25033
|
+
])], 8, MM), n.has(e.id) ? (V(), F("div", NM, [R(Cn, {
|
|
25015
25034
|
markdown: e.content,
|
|
25016
25035
|
class: "wysiwyg text-10"
|
|
25017
25036
|
}, null, 8, ["markdown"])])) : P("", !0)]))), 128))])) : P("", !0)]))), 128))])])) : P("", !0)]),
|
|
@@ -25067,7 +25086,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
25067
25086
|
}), _ = M(() => g.value?.parts.find((e) => e.type === "text")?.text || "");
|
|
25068
25087
|
return (t, r) => {
|
|
25069
25088
|
let o = et, s = Ir, l = Gr;
|
|
25070
|
-
return V(), F("div", LM, [I("div", RM, [I("div", zM, [R(
|
|
25089
|
+
return V(), F("div", LM, [I("div", RM, [I("div", zM, [R(Jn, {
|
|
25071
25090
|
class: "w-24 h-24",
|
|
25072
25091
|
name: e.name
|
|
25073
25092
|
}, null, 8, ["name"]), e.name ? (V(), F("strong", {
|
|
@@ -25130,7 +25149,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
25130
25149
|
modifiers: "action-quiet-small",
|
|
25131
25150
|
onClick: r[1] ||= Pi((e) => i("show-info", g.value), ["stop"])
|
|
25132
25151
|
}, null, 8, ["title"])) : P("", !0)])
|
|
25133
|
-
]), _.value ? (V(), F("div", eN, [R(
|
|
25152
|
+
]), _.value ? (V(), F("div", eN, [R(Cn, {
|
|
25134
25153
|
markdown: _.value,
|
|
25135
25154
|
loading: m.value,
|
|
25136
25155
|
class: "wysiwyg text-14"
|
|
@@ -25148,7 +25167,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
25148
25167
|
},
|
|
25149
25168
|
emits: ["open"],
|
|
25150
25169
|
setup(e, { emit: t }) {
|
|
25151
|
-
let n = e, r = t, i = _r(() => n.message, "message.defaultAgentWelcome"), a =
|
|
25170
|
+
let n = e, r = t, i = _r(() => n.message, "message.defaultAgentWelcome"), a = Mn(M(() => `${n.agentId}-welcome-popup-dismissed`), !1), o = H(!1), s = H(!1), c = H([]), l, u;
|
|
25152
25171
|
function d(e) {
|
|
25153
25172
|
c.value = [], s.value = !1;
|
|
25154
25173
|
let t = e.split(/(\s+)/), n = 0;
|
|
@@ -25645,6 +25664,6 @@ var VN = {
|
|
|
25645
25664
|
};
|
|
25646
25665
|
}
|
|
25647
25666
|
});
|
|
25648
|
-
export { iD as AGENT_STATUS_GLYPHS, aD as AGENT_VISIBILITY_GLYPHS, fD as MODEL_CATALOG_KEY, vk as PkAgentSettingsPanel,
|
|
25667
|
+
export { iD as AGENT_STATUS_GLYPHS, aD as AGENT_VISIBILITY_GLYPHS, fD as MODEL_CATALOG_KEY, vk as PkAgentSettingsPanel, bn as PkAuroraCanvas, Jn as PkAvatar, ta as PkBadge, An as PkChatButton, LA as PkChatSidebar, sA as PkChatSidebarConversationItem, gr as PkChatbot, $e as PkChatbotAuth, mr as PkChatbotEmptyState, Dn as PkChatbotError, sr as PkChatbotFeedbackForm, cr as PkChatbotFilePreview, jn as PkChatbotInput, Qe as PkChatbotMessages, fr as PkChatbotStepPayload, pr as PkChatbotStepToolDetail, or as PkChatbotSteps, xn as PkChatbotViewChat, Qn as PkChatbotViewConversations, hr as PkChatbotViewProfile, bE as PkCheckboxField, lr as PkChunkPreview, tt as PkCode, FD as PkCopyBlock, ur as PkDocumentHeader, ho as PkEditorAgentType, $n as PkEditorCheckboxButtons, ks as PkEditorCode, Do as PkEditorDocumentType, $s as PkEditorJsonSchema, KT as PkEditorMarkdown, qT as PkEditorMedia, Io as PkEditorNotificationType, eE as PkEditorPrompt, He as PkEditorRadioButtons, cE as PkEditorRepeater, Ms as PkFieldset, Mr as PkFilePreviewDialog, Is as PkIconOption, mE as PkInfoPopover, xE as PkInfobox, ID as PkInputColor, kE as PkIntegrationProvider, xD as PkLanguageModel, OD as PkLanguageModelCombobox, kn as PkLazyImg, jE as PkLightbox, FE as PkLoader, LE as PkMedia, IM as PkMessageDetail, SM as PkMessageParts, DD as PkModelOption, KE as PkOfflineScreen, vN as PkPagination, $E as PkPwaNotices, tD as PkQrCode, tN as PkReasoningChat, AD as PkReasoningSettings, ir as PkRelativeTime, zA as PkRetryCountdown, Ks as PkSchemaField, rD as PkSkeleton, Cn as PkStreamingMarkdown, ar as PkStreamingMarkdownAutoscroll, tr as PkSvgViewer, TN as PkTableEmpty, AN as PkTableError, iP as PkTableSortable, dD as PkToolApprovalBadge, jr as PkToolChatFile, Nr as PkToolRequestGeolocation, Ar as PkToolShareDocument, nt as PkToolShowArtifact, wr as PkToolShowCalendarEvent, Tr as PkToolShowComparison, Cr as PkToolShowContactForm, yr as PkToolShowEmail, er as PkToolShowForm, Or as PkToolShowImageGallery, Er as PkToolShowLocation, br as PkToolShowMessage, Sr as PkToolShowProductList, Dr as PkToolShowQrCode, dr as PkToolShowSources, kr as PkToolShowSuggestedReply, xr as PkToolShowWebPages, nr as PkUrl, yn as PkVoiceOrb, gn as PkVoiceSession, jD as PkWebSearchSettings, aN as PkWelcomePopup, sN as PkWorkingBeam, et as VvButtonLocalized, oD as agentStatusGlyph, sD as agentVisibilityGlyph, TE as integrationProviderIcon, vr as isMcpOAuthReport, Rn as localizeSummaryLabels, _n as provideChatFilePreviewDock, Sn as provideChatImagePolicy, pD as provideModelCatalog, nO as selectionActionsSummary, Hn as toolLabel, vn as useChatFilePreview, mD as useModelCatalogEntry };
|
|
25649
25668
|
|
|
25650
25669
|
//# sourceMappingURL=index.js.map
|