@epam/ai-dial-toolset-editor 1.3.0-dev.183 → 1.3.0-dev.187

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.
@@ -1 +1 @@
1
- {"version":3,"file":"AuthSection.d.ts","sourceRoot":"","sources":["../../../src/components/AuthSection/AuthSection.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AA0BzC,uIAAuI;AACvI,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAob5C,CAAC"}
1
+ {"version":3,"file":"AuthSection.d.ts","sourceRoot":"","sources":["../../../src/components/AuthSection/AuthSection.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AA+BzC,uIAAuI;AACvI,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAmd5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ToolsetEditor.d.ts","sourceRoot":"","sources":["../../../src/components/ToolsetEditor/ToolsetEditor.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AA4C5E,uKAAuK;AACvK,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAkdhD,CAAC"}
1
+ {"version":3,"file":"ToolsetEditor.d.ts","sourceRoot":"","sources":["../../../src/components/ToolsetEditor/ToolsetEditor.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAI3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AA4C5E,uKAAuK;AACvK,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAodhD,CAAC"}
package/index.css CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.block{display:block}.flex{display:flex}.inline{display:inline}.max-w-\[1060px\]{max-width:1060px}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-tertiary{border-color:var(--stroke-tertiary,#e0e6f0)}.px-2{padding-inline:.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-start{text-align:start}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#57647a)}@media (min-width:1280px){.desktop\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.static{position:static}.block{display:block}.flex{display:flex}.inline{display:inline}.max-w-\[1060px\]{max-width:1060px}.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-tertiary{border-color:var(--stroke-tertiary,#e0e6f0)}.px-2{padding-inline:.5rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-start{text-align:start}.text-primary{color:var(--text-primary,#161b2d)}.text-secondary{color:var(--text-secondary,#57647a)}@media (min-width:1280px){.desktop\:not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
package/index.js CHANGED
@@ -1,77 +1,77 @@
1
1
  import { DEFAULT_DEPLOYMENT_VERSION as e, DeploymentCreationFieldErrorCode as t, EntityEditor as n, MetadataField as r, MetadataForm as i, SEMVER_VERSION_PATTERN as a, useMetadataForm as o, validateDeploymentCreationFields as s } from "@epam/ai-dial-builder-form";
2
2
  import { ToolsetAuthTypes as c, ToolsetCredentialsLevel as l, WithLogin as u, dialFileToAttachment as d, getApiErrorDetails as f } from "@epam/ai-dial-chat-hooks";
3
- import { CopyButton as p, ENTITY_DESCRIPTION_MAX_LENGTH as m, ENTITY_NAME_MAX_LENGTH as h, TAG_INPUT_TAG_CLASS_NAME as g, TextRefinementField as _, mergeClasses as v, useCodeCopy as y, useTextRefinement as b } from "@epam/ai-dial-chat-shared";
4
- import { memo as x, useCallback as S, useEffect as C, useMemo as w, useRef as T, useState as E } from "react";
5
- import { IconBrandOauth as ee, IconKey as te, IconLockOff as ne, IconLogin as D, IconLogout as re } from "@tabler/icons-react";
6
- import { jsx as O, jsxs as k } from "react/jsx-runtime";
7
- import { ConfirmationPopup as ie, ConfirmationPopupVariant as ae, DIAL_ICON_SIZE as A, DIAL_KIT_ICON_STROKE as j, Input as M, NeutralButton as N, PasswordInput as P, Radio as F, RadioGroup as I, SegmentedControl as L, Select as R, TagInput as oe } from "@epam/ai-dial-ui-kit";
3
+ import { CopyButton as p, ENTITY_DESCRIPTION_MAX_LENGTH as m, ENTITY_NAME_MAX_LENGTH as h, TAG_INPUT_TAG_CLASS_NAME as g, TextRefinementField as _, mergeClasses as v, useCodeCopy as y, useTextRefinement as ee } from "@epam/ai-dial-chat-shared";
4
+ import { memo as b, useCallback as x, useEffect as S, useMemo as C, useRef as te, useState as w } from "react";
5
+ import { IconBrandOauth as T, IconKey as ne, IconLockOff as re, IconLogin as E, IconLogout as ie } from "@tabler/icons-react";
6
+ import { jsx as D, jsxs as O } from "react/jsx-runtime";
7
+ import { ConfirmationPopup as ae, ConfirmationPopupVariant as oe, DIAL_ICON_SIZE as k, DIAL_KIT_ICON_STROKE as A, Input as j, NeutralButton as M, PasswordInput as N, Radio as P, RadioGroup as F, SegmentedControl as I, Select as L, TagInput as se } from "@epam/ai-dial-ui-kit";
8
8
  //#region src/constants/public-class-names.ts
9
- var se = {
9
+ var ce = {
10
10
  metadataSection: "dial-toolset-editor-metadata-section",
11
11
  setupSection: "dial-toolset-editor-setup-section"
12
- }, z = /* @__PURE__ */ function(e) {
12
+ }, R = /* @__PURE__ */ function(e) {
13
13
  return e.Http = "HTTP", e.Sse = "SSE", e;
14
- }({}), B = e, ce = { validateVersionPattern: a }, le = {
15
- [c.OAuth]: ee,
16
- [c.ApiKey]: te,
17
- [c.None]: ne
18
- }, V = () => ({
14
+ }({}), z = e, le = { validateVersionPattern: a }, ue = {
15
+ [c.OAuth]: T,
16
+ [c.ApiKey]: ne,
17
+ [c.None]: re
18
+ }, B = () => ({
19
19
  authenticationType: c.None,
20
20
  withLogin: u.WithoutLogin,
21
21
  isLoggedIn: !1
22
- }), ue = () => ({
22
+ }), de = () => ({
23
23
  name: "",
24
- version: B,
24
+ version: z,
25
25
  iconUrl: "",
26
26
  description: "",
27
27
  topics: [],
28
28
  otherLocales: [],
29
29
  endpoint: "",
30
- protocol: z.Http,
30
+ protocol: R.Http,
31
31
  allowedTools: [],
32
- auth: V()
33
- }), H = (e) => {
32
+ auth: B()
33
+ }), V = (e) => {
34
34
  if (!/^https?:\/\//.test(e) || e.endsWith(".") || e.endsWith("//")) return !1;
35
35
  try {
36
36
  return !!new URL(e);
37
37
  } catch {
38
38
  return !1;
39
39
  }
40
- }, U = (e) => H(e.trim()), W = (e) => e.replace(/^(https?):\/([^/])/, "$1://$2"), de = (e) => {
40
+ }, H = (e) => V(e.trim()), U = (e) => e.replace(/^(https?):\/([^/])/, "$1://$2"), fe = (e) => {
41
41
  let t = e?.trim() ?? "";
42
- if (!t || H(t)) return t;
42
+ if (!t || V(t)) return t;
43
43
  let n = [t];
44
44
  try {
45
45
  let e = decodeURIComponent(t);
46
46
  e !== t && n.push(e);
47
47
  } catch {}
48
48
  for (let e of n) {
49
- let t = W(e);
50
- if (H(t)) return t;
49
+ let t = U(e);
50
+ if (V(t)) return t;
51
51
  }
52
52
  return t;
53
- }, G = (e) => !e?.trim() || U(e), K = (e, t = !1) => e.isLoggedIn ? !0 : e.authenticationType === c.ApiKey ? e.keyHeader?.trim() ? e.withLogin === u.WithoutLogin || !!(e.keyHeader?.trim() && e.apiKey?.trim()) : !1 : e.authenticationType === c.OAuth && e.withLogin === u.WithConfig ? !!e.clientId?.trim() && (t || !!e.clientSecret?.trim()) && G(e.authorizationEndpoint) && G(e.tokenEndpoint) : !0, fe = (e, t = !1) => Object.keys(s(e, ce)).length === 0 && U(e.endpoint) && K(e.auth, t), q = /* @__PURE__ */ new Set([
53
+ }, W = (e, t = !1) => e.isLoggedIn ? !0 : e.authenticationType === c.ApiKey ? e.keyHeader?.trim() ? e.withLogin === u.WithoutLogin || !!(e.keyHeader?.trim() && e.apiKey?.trim()) : !1 : e.authenticationType === c.OAuth && e.withLogin === u.WithConfig ? !!e.clientId?.trim() && (t || !!e.clientSecret?.trim()) && H(e.authorizationEndpoint ?? "") && H(e.tokenEndpoint ?? "") : !0, pe = (e, t = !1) => Object.keys(s(e, le)).length === 0 && H(e.endpoint) && W(e.auth, t), G = /* @__PURE__ */ new Set([
54
54
  "name",
55
55
  "description",
56
56
  "iconUrl",
57
57
  "version",
58
58
  "topics",
59
59
  "otherLocales"
60
- ]), pe = (e) => ({
60
+ ]), me = (e) => ({
61
61
  name: e.name,
62
62
  description: e.description,
63
63
  iconUrl: e.iconUrl,
64
64
  version: e.version,
65
65
  topics: e.topics,
66
66
  otherLocales: e.otherLocales
67
- }), me = (e) => {
67
+ }), he = (e) => {
68
68
  let t = {}, n = {};
69
- for (let [r, i] of Object.entries(e)) (q.has(r) ? t : n)[r] = i;
69
+ for (let [r, i] of Object.entries(e)) (G.has(r) ? t : n)[r] = i;
70
70
  return {
71
71
  metadata: t,
72
72
  setup: n
73
73
  };
74
- }, he = {
74
+ }, K = {
75
75
  name: {
76
76
  label: "Name",
77
77
  placeholder: "Enter name"
@@ -111,10 +111,10 @@ var se = {
111
111
  },
112
112
  ariaLabel: "General"
113
113
  }, ge = ({ form: e, errors: t, bucket: n, FileManagerModal: r, resolveIconUrl: a, allowedMimeTypes: o, maxFileSizeBytes: s, availableLocaleOptions: c, onChange: l, onNameBlur: u, onVersionBlur: f, renderDescription: p, labels: m }) => {
114
- let h = S((e) => {
114
+ let h = x((e) => {
115
115
  let [t] = e.files;
116
116
  return (t ? d(t, n, { resolvePreviewUrl: a }) : null)?.url;
117
- }, [n, a]), g = w(() => ({
117
+ }, [n, a]), g = C(() => ({
118
118
  bucket: n,
119
119
  FileManagerModal: r,
120
120
  resolveIconUrl: a,
@@ -128,11 +128,11 @@ var se = {
128
128
  h,
129
129
  o,
130
130
  s
131
- ]), _ = w(() => ({
132
- form: m?.form ?? he,
131
+ ]), _ = C(() => ({
132
+ form: m?.form ?? K,
133
133
  avatarPicker: m?.avatarPicker
134
134
  }), [m?.form, m?.avatarPicker]);
135
- return /* @__PURE__ */ O(i, {
135
+ return /* @__PURE__ */ D(i, {
136
136
  values: e,
137
137
  errors: t,
138
138
  onChange: l,
@@ -143,38 +143,38 @@ var se = {
143
143
  renderDescription: p,
144
144
  labels: _
145
145
  });
146
- }, J = /* @__PURE__ */ function(e) {
146
+ }, q = /* @__PURE__ */ function(e) {
147
147
  return e.Success = "success", e.Cancelled = "cancelled", e.PopupBlocked = "popup-blocked", e.InvalidConfig = "invalid-config", e.Failed = "failed", e;
148
- }({}), Y = (e) => e === c.None ? u.WithoutLogin : u.WithLogin, _e = (e, t) => e === c.None ? t?.typeNone ?? "Open access" : e === c.OAuth ? t?.typeOAuth ?? "OAuth" : t?.typeApiKey ?? "API Key", X = ({ auth: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, endpoint: a, authActions: o, onOAuthLogin: s, onNotifySuccess: d, onNotifyError: p, onAuthChange: m, onEnsureSaved: h, labels: _ }) => {
149
- let [v, y] = E(!1), [b, x] = E(!1), S = e.isLoggedIn || n || v, C = U(a) && K(e, i) && !S, w = (t) => {
150
- S || t === e.authenticationType || m({
148
+ }({}), J = "toolset-client-secret-keep-caption", Y = (e) => `******${e}`, _e = (e) => e === c.None ? u.WithoutLogin : u.WithLogin, X = (e, t) => e === c.None ? t?.typeNone ?? "Open access" : e === c.OAuth ? t?.typeOAuth ?? "OAuth" : t?.typeApiKey ?? "API Key", ve = ({ auth: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, endpoint: a, authActions: o, onOAuthLogin: s, onNotifySuccess: d, onNotifyError: p, onAuthChange: m, onEnsureSaved: h, labels: _ }) => {
149
+ let [v, y] = w(!1), [ee, b] = w(!1), x = e.isLoggedIn || n || v, S = i && e.clientSecretHint && !e.clientSecret ? e.clientSecretHint : void 0, C = H(a) && W(e, i) && !x, te = (t) => {
150
+ x || t === e.authenticationType || m({
151
151
  authenticationType: t,
152
- withLogin: Y(t)
152
+ withLogin: _e(t)
153
153
  });
154
154
  }, T = (e) => {
155
155
  m({ withLogin: e });
156
- }, ee = (e) => {
156
+ }, ne = (e) => {
157
157
  switch (e.auth != null && m(e.auth), e.status) {
158
- case J.Success:
158
+ case q.Success:
159
159
  m({ isLoggedIn: !0 }), d(_?.loginSuccessMessage ?? "Successfully logged in.");
160
160
  return;
161
- case J.PopupBlocked:
161
+ case q.PopupBlocked:
162
162
  p(_?.errorPopupBlocked ?? "The login popup was blocked by your browser. Please allow popups for this site and try again.");
163
163
  return;
164
- case J.InvalidConfig:
164
+ case q.InvalidConfig:
165
165
  p(_?.errorOAuthConfigMissing ?? "The OAuth provider did not return a valid client configuration. Please check the endpoint or contact your administrator.");
166
166
  return;
167
- case J.Failed:
167
+ case q.Failed:
168
168
  p(_?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", e.traceId);
169
169
  return;
170
- case J.Cancelled: return;
170
+ case q.Cancelled: return;
171
171
  }
172
- }, te = async () => {
172
+ }, re = async () => {
173
173
  if (!C) return;
174
174
  if (e.authenticationType === c.OAuth) {
175
175
  y(!0);
176
176
  try {
177
- ee(await s({
177
+ ne(await s({
178
178
  auth: e,
179
179
  ensureSaved: h
180
180
  }));
@@ -201,7 +201,7 @@ var se = {
201
201
  y(!1);
202
202
  }
203
203
  }
204
- }, ne = async () => {
204
+ }, F = async () => {
205
205
  y(!0);
206
206
  try {
207
207
  let t = {
@@ -209,103 +209,103 @@ var se = {
209
209
  credentialsLevel: l.User,
210
210
  authenticationType: e.authenticationType
211
211
  };
212
- await o.logout(r, t), m({ isLoggedIn: !1 }), x(!1), d(_?.logoutSuccessMessage ?? "Successfully logged out.");
212
+ await o.logout(r, t), m({ isLoggedIn: !1 }), b(!1), d(_?.logoutSuccessMessage ?? "Successfully logged out.");
213
213
  } catch (e) {
214
214
  let { traceId: t } = await f(e);
215
215
  p(_?.errorLogoutFailed ?? "Failed to log out. Please try again.", t);
216
216
  } finally {
217
217
  y(!1);
218
218
  }
219
- }, I = () => e.isLoggedIn ? /* @__PURE__ */ O("div", {
219
+ }, L = () => e.isLoggedIn ? /* @__PURE__ */ D("div", {
220
220
  className: "flex",
221
- children: /* @__PURE__ */ O(N, {
221
+ children: /* @__PURE__ */ D(M, {
222
222
  label: _?.logOutLabel ?? "Log out",
223
- iconBefore: /* @__PURE__ */ O(re, {
224
- size: A.MD,
225
- stroke: j
223
+ iconBefore: /* @__PURE__ */ D(ie, {
224
+ size: k.MD,
225
+ stroke: A
226
226
  }),
227
- onClick: () => x(!0),
227
+ onClick: () => b(!0),
228
228
  disabled: n || v
229
229
  })
230
- }) : /* @__PURE__ */ O("div", {
230
+ }) : /* @__PURE__ */ D("div", {
231
231
  className: "flex",
232
- children: /* @__PURE__ */ O(N, {
232
+ children: /* @__PURE__ */ D(M, {
233
233
  label: _?.logInLabel ?? "Log in",
234
- iconBefore: /* @__PURE__ */ O(D, {
235
- size: A.MD,
236
- stroke: j
234
+ iconBefore: /* @__PURE__ */ D(E, {
235
+ size: k.MD,
236
+ stroke: A
237
237
  }),
238
- onClick: te,
238
+ onClick: re,
239
239
  disabled: !C
240
240
  })
241
241
  });
242
- return /* @__PURE__ */ k("section", {
242
+ return /* @__PURE__ */ O("section", {
243
243
  className: "flex flex-col gap-2",
244
244
  children: [
245
- /* @__PURE__ */ O("h3", {
245
+ /* @__PURE__ */ D("h3", {
246
246
  className: "dial-h3-text",
247
247
  children: _?.sectionTitle ?? "Authentication"
248
248
  }),
249
- /* @__PURE__ */ O(L, {
249
+ /* @__PURE__ */ D(I, {
250
250
  "aria-label": _?.sectionTitle ?? "Authentication",
251
251
  value: e.authenticationType,
252
- onChange: (e) => w(e),
252
+ onChange: (e) => te(e),
253
253
  segmentClassName: "px-2",
254
254
  items: [
255
255
  c.None,
256
256
  c.OAuth,
257
257
  c.ApiKey
258
258
  ].map((t) => {
259
- let n = le[t];
259
+ let n = ue[t];
260
260
  return {
261
261
  value: t,
262
- label: /* @__PURE__ */ k("div", {
262
+ label: /* @__PURE__ */ O("div", {
263
263
  className: "flex items-center gap-2",
264
- children: [/* @__PURE__ */ O(n, {
264
+ children: [/* @__PURE__ */ D(n, {
265
265
  className: "shrink-0",
266
- size: A.SM,
267
- stroke: j,
266
+ size: k.SM,
267
+ stroke: A,
268
268
  "aria-hidden": !0
269
- }), /* @__PURE__ */ O("span", {
269
+ }), /* @__PURE__ */ D("span", {
270
270
  className: "sr-only desktop:not-sr-only",
271
- children: _e(t, _)
271
+ children: X(t, _)
272
272
  })]
273
273
  }),
274
- disabled: S && e.authenticationType !== t
274
+ disabled: x && e.authenticationType !== t
275
275
  };
276
276
  })
277
277
  }),
278
- e.authenticationType === c.None && /* @__PURE__ */ O("p", {
278
+ e.authenticationType === c.None && /* @__PURE__ */ D("p", {
279
279
  className: "dial-small-text pt-2 text-secondary",
280
280
  children: _?.openAccessDescription ?? "Open endpoint, no credentials"
281
281
  }),
282
- e.authenticationType === c.OAuth && /* @__PURE__ */ k("div", {
282
+ e.authenticationType === c.OAuth && /* @__PURE__ */ O("div", {
283
283
  className: "flex flex-col gap-3 pt-2",
284
284
  children: [
285
- /* @__PURE__ */ k("div", {
285
+ /* @__PURE__ */ O("div", {
286
286
  className: "flex flex-col gap-2",
287
- children: [/* @__PURE__ */ O(F, {
287
+ children: [/* @__PURE__ */ D(P, {
288
288
  name: "oauth-login-mode",
289
289
  id: "oauth-with-login",
290
290
  value: u.WithLogin,
291
291
  labelProps: { label: _?.withLoginOAuthLabel ?? "Standard login" },
292
292
  isSelected: e.withLogin === u.WithLogin,
293
- disabled: S,
293
+ disabled: x,
294
294
  onChange: T
295
- }), /* @__PURE__ */ O(F, {
295
+ }), /* @__PURE__ */ D(P, {
296
296
  name: "oauth-login-mode",
297
297
  id: "oauth-with-config",
298
298
  value: u.WithConfig,
299
299
  labelProps: { label: _?.withConfigOAuthLabel ?? "Custom login" },
300
300
  isSelected: e.withLogin === u.WithConfig,
301
- disabled: S,
301
+ disabled: x,
302
302
  onChange: T
303
303
  })]
304
304
  }),
305
- e.withLogin === u.WithConfig && /* @__PURE__ */ k("div", {
305
+ e.withLogin === u.WithConfig && /* @__PURE__ */ O("div", {
306
306
  className: "flex flex-col gap-3",
307
307
  children: [
308
- /* @__PURE__ */ O(M, {
308
+ /* @__PURE__ */ D(j, {
309
309
  id: "toolset-client-id",
310
310
  value: e.clientId ?? "",
311
311
  onChange: (e) => m({ clientId: e ?? "" }),
@@ -316,83 +316,97 @@ var se = {
316
316
  placeholder: _?.clientIdPlaceholder ?? "Enter client ID",
317
317
  error: t.clientId || void 0,
318
318
  invalid: !!t.clientId,
319
- disabled: S
319
+ disabled: x
320
320
  }),
321
- /* @__PURE__ */ O(P, {
322
- id: "toolset-client-secret",
323
- value: e.clientSecret ?? "",
324
- onChange: (e) => m({ clientSecret: e ?? "" }),
325
- labelProps: {
326
- label: _?.clientSecretLabel ?? "Client secret",
327
- required: !i
328
- },
329
- placeholder: _?.clientSecretPlaceholder ?? "Enter client secret",
330
- showPasswordLabel: _?.showClientSecretLabel ?? "Show client secret",
331
- hidePasswordLabel: _?.hideClientSecretLabel ?? "Hide client secret",
332
- error: t.clientSecret || void 0,
333
- invalid: !!t.clientSecret,
334
- disabled: S
321
+ /* @__PURE__ */ O("div", {
322
+ className: "flex flex-col gap-1",
323
+ children: [/* @__PURE__ */ D(N, {
324
+ id: "toolset-client-secret",
325
+ value: e.clientSecret ?? "",
326
+ onChange: (e) => m({ clientSecret: e ?? "" }),
327
+ labelProps: {
328
+ label: _?.clientSecretLabel ?? "Client secret",
329
+ required: !i
330
+ },
331
+ placeholder: S == null ? _?.clientSecretPlaceholder ?? "Enter client secret" : (_?.clientSecretHintPlaceholder ?? Y)(S),
332
+ "aria-describedby": S == null ? void 0 : J,
333
+ showPasswordLabel: _?.showClientSecretLabel ?? "Show client secret",
334
+ hidePasswordLabel: _?.hideClientSecretLabel ?? "Hide client secret",
335
+ error: t.clientSecret || void 0,
336
+ invalid: !!t.clientSecret,
337
+ disabled: x
338
+ }), S != null && /* @__PURE__ */ D("p", {
339
+ id: J,
340
+ className: "dial-tiny-text text-secondary",
341
+ children: _?.clientSecretKeepCaption ?? "Leave empty to keep the saved secret."
342
+ })]
335
343
  }),
336
- /* @__PURE__ */ O(M, {
344
+ /* @__PURE__ */ D(j, {
337
345
  id: "toolset-authorization-endpoint",
338
346
  value: e.authorizationEndpoint ?? "",
339
347
  onChange: (e) => m({ authorizationEndpoint: e ?? "" }),
340
- labelProps: { label: _?.authorizationEndpointLabel ?? "Authorization endpoint" },
348
+ labelProps: {
349
+ label: _?.authorizationEndpointLabel ?? "Authorization endpoint",
350
+ required: !0
351
+ },
341
352
  placeholder: _?.authorizationEndpointPlaceholder ?? "Enter authorization endpoint",
342
353
  error: t.authorizationEndpoint || void 0,
343
354
  invalid: !!t.authorizationEndpoint,
344
- disabled: S
355
+ disabled: x
345
356
  }),
346
- /* @__PURE__ */ O(M, {
357
+ /* @__PURE__ */ D(j, {
347
358
  id: "toolset-token-endpoint",
348
359
  value: e.tokenEndpoint ?? "",
349
360
  onChange: (e) => m({ tokenEndpoint: e ?? "" }),
350
- labelProps: { label: _?.tokenEndpointLabel ?? "Token endpoint" },
361
+ labelProps: {
362
+ label: _?.tokenEndpointLabel ?? "Token endpoint",
363
+ required: !0
364
+ },
351
365
  placeholder: _?.tokenEndpointPlaceholder ?? "Enter token endpoint",
352
366
  error: t.tokenEndpoint || void 0,
353
367
  invalid: !!t.tokenEndpoint,
354
- disabled: S
368
+ disabled: x
355
369
  }),
356
- /* @__PURE__ */ O(oe, {
370
+ /* @__PURE__ */ D(se, {
357
371
  id: "toolset-scopes",
358
372
  labelProps: { label: _?.scopesLabel ?? "Scopes" },
359
373
  placeholder: _?.scopesPlaceholder ?? "Enter scopes",
360
374
  value: e.scopes ?? [],
361
375
  onChange: (e) => m({ scopes: e }),
362
- disabled: S,
376
+ disabled: x,
363
377
  tagClassName: g
364
378
  })
365
379
  ]
366
380
  }),
367
- I()
381
+ L()
368
382
  ]
369
383
  }),
370
- e.authenticationType === c.ApiKey && /* @__PURE__ */ k("div", {
384
+ e.authenticationType === c.ApiKey && /* @__PURE__ */ O("div", {
371
385
  className: "flex flex-col gap-3 pt-2",
372
386
  children: [
373
- /* @__PURE__ */ k("div", {
387
+ /* @__PURE__ */ O("div", {
374
388
  className: "flex flex-col gap-2",
375
- children: [/* @__PURE__ */ O(F, {
389
+ children: [/* @__PURE__ */ D(P, {
376
390
  name: "apikey-login-mode",
377
391
  id: "apikey-with-login",
378
392
  value: u.WithLogin,
379
393
  labelProps: { label: _?.withLoginLabel ?? "With login" },
380
394
  isSelected: e.withLogin === u.WithLogin,
381
- disabled: S,
395
+ disabled: x,
382
396
  onChange: T
383
- }), /* @__PURE__ */ O(F, {
397
+ }), /* @__PURE__ */ D(P, {
384
398
  name: "apikey-login-mode",
385
399
  id: "apikey-without-login",
386
400
  value: u.WithoutLogin,
387
401
  labelProps: { label: _?.withoutLoginLabel ?? "Without login" },
388
402
  isSelected: e.withLogin === u.WithoutLogin,
389
- disabled: S,
403
+ disabled: x,
390
404
  onChange: T
391
405
  })]
392
406
  }),
393
- /* @__PURE__ */ k("div", {
407
+ /* @__PURE__ */ O("div", {
394
408
  className: "flex flex-col gap-3",
395
- children: [/* @__PURE__ */ O(M, {
409
+ children: [/* @__PURE__ */ D(j, {
396
410
  id: "toolset-key-header",
397
411
  value: e.keyHeader ?? "",
398
412
  onChange: (e) => m({ keyHeader: e ?? "" }),
@@ -403,8 +417,8 @@ var se = {
403
417
  placeholder: _?.keyHeaderPlaceholder ?? "Enter API key parameter name",
404
418
  error: t.keyHeader || void 0,
405
419
  invalid: !!t.keyHeader,
406
- disabled: S
407
- }), e.withLogin === u.WithLogin && /* @__PURE__ */ O(P, {
420
+ disabled: x
421
+ }), e.withLogin === u.WithLogin && /* @__PURE__ */ D(N, {
408
422
  id: "toolset-api-key",
409
423
  value: e.apiKey ?? "",
410
424
  onChange: (e) => m({ apiKey: e ?? "" }),
@@ -417,49 +431,49 @@ var se = {
417
431
  hidePasswordLabel: _?.hideApiKeyLabel ?? "Hide API key",
418
432
  error: t.apiKey || void 0,
419
433
  invalid: !!t.apiKey,
420
- disabled: S
434
+ disabled: x
421
435
  })]
422
436
  }),
423
- e.withLogin !== u.WithoutLogin && I()
437
+ e.withLogin !== u.WithoutLogin && L()
424
438
  ]
425
439
  }),
426
- b && /* @__PURE__ */ O(ie, {
427
- open: b,
440
+ ee && /* @__PURE__ */ D(ae, {
441
+ open: ee,
428
442
  header: _?.logoutConfirmTitle ?? "Log out?",
429
443
  description: _?.logoutConfirmDescription ?? "Are you sure you want to log out? You will need to re-enter your credentials to use this toolset again.",
430
444
  confirmLabel: _?.logOutLabel ?? "Log out",
431
445
  cancelLabel: _?.cancelLabel ?? "Cancel",
432
- variant: ae.Danger,
446
+ variant: oe.Danger,
433
447
  isLoading: v,
434
448
  disableConfirmButton: v,
435
- onConfirm: ne,
436
- onCancel: () => x(!1),
437
- onClose: () => x(!1)
449
+ onConfirm: F,
450
+ onCancel: () => b(!1),
451
+ onClose: () => b(!1)
438
452
  })
439
453
  ]
440
454
  });
441
- }, ve = x(({ url: e, className: t, labels: n }) => {
455
+ }, Z = b(({ url: e, className: t, labels: n }) => {
442
456
  let { isCopied: r, copy: i } = y(e), a = n?.copiedLabel ?? "Copied!";
443
- return /* @__PURE__ */ k("div", {
457
+ return /* @__PURE__ */ O("div", {
444
458
  className: v("flex flex-col gap-3", t),
445
459
  children: [
446
- /* @__PURE__ */ k("div", {
460
+ /* @__PURE__ */ O("div", {
447
461
  className: "flex flex-col gap-1",
448
- children: [/* @__PURE__ */ O("p", {
462
+ children: [/* @__PURE__ */ D("p", {
449
463
  className: "dial-body-semi-text text-start text-primary",
450
464
  children: n?.title ?? "Connect toolset"
451
- }), /* @__PURE__ */ O("p", {
465
+ }), /* @__PURE__ */ D("p", {
452
466
  className: "dial-small-text text-start text-secondary",
453
467
  children: n?.description ?? "Copy endpoint URL to easily integrate toolset into your workflows"
454
468
  })]
455
469
  }),
456
- /* @__PURE__ */ O("div", { children: /* @__PURE__ */ O(p, {
470
+ /* @__PURE__ */ D("div", { children: /* @__PURE__ */ D(p, {
457
471
  copiedLabel: a,
458
472
  copyLabel: n?.copyLabel ?? "Copy URL",
459
473
  isCopied: r,
460
474
  onClick: i
461
475
  }) }),
462
- /* @__PURE__ */ O("span", {
476
+ /* @__PURE__ */ D("span", {
463
477
  role: "status",
464
478
  "aria-live": "polite",
465
479
  className: "sr-only",
@@ -468,15 +482,15 @@ var se = {
468
482
  ]
469
483
  });
470
484
  }), ye = ({ form: e, errors: t, isSaving: n, toolsetId: r, isEditMode: i, connectUrl: a, listToolNames: o, authActions: s, onOAuthLogin: c, onNotifySuccess: l, onNotifyError: u, onChange: d, onAuthChange: f, onEnsureSaved: p, labels: m }) => {
471
- let [h, _] = E(null), v = !!a && !!r, y = w(() => [{
472
- value: z.Http,
485
+ let [h, _] = w(null), v = !!a && !!r, y = C(() => [{
486
+ value: R.Http,
473
487
  label: "HTTP"
474
488
  }, {
475
- value: z.Sse,
489
+ value: R.Sse,
476
490
  label: "SSE"
477
491
  }], []);
478
- return C(() => {
479
- if (!r || !o || !K(e.auth, i)) {
492
+ return S(() => {
493
+ if (!r || !o || !W(e.auth, i)) {
480
494
  _(null);
481
495
  return;
482
496
  }
@@ -497,10 +511,10 @@ var se = {
497
511
  e.auth,
498
512
  e.endpoint,
499
513
  o
500
- ]), /* @__PURE__ */ k("div", {
514
+ ]), /* @__PURE__ */ O("div", {
501
515
  className: "flex max-w-[1060px] flex-col gap-4",
502
516
  children: [
503
- /* @__PURE__ */ O(M, {
517
+ /* @__PURE__ */ D(j, {
504
518
  id: "toolset-endpoint",
505
519
  value: e.endpoint,
506
520
  onChange: (e) => d({ endpoint: e ?? "" }),
@@ -513,7 +527,7 @@ var se = {
513
527
  error: t.endpoint || void 0,
514
528
  invalid: !!t.endpoint
515
529
  }),
516
- /* @__PURE__ */ O(I, {
530
+ /* @__PURE__ */ D(F, {
517
531
  labelProps: {
518
532
  label: m?.protocolLabel ?? "Protocol",
519
533
  required: !0
@@ -525,7 +539,7 @@ var se = {
525
539
  d({ protocol: e });
526
540
  }
527
541
  }),
528
- h ? /* @__PURE__ */ O(R, {
542
+ h ? /* @__PURE__ */ D(L, {
529
543
  id: "toolset-allowed-tools",
530
544
  multiple: !0,
531
545
  searchable: !0,
@@ -538,7 +552,7 @@ var se = {
538
552
  })),
539
553
  value: e.allowedTools,
540
554
  onChange: (e) => d({ allowedTools: e })
541
- }) : /* @__PURE__ */ O(oe, {
555
+ }) : /* @__PURE__ */ D(se, {
542
556
  id: "toolset-allowed-tools",
543
557
  labelProps: { label: m?.allowedToolsLabel ?? "Allowed tools" },
544
558
  placeholder: m?.allowedToolsPlaceholder ?? "Add tools, comma separated",
@@ -546,7 +560,7 @@ var se = {
546
560
  onChange: (e) => d({ allowedTools: e }),
547
561
  tagClassName: g
548
562
  }),
549
- /* @__PURE__ */ O(X, {
563
+ /* @__PURE__ */ D(ve, {
550
564
  auth: e.auth,
551
565
  errors: t,
552
566
  isSaving: n,
@@ -561,7 +575,7 @@ var se = {
561
575
  onEnsureSaved: p,
562
576
  labels: m?.auth
563
577
  }),
564
- v && /* @__PURE__ */ O(ve, {
578
+ v && /* @__PURE__ */ D(Z, {
565
579
  url: a ?? "",
566
580
  labels: m?.connect,
567
581
  className: "border-t border-tertiary pt-4"
@@ -575,37 +589,37 @@ var se = {
575
589
  "clientSecret",
576
590
  "authorizationEndpoint",
577
591
  "tokenEndpoint"
578
- ], xe = ["endpoint", ...be], Z = new Set(xe), Se = (e) => {
592
+ ], xe = ["endpoint", ...be], Q = new Set(xe), Se = (e) => {
579
593
  let t = {};
580
- for (let n of Object.keys(e)) Z.has(n) && (t[n] = !0);
594
+ for (let n of Object.keys(e)) Q.has(n) && (t[n] = !0);
581
595
  return t;
582
- }, Q = ({ initialForm: e, toolsetId: i, onPersist: a, onPostSaveLogin: s, onToolsetsChanged: l, onSaveSuccess: d, onSaveComplete: p, onBack: g, onDirtyChange: v, buildMcpUrl: y, listToolNames: x, authActions: ee, onOAuthLogin: te, onNotifySuccess: ne, onNotifyError: D, bucket: re, FileManagerModal: k, resolveIconUrl: ie, allowedMimeTypes: ae, maxFileSizeBytes: A, availableLocaleOptions: j, onRefineDescription: M, labels: N }) => {
583
- let P = !!i, [F, I] = E(""), L = i || F, [R, oe] = E({
596
+ }, Ce = ({ initialForm: e, toolsetId: i, onPersist: a, onPostSaveLogin: s, onToolsetsChanged: l, onSaveSuccess: d, onSaveComplete: p, onBack: g, onDirtyChange: v, buildMcpUrl: y, listToolNames: b, authActions: T, onOAuthLogin: ne, onNotifySuccess: re, onNotifyError: E, bucket: ie, FileManagerModal: O, resolveIconUrl: ae, allowedMimeTypes: oe, maxFileSizeBytes: k, availableLocaleOptions: A, onRefineDescription: j, labels: M }) => {
597
+ let N = !!i, [P, F] = w(""), I = i || P, [L, se] = w({
584
598
  initialForm: e,
585
599
  key: 0
586
- }), [z, B] = E(e);
587
- R.initialForm !== e && (oe({
600
+ }), [R, z] = w(e);
601
+ L.initialForm !== e && (se({
588
602
  initialForm: e,
589
- key: R.key + 1
590
- }), B(e));
591
- let le = w(() => pe(e), [e]), { values: V, setValues: ue, markTouched: H, visibleErrorCodes: W, attemptSubmit: de } = o({
592
- initialValues: le,
593
- validationOptions: ce,
594
- reseedKey: R.key
595
- }), [G, K] = E(e), q = w(() => ({
596
- ...G,
597
- ...V
598
- }), [G, V]), he = w(() => JSON.stringify(q) !== JSON.stringify(z), [q, z]);
599
- C(() => {
600
- v?.(he);
601
- }, [he, v]);
602
- let [J, Y] = E(!1), [_e, X] = E({}), [ve, Z] = E({}), Q = T(null);
603
- C(() => {
604
- K(e), Q.current = e, X({}), Z({}), I("");
603
+ key: L.key + 1
604
+ }), z(e));
605
+ let ue = C(() => me(e), [e]), { values: B, setValues: de, markTouched: V, visibleErrorCodes: U, attemptSubmit: fe } = o({
606
+ initialValues: ue,
607
+ validationOptions: le,
608
+ reseedKey: L.key
609
+ }), [W, G] = w(e), K = C(() => ({
610
+ ...W,
611
+ ...B
612
+ }), [W, B]), q = C(() => JSON.stringify(K) !== JSON.stringify(R), [K, R]);
613
+ S(() => {
614
+ v?.(q);
615
+ }, [q, v]);
616
+ let [J, Y] = w(!1), [_e, X] = w({}), [ve, Z] = w({}), Q = te(null);
617
+ S(() => {
618
+ G(e), Q.current = e, X({}), Z({}), F("");
605
619
  }, [e]);
606
- let Ce = S((e) => {
607
- let { metadata: t, setup: n } = me(e);
608
- Object.keys(t).length > 0 && (ue(t), "name" in t && H(r.Name), "version" in t && H(r.Version)), Object.keys(n).length !== 0 && (K((e) => ({
620
+ let Ce = x((e) => {
621
+ let { metadata: t, setup: n } = he(e);
622
+ Object.keys(t).length > 0 && (de(t), "name" in t && V(r.Name), "version" in t && V(r.Version)), Object.keys(n).length !== 0 && (G((e) => ({
609
623
  ...e,
610
624
  ...n
611
625
  })), Z((e) => ({
@@ -616,8 +630,8 @@ var se = {
616
630
  for (let e of Object.keys(n)) delete t[e];
617
631
  return t;
618
632
  }));
619
- }, [ue, H]), we = S((e) => {
620
- K((t) => ({
633
+ }, [de, V]), we = x((e) => {
634
+ G((t) => ({
621
635
  ...t,
622
636
  auth: {
623
637
  ...t.auth,
@@ -632,135 +646,135 @@ var se = {
632
646
  else for (let t of Object.keys(e)) delete n[t];
633
647
  return n;
634
648
  }), "isLoggedIn" in e && l();
635
- }, [l]), Te = S(async () => {
636
- if (L && Q.current != null && JSON.stringify(Q.current) === JSON.stringify(q)) return L;
649
+ }, [l]), Te = x(async () => {
650
+ if (I && Q.current != null && JSON.stringify(Q.current) === JSON.stringify(K)) return I;
637
651
  Y(!0);
638
652
  try {
639
- let e = await a(q, L);
640
- return e ? (L || I(e), Q.current = q, B(q), v?.(!1), await l(), e) : null;
653
+ let e = await a(K, I);
654
+ return e ? (I || F(e), Q.current = K, z(K), v?.(!1), await l(), e) : null;
641
655
  } catch {
642
656
  return null;
643
657
  } finally {
644
658
  Y(!1);
645
659
  }
646
660
  }, [
647
- q,
648
- L,
661
+ K,
662
+ I,
649
663
  a,
650
664
  l,
651
665
  v
652
- ]), Ee = S(async () => await Te() ?? !1, [Te]), $ = S((e) => {
653
- let t = N?.validation, n = {};
654
- return e.endpoint.trim() ? U(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 === c.ApiKey && (e.auth.keyHeader?.trim() || (n.keyHeader = t?.keyHeaderRequired ?? "Key name is required"), e.auth.withLogin === u.WithLogin && !e.auth.apiKey?.trim() && (n.apiKey = t?.apiKeyRequired ?? "API key is required")), e.auth.authenticationType === c.OAuth && e.auth.withLogin === u.WithConfig && (e.auth.clientId?.trim() || (n.clientId = t?.clientIdRequired ?? "Client ID is required"), !P && !e.auth.clientSecret?.trim() && (n.clientSecret = t?.clientSecretRequired ?? "Client secret is required"), e.auth.authorizationEndpoint?.trim() && !U(e.auth.authorizationEndpoint) && (n.authorizationEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL"), e.auth.tokenEndpoint?.trim() && !U(e.auth.tokenEndpoint) && (n.tokenEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL"))), n;
655
- }, [N, P]), De = S(async () => {
656
- let e = de(), t = $(q);
666
+ ]), Ee = x(async () => await Te() ?? !1, [Te]), $ = x((e) => {
667
+ let t = M?.validation, n = {};
668
+ return e.endpoint.trim() ? H(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 === c.ApiKey && (e.auth.keyHeader?.trim() || (n.keyHeader = t?.keyHeaderRequired ?? "Key name is required"), e.auth.withLogin === u.WithLogin && !e.auth.apiKey?.trim() && (n.apiKey = t?.apiKeyRequired ?? "API key is required")), e.auth.authenticationType === c.OAuth && e.auth.withLogin === u.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() ? H(e.auth.authorizationEndpoint) || (n.authorizationEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.authorizationEndpoint = t?.authorizationEndpointRequired ?? "Authorization endpoint is required", e.auth.tokenEndpoint?.trim() ? H(e.auth.tokenEndpoint) || (n.tokenEndpoint = t?.endpointInvalid ?? "Enter a valid http(s) URL") : n.tokenEndpoint = t?.tokenEndpointRequired ?? "Token endpoint is required")), n;
669
+ }, [M, N]), De = x(async () => {
670
+ let e = fe(), t = $(K);
657
671
  if (!e || Object.keys(t).length > 0) X(t);
658
672
  else {
659
673
  X({}), Y(!0);
660
674
  try {
661
- let e = await a(q, L);
675
+ let e = await a(K, I);
662
676
  if (!e) return;
663
- B(q), await l(), d(q);
677
+ z(K), await l(), d(K);
664
678
  try {
665
- await s(e, q.auth), p();
679
+ await s(e, K.auth), p();
666
680
  } catch (e) {
667
681
  let { traceId: t } = await f(e);
668
- D(N?.settings?.auth?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", t);
682
+ E(M?.settings?.auth?.errorLoginFailed ?? "Failed to log in. Please check your credentials and try again.", t);
669
683
  }
670
684
  } catch {} finally {
671
685
  Y(!1);
672
686
  }
673
687
  }
674
688
  }, [
675
- de,
676
- q,
689
+ fe,
690
+ K,
677
691
  $,
678
- L,
692
+ I,
679
693
  a,
680
694
  l,
681
695
  d,
682
696
  p,
683
697
  s,
684
- D,
685
- N
686
- ]), Oe = b({
687
- value: V.description,
698
+ E,
699
+ M
700
+ ]), Oe = ee({
701
+ value: B.description,
688
702
  onChange: (e) => Ce({ description: e }),
689
- onRefine: M,
703
+ onRefine: j,
690
704
  disabled: J,
691
- resetKey: R.key
692
- }), ke = M ? (e, t) => /* @__PURE__ */ O(_, {
705
+ resetKey: L.key
706
+ }), ke = j ? (e, t) => /* @__PURE__ */ D(_, {
693
707
  isEnabled: !0,
694
708
  fieldId: t,
695
- label: N?.general?.form?.description.label ?? "Description",
696
- labels: N?.refinement,
709
+ label: M?.general?.form?.description.label ?? "Description",
710
+ labels: M?.refinement,
697
711
  refinement: Oe,
698
712
  disabled: Oe.isPending || J,
699
713
  children: e
700
- }) : void 0, Ae = w(() => !fe(q, P), [q, P]), je = w(() => {
701
- let e = N?.validation, n = $(q), r = { ..._e };
714
+ }) : void 0, Ae = C(() => !pe(K, N), [K, N]), je = C(() => {
715
+ let e = M?.validation, n = $(K), r = { ..._e };
702
716
  for (let e of xe) {
703
717
  if (!ve[e]) continue;
704
718
  let t = n[e];
705
719
  t ? r[e] = t : delete r[e];
706
720
  }
707
- return W.name === t.Required ? r.name = e?.nameRequired ?? "Name is required" : W.name === t.TooLong ? r.name = e?.nameTooLong ?? `Use ${h} characters or fewer.` : W.name === t.ControlCharacters && (r.name = e?.nameControlCharacters ?? "Remove line breaks, tabs and other control characters."), W.description === t.TooLong && (r.description = e?.descriptionTooLong ?? `Use ${m} characters or fewer.`), W.version === t.InvalidFormat && (r.version = e?.versionInvalid ?? "Version must follow semantic versioning (e.g., 1.0.0)"), r;
721
+ return U.name === t.Required ? r.name = e?.nameRequired ?? "Name is required" : U.name === t.TooLong ? r.name = e?.nameTooLong ?? `Use ${h} characters or fewer.` : U.name === t.ControlCharacters && (r.name = e?.nameControlCharacters ?? "Remove line breaks, tabs and other control characters."), U.description === t.TooLong && (r.description = e?.descriptionTooLong ?? `Use ${m} characters or fewer.`), U.version === t.InvalidFormat && (r.version = e?.versionInvalid ?? "Version must follow semantic versioning (e.g., 1.0.0)"), r;
708
722
  }, [
709
723
  ve,
710
724
  _e,
711
- q,
712
- N,
713
- W,
725
+ K,
726
+ M,
727
+ U,
714
728
  $
715
- ]), Me = y && L ? y(L) : void 0;
716
- return /* @__PURE__ */ O(n, {
717
- title: P ? N?.layout?.editTitle ?? "Edit toolset" : N?.layout?.createTitle ?? "Create toolset",
729
+ ]), Me = y && I ? y(I) : void 0;
730
+ return /* @__PURE__ */ D(n, {
731
+ title: N ? M?.layout?.editTitle ?? "Edit toolset" : M?.layout?.createTitle ?? "Create toolset",
718
732
  onBack: g,
719
733
  onCancel: g,
720
734
  onSubmit: De,
721
- submitLabel: P ? N?.layout?.saveLabel ?? "Save" : N?.layout?.createLabel ?? "Create",
735
+ submitLabel: N ? M?.layout?.saveLabel ?? "Save" : M?.layout?.createLabel ?? "Create",
722
736
  isSubmitting: J,
723
737
  isSubmitDisabled: Ae || Oe.isPending,
724
- metadataSectionClassName: se.metadataSection,
725
- setupSectionClassName: se.setupSection,
738
+ metadataSectionClassName: ce.metadataSection,
739
+ setupSectionClassName: ce.setupSection,
726
740
  labels: {
727
- backAriaLabel: N?.layout?.backAriaLabel ?? "Back to catalog",
728
- savingStatusLabel: N?.layout?.savingStatusLabel ?? "Saving",
729
- metadataTitle: N?.layout?.metadataSectionTitle ?? "Metadata",
730
- setupTitle: N?.layout?.setupSectionTitle ?? "Setup",
731
- cancelLabel: N?.layout?.cancelLabel ?? "Cancel"
741
+ backAriaLabel: M?.layout?.backAriaLabel ?? "Back to catalog",
742
+ savingStatusLabel: M?.layout?.savingStatusLabel ?? "Saving",
743
+ metadataTitle: M?.layout?.metadataSectionTitle ?? "Metadata",
744
+ setupTitle: M?.layout?.setupSectionTitle ?? "Setup",
745
+ cancelLabel: M?.layout?.cancelLabel ?? "Cancel"
732
746
  },
733
- metadata: /* @__PURE__ */ O(ge, {
734
- form: q,
747
+ metadata: /* @__PURE__ */ D(ge, {
748
+ form: K,
735
749
  errors: je,
736
- bucket: re,
737
- FileManagerModal: k,
738
- resolveIconUrl: ie,
739
- allowedMimeTypes: ae,
740
- maxFileSizeBytes: A,
741
- availableLocaleOptions: j,
750
+ bucket: ie,
751
+ FileManagerModal: O,
752
+ resolveIconUrl: ae,
753
+ allowedMimeTypes: oe,
754
+ maxFileSizeBytes: k,
755
+ availableLocaleOptions: A,
742
756
  onChange: Ce,
743
757
  renderDescription: ke,
744
- labels: N?.general
758
+ labels: M?.general
745
759
  }),
746
- setup: /* @__PURE__ */ O(ye, {
747
- form: q,
760
+ setup: /* @__PURE__ */ D(ye, {
761
+ form: K,
748
762
  errors: je,
749
763
  isSaving: J,
750
- toolsetId: L,
751
- isEditMode: P,
764
+ toolsetId: I,
765
+ isEditMode: N,
752
766
  connectUrl: Me,
753
- listToolNames: x,
754
- authActions: ee,
755
- onOAuthLogin: te,
756
- onNotifySuccess: ne,
757
- onNotifyError: D,
767
+ listToolNames: b,
768
+ authActions: T,
769
+ onOAuthLogin: ne,
770
+ onNotifySuccess: re,
771
+ onNotifyError: E,
758
772
  onChange: Ce,
759
773
  onAuthChange: we,
760
774
  onEnsureSaved: Ee,
761
- labels: N?.settings
775
+ labels: M?.settings
762
776
  })
763
777
  });
764
778
  };
765
779
  //#endregion
766
- export { le as AUTH_TYPE_ICONS, B as DEFAULT_TOOLSET_VERSION, ge as GeneralForm, se as TOOLSET_EDITOR_CLASS, Q as ToolsetEditor, J as ToolsetOAuthLoginStatus, z as ToolsetTransportType, ue as getDefaultToolsetForm, K as isToolsetAuthValid, fe as isToolsetFormValid, U as isValidEndpointUrl, de as normalizeReturnedEndpointUrl };
780
+ export { ue as AUTH_TYPE_ICONS, z as DEFAULT_TOOLSET_VERSION, ge as GeneralForm, ce as TOOLSET_EDITOR_CLASS, Ce as ToolsetEditor, q as ToolsetOAuthLoginStatus, R as ToolsetTransportType, de as getDefaultToolsetForm, W as isToolsetAuthValid, pe as isToolsetFormValid, H as isValidEndpointUrl, fe as normalizeReturnedEndpointUrl };
@@ -40,6 +40,10 @@ export interface AuthSectionLabels {
40
40
  clientSecretLabel?: string;
41
41
  /** Placeholder for the OAuth client secret field. Defaults to `'Enter client secret'`. */
42
42
  clientSecretPlaceholder?: string;
43
+ /** Placeholder showing the saved client secret's hint while editing a saved toolset. Defaults to `` (hint) => `******${hint}` ``. */
44
+ clientSecretHintPlaceholder?: (hint: string) => string;
45
+ /** Description of the client secret field while the saved secret's hint is shown. Defaults to `'Leave empty to keep the saved secret.'`. */
46
+ clientSecretKeepCaption?: string;
43
47
  /** Accessible name of the client secret reveal toggle while the value is masked. Defaults to `'Show client secret'`. */
44
48
  showClientSecretLabel?: string;
45
49
  /** Accessible name of the client secret reveal toggle while the value is visible. Defaults to `'Hide client secret'`. */
@@ -1 +1 @@
1
- {"version":3,"file":"auth-section-props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EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,UAAU,EAAE,OAAO,CAAC;IACpB,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,WAAW,EAAE,kBAAkB,CAAC;IAChC;;;;OAIG;IACH,YAAY,EAAE,wBAAwB,CAAC;IACvC,2DAA2D;IAC3D,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,gFAAgF;IAChF,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,yDAAyD;IACzD,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC5D;;;OAGG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAC7C,iEAAiE;IACjE,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B"}
1
+ {"version":3,"file":"auth-section-props.d.ts","sourceRoot":"","sources":["../../src/models/auth-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,oFAAoF;AACpF,MAAM,WAAW,iBAAiB;IAChC,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iFAAiF;IACjF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uFAAuF;IACvF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qFA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YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC5D;;;OAGG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;IAC7C,iEAAiE;IACjE,MAAM,CAAC,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -29,6 +29,10 @@ export interface ToolsetEditorValidationLabels {
29
29
  clientIdRequired?: string;
30
30
  /** Message for a missing OAuth client secret in create mode. Defaults to `'Client secret is required'`. */
31
31
  clientSecretRequired?: string;
32
+ /** Message for a missing OAuth authorization endpoint. Defaults to `'Authorization endpoint is required'`. */
33
+ authorizationEndpointRequired?: string;
34
+ /** Message for a missing OAuth token endpoint. Defaults to `'Token endpoint is required'`. */
35
+ tokenEndpointRequired?: string;
32
36
  }
33
37
  /** Labels for the editor chrome (header, actions, section titles), all optional with English defaults. */
34
38
  export interface ToolsetEditorLayoutLabels {
@@ -1 +1 @@
1
- {"version":3,"file":"toolset-editor-props.d.ts","sourceRoot":"","sources":["../../src/models/toolset-editor-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,kCAAkC,EACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,yFAAyF;AACzF,MAAM,WAAW,6BAA6B;IAC5C,oEAAoE;IACpE,YAAY,CAAC,EAA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AC;IAC3C,gFAAgF;IAChF,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,gBAAgB,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;IACnE,sEAAsE;IACtE,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,4CAA4C;IAC5C,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,yCAAyC;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,wDAAwD;IACxD,sBAAsB,EAAE,kCAAkC,EAAE,CAAC;IAC7D,uFAAuF;IACvF,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C,wEAAwE;IACxE,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B"}
1
+ {"version":3,"file":"toolset-editor-props.d.ts","sourceRoot":"","sources":["../../src/models/toolset-editor-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iCAAiC,EACjC,kCAAkC,EACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EACV,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,KAAK,EACV,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEtE,yFAAyF;AACzF,MAAM,WAAW,6BAA6B;IAC5C,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qGAAqG;I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CAAC;IACvC,2DAA2D;IAC3D,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,gFAAgF;IAChF,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7D,4DAA4D;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,gBAAgB,EAAE,aAAa,CAAC,iCAAiC,CAAC,CAAC;IACnE,sEAAsE;IACtE,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,4CAA4C;IAC5C,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,yCAAyC;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,wDAAwD;IACxD,sBAAsB,EAAE,kCAAkC,EAAE,CAAC;IAC7D,uFAAuF;IACvF,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C,wEAAwE;IACxE,MAAM,CAAC,EAAE,mBAAmB,CAAC;CAC9B"}
@@ -16,6 +16,8 @@ export interface ToolsetAuthFormData {
16
16
  clientId?: string;
17
17
  /** OAUTH: client secret, never returned by the backend on read. */
18
18
  clientSecret?: string;
19
+ /** OAUTH: last characters of the saved client secret, supplied by the host for display only. */
20
+ clientSecretHint?: string;
19
21
  /** OAUTH: authorization endpoint URL. */
20
22
  authorizationEndpoint?: string;
21
23
  /** OAUTH: token endpoint URL. */
@@ -1 +1 @@
1
- {"version":3,"file":"toolset-form.d.ts","sourceRoot":"","sources":["../../src/models/toolset-form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,4BAA4B,CAAC;AACpF,OAAO,KAAK,EACV,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,EACV,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAElE,MAAM,WAAW,mBAAmB;IAClC,yDAA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AAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,+DAA+D;IAC/D,GAAG,EAAE,MAAM,CAAC;IACZ,0CAA0C;IAC1C,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,iDAAiD;IACjD,kBAAkB,EAAE,gBAAgB,CAAC;CACtC;AAED,gEAAgE;AAChE,MAAM,WAAW,kBAAkB;IACjC,oEAAoE;IACpE,KAAK,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC1E,0EAA0E;IAC1E,MAAM,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;IAC5E,8EAA8E;IAC9E,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,mBAAmB,CAAC,CAAC;CACxE"}
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.3.0-dev.183",
4
+ "version": "1.3.0-dev.187",
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.3.0-dev.183"
21
+ "@epam/ai-dial-builder-form": "1.3.0-dev.187"
22
22
  },
23
23
  "peerDependencies": {
24
- "@epam/ai-dial-chat-hooks": "1.3.0-dev.183",
25
- "@epam/ai-dial-chat-shared": "1.3.0-dev.183",
24
+ "@epam/ai-dial-chat-hooks": "1.3.0-dev.187",
25
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.187",
26
26
  "@epam/ai-dial-ui-kit": "^0.16.0-dev.35",
27
27
  "react": "^19.2.8"
28
28
  },
@@ -1 +1 @@
1
- {"version":3,"file":"toolsets.d.ts","sourceRoot":"","sources":["../../src/utils/toolsets.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAQhC,2GAA2G;AAC3G,eAAO,MAAM,qBAAqB,QAAO,eAWvC,CAAC;AAmBH,mFAAmF;AACnF,eAAO,MAAM,kBAAkB,GAAI,OAAO,MAAM,KAAG,OACR,CAAC;AAK5C;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,GAAI,QAAQ,MAAM,KAAG,MAkB7D,CAAC;AAKF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,GAC7B,MAAM,mBAAmB,EACzB,oBAAkB,KACjB,OAmBF,CAAC;AAEF,wFAAwF;AACxF,eAAO,MAAM,kBAAkB,GAC7B,MAAM,eAAe,EACrB,oBAAkB,KACjB,OAKwC,CAAC;AAW5C,4DAA4D;AAC5D,eAAO,MAAM,mBAAmB,GAC9B,MAAM,eAAe,KACpB,4BAOD,CAAC;AAEH,6EAA6E;AAC7E,eAAO,MAAM,qBAAqB,GAChC,OAAO,OAAO,CAAC,eAAe,CAAC,KAC9B;IACD,QAAQ,EAAE,OAAO,CAAC,4BAA4B,CAAC,CAAC;IAChD,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAWjC,CAAC"}
1
+ {"version":3,"file":"toolsets.d.ts","sourceRoot":"","sources":["../../src/utils/toolsets.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,4BAA4B,CAAC;AAOpC,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EAChB,MAAM,wBAAwB,CAAC;AAQhC,2GAA2G;AAC3G,eAAO,MAAM,qBAAqB,QAAO,eAWvC,CAAC;AAmBH,mFAAmF;AACnF,eAAO,MAAM,kBAAkB,GAAI,OAAO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