@epam/ai-dial-toolset-editor 1.2.7 → 1.2.9
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/index.js +104 -105
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -25,7 +25,7 @@ var se = {
|
|
|
25
25
|
authenticationType: s.None,
|
|
26
26
|
withLogin: l.WithoutLogin,
|
|
27
27
|
isLoggedIn: !1
|
|
28
|
-
}),
|
|
28
|
+
}), ue = (e = []) => ({
|
|
29
29
|
name: H({ existingNames: e }),
|
|
30
30
|
version: B,
|
|
31
31
|
iconUrl: "",
|
|
@@ -36,27 +36,27 @@ var se = {
|
|
|
36
36
|
protocol: R.Http,
|
|
37
37
|
allowedTools: [],
|
|
38
38
|
auth: le()
|
|
39
|
-
}),
|
|
39
|
+
}), U = (e) => {
|
|
40
40
|
if (!/^https?:\/\//.test(e) || e.endsWith(".") || e.endsWith("//")) return !1;
|
|
41
41
|
try {
|
|
42
42
|
return !!new URL(e);
|
|
43
43
|
} catch {
|
|
44
44
|
return !1;
|
|
45
45
|
}
|
|
46
|
-
},
|
|
46
|
+
}, W = (e) => U(e.trim()), G = (e) => e.replace(/^(https?):\/([^/])/, "$1://$2"), K = (e) => {
|
|
47
47
|
let t = e?.trim() ?? "";
|
|
48
|
-
if (!t ||
|
|
48
|
+
if (!t || U(t)) return t;
|
|
49
49
|
let n = [t];
|
|
50
50
|
try {
|
|
51
51
|
let e = decodeURIComponent(t);
|
|
52
52
|
e !== t && n.push(e);
|
|
53
53
|
} catch {}
|
|
54
54
|
for (let e of n) {
|
|
55
|
-
let t =
|
|
56
|
-
if (
|
|
55
|
+
let t = G(e);
|
|
56
|
+
if (U(t)) return t;
|
|
57
57
|
}
|
|
58
58
|
return t;
|
|
59
|
-
},
|
|
59
|
+
}, q = (e) => !e?.trim() || W(e), J = (e, t = !1) => e.isLoggedIn ? !0 : e.authenticationType === s.ApiKey ? e.keyHeader?.trim() ? e.withLogin === l.WithoutLogin || !!(e.keyHeader?.trim() && e.apiKey?.trim()) : !1 : e.authenticationType === s.OAuth && e.withLogin === l.WithConfig ? !!e.clientId?.trim() && (t || !!e.clientSecret?.trim()) && q(e.authorizationEndpoint) && q(e.tokenEndpoint) : !0, de = (e, t = !1) => Object.keys(o(e, ce)).length === 0 && W(e.endpoint) && J(e.auth, t), Y = /* @__PURE__ */ new Set([
|
|
60
60
|
"name",
|
|
61
61
|
"description",
|
|
62
62
|
"iconUrl",
|
|
@@ -72,12 +72,12 @@ var se = {
|
|
|
72
72
|
otherLocales: e.otherLocales
|
|
73
73
|
}), pe = (e) => {
|
|
74
74
|
let t = {}, n = {};
|
|
75
|
-
for (let [r, i] of Object.entries(e)) (
|
|
75
|
+
for (let [r, i] of Object.entries(e)) (Y.has(r) ? t : n)[r] = i;
|
|
76
76
|
return {
|
|
77
77
|
metadata: t,
|
|
78
78
|
setup: n
|
|
79
79
|
};
|
|
80
|
-
},
|
|
80
|
+
}, me = {
|
|
81
81
|
name: {
|
|
82
82
|
label: "Name",
|
|
83
83
|
placeholder: "Enter name"
|
|
@@ -116,64 +116,64 @@ var se = {
|
|
|
116
116
|
saveLabel: "Save"
|
|
117
117
|
},
|
|
118
118
|
ariaLabel: "General"
|
|
119
|
-
},
|
|
119
|
+
}, he = ({ form: e, errors: t, bucket: n, FileManagerModal: i, resolveIconUrl: a, allowedMimeTypes: o, maxFileSizeBytes: s, availableLocaleOptions: c, onChange: l, onNameBlur: d, onVersionBlur: f, renderDescription: p, labels: m }) => {
|
|
120
120
|
let h = x((e) => {
|
|
121
121
|
let [t] = e.files;
|
|
122
122
|
return (t ? u(t, n, { resolvePreviewUrl: a }) : null)?.url;
|
|
123
|
-
}, [n, a])
|
|
123
|
+
}, [n, a]), g = C(() => ({
|
|
124
|
+
bucket: n,
|
|
125
|
+
FileManagerModal: i,
|
|
126
|
+
resolveIconUrl: a,
|
|
127
|
+
resolveAttachedIconUrl: h,
|
|
128
|
+
allowedMimeTypes: o,
|
|
129
|
+
maxFileSizeBytes: s
|
|
130
|
+
}), [
|
|
131
|
+
n,
|
|
132
|
+
i,
|
|
133
|
+
a,
|
|
134
|
+
h,
|
|
135
|
+
o,
|
|
136
|
+
s
|
|
137
|
+
]), _ = C(() => ({
|
|
138
|
+
form: m?.form ?? me,
|
|
139
|
+
avatarPicker: m?.avatarPicker
|
|
140
|
+
}), [m?.form, m?.avatarPicker]);
|
|
124
141
|
return /* @__PURE__ */ D(r, {
|
|
125
142
|
values: e,
|
|
126
143
|
errors: t,
|
|
127
144
|
onChange: l,
|
|
128
145
|
onNameBlur: d,
|
|
129
146
|
onVersionBlur: f,
|
|
130
|
-
avatarPicker:
|
|
131
|
-
bucket: n,
|
|
132
|
-
FileManagerModal: i,
|
|
133
|
-
resolveIconUrl: a,
|
|
134
|
-
resolveAttachedIconUrl: h,
|
|
135
|
-
allowedMimeTypes: o,
|
|
136
|
-
maxFileSizeBytes: s
|
|
137
|
-
}), [
|
|
138
|
-
n,
|
|
139
|
-
i,
|
|
140
|
-
a,
|
|
141
|
-
h,
|
|
142
|
-
o,
|
|
143
|
-
s
|
|
144
|
-
]),
|
|
147
|
+
avatarPicker: g,
|
|
145
148
|
availableLocaleOptions: c,
|
|
146
149
|
renderDescription: p,
|
|
147
|
-
labels:
|
|
148
|
-
form: m?.form ?? X,
|
|
149
|
-
avatarPicker: m?.avatarPicker
|
|
150
|
-
}), [m?.form, m?.avatarPicker])
|
|
150
|
+
labels: _
|
|
151
151
|
});
|
|
152
|
-
},
|
|
152
|
+
}, X = /* @__PURE__ */ function(e) {
|
|
153
153
|
return e.Success = "success", e.Cancelled = "cancelled", e.PopupBlocked = "popup-blocked", e.InvalidConfig = "invalid-config", e.Failed = "failed", e;
|
|
154
|
-
}({}),
|
|
155
|
-
let [v, y] = w(!1), [b, x] = w(!1), S = e.isLoggedIn || n || v, C =
|
|
154
|
+
}({}), Z = (e) => e === s.None ? l.WithoutLogin : l.WithLogin, Q = (e, t) => e === s.None ? t?.typeNone ?? "Open access" : e === s.OAuth ? t?.typeOAuth ?? "OAuth" : t?.typeApiKey ?? "API Key", ge = ({ auth: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, endpoint: a, authActions: o, onOAuthLogin: u, onNotifySuccess: f, onNotifyError: p, onAuthChange: m, onEnsureSaved: g, labels: _ }) => {
|
|
155
|
+
let [v, y] = w(!1), [b, x] = w(!1), S = e.isLoggedIn || n || v, C = W(a) && J(e, i) && !S, ee = (t) => {
|
|
156
156
|
S || t === e.authenticationType || m({
|
|
157
157
|
authenticationType: t,
|
|
158
|
-
withLogin:
|
|
158
|
+
withLogin: Z(t)
|
|
159
159
|
});
|
|
160
160
|
}, T = (e) => {
|
|
161
161
|
m({ withLogin: e });
|
|
162
162
|
}, te = (e) => {
|
|
163
163
|
switch (e.auth != null && m(e.auth), e.status) {
|
|
164
|
-
case
|
|
164
|
+
case X.Success:
|
|
165
165
|
m({ isLoggedIn: !0 }), f(_?.loginSuccessMessage ?? "Successfully logged in.");
|
|
166
166
|
return;
|
|
167
|
-
case
|
|
167
|
+
case X.PopupBlocked:
|
|
168
168
|
p(_?.errorPopupBlocked ?? "The login popup was blocked by your browser. Please allow popups for this site and try again.");
|
|
169
169
|
return;
|
|
170
|
-
case
|
|
170
|
+
case X.InvalidConfig:
|
|
171
171
|
p(_?.errorOAuthConfigMissing ?? "The OAuth provider did not return a valid client configuration. Please check the endpoint or contact your administrator.");
|
|
172
172
|
return;
|
|
173
|
-
case
|
|
173
|
+
case X.Failed:
|
|
174
174
|
p(_?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", e.traceId);
|
|
175
175
|
return;
|
|
176
|
-
case
|
|
176
|
+
case X.Cancelled: return;
|
|
177
177
|
}
|
|
178
178
|
}, ne = async () => {
|
|
179
179
|
if (!C) return;
|
|
@@ -274,7 +274,7 @@ var se = {
|
|
|
274
274
|
"aria-hidden": !0
|
|
275
275
|
}), /* @__PURE__ */ D("span", {
|
|
276
276
|
className: "sr-only desktop:not-sr-only",
|
|
277
|
-
children:
|
|
277
|
+
children: Q(t, _)
|
|
278
278
|
})]
|
|
279
279
|
}),
|
|
280
280
|
disabled: S && e.authenticationType !== t
|
|
@@ -482,7 +482,7 @@ var se = {
|
|
|
482
482
|
label: "SSE"
|
|
483
483
|
}], []);
|
|
484
484
|
return S(() => {
|
|
485
|
-
if (!r || !o || !
|
|
485
|
+
if (!r || !o || !J(e.auth, i)) {
|
|
486
486
|
_(null);
|
|
487
487
|
return;
|
|
488
488
|
}
|
|
@@ -581,11 +581,11 @@ var se = {
|
|
|
581
581
|
"clientSecret",
|
|
582
582
|
"authorizationEndpoint",
|
|
583
583
|
"tokenEndpoint"
|
|
584
|
-
], be = ["endpoint", ...ye],
|
|
584
|
+
], be = ["endpoint", ...ye], xe = new Set(be), Se = (e) => {
|
|
585
585
|
let t = {};
|
|
586
|
-
for (let n of Object.keys(e))
|
|
586
|
+
for (let n of Object.keys(e)) xe.has(n) && (t[n] = !0);
|
|
587
587
|
return t;
|
|
588
|
-
},
|
|
588
|
+
}, $ = ({ initialForm: r, toolsetId: i, onPersist: o, onPostSaveLogin: c, onToolsetsChanged: u, onSaveSuccess: f, onSaveComplete: h, onBack: _, buildMcpUrl: v, listToolNames: b, authActions: T, onOAuthLogin: te, onNotifySuccess: ne, onNotifyError: E, bucket: re, FileManagerModal: O, resolveIconUrl: ie, allowedMimeTypes: ae, maxFileSizeBytes: k, availableLocaleOptions: A, onRefineDescription: j, labels: M }) => {
|
|
589
589
|
let N = !!i, [P, F] = w(""), I = i || P, [L, oe] = w({
|
|
590
590
|
initialForm: r,
|
|
591
591
|
key: 0
|
|
@@ -594,31 +594,31 @@ var se = {
|
|
|
594
594
|
initialForm: r,
|
|
595
595
|
key: L.key + 1
|
|
596
596
|
});
|
|
597
|
-
let { values:
|
|
598
|
-
initialValues:
|
|
597
|
+
let R = C(() => fe(r), [r]), { values: z, setValues: B, markTouched: V, visibleErrorCodes: H, attemptSubmit: le } = a({
|
|
598
|
+
initialValues: R,
|
|
599
599
|
validationOptions: ce,
|
|
600
600
|
reseedKey: L.key
|
|
601
|
-
}), [
|
|
602
|
-
...
|
|
603
|
-
...
|
|
604
|
-
}), [
|
|
601
|
+
}), [ue, U] = w(r), G = C(() => ({
|
|
602
|
+
...ue,
|
|
603
|
+
...z
|
|
604
|
+
}), [ue, z]), [K, q] = w(!1), [J, Y] = w({}), [me, X] = w({}), Z = ee(null);
|
|
605
605
|
S(() => {
|
|
606
606
|
U(r), Z.current = r, Y({}), X({}), F("");
|
|
607
607
|
}, [r]);
|
|
608
608
|
let Q = x((e) => {
|
|
609
609
|
let { metadata: t, setup: r } = pe(e);
|
|
610
|
-
Object.keys(t).length > 0 && (
|
|
610
|
+
Object.keys(t).length > 0 && (B(t), "name" in t && V(n.Name), "version" in t && V(n.Version)), Object.keys(r).length !== 0 && (U((e) => ({
|
|
611
611
|
...e,
|
|
612
612
|
...r
|
|
613
613
|
})), X((e) => ({
|
|
614
614
|
...e,
|
|
615
|
-
...
|
|
615
|
+
...Se(r)
|
|
616
616
|
})), Y((e) => {
|
|
617
617
|
let t = { ...e };
|
|
618
618
|
for (let e of Object.keys(r)) delete t[e];
|
|
619
619
|
return t;
|
|
620
620
|
}));
|
|
621
|
-
}, [
|
|
621
|
+
}, [B, V]), ge = x((e) => {
|
|
622
622
|
U((t) => ({
|
|
623
623
|
...t,
|
|
624
624
|
auth: {
|
|
@@ -627,55 +627,54 @@ var se = {
|
|
|
627
627
|
}
|
|
628
628
|
})), X((t) => ({
|
|
629
629
|
...t,
|
|
630
|
-
...
|
|
630
|
+
...Se(e)
|
|
631
631
|
})), Y((t) => {
|
|
632
632
|
let n = { ...t };
|
|
633
633
|
if ("authenticationType" in e || "withLogin" in e || "isLoggedIn" in e) for (let e of ye) delete n[e];
|
|
634
634
|
else for (let t of Object.keys(e)) delete n[t];
|
|
635
635
|
return n;
|
|
636
636
|
}), "isLoggedIn" in e && u();
|
|
637
|
-
}, [u]),
|
|
638
|
-
if (I && Z.current != null && JSON.stringify(Z.current) === JSON.stringify(
|
|
637
|
+
}, [u]), _e = x(async () => {
|
|
638
|
+
if (I && Z.current != null && JSON.stringify(Z.current) === JSON.stringify(G)) return I;
|
|
639
639
|
q(!0);
|
|
640
640
|
try {
|
|
641
|
-
let e = await o(
|
|
642
|
-
return e ? (I || F(e), Z.current =
|
|
641
|
+
let e = await o(G, I);
|
|
642
|
+
return e ? (I || F(e), Z.current = G, await u(), e) : null;
|
|
643
643
|
} catch {
|
|
644
644
|
return null;
|
|
645
645
|
} finally {
|
|
646
646
|
q(!1);
|
|
647
647
|
}
|
|
648
648
|
}, [
|
|
649
|
-
|
|
649
|
+
G,
|
|
650
650
|
I,
|
|
651
651
|
o,
|
|
652
652
|
u
|
|
653
|
-
]),
|
|
653
|
+
]), xe = x(async () => await _e() ?? !1, [_e]), $ = x((e) => {
|
|
654
654
|
let t = M?.validation, n = {};
|
|
655
|
-
return e.endpoint.trim() ?
|
|
656
|
-
}, [M, N]),
|
|
657
|
-
let e =
|
|
658
|
-
if (!e || Object.keys(t).length > 0)
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
}
|
|
662
|
-
Y({}), q(!0);
|
|
663
|
-
try {
|
|
664
|
-
let e = await o(W, I);
|
|
665
|
-
if (!e) return;
|
|
666
|
-
await u(), f(W);
|
|
655
|
+
return e.endpoint.trim() ? W(e.endpoint) || (n.endpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.endpoint = t?.endpointRequired ?? "Endpoint is required", e.auth.isLoggedIn || (e.auth.authenticationType === s.ApiKey && (e.auth.keyHeader?.trim() || (n.keyHeader = t?.keyHeaderRequired ?? "Key name is required"), e.auth.withLogin === l.WithLogin && !e.auth.apiKey?.trim() && (n.apiKey = t?.apiKeyRequired ?? "API key is required")), e.auth.authenticationType === s.OAuth && e.auth.withLogin === l.WithConfig && (e.auth.clientId?.trim() || (n.clientId = t?.clientIdRequired ?? "Client ID is required"), !N && !e.auth.clientSecret?.trim() && (n.clientSecret = t?.clientSecretRequired ?? "Client secret is required"), e.auth.authorizationEndpoint?.trim() && !W(e.auth.authorizationEndpoint) && (n.authorizationEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL"), e.auth.tokenEndpoint?.trim() && !W(e.auth.tokenEndpoint) && (n.tokenEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL"))), n;
|
|
656
|
+
}, [M, N]), Ce = x(async () => {
|
|
657
|
+
let e = le(), t = $(G);
|
|
658
|
+
if (!e || Object.keys(t).length > 0) Y(t);
|
|
659
|
+
else {
|
|
660
|
+
Y({}), q(!0);
|
|
667
661
|
try {
|
|
668
|
-
await
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
662
|
+
let e = await o(G, I);
|
|
663
|
+
if (!e) return;
|
|
664
|
+
await u(), f(G);
|
|
665
|
+
try {
|
|
666
|
+
await c(e, G.auth), h();
|
|
667
|
+
} catch (e) {
|
|
668
|
+
let { traceId: t } = await d(e);
|
|
669
|
+
E(M?.settings?.auth?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", t);
|
|
670
|
+
}
|
|
671
|
+
} catch {} finally {
|
|
672
|
+
q(!1);
|
|
672
673
|
}
|
|
673
|
-
} catch {} finally {
|
|
674
|
-
q(!1);
|
|
675
674
|
}
|
|
676
675
|
}, [
|
|
677
|
-
|
|
678
|
-
|
|
676
|
+
le,
|
|
677
|
+
G,
|
|
679
678
|
$,
|
|
680
679
|
I,
|
|
681
680
|
o,
|
|
@@ -685,44 +684,44 @@ var se = {
|
|
|
685
684
|
c,
|
|
686
685
|
E,
|
|
687
686
|
M
|
|
688
|
-
]),
|
|
689
|
-
value:
|
|
687
|
+
]), we = y({
|
|
688
|
+
value: z.description,
|
|
690
689
|
onChange: (e) => Q({ description: e }),
|
|
691
690
|
onRefine: j,
|
|
692
691
|
disabled: K,
|
|
693
692
|
resetKey: L.key
|
|
694
|
-
}),
|
|
693
|
+
}), Te = j ? (e, t) => /* @__PURE__ */ D(g, {
|
|
695
694
|
isEnabled: !0,
|
|
696
695
|
fieldId: t,
|
|
697
696
|
label: M?.general?.form?.description.label ?? "Description",
|
|
698
697
|
labels: M?.refinement,
|
|
699
|
-
refinement:
|
|
700
|
-
disabled:
|
|
698
|
+
refinement: we,
|
|
699
|
+
disabled: we.isPending || K,
|
|
701
700
|
children: e
|
|
702
|
-
}) : void 0,
|
|
703
|
-
let t = M?.validation, n = $(
|
|
701
|
+
}) : void 0, Ee = C(() => !de(G, N), [G, N]), De = C(() => {
|
|
702
|
+
let t = M?.validation, n = $(G), r = { ...J };
|
|
704
703
|
for (let e of be) {
|
|
705
|
-
if (!
|
|
704
|
+
if (!me[e]) continue;
|
|
706
705
|
let t = n[e];
|
|
707
706
|
t ? r[e] = t : delete r[e];
|
|
708
707
|
}
|
|
709
|
-
return
|
|
708
|
+
return H.name === e.Required ? r.name = t?.nameRequired ?? "Name is required" : H.name === e.TooLong ? r.name = t?.nameTooLong ?? `Use ${m} characters or fewer.` : H.name === e.ControlCharacters && (r.name = t?.nameControlCharacters ?? "Remove line breaks, tabs and other control characters."), H.description === e.TooLong && (r.description = t?.descriptionTooLong ?? `Use ${p} characters or fewer.`), H.version === e.InvalidFormat && (r.version = t?.versionInvalid ?? "Version must follow semantic versioning (e.g., 1.0.0)"), r;
|
|
710
709
|
}, [
|
|
711
|
-
|
|
710
|
+
me,
|
|
712
711
|
J,
|
|
713
|
-
|
|
712
|
+
G,
|
|
714
713
|
M,
|
|
715
|
-
|
|
714
|
+
H,
|
|
716
715
|
$
|
|
717
|
-
]),
|
|
716
|
+
]), Oe = v && I ? v(I) : void 0;
|
|
718
717
|
return /* @__PURE__ */ D(t, {
|
|
719
718
|
title: N ? M?.layout?.editTitle ?? "Edit toolset" : M?.layout?.createTitle ?? "Create toolset",
|
|
720
719
|
onBack: _,
|
|
721
720
|
onCancel: _,
|
|
722
|
-
onSubmit:
|
|
721
|
+
onSubmit: Ce,
|
|
723
722
|
submitLabel: N ? M?.layout?.saveLabel ?? "Save" : M?.layout?.createLabel ?? "Create",
|
|
724
723
|
isSubmitting: K,
|
|
725
|
-
isSubmitDisabled:
|
|
724
|
+
isSubmitDisabled: Ee || we.isPending,
|
|
726
725
|
metadataSectionClassName: se.metadataSection,
|
|
727
726
|
setupSectionClassName: se.setupSection,
|
|
728
727
|
labels: {
|
|
@@ -732,9 +731,9 @@ var se = {
|
|
|
732
731
|
setupTitle: M?.layout?.setupSectionTitle ?? "Setup",
|
|
733
732
|
cancelLabel: M?.layout?.cancelLabel ?? "Cancel"
|
|
734
733
|
},
|
|
735
|
-
metadata: /* @__PURE__ */ D(
|
|
736
|
-
form:
|
|
737
|
-
errors:
|
|
734
|
+
metadata: /* @__PURE__ */ D(he, {
|
|
735
|
+
form: G,
|
|
736
|
+
errors: De,
|
|
738
737
|
bucket: re,
|
|
739
738
|
FileManagerModal: O,
|
|
740
739
|
resolveIconUrl: ie,
|
|
@@ -742,27 +741,27 @@ var se = {
|
|
|
742
741
|
maxFileSizeBytes: k,
|
|
743
742
|
availableLocaleOptions: A,
|
|
744
743
|
onChange: Q,
|
|
745
|
-
renderDescription:
|
|
744
|
+
renderDescription: Te,
|
|
746
745
|
labels: M?.general
|
|
747
746
|
}),
|
|
748
747
|
setup: /* @__PURE__ */ D(ve, {
|
|
749
|
-
form:
|
|
750
|
-
errors:
|
|
748
|
+
form: G,
|
|
749
|
+
errors: De,
|
|
751
750
|
isSaving: K,
|
|
752
751
|
toolsetId: I,
|
|
753
752
|
isEditMode: N,
|
|
754
|
-
connectUrl:
|
|
753
|
+
connectUrl: Oe,
|
|
755
754
|
listToolNames: b,
|
|
756
755
|
authActions: T,
|
|
757
756
|
onOAuthLogin: te,
|
|
758
757
|
onNotifySuccess: ne,
|
|
759
758
|
onNotifyError: E,
|
|
760
759
|
onChange: Q,
|
|
761
|
-
onAuthChange:
|
|
762
|
-
onEnsureSaved:
|
|
760
|
+
onAuthChange: ge,
|
|
761
|
+
onEnsureSaved: xe,
|
|
763
762
|
labels: M?.settings
|
|
764
763
|
})
|
|
765
764
|
});
|
|
766
765
|
};
|
|
767
766
|
//#endregion
|
|
768
|
-
export { V as AUTH_TYPE_ICONS, z as DEFAULT_TOOLSET_NAME, B as DEFAULT_TOOLSET_VERSION,
|
|
767
|
+
export { V as AUTH_TYPE_ICONS, z as DEFAULT_TOOLSET_NAME, B as DEFAULT_TOOLSET_VERSION, he as GeneralForm, se as TOOLSET_EDITOR_CLASS, $ as ToolsetEditor, X as ToolsetOAuthLoginStatus, R as ToolsetTransportType, ue as getDefaultToolsetForm, H as getStorageSafeUniqueToolsetName, J as isToolsetAuthValid, de as isToolsetFormValid, W as isValidEndpointUrl, K as normalizeReturnedEndpointUrl };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-toolset-editor",
|
|
3
3
|
"description": "Host-agnostic form for authoring and editing a DIAL MCP toolset",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.9",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@tabler/icons-react": "^3.44.0",
|
|
21
|
-
"@epam/ai-dial-builder-form": "1.2.
|
|
21
|
+
"@epam/ai-dial-builder-form": "1.2.9"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@epam/ai-dial-chat-hooks": "1.2.
|
|
25
|
-
"@epam/ai-dial-chat-shared": "1.2.
|
|
24
|
+
"@epam/ai-dial-chat-hooks": "1.2.9",
|
|
25
|
+
"@epam/ai-dial-chat-shared": "1.2.9",
|
|
26
26
|
"@epam/ai-dial-ui-kit": "^0.15.4",
|
|
27
27
|
"react": "^19.2.8"
|
|
28
28
|
},
|