@8wave/ai-elements 0.126.0-beta.30 → 0.126.0-beta.31
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-vue/index.js +78 -62
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/style.css +1 -1
- package/package.json +15 -1
package/dist-vue/index.js
CHANGED
|
@@ -1953,7 +1953,7 @@ var Cs = {
|
|
|
1953
1953
|
}])
|
|
1954
1954
|
}, [R(Ms, {
|
|
1955
1955
|
legend: e.label,
|
|
1956
|
-
class: "relative"
|
|
1956
|
+
class: "relative mb-0"
|
|
1957
1957
|
}, {
|
|
1958
1958
|
default: q(() => [
|
|
1959
1959
|
I("div", qs, [e.allowArrayRoot ? (V(), N(m, {
|
|
@@ -20575,10 +20575,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
20575
20575
|
}, cO = { class: "p-8 flex flex-col" }, lO = { class: "flex flex-col ml-12 gap-2" }, uO = { class: "text-12 text-word-3" }, dO = { class: "mb-md" }, fO = { class: "flex items-center gap-xs mb-2" }, pO = ["for"], mO = { class: "mb-md" }, hO = { class: "flex items-center gap-xs mb-2" }, gO = ["for"], _O = { class: "text-12 text-word-3 mt-xs leading-normal" }, vO = { class: "flex flex-col ml-12 gap-2" }, yO = { class: "text-12 text-word-3" }, bO = { class: "mb-md" }, xO = { class: "flex items-center gap-xs mb-2" }, SO = ["for"], CO = { class: "mb-md" }, wO = { class: "flex items-center gap-xs mb-2" }, TO = ["for"], EO = { class: "flex flex-col ml-12 gap-2" }, DO = { class: "text-12 text-word-3" }, OO = { class: "flex flex-col ml-12 gap-2" }, kO = { class: "text-12 text-word-3" }, AO = { class: "flex flex-col ml-12 gap-2" }, jO = { class: "text-12 text-word-3" }, MO = { class: "flex flex-col ml-12 gap-2" }, NO = { class: "text-12 text-word-3" }, PO = { class: "flex items-end gap-sm mt-md" }, FO = { class: "flex flex-col gap-2 min-w-0" }, IO = { class: "truncate" }, LO = {
|
|
20576
20576
|
key: 0,
|
|
20577
20577
|
class: "text-12 text-word-3 truncate"
|
|
20578
|
-
}, RO = { class: "p-8 flex flex-col" }, zO = { class: "flex flex-col ml-12 gap-2" }, BO = { class: "text-12 text-word-3" }, VO = { class: "flex gap-sm mt-md" }, HO = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, UO = { class: "p-8 flex flex-col" }, WO = ["aria-label", "onClick"], GO = { class: "grid sm:grid-cols-2 gap-md items-start" }, KO = { class: "flex flex-col gap-md" }, qO = { class: "text-12 text-word-3
|
|
20578
|
+
}, RO = { class: "p-8 flex flex-col" }, zO = { class: "flex flex-col ml-12 gap-2" }, BO = { class: "text-12 text-word-3" }, VO = { class: "flex gap-sm mt-md" }, HO = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, UO = { class: "p-8 flex flex-col" }, WO = ["aria-label", "onClick"], GO = { class: "grid sm:grid-cols-2 gap-md items-start" }, KO = { class: "flex flex-col gap-md" }, qO = { class: "text-12 text-word-3" }, JO = { class: "flex items-center gap-4" }, YO = { class: "text-12 text-word-3 mb-xs" }, XO = { class: "flex flex-col nx-md nb-md" }, ZO = { class: "flex flex-col ml-12 gap-2" }, QO = { class: "flex items-center gap-8" }, $O = { class: "font-semibold" }, ek = { class: "text-12 text-word-3" }, tk = ["title"], nk = { class: "p-xs flex flex-col" }, rk = {
|
|
20579
20579
|
key: 0,
|
|
20580
20580
|
class: "flex gap-md items-start"
|
|
20581
|
-
}, ik = { class: "flex flex-col gap-md" }, ak = { class: "font-semibold mb-xs" }, ok = { class: "text-smaller" }, sk = { key: 2 }, ck = { class: "p-8 flex flex-col" }, lk = { class: "font-semibold mb-xs" }, uk = { class: "text-smaller" }, dk = { class: "font-semibold mb-xs" }, fk = { class: "text-smaller" }, pk = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, mk = { class: "flex flex-col gap-md" }, hk = { class: "text-12 text-word-3 mb-xs" }, gk = { class: "grid sm:grid-cols-2 gap-md" }, _k = { class: "text-12 text-word-3 mb-
|
|
20581
|
+
}, ik = { class: "flex flex-col gap-md" }, ak = { class: "font-semibold mb-xs" }, ok = { class: "text-smaller" }, sk = { key: 2 }, ck = { class: "p-8 flex flex-col" }, lk = { class: "font-semibold mb-xs" }, uk = { class: "text-smaller" }, dk = { class: "font-semibold mb-xs" }, fk = { class: "text-smaller" }, pk = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, mk = { class: "flex flex-col gap-md" }, hk = { class: "text-12 text-word-3 mb-xs" }, gk = { class: "grid sm:grid-cols-2 gap-md" }, _k = { class: "text-12 text-word-3 mb-0" }, vk = /* @__PURE__ */ z({
|
|
20582
20582
|
__name: "PkAgentSettingsPanel",
|
|
20583
20583
|
props: /*@__PURE__*/ ci({
|
|
20584
20584
|
organizationSlug: {},
|
|
@@ -21053,7 +21053,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21053
21053
|
set: (e) => {
|
|
21054
21054
|
It.value = e * 1024 * 1024;
|
|
21055
21055
|
}
|
|
21056
|
-
}), yn = M(() => new Set(ro(g.features))), bn = M(() => [
|
|
21056
|
+
}), yn = M(() => new Set(ro(g.features))), bn = M(() => En(T.ShowContactForm) && !yn.value.has(T.ShowContactForm)), xn = M(() => [
|
|
21057
21057
|
{
|
|
21058
21058
|
key: "knowledgeSearch",
|
|
21059
21059
|
icon: "ri:search-line",
|
|
@@ -21129,36 +21129,36 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21129
21129
|
icon: "ri:chat-3-line",
|
|
21130
21130
|
tools: [T.FetchTeamsChannelHistory]
|
|
21131
21131
|
}
|
|
21132
|
-
]),
|
|
21132
|
+
]), Sn = M(() => xn.value.map((e) => ({
|
|
21133
21133
|
...e,
|
|
21134
21134
|
tools: e.tools.filter((e) => !yn.value.has(e))
|
|
21135
|
-
})).filter((e) => e.tools.length > 0)),
|
|
21136
|
-
function
|
|
21135
|
+
})).filter((e) => e.tools.length > 0)), Cn = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !Ze.value.includes(T.SearchInKnowledgeBase) : e === T.ShowWeather ? !Ze.value.includes(T.GetWeather) : e !== T.ShareDocument || !g.playground && !Ze.value.includes(T.SearchInKnowledgeBase), wn = (e) => n(e) || e === T.Spreadsheet || e === T.WordDocument, Tn = M(() => oe.value ? [oe.value] : []);
|
|
21136
|
+
function En(e) {
|
|
21137
21137
|
return e === T.ShareDocument ? Qe.value : !Ze.value.includes(e);
|
|
21138
21138
|
}
|
|
21139
|
-
function
|
|
21139
|
+
function Dn(e) {
|
|
21140
21140
|
return e === T.ShowForm || e === T.UserMemory || e === T.SearchInUserFiles || o(e);
|
|
21141
21141
|
}
|
|
21142
|
-
function
|
|
21142
|
+
function On(e) {
|
|
21143
21143
|
return rt.value.includes(e);
|
|
21144
21144
|
}
|
|
21145
|
-
let
|
|
21145
|
+
let kn = M(() => rt.value.filter((e) => o(e) && En(e)).map((e) => Bn(e, {
|
|
21146
21146
|
t: i,
|
|
21147
21147
|
te: a
|
|
21148
21148
|
})));
|
|
21149
|
-
function
|
|
21149
|
+
function An(e, t) {
|
|
21150
21150
|
rt.value = t ? [...rt.value, e] : rt.value.filter((t) => t !== e);
|
|
21151
21151
|
}
|
|
21152
|
-
function
|
|
21153
|
-
e === T.ShareDocument ? (Qe.value = t, t ||
|
|
21152
|
+
function jn(e, t) {
|
|
21153
|
+
e === T.ShareDocument ? (Qe.value = t, t || An(e, !1)) : t ? Ze.value = Ze.value.filter((t) => t !== e) : (Ze.value = [...Ze.value, e], An(e, !1), e === T.UserMemory && (it.value = !1), e === T.SearchInUserFiles && (at.value = !1), e === T.Spreadsheet && !g.playground && ($e.value = !1), e === T.WordDocument && !g.playground && (nt.value = !1));
|
|
21154
21154
|
}
|
|
21155
|
-
let
|
|
21155
|
+
let Mn = M(() => oe.value?.split("/")[0] ?? ""), Nn = M(() => x.value === te.Chat), In = M(() => {
|
|
21156
21156
|
let e = to(x.value, g.features);
|
|
21157
21157
|
return Object.values(le).filter((t) => e.includes(t) || t === he.value).map((e) => ({
|
|
21158
21158
|
label: i(`agent.visibility.${e}`),
|
|
21159
21159
|
value: e
|
|
21160
21160
|
}));
|
|
21161
|
-
}),
|
|
21161
|
+
}), Ln = M(() => {
|
|
21162
21162
|
let e = [
|
|
21163
21163
|
{
|
|
21164
21164
|
tab: "general",
|
|
@@ -21173,7 +21173,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21173
21173
|
label: i("label.tools")
|
|
21174
21174
|
}
|
|
21175
21175
|
];
|
|
21176
|
-
return
|
|
21176
|
+
return Nn.value && (g.playground || (e.push({
|
|
21177
21177
|
tab: "security",
|
|
21178
21178
|
label: i("label.security"),
|
|
21179
21179
|
class: v.value?.security ? "invalid" : ""
|
|
@@ -21184,7 +21184,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21184
21184
|
tab: "embed",
|
|
21185
21185
|
label: i("label.embed")
|
|
21186
21186
|
})), e;
|
|
21187
|
-
}),
|
|
21187
|
+
}), Rn = M(() => `${window.location.origin}/app/${g.organizationSlug}/${y.value}`), zn = 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>`), Hn = M(() => `<iframe src="${Rn.value}" width="100%" height="600" frameborder="0"
|
|
21188
21188
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
21189
21189
|
return (t, r) => {
|
|
21190
21190
|
let c = Vr, l = et, d = Jr, f = qr, g = Br, v = Ir, y = Pr, C = Gr, te = Yr, ce = Rr, le = Hr;
|
|
@@ -21193,7 +21193,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21193
21193
|
ref: cn,
|
|
21194
21194
|
class: "pk-agent-settings-panel"
|
|
21195
21195
|
}, [R(te, {
|
|
21196
|
-
items:
|
|
21196
|
+
items: Ln.value,
|
|
21197
21197
|
lazy: "once",
|
|
21198
21198
|
"onUpdate:modelValue": ln
|
|
21199
21199
|
}, {
|
|
@@ -21257,8 +21257,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21257
21257
|
"select-hint-label": "",
|
|
21258
21258
|
"deselect-hint-label": "",
|
|
21259
21259
|
"selected-hint-label": "",
|
|
21260
|
-
options:
|
|
21261
|
-
"hint-label":
|
|
21260
|
+
options: In.value,
|
|
21261
|
+
"hint-label": Nn.value ? he.value ? W(i)(`agent.visibilityHint.${he.value}`) : void 0 : W(i)("hint.reasoningVisibility"),
|
|
21262
21262
|
disabled: e.playground
|
|
21263
21263
|
}, {
|
|
21264
21264
|
option: q(({ option: e }) => [R(Is, {
|
|
@@ -21363,7 +21363,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21363
21363
|
"zero-data-retention": k.value,
|
|
21364
21364
|
"disallow-prompt-training": A.value,
|
|
21365
21365
|
"inference-region": Wt.value,
|
|
21366
|
-
"exclude-models":
|
|
21366
|
+
"exclude-models": Tn.value
|
|
21367
21367
|
}, null, 8, [
|
|
21368
21368
|
"modelValue",
|
|
21369
21369
|
"label",
|
|
@@ -21458,7 +21458,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21458
21458
|
R(AD, {
|
|
21459
21459
|
reasoning: Te.value,
|
|
21460
21460
|
"onUpdate:reasoning": r[13] ||= (e) => Te.value = e,
|
|
21461
|
-
"active-provider":
|
|
21461
|
+
"active-provider": Mn.value
|
|
21462
21462
|
}, null, 8, ["reasoning", "active-provider"]),
|
|
21463
21463
|
R(bE, {
|
|
21464
21464
|
modelValue: Jt.value,
|
|
@@ -21733,12 +21733,12 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21733
21733
|
default: q(() => [I("div", MO, [I("strong", null, U(W(i)("label.voiceEnabled")), 1), I("small", NO, U(W(i)("hint.voiceEnabled")), 1)])]),
|
|
21734
21734
|
_: 1
|
|
21735
21735
|
}, 8, ["modelValue"]), pt.value ? (V(), F(j, { key: 0 }, [
|
|
21736
|
-
|
|
21736
|
+
kn.value.length ? (V(), N(xE, {
|
|
21737
21737
|
key: 0,
|
|
21738
21738
|
level: "warning",
|
|
21739
21739
|
class: "mt-md mb-0"
|
|
21740
21740
|
}, {
|
|
21741
|
-
default: q(() => [L(U(W(i)("hint.voiceApprovalRefused", { tools:
|
|
21741
|
+
default: q(() => [L(U(W(i)("hint.voiceApprovalRefused", { tools: kn.value.join(", ") })), 1)]),
|
|
21742
21742
|
_: 1
|
|
21743
21743
|
})) : P("", !0),
|
|
21744
21744
|
I("div", PO, [R(c, {
|
|
@@ -21995,7 +21995,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
21995
21995
|
"label-add",
|
|
21996
21996
|
"label-remove"
|
|
21997
21997
|
])),
|
|
21998
|
-
|
|
21998
|
+
Nn.value ? (V(), N(He, {
|
|
21999
21999
|
key: 1,
|
|
22000
22000
|
modelValue: De.value,
|
|
22001
22001
|
"onUpdate:modelValue": r[42] ||= (e) => De.value = e,
|
|
@@ -22063,14 +22063,14 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22063
22063
|
value: "black"
|
|
22064
22064
|
}
|
|
22065
22065
|
],
|
|
22066
|
-
class: di({ "mb-0": !
|
|
22066
|
+
class: di({ "mb-0": !Nn.value })
|
|
22067
22067
|
}, null, 8, [
|
|
22068
22068
|
"modelValue",
|
|
22069
22069
|
"label",
|
|
22070
22070
|
"options",
|
|
22071
22071
|
"class"
|
|
22072
22072
|
]),
|
|
22073
|
-
|
|
22073
|
+
Nn.value ? (V(), F(j, { key: 0 }, [R(He, {
|
|
22074
22074
|
modelValue: D.value,
|
|
22075
22075
|
"onUpdate:modelValue": r[45] ||= (e) => D.value = e,
|
|
22076
22076
|
name: "glowTones",
|
|
@@ -22124,10 +22124,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22124
22124
|
R(y, {
|
|
22125
22125
|
title: W(i)("label.advancedOptions"),
|
|
22126
22126
|
modifiers: "details",
|
|
22127
|
-
class: "border border-surface-3 rounded-lg mt-md mb-md"
|
|
22127
|
+
class: di(["border border-surface-3 rounded-lg mt-md", Nn.value ? "mb-md" : "mb-0"])
|
|
22128
22128
|
}, {
|
|
22129
22129
|
default: q(() => [I("div", UO, [
|
|
22130
|
-
|
|
22130
|
+
Nn.value ? (V(), N(bE, {
|
|
22131
22131
|
key: 0,
|
|
22132
22132
|
modelValue: Ae.value,
|
|
22133
22133
|
"onUpdate:modelValue": r[48] ||= (e) => Ae.value = e,
|
|
@@ -22141,7 +22141,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22141
22141
|
"label",
|
|
22142
22142
|
"hint-label"
|
|
22143
22143
|
])) : P("", !0),
|
|
22144
|
-
|
|
22144
|
+
Nn.value ? (V(), N(bE, {
|
|
22145
22145
|
key: 1,
|
|
22146
22146
|
modelValue: Kt.value,
|
|
22147
22147
|
"onUpdate:modelValue": r[49] ||= (e) => Kt.value = e,
|
|
@@ -22155,7 +22155,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22155
22155
|
"label",
|
|
22156
22156
|
"hint-label"
|
|
22157
22157
|
])) : P("", !0),
|
|
22158
|
-
!e.playground &&
|
|
22158
|
+
!e.playground && Nn.value ? (V(), N(bE, {
|
|
22159
22159
|
key: 2,
|
|
22160
22160
|
modelValue: je.value,
|
|
22161
22161
|
"onUpdate:modelValue": r[50] ||= (e) => je.value = e,
|
|
@@ -22169,7 +22169,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22169
22169
|
"label",
|
|
22170
22170
|
"hint-label"
|
|
22171
22171
|
])) : P("", !0),
|
|
22172
|
-
!e.playground &&
|
|
22172
|
+
!e.playground && Nn.value && he.value === "public" ? (V(), N(bE, {
|
|
22173
22173
|
key: 3,
|
|
22174
22174
|
modelValue: Me.value,
|
|
22175
22175
|
"onUpdate:modelValue": r[51] ||= (e) => Me.value = e,
|
|
@@ -22183,7 +22183,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22183
22183
|
"label",
|
|
22184
22184
|
"hint-label"
|
|
22185
22185
|
])) : P("", !0),
|
|
22186
|
-
!e.playground &&
|
|
22186
|
+
!e.playground && Nn.value ? (V(), N(He, {
|
|
22187
22187
|
key: 4,
|
|
22188
22188
|
modelValue: Pe.value,
|
|
22189
22189
|
"onUpdate:modelValue": r[52] ||= (e) => Pe.value = e,
|
|
@@ -22215,7 +22215,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22215
22215
|
"hint-label",
|
|
22216
22216
|
"options"
|
|
22217
22217
|
])) : P("", !0),
|
|
22218
|
-
!e.playground &&
|
|
22218
|
+
!e.playground && Nn.value ? (V(), N(He, {
|
|
22219
22219
|
key: 5,
|
|
22220
22220
|
modelValue: Ne.value,
|
|
22221
22221
|
"onUpdate:modelValue": r[53] ||= (e) => Ne.value = e,
|
|
@@ -22245,7 +22245,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22245
22245
|
"label",
|
|
22246
22246
|
"options"
|
|
22247
22247
|
])) : P("", !0),
|
|
22248
|
-
!e.playground &&
|
|
22248
|
+
!e.playground && Nn.value && Pe.value === "floating" ? (V(), N(He, {
|
|
22249
22249
|
key: 6,
|
|
22250
22250
|
modelValue: Ie.value,
|
|
22251
22251
|
"onUpdate:modelValue": r[54] ||= (e) => Ie.value = e,
|
|
@@ -22267,7 +22267,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22267
22267
|
"hint-label",
|
|
22268
22268
|
"options"
|
|
22269
22269
|
])) : P("", !0),
|
|
22270
|
-
!e.playground &&
|
|
22270
|
+
!e.playground && Nn.value ? (V(), N(bE, {
|
|
22271
22271
|
key: 7,
|
|
22272
22272
|
modelValue: ze.value,
|
|
22273
22273
|
"onUpdate:modelValue": r[55] ||= (e) => ze.value = e,
|
|
@@ -22281,7 +22281,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22281
22281
|
"label",
|
|
22282
22282
|
"hint-label"
|
|
22283
22283
|
])) : P("", !0),
|
|
22284
|
-
!e.playground &&
|
|
22284
|
+
!e.playground && Nn.value ? (V(), N(bE, {
|
|
22285
22285
|
key: 8,
|
|
22286
22286
|
modelValue: Fe.value,
|
|
22287
22287
|
"onUpdate:modelValue": r[56] ||= (e) => Fe.value = e,
|
|
@@ -22295,7 +22295,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22295
22295
|
"label",
|
|
22296
22296
|
"hint-label"
|
|
22297
22297
|
])) : P("", !0),
|
|
22298
|
-
!e.playground &&
|
|
22298
|
+
!e.playground && Nn.value && Pe.value === "copilot" ? (V(), N(ks, {
|
|
22299
22299
|
key: 9,
|
|
22300
22300
|
modelValue: Be.value,
|
|
22301
22301
|
"onUpdate:modelValue": r[57] ||= (e) => Be.value = e,
|
|
@@ -22310,7 +22310,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22310
22310
|
"hint-label",
|
|
22311
22311
|
"placeholder"
|
|
22312
22312
|
])) : P("", !0),
|
|
22313
|
-
|
|
22313
|
+
Nn.value ? (V(), N(d, {
|
|
22314
22314
|
key: 10,
|
|
22315
22315
|
modelValue: Ve.value,
|
|
22316
22316
|
"onUpdate:modelValue": r[58] ||= (e) => Ve.value = e,
|
|
@@ -22343,8 +22343,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22343
22343
|
]))
|
|
22344
22344
|
])]),
|
|
22345
22345
|
_: 1
|
|
22346
|
-
}, 8, ["title"]),
|
|
22347
|
-
|
|
22346
|
+
}, 8, ["title", "class"]),
|
|
22347
|
+
Nn.value ? (V(), N(te, {
|
|
22348
22348
|
key: 2,
|
|
22349
22349
|
items: u.value.map((e) => ({
|
|
22350
22350
|
tab: e,
|
|
@@ -22436,6 +22436,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22436
22436
|
lang: e,
|
|
22437
22437
|
label: W(i)("label.footer"),
|
|
22438
22438
|
placeholder: W(i)("placeholder.insert"),
|
|
22439
|
+
class: di({ "mb-0": !bn.value }),
|
|
22439
22440
|
"onUpdate:modelValue": (t) => ie.value = {
|
|
22440
22441
|
...ie.value,
|
|
22441
22442
|
[e]: t ?? ""
|
|
@@ -22446,9 +22447,10 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22446
22447
|
"lang",
|
|
22447
22448
|
"label",
|
|
22448
22449
|
"placeholder",
|
|
22450
|
+
"class",
|
|
22449
22451
|
"onUpdate:modelValue"
|
|
22450
22452
|
]),
|
|
22451
|
-
|
|
22453
|
+
bn.value ? (V(), N(eE, {
|
|
22452
22454
|
key: 0,
|
|
22453
22455
|
"model-value": Vt.value?.[e] ?? "",
|
|
22454
22456
|
name: `privacyPolicyNotice.${e}`,
|
|
@@ -22483,12 +22485,14 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22483
22485
|
"onUpdate:modelValue": r[60] ||= (e) => dt.value = e,
|
|
22484
22486
|
disabled: e.playground,
|
|
22485
22487
|
name: "fileUploadEnabled",
|
|
22488
|
+
class: di({ "mb-0": !dt.value }),
|
|
22486
22489
|
switch: "",
|
|
22487
22490
|
label: W(i)("label.fileUploadEnabled"),
|
|
22488
22491
|
"hint-label": W(i)("hint.fileUploadEnabled")
|
|
22489
22492
|
}, null, 8, [
|
|
22490
22493
|
"modelValue",
|
|
22491
22494
|
"disabled",
|
|
22495
|
+
"class",
|
|
22492
22496
|
"label",
|
|
22493
22497
|
"hint-label"
|
|
22494
22498
|
]), dt.value ? (V(), F(j, { key: 0 }, [
|
|
@@ -22572,7 +22576,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22572
22576
|
min: 1,
|
|
22573
22577
|
max: 10,
|
|
22574
22578
|
label: W(i)("label.fileUploadMaxFilesPerMessage"),
|
|
22575
|
-
placeholder: W(i)("placeholder.insert")
|
|
22579
|
+
placeholder: W(i)("placeholder.insert"),
|
|
22580
|
+
class: "mb-0"
|
|
22576
22581
|
}, null, 8, [
|
|
22577
22582
|
"modelValue",
|
|
22578
22583
|
"disabled",
|
|
@@ -22587,7 +22592,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22587
22592
|
min: 1,
|
|
22588
22593
|
max: 50,
|
|
22589
22594
|
label: W(i)("label.fileUploadMaxFilesPerChat"),
|
|
22590
|
-
placeholder: W(i)("placeholder.insert")
|
|
22595
|
+
placeholder: W(i)("placeholder.insert"),
|
|
22596
|
+
class: "mb-0"
|
|
22591
22597
|
}, null, 8, [
|
|
22592
22598
|
"modelValue",
|
|
22593
22599
|
"disabled",
|
|
@@ -22604,7 +22610,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22604
22610
|
default: q(() => [R(jD, {
|
|
22605
22611
|
"web-search": Ee.value,
|
|
22606
22612
|
"onUpdate:webSearch": r[65] ||= (e) => Ee.value = e,
|
|
22607
|
-
"active-provider":
|
|
22613
|
+
"active-provider": Mn.value,
|
|
22608
22614
|
"fallback-models": Ht.value
|
|
22609
22615
|
}, null, 8, [
|
|
22610
22616
|
"web-search",
|
|
@@ -22641,7 +22647,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22641
22647
|
})]),
|
|
22642
22648
|
_: 1
|
|
22643
22649
|
}, 8, ["legend"])) : P("", !0),
|
|
22644
|
-
I("div", KO, [I("p", qO, U(W(i)("hint.approvalChannels")), 1), (V(!0), F(j, null, bi(
|
|
22650
|
+
I("div", KO, [I("p", qO, U(W(i)("hint.approvalChannels")), 1), (V(!0), F(j, null, bi(Sn.value, (t) => (V(), F(j, { key: t.key }, [Nn.value || !t.tools.every((e) => wn(e)) ? (V(), N(Ms, {
|
|
22645
22651
|
key: 0,
|
|
22646
22652
|
class: "mb-0"
|
|
22647
22653
|
}, {
|
|
@@ -22649,15 +22655,15 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22649
22655
|
name: t.icon,
|
|
22650
22656
|
class: "text-16"
|
|
22651
22657
|
}, null, 8, ["name"]), L(" " + U(W(i)(`toolGroup.${t.key}`)), 1)])]),
|
|
22652
|
-
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 }, [!
|
|
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 }, [!wn(t) || Nn.value ? (V(), F(j, { key: 0 }, [R(g, {
|
|
22653
22659
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
22654
|
-
"model-value":
|
|
22660
|
+
"model-value": En(t),
|
|
22655
22661
|
name: `tool.${t}`,
|
|
22656
22662
|
value: !0,
|
|
22657
22663
|
"unchecked-value": !1,
|
|
22658
|
-
disabled: !
|
|
22664
|
+
disabled: !Cn(t),
|
|
22659
22665
|
switch: "",
|
|
22660
|
-
"onUpdate:modelValue": (e) =>
|
|
22666
|
+
"onUpdate:modelValue": (e) => jn(t, e)
|
|
22661
22667
|
}, {
|
|
22662
22668
|
default: q(() => [I("div", ZO, [
|
|
22663
22669
|
I("div", QO, [
|
|
@@ -22673,7 +22679,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22673
22679
|
default: q(() => [L(U(W(i)("label.deprecated")), 1)]),
|
|
22674
22680
|
_: 1
|
|
22675
22681
|
})) : P("", !0),
|
|
22676
|
-
|
|
22682
|
+
On(t) ? (V(), N(dD, { key: 2 })) : P("", !0)
|
|
22677
22683
|
]),
|
|
22678
22684
|
I("small", ek, U(W(i)(`hint.tool.${t}`)), 1),
|
|
22679
22685
|
W(n)(t) && W(we)(t) ? (V(), F("div", {
|
|
@@ -22706,7 +22712,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22706
22712
|
"name",
|
|
22707
22713
|
"disabled",
|
|
22708
22714
|
"onUpdate:modelValue"
|
|
22709
|
-
]),
|
|
22715
|
+
]), Dn(t) && En(t) ? (V(), N(y, {
|
|
22710
22716
|
key: 0,
|
|
22711
22717
|
title: W(i)("label.advancedOptions"),
|
|
22712
22718
|
modifiers: "details",
|
|
@@ -22806,13 +22812,13 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22806
22812
|
])) : P("", !0),
|
|
22807
22813
|
W(o)(t) ? (V(), N(bE, {
|
|
22808
22814
|
key: 5,
|
|
22809
|
-
"model-value":
|
|
22815
|
+
"model-value": On(t),
|
|
22810
22816
|
name: `tool.${t}.approval`,
|
|
22811
22817
|
label: W(i)("label.toolRequiresApproval"),
|
|
22812
22818
|
"hint-label": W(i)("hint.toolRequiresApproval"),
|
|
22813
22819
|
disabled: e.playground,
|
|
22814
22820
|
class: "mb-0",
|
|
22815
|
-
"onUpdate:modelValue": (e) =>
|
|
22821
|
+
"onUpdate:modelValue": (e) => An(t, e)
|
|
22816
22822
|
}, null, 8, [
|
|
22817
22823
|
"model-value",
|
|
22818
22824
|
"name",
|
|
@@ -22863,9 +22869,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22863
22869
|
_: 1
|
|
22864
22870
|
})),
|
|
22865
22871
|
I("div", null, [I("h3", ak, U(W(i)("label.chatWidget")), 1), I("p", ok, U(W(i)("hint.embedCode")), 1)]),
|
|
22866
|
-
R(FD, { source:
|
|
22872
|
+
R(FD, { source: Vn.value }, {
|
|
22867
22873
|
default: q(() => [R(tt, {
|
|
22868
|
-
code:
|
|
22874
|
+
code: Vn.value,
|
|
22869
22875
|
language: "html",
|
|
22870
22876
|
line: "",
|
|
22871
22877
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -22946,9 +22952,9 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22946
22952
|
_: 1
|
|
22947
22953
|
}, 8, ["title"])])),
|
|
22948
22954
|
I("div", null, [I("h3", lk, U(W(i)("label.iframe")), 1), I("p", uk, U(W(i)("hint.embedIframe")), 1)]),
|
|
22949
|
-
R(FD, { source:
|
|
22955
|
+
R(FD, { source: Hn.value }, {
|
|
22950
22956
|
default: q(() => [R(tt, {
|
|
22951
|
-
code:
|
|
22957
|
+
code: Hn.value,
|
|
22952
22958
|
language: "html",
|
|
22953
22959
|
line: "",
|
|
22954
22960
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -22956,15 +22962,15 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22956
22962
|
_: 1
|
|
22957
22963
|
}, 8, ["source"]),
|
|
22958
22964
|
I("div", null, [I("h4", dk, U(W(i)("label.preview")), 1), I("p", fk, U(W(i)("hint.embedPreview")), 1)]),
|
|
22959
|
-
R(FD, { source:
|
|
22965
|
+
R(FD, { source: zn.value }, {
|
|
22960
22966
|
actions: q(() => [R(l, {
|
|
22961
22967
|
modifiers: "action-quiet-small",
|
|
22962
22968
|
icon: "ri:eye-line",
|
|
22963
22969
|
label: W(i)("action.view"),
|
|
22964
|
-
href:
|
|
22970
|
+
href: zn.value,
|
|
22965
22971
|
target: "_blank"
|
|
22966
22972
|
}, null, 8, ["label", "href"])]),
|
|
22967
|
-
default: q(() => [I("code", pk, U(
|
|
22973
|
+
default: q(() => [I("code", pk, U(zn.value), 1)]),
|
|
22968
22974
|
_: 1
|
|
22969
22975
|
}, 8, ["source"])
|
|
22970
22976
|
])]),
|
|
@@ -22979,11 +22985,13 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
22979
22985
|
modelValue: un.value,
|
|
22980
22986
|
"onUpdate:modelValue": r[78] ||= (e) => un.value = e,
|
|
22981
22987
|
name: "externalContextEnabled",
|
|
22988
|
+
class: di({ "mb-0": !un.value }),
|
|
22982
22989
|
switch: "",
|
|
22983
22990
|
label: W(i)("label.externalContextSchema"),
|
|
22984
22991
|
"hint-label": W(i)("hint.externalContextSchemaToggle")
|
|
22985
22992
|
}, null, 8, [
|
|
22986
22993
|
"modelValue",
|
|
22994
|
+
"class",
|
|
22987
22995
|
"label",
|
|
22988
22996
|
"hint-label"
|
|
22989
22997
|
]),
|
|
@@ -23009,7 +23017,8 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23009
23017
|
modelValue: Xt.value,
|
|
23010
23018
|
"onUpdate:modelValue": r[80] ||= (e) => Xt.value = e,
|
|
23011
23019
|
label: W(i)("label.externalContextSchema"),
|
|
23012
|
-
placeholder: W(i)("placeholder.insert")
|
|
23020
|
+
placeholder: W(i)("placeholder.insert"),
|
|
23021
|
+
class: "mb-0"
|
|
23013
23022
|
}, null, 8, [
|
|
23014
23023
|
"modelValue",
|
|
23015
23024
|
"label",
|
|
@@ -23046,6 +23055,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23046
23055
|
], 64)) : P("", !0),
|
|
23047
23056
|
e.features?.autoConfirmations === !0 ? (V(), N(Ms, {
|
|
23048
23057
|
key: 1,
|
|
23058
|
+
class: "mb-0",
|
|
23049
23059
|
legend: W(i)("label.confirmations")
|
|
23050
23060
|
}, {
|
|
23051
23061
|
default: q(() => [R(bE, {
|
|
@@ -23070,6 +23080,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23070
23080
|
R(d, {
|
|
23071
23081
|
modelValue: We.value,
|
|
23072
23082
|
"onUpdate:modelValue": r[87] ||= (e) => We.value = e,
|
|
23083
|
+
class: "mb-0",
|
|
23073
23084
|
name: "minuteRateLimit",
|
|
23074
23085
|
type: "number",
|
|
23075
23086
|
label: W(i)("label.minuteRateLimit"),
|
|
@@ -23087,6 +23098,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23087
23098
|
R(d, {
|
|
23088
23099
|
modelValue: Ge.value,
|
|
23089
23100
|
"onUpdate:modelValue": r[88] ||= (e) => Ge.value = e,
|
|
23101
|
+
class: "mb-0",
|
|
23090
23102
|
name: "hourRateLimit",
|
|
23091
23103
|
type: "number",
|
|
23092
23104
|
label: W(i)("label.hourRateLimit"),
|
|
@@ -23104,6 +23116,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23104
23116
|
R(d, {
|
|
23105
23117
|
modelValue: Ke.value,
|
|
23106
23118
|
"onUpdate:modelValue": r[89] ||= (e) => Ke.value = e,
|
|
23119
|
+
class: "mb-0",
|
|
23107
23120
|
name: "dayRateLimit",
|
|
23108
23121
|
type: "number",
|
|
23109
23122
|
label: W(i)("label.dayRateLimit"),
|
|
@@ -23121,6 +23134,7 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23121
23134
|
R(d, {
|
|
23122
23135
|
modelValue: qe.value,
|
|
23123
23136
|
"onUpdate:modelValue": r[90] ||= (e) => qe.value = e,
|
|
23137
|
+
class: "mb-0",
|
|
23124
23138
|
name: "monthRateLimit",
|
|
23125
23139
|
type: "number",
|
|
23126
23140
|
label: W(i)("label.monthRateLimit"),
|
|
@@ -23180,11 +23194,13 @@ var rO = { class: "text-12 text-word-3 mb-xs" }, iO = { class: "pk-agent-selecti
|
|
|
23180
23194
|
modelValue: Ye.value,
|
|
23181
23195
|
"onUpdate:modelValue": r[92] ||= (e) => Ye.value = e,
|
|
23182
23196
|
name: "holdExternalImages",
|
|
23197
|
+
class: di({ "mb-0": !Ye.value }),
|
|
23183
23198
|
switch: "",
|
|
23184
23199
|
label: W(i)("label.holdExternalImages"),
|
|
23185
23200
|
"hint-label": W(i)("hint.holdExternalImages")
|
|
23186
23201
|
}, null, 8, [
|
|
23187
23202
|
"modelValue",
|
|
23203
|
+
"class",
|
|
23188
23204
|
"label",
|
|
23189
23205
|
"hint-label"
|
|
23190
23206
|
]),
|