@wso2/am-core-ui 0.0.10 → 0.0.12
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/{index-B3mgz5fO.js → index-C5miD1SI.js} +1 -1
- package/dist/{index-6P7-UZtU.js → index-Cdg2qecR.js} +1 -1
- package/dist/{index-DLrZA3fz.js → index-D2KjwhE9.js} +2970 -2969
- package/dist/{index-DGmBtNzS.js → index-MipkxZ31.js} +263 -263
- package/dist/index.js +1 -1
- package/dist/types/mountPoints.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as S, jsx as n, Fragment as
|
|
1
|
+
import { jsxs as S, jsx as n, Fragment as vn } from "react/jsx-runtime";
|
|
2
2
|
import { c as ce } from "react/compiler-runtime";
|
|
3
|
-
import { useParams as ue, generatePath as le, useNavigate as nt, useSearchParams as Dn, Route as
|
|
4
|
-
import { dq as $n, ar as oe, i as Un, I as jn, P as tt, bw as jt, x as Mn, z as
|
|
5
|
-
import { Form as
|
|
3
|
+
import { useParams as ue, generatePath as le, useNavigate as nt, useSearchParams as Dn, Route as Ae, Routes as Rn } from "react-router-dom";
|
|
4
|
+
import { dq as $n, ar as oe, i as Un, I as jn, P as tt, bw as jt, x as Mn, z as dn, bV as ne, bX as On, _ as mn, bt as bn, p as rn, bv as Wn, u as Fn, S as Sn, E as pn, cT as Ft, cm as zn, dy as Gn, du as Bn, ds as Kn, dC as qn, h as Hn, g as Zn, f as Yn, G as Qn, ao as Xn, a_ as Mt, cP as Jn, cV as ln, bu as on, b as er, D as Nn, ch as sn, e as tr, c_ as nr, dn as rr, C as ar, bN as Ut } from "./index-D2KjwhE9.js";
|
|
5
|
+
import { Form as k, Typography as j, Box as ee, Divider as Cn, TextField as re, Alert as xe, Collapse as Te, Card as ir, CardContent as lr, Button as Ce, DialogContent as or, DialogTitle as sr, DialogActions as cr, Dialog as dr, FormHelperText as Ot, FormControl as an, MenuItem as et, CircularProgress as rt, Stack as ae, Select as Wt, SearchBar as mr, ListingTable as hn, Tabs as pr, Tooltip as un, Chip as kn, Tab as hr, Avatar as ur, IconButton as fr, AccordionSummary as gr, AccordionDetails as yr, Accordion as vr, FormControlLabel as br, Checkbox as Sr, Skeleton as fn } from "@wso2/oxygen-ui";
|
|
6
6
|
import "@tanstack/react-query";
|
|
7
7
|
import { useState as ie, useRef as Nr, useMemo as be, useCallback as Ne, useEffect as Le } from "react";
|
|
8
|
-
import { FileCode as Cr, Package as
|
|
9
|
-
const
|
|
8
|
+
import { FileCode as Cr, Package as kr, CheckCircle as _r, Circle as _n, Plus as zt, DoorClosedLocked as Ar, Link as An, Search as xr, Check as Pr, ChevronDown as Er, Trash2 as wr, Rocket as Ir, UserPlus as Tr } from "@wso2/oxygen-ui-icons-react";
|
|
9
|
+
const gn = (t) => {
|
|
10
10
|
const e = ce(18), {
|
|
11
11
|
type: r,
|
|
12
12
|
title: o,
|
|
@@ -39,12 +39,12 @@ const fn = (t) => {
|
|
|
39
39
|
let s;
|
|
40
40
|
e[9] !== l ? (s = /* @__PURE__ */ n(j, { variant: "body2", textAlign: "center", children: l }), e[9] = l, e[10] = s) : s = e[10];
|
|
41
41
|
let p;
|
|
42
|
-
e[11] !== d || e[12] !== s ? (p = /* @__PURE__ */ S(
|
|
42
|
+
e[11] !== d || e[12] !== s ? (p = /* @__PURE__ */ S(k.CardContent, { children: [
|
|
43
43
|
d,
|
|
44
44
|
s
|
|
45
45
|
] }), e[11] = d, e[12] = s, e[13] = p) : p = e[13];
|
|
46
46
|
let m;
|
|
47
|
-
return e[14] !== g || e[15] !== v || e[16] !== p ? (m = /* @__PURE__ */ S(
|
|
47
|
+
return e[14] !== g || e[15] !== v || e[16] !== p ? (m = /* @__PURE__ */ S(k.CardButton, { onClick: g, sx: y, children: [
|
|
48
48
|
v,
|
|
49
49
|
p
|
|
50
50
|
] }), e[14] = g, e[15] = v, e[16] = p, e[17] = m) : m = e[17], m;
|
|
@@ -85,18 +85,18 @@ const fn = (t) => {
|
|
|
85
85
|
let p;
|
|
86
86
|
e[8] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ n(Un, { width: 150 }), e[8] = p) : p = e[8];
|
|
87
87
|
let m;
|
|
88
|
-
e[9] !== v ? (m = /* @__PURE__ */ n(
|
|
88
|
+
e[9] !== v ? (m = /* @__PURE__ */ n(gn, { type: "existing", title: "Externally-Hosted Agent", subheader: "Connect an existing agent running outside the platform and enable observability and governance.", icon: p, onClick: v }), e[9] = v, e[10] = m) : m = e[10];
|
|
89
89
|
let h;
|
|
90
90
|
e[11] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ n(jn, { width: 150 }), e[11] = h) : h = e[11];
|
|
91
91
|
let c;
|
|
92
|
-
e[12] !== v ? (c = /* @__PURE__ */ n(
|
|
93
|
-
let
|
|
94
|
-
e[14] !== m || e[15] !== c ? (
|
|
92
|
+
e[12] !== v ? (c = /* @__PURE__ */ n(gn, { type: "new", title: "Platform-Hosted Agent", subheader: "Deploy and manage agents with full lifecycle support, including built-in CI/CD, scaling, observability, and governance.", icon: h, onClick: v }), e[12] = v, e[13] = c) : c = e[13];
|
|
93
|
+
let _;
|
|
94
|
+
e[14] !== m || e[15] !== c ? (_ = /* @__PURE__ */ S(ee, { display: "flex", flexDirection: "row", gap: 3, width: 1, children: [
|
|
95
95
|
m,
|
|
96
96
|
c
|
|
97
|
-
] }), e[14] = m, e[15] = c, e[16] =
|
|
98
|
-
let
|
|
99
|
-
return e[17] !== s || e[18] !==
|
|
97
|
+
] }), e[14] = m, e[15] = c, e[16] = _) : _ = e[16];
|
|
98
|
+
let A;
|
|
99
|
+
return e[17] !== s || e[18] !== _ ? (A = /* @__PURE__ */ n(tt, { title: "Add a New Agent", description: "Choose how you want to get started. You can deploy an agent on the platform or register an agent that already runs elsewhere.", disableIcon: !0, backHref: s, backLabel: "Back to Projects Home", children: _ }), e[17] = s, e[18] = _, e[19] = A) : A = e[19], A;
|
|
100
100
|
}, Vr = (t) => {
|
|
101
101
|
const e = ce(12), {
|
|
102
102
|
onSelect: r
|
|
@@ -127,11 +127,11 @@ const fn = (t) => {
|
|
|
127
127
|
type: "catalog",
|
|
128
128
|
title: "Agent Catalog",
|
|
129
129
|
subheader: "Pick an Agent Kind from Agent Catalog",
|
|
130
|
-
icon: /* @__PURE__ */ n(
|
|
130
|
+
icon: /* @__PURE__ */ n(kr, { size: 56 })
|
|
131
131
|
}], e[6] = d) : d = e[6];
|
|
132
132
|
const s = d;
|
|
133
133
|
let p;
|
|
134
|
-
e[7] !== u ? (p = /* @__PURE__ */ n(ee, { display: "flex", flexDirection: "row", gap: 3, flexWrap: "wrap", children: s.map((h) => /* @__PURE__ */ S(
|
|
134
|
+
e[7] !== u ? (p = /* @__PURE__ */ n(ee, { display: "flex", flexDirection: "row", gap: 3, flexWrap: "wrap", children: s.map((h) => /* @__PURE__ */ S(k.CardButton, { onClick: () => u(h.type), sx: {
|
|
135
135
|
minHeight: 152,
|
|
136
136
|
px: 3,
|
|
137
137
|
py: 2,
|
|
@@ -158,18 +158,18 @@ const fn = (t) => {
|
|
|
158
158
|
] }, h.type)) }), e[7] = u, e[8] = p) : p = e[8];
|
|
159
159
|
let m;
|
|
160
160
|
return e[9] !== v || e[10] !== p ? (m = /* @__PURE__ */ n(tt, { title: "Create a Platform-Hosted Agent", description: "Pick a source type for the agent", disableIcon: !0, backHref: v, backLabel: "Back to Agents", children: p }), e[9] = v, e[10] = p, e[11] = m) : m = e[11], m;
|
|
161
|
-
},
|
|
161
|
+
}, xn = {
|
|
162
162
|
displayName: ne().trim().min(1, "Name is required").min(3, "Name must be at least 3 characters").max(100, "Name must be at most 100 characters"),
|
|
163
163
|
name: ne().trim().max(50, "Name must be at most 50 characters"),
|
|
164
164
|
description: ne().trim().optional()
|
|
165
165
|
}, Dr = jt({
|
|
166
|
-
...
|
|
167
|
-
deploymentType:
|
|
168
|
-
}),
|
|
169
|
-
...
|
|
170
|
-
deploymentType:
|
|
171
|
-
enableAutoInstrumentation:
|
|
172
|
-
instrumentationVersion:
|
|
166
|
+
...xn,
|
|
167
|
+
deploymentType: bn("existing").optional()
|
|
168
|
+
}), Pn = jt({
|
|
169
|
+
...xn,
|
|
170
|
+
deploymentType: bn("new").optional(),
|
|
171
|
+
enableAutoInstrumentation: dn().default(!0),
|
|
172
|
+
instrumentationVersion: mn(Sn).optional(),
|
|
173
173
|
repositoryUrl: ne().trim().min(1, "Repository URL is required").url("Must be a valid URL"),
|
|
174
174
|
branch: ne().trim().min(1, "Branch is required"),
|
|
175
175
|
appPath: ne().trim().min(1, "App path is required").refine((t) => t.startsWith("/"), {
|
|
@@ -186,7 +186,7 @@ const fn = (t) => {
|
|
|
186
186
|
language: ne().trim().min(1, "Language is required"),
|
|
187
187
|
languageVersion: ne().trim().optional(),
|
|
188
188
|
dockerfilePath: ne().trim().optional(),
|
|
189
|
-
interfaceType:
|
|
189
|
+
interfaceType: mn(["DEFAULT", "CUSTOM"]),
|
|
190
190
|
port: On([Wn(), ne(), Fn()]).transform((t) => {
|
|
191
191
|
if (!(t === "" || t === null || t === void 0))
|
|
192
192
|
return typeof t == "string" ? Number(t) : t;
|
|
@@ -196,7 +196,7 @@ const fn = (t) => {
|
|
|
196
196
|
env: Mn(jt({
|
|
197
197
|
key: ne().trim().min(1, "Environment variable key is required").max(64, "Environment variable key must be at most 64 characters").regex(/^[A-Za-z_][A-Za-z0-9_]*$/, "Env keys must match /^[A-Za-z_][A-Za-z0-9_]*$/").optional(),
|
|
198
198
|
value: ne().trim().max(2048, "Environment variable value must be at most 2048 characters").optional(),
|
|
199
|
-
isSensitive:
|
|
199
|
+
isSensitive: dn().default(!1)
|
|
200
200
|
})).max(50, "A maximum of 50 environment variables is allowed")
|
|
201
201
|
}).refine((t) => !(t.interfaceType === "CUSTOM" && !t.port), {
|
|
202
202
|
message: "Port is required when using custom interface",
|
|
@@ -216,8 +216,8 @@ const fn = (t) => {
|
|
|
216
216
|
}).refine((t) => !(t.language === "python" && !t.languageVersion?.trim()), {
|
|
217
217
|
message: "Python version is required for Python agents",
|
|
218
218
|
path: ["languageVersion"]
|
|
219
|
-
}).refine((t) => !(t.language === "python" && t.languageVersion?.trim() && !
|
|
220
|
-
message: `Python version must be one of: ${
|
|
219
|
+
}).refine((t) => !(t.language === "python" && t.languageVersion?.trim() && !rn.includes(t.languageVersion.trim())), {
|
|
220
|
+
message: `Python version must be one of: ${rn.join(", ")}`,
|
|
221
221
|
path: ["languageVersion"]
|
|
222
222
|
}).refine((t) => !(t.language === "docker" && !t.dockerfilePath?.trim()), {
|
|
223
223
|
message: "Dockerfile path is required for Docker agents",
|
|
@@ -287,16 +287,16 @@ const fn = (t) => {
|
|
|
287
287
|
}, e[8] = g, e[9] = i) : i = e[9];
|
|
288
288
|
const d = i;
|
|
289
289
|
let s, p;
|
|
290
|
-
e[10] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ n(
|
|
290
|
+
e[10] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ n(k.Subheader, { children: "Agent Type" }), p = /* @__PURE__ */ n(j, { variant: "body2", color: "text.secondary", children: "How your agent receives requests" }), e[10] = s, e[11] = p) : (s = e[10], p = e[11]);
|
|
291
291
|
let m;
|
|
292
|
-
e[12] !== r.interfaceType || e[13] !== v ? (m = Rr.map((O) => /* @__PURE__ */ n(
|
|
292
|
+
e[12] !== r.interfaceType || e[13] !== v ? (m = Rr.map((O) => /* @__PURE__ */ n(k.CardButton, { onClick: () => v(O.value), selected: r.interfaceType === O.value, sx: {
|
|
293
293
|
maxWidth: 500,
|
|
294
294
|
flexGrow: 1
|
|
295
|
-
}, children: /* @__PURE__ */ n(
|
|
295
|
+
}, children: /* @__PURE__ */ n(k.CardContent, { sx: {
|
|
296
296
|
height: "100%"
|
|
297
297
|
}, children: /* @__PURE__ */ S(ee, { display: "flex", flexDirection: "row", alignItems: "center", height: "100%", gap: 1, children: [
|
|
298
|
-
/* @__PURE__ */ n(ee, { children: r.interfaceType === O.value ? /* @__PURE__ */ n(
|
|
299
|
-
/* @__PURE__ */ n(
|
|
298
|
+
/* @__PURE__ */ n(ee, { children: r.interfaceType === O.value ? /* @__PURE__ */ n(_r, { size: 16 }) : /* @__PURE__ */ n(_n, { size: 16 }) }),
|
|
299
|
+
/* @__PURE__ */ n(Cn, { orientation: "vertical", flexItem: !0 }),
|
|
300
300
|
/* @__PURE__ */ S(ee, { children: [
|
|
301
301
|
/* @__PURE__ */ n(j, { variant: "h6", children: O.label }),
|
|
302
302
|
/* @__PURE__ */ n(j, { variant: "caption", children: O.description })
|
|
@@ -305,18 +305,18 @@ const fn = (t) => {
|
|
|
305
305
|
let h;
|
|
306
306
|
e[15] !== m ? (h = /* @__PURE__ */ n(ee, { display: "flex", flexDirection: "row", gap: 1, children: m }), e[15] = m, e[16] = h) : h = e[16];
|
|
307
307
|
const c = r.interfaceType === "DEFAULT";
|
|
308
|
-
let
|
|
309
|
-
e[17] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
310
|
-
let
|
|
311
|
-
e[18] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
308
|
+
let _;
|
|
309
|
+
e[17] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ n("strong", { children: "POST /chat" }), e[17] = _) : _ = e[17];
|
|
310
|
+
let A, T;
|
|
311
|
+
e[18] === Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ n("strong", { children: "8000" }), T = /* @__PURE__ */ n("br", {}), e[18] = A, e[19] = T) : (A = e[18], T = e[19]);
|
|
312
312
|
let I, P;
|
|
313
313
|
e[20] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ n("code", { children: "{message: string, session_id: string, context: JSON}" }), P = /* @__PURE__ */ n("br", {}), e[20] = I, e[21] = P) : (I = e[20], P = e[21]);
|
|
314
314
|
let E;
|
|
315
315
|
e[22] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ S(xe, { severity: "info", children: [
|
|
316
316
|
"Uses the standard chat interface: ",
|
|
317
|
-
|
|
317
|
+
_,
|
|
318
318
|
" on port ",
|
|
319
|
-
|
|
319
|
+
A,
|
|
320
320
|
T,
|
|
321
321
|
"Request:",
|
|
322
322
|
" ",
|
|
@@ -332,12 +332,12 @@ const fn = (t) => {
|
|
|
332
332
|
e[25] !== g ? (U = (O) => g("openApiPath", O.target.value), e[25] = g, e[26] = U) : U = e[26];
|
|
333
333
|
const W = !!l.openApiPath, R = l.openApiPath || "Path to OpenAPI schema file in your repository";
|
|
334
334
|
let x;
|
|
335
|
-
e[27] !== L || e[28] !== U || e[29] !== W || e[30] !== R ? (x = /* @__PURE__ */ n(ee, { display: "flex", flexDirection: "column", flexGrow: 1, children: /* @__PURE__ */ n(
|
|
335
|
+
e[27] !== L || e[28] !== U || e[29] !== W || e[30] !== R ? (x = /* @__PURE__ */ n(ee, { display: "flex", flexDirection: "column", flexGrow: 1, children: /* @__PURE__ */ n(k.ElementWrapper, { label: "OpenAPI Spec Path", name: "openApiPath", children: /* @__PURE__ */ n(re, { id: "openApiPath", placeholder: "/openapi.yaml", required: !0, value: L, onChange: U, error: W, helperText: R, fullWidth: !0 }) }) }), e[27] = L, e[28] = U, e[29] = W, e[30] = R, e[31] = x) : x = e[31];
|
|
336
336
|
const F = r.port ?? "", M = !!l.port, N = l.port || (r.port ? void 0 : "Port is required");
|
|
337
337
|
let w;
|
|
338
|
-
e[32] !== d || e[33] !== F || e[34] !== M || e[35] !== N ? (w = /* @__PURE__ */ n(ee, { children: /* @__PURE__ */ n(
|
|
338
|
+
e[32] !== d || e[33] !== F || e[34] !== M || e[35] !== N ? (w = /* @__PURE__ */ n(ee, { children: /* @__PURE__ */ n(k.ElementWrapper, { label: "Port", name: "port", children: /* @__PURE__ */ n(re, { id: "port", placeholder: "8080", required: !0, value: F, onChange: d, type: "number", error: M, helperText: N }) }) }), e[32] = d, e[33] = F, e[34] = M, e[35] = N, e[36] = w) : w = e[36];
|
|
339
339
|
let b;
|
|
340
|
-
e[37] !== x || e[38] !== w ? (b = /* @__PURE__ */ S(
|
|
340
|
+
e[37] !== x || e[38] !== w ? (b = /* @__PURE__ */ S(k.Stack, { direction: "row", spacing: 2, children: [
|
|
341
341
|
x,
|
|
342
342
|
w
|
|
343
343
|
] }), e[37] = x, e[38] = w, e[39] = b) : b = e[39];
|
|
@@ -346,25 +346,25 @@ const fn = (t) => {
|
|
|
346
346
|
e[40] !== g ? ($ = (O) => g("basePath", O.target.value), e[40] = g, e[41] = $) : $ = e[41];
|
|
347
347
|
const z = !!l.basePath, G = l.basePath || "API base path (e.g., / or /api/v1)";
|
|
348
348
|
let Q;
|
|
349
|
-
e[42] !== C || e[43] !== $ || e[44] !== z || e[45] !== G ? (Q = /* @__PURE__ */ n(
|
|
349
|
+
e[42] !== C || e[43] !== $ || e[44] !== z || e[45] !== G ? (Q = /* @__PURE__ */ n(k.ElementWrapper, { label: "Base Path", name: "basePath", children: /* @__PURE__ */ n(re, { id: "basePath", placeholder: "/", required: !0, value: C, onChange: $, error: z, helperText: G, fullWidth: !0 }) }), e[42] = C, e[43] = $, e[44] = z, e[45] = G, e[46] = Q) : Q = e[46];
|
|
350
350
|
let q;
|
|
351
|
-
e[47] !== b || e[48] !== Q ? (q = /* @__PURE__ */ S(
|
|
351
|
+
e[47] !== b || e[48] !== Q ? (q = /* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
352
352
|
b,
|
|
353
353
|
Q
|
|
354
354
|
] }), e[47] = b, e[48] = Q, e[49] = q) : q = e[49];
|
|
355
355
|
let H;
|
|
356
356
|
e[50] !== D || e[51] !== q ? (H = /* @__PURE__ */ n(Te, { in: D, children: q }), e[50] = D, e[51] = q, e[52] = H) : H = e[52];
|
|
357
357
|
let X;
|
|
358
|
-
return e[53] !== V || e[54] !== H || e[55] !== h ? (X = /* @__PURE__ */ S(
|
|
358
|
+
return e[53] !== V || e[54] !== H || e[55] !== h ? (X = /* @__PURE__ */ S(k.Section, { children: [
|
|
359
359
|
s,
|
|
360
360
|
p,
|
|
361
|
-
/* @__PURE__ */ S(
|
|
361
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
362
362
|
h,
|
|
363
363
|
V,
|
|
364
364
|
H
|
|
365
365
|
] })
|
|
366
366
|
] }), e[53] = V, e[54] = H, e[55] = h, e[56] = X) : X = e[56], X;
|
|
367
|
-
},
|
|
367
|
+
}, En = ({
|
|
368
368
|
formData: t,
|
|
369
369
|
setFormData: e,
|
|
370
370
|
llmReservedNames: r = /* @__PURE__ */ new Set(),
|
|
@@ -416,10 +416,10 @@ const fn = (t) => {
|
|
|
416
416
|
/* @__PURE__ */ n(ee, { display: "flex", flexDirection: "row", alignItems: "center", gap: 1, children: /* @__PURE__ */ n(j, { variant: "h5", children: l ? "Environment Variables" : "Environment Variables (Optional)" }) }),
|
|
417
417
|
/* @__PURE__ */ n(ee, { display: "flex", flexDirection: "column", py: 2, gap: 2, children: a.length ? a.map((i, d) => {
|
|
418
418
|
const s = new Set(a.flatMap((h, c) => c !== d && h.key ? [h.key] : [])), p = !!i.key && o.has(i.key), m = i.key && r.has(i.key) ? "Already used as an LLM provider variable" : i.key && s.has(i.key) ? "Duplicate key" : void 0;
|
|
419
|
-
return /* @__PURE__ */ n(
|
|
419
|
+
return /* @__PURE__ */ n(pn, { index: d, keyValue: i.key || "", valueValue: i.value || "", isSensitive: i.isSensitive || !1, onKeyChange: (h) => y(d, "key", h), onValueChange: (h) => y(d, "value", h), onSensitiveChange: (h) => y(d, "isSensitive", h), onRemove: p ? () => {
|
|
420
420
|
} : () => g(d), keyDisabled: p, keyError: m }, `env-${d}`);
|
|
421
|
-
}) : /* @__PURE__ */ n(
|
|
422
|
-
!l && /* @__PURE__ */ n(Ce, { startIcon: /* @__PURE__ */ n(
|
|
421
|
+
}) : /* @__PURE__ */ n(pn, { index: 0, keyValue: a?.[0]?.key || "", valueValue: a?.[0]?.value || "", isSensitive: a?.[0]?.isSensitive || !1, onKeyChange: (i) => v("key", i), onValueChange: (i) => v("value", i), onSensitiveChange: (i) => v("isSensitive", i), onRemove: () => g(0), keyError: a?.[0]?.key && r.has(a[0].key) ? "Already used as an LLM provider variable" : void 0 }, "env-0") }),
|
|
422
|
+
!l && /* @__PURE__ */ n(Ce, { startIcon: /* @__PURE__ */ n(zt, { fontSize: "small" }), disabled: u, variant: "outlined", color: "primary", size: "small", onClick: f, children: "Add" })
|
|
423
423
|
] }) });
|
|
424
424
|
}, Ur = jt({
|
|
425
425
|
name: ne().trim().min(1, "Name is required").min(2, "Name must be at least 2 characters").max(25, "Name must be at most 25 characters").refine((t) => /^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$/.test(t) || t.length === 1, {
|
|
@@ -427,7 +427,7 @@ const fn = (t) => {
|
|
|
427
427
|
}),
|
|
428
428
|
username: ne().trim().min(1, "Username is required"),
|
|
429
429
|
password: ne().min(1, "Password/PAT is required")
|
|
430
|
-
}),
|
|
430
|
+
}), nn = {
|
|
431
431
|
name: "",
|
|
432
432
|
username: "",
|
|
433
433
|
password: ""
|
|
@@ -438,12 +438,12 @@ const fn = (t) => {
|
|
|
438
438
|
onSecretCreated: l
|
|
439
439
|
} = t, {
|
|
440
440
|
orgId: a
|
|
441
|
-
} = ue(), [u, f] = ie(
|
|
441
|
+
} = ue(), [u, f] = ie(nn), {
|
|
442
442
|
errors: g,
|
|
443
443
|
validateForm: y,
|
|
444
444
|
clearErrors: v,
|
|
445
445
|
clearFieldError: i
|
|
446
|
-
} =
|
|
446
|
+
} = Ft(Ur), {
|
|
447
447
|
mutate: d,
|
|
448
448
|
isPending: s,
|
|
449
449
|
error: p,
|
|
@@ -457,8 +457,8 @@ const fn = (t) => {
|
|
|
457
457
|
})), i(O);
|
|
458
458
|
}, e[0] = i, e[1] = h) : h = e[1];
|
|
459
459
|
const c = h;
|
|
460
|
-
let
|
|
461
|
-
e[2] !== d || e[3] !== u || e[4] !== l || e[5] !== a || e[6] !== y ? (
|
|
460
|
+
let _;
|
|
461
|
+
e[2] !== d || e[3] !== u || e[4] !== l || e[5] !== a || e[6] !== y ? (_ = () => {
|
|
462
462
|
y(u) && d({
|
|
463
463
|
params: {
|
|
464
464
|
orgName: a
|
|
@@ -473,14 +473,14 @@ const fn = (t) => {
|
|
|
473
473
|
}
|
|
474
474
|
}, {
|
|
475
475
|
onSuccess: () => {
|
|
476
|
-
l(u.name.trim()), f(
|
|
476
|
+
l(u.name.trim()), f(nn);
|
|
477
477
|
}
|
|
478
478
|
});
|
|
479
|
-
}, e[2] = d, e[3] = u, e[4] = l, e[5] = a, e[6] = y, e[7] =
|
|
480
|
-
const
|
|
479
|
+
}, e[2] = d, e[3] = u, e[4] = l, e[5] = a, e[6] = y, e[7] = _) : _ = e[7];
|
|
480
|
+
const A = _;
|
|
481
481
|
let T;
|
|
482
482
|
e[8] !== v || e[9] !== s || e[10] !== o || e[11] !== m ? (T = () => {
|
|
483
|
-
s || (f(
|
|
483
|
+
s || (f(nn), v(), m(), o());
|
|
484
484
|
}, e[8] = v, e[9] = s, e[10] = o, e[11] = m, e[12] = T) : T = e[12];
|
|
485
485
|
const I = T;
|
|
486
486
|
let P;
|
|
@@ -495,19 +495,19 @@ const fn = (t) => {
|
|
|
495
495
|
e[18] !== c ? (L = (O) => c("name", O.target.value), e[18] = c, e[19] = L) : L = e[19];
|
|
496
496
|
const U = !!g.name, W = g.name || "A unique name for this secret";
|
|
497
497
|
let R;
|
|
498
|
-
e[20] !== u.name || e[21] !== W || e[22] !== L || e[23] !== U ? (R = /* @__PURE__ */ n(
|
|
498
|
+
e[20] !== u.name || e[21] !== W || e[22] !== L || e[23] !== U ? (R = /* @__PURE__ */ n(k.ElementWrapper, { label: "Secret Name", name: "name", children: /* @__PURE__ */ n(re, { id: "name", placeholder: "e.g., my-github-pat", value: u.name, onChange: L, error: U, helperText: W, fullWidth: !0 }) }), e[20] = u.name, e[21] = W, e[22] = L, e[23] = U, e[24] = R) : R = e[24];
|
|
499
499
|
let x;
|
|
500
500
|
e[25] !== c ? (x = (O) => c("username", O.target.value), e[25] = c, e[26] = x) : x = e[26];
|
|
501
501
|
const F = !!g.username, M = g.username || "Your Git username";
|
|
502
502
|
let N;
|
|
503
|
-
e[27] !== u.username || e[28] !== x || e[29] !== F || e[30] !== M ? (N = /* @__PURE__ */ n(
|
|
503
|
+
e[27] !== u.username || e[28] !== x || e[29] !== F || e[30] !== M ? (N = /* @__PURE__ */ n(k.ElementWrapper, { label: "Username", name: "username", children: /* @__PURE__ */ n(re, { id: "username", placeholder: "e.g., your-github-username", value: u.username, onChange: x, error: F, helperText: M, fullWidth: !0 }) }), e[27] = u.username, e[28] = x, e[29] = F, e[30] = M, e[31] = N) : N = e[31];
|
|
504
504
|
let w;
|
|
505
505
|
e[32] !== c ? (w = (O) => c("password", O.target.value), e[32] = c, e[33] = w) : w = e[33];
|
|
506
506
|
const b = !!g.password, C = g.password || "Your personal access token (PAT) with repo access";
|
|
507
507
|
let $;
|
|
508
|
-
e[34] !== u.password || e[35] !== w || e[36] !== b || e[37] !== C ? ($ = /* @__PURE__ */ n(
|
|
508
|
+
e[34] !== u.password || e[35] !== w || e[36] !== b || e[37] !== C ? ($ = /* @__PURE__ */ n(k.ElementWrapper, { label: "Personal Access Token", name: "password", children: /* @__PURE__ */ n(re, { id: "password", placeholder: "ghp_xxxxxxxxxxxx", type: "password", value: u.password, onChange: w, error: b, helperText: C, fullWidth: !0 }) }), e[34] = u.password, e[35] = w, e[36] = b, e[37] = C, e[38] = $) : $ = e[38];
|
|
509
509
|
let z;
|
|
510
|
-
e[39] !== R || e[40] !== N || e[41] !== $ || e[42] !== D ? (z = /* @__PURE__ */ n(or, { children: /* @__PURE__ */ S(
|
|
510
|
+
e[39] !== R || e[40] !== N || e[41] !== $ || e[42] !== D ? (z = /* @__PURE__ */ n(or, { children: /* @__PURE__ */ S(k.Stack, { spacing: 3, sx: E, children: [
|
|
511
511
|
V,
|
|
512
512
|
D,
|
|
513
513
|
R,
|
|
@@ -518,7 +518,7 @@ const fn = (t) => {
|
|
|
518
518
|
e[44] !== I || e[45] !== s ? (G = /* @__PURE__ */ n(Ce, { onClick: I, disabled: s, children: "Cancel" }), e[44] = I, e[45] = s, e[46] = G) : G = e[46];
|
|
519
519
|
const Q = s ? "Creating..." : "Create Secret";
|
|
520
520
|
let q;
|
|
521
|
-
e[47] !==
|
|
521
|
+
e[47] !== A || e[48] !== s || e[49] !== Q ? (q = /* @__PURE__ */ n(Ce, { variant: "contained", onClick: A, disabled: s, children: Q }), e[47] = A, e[48] = s, e[49] = Q, e[50] = q) : q = e[50];
|
|
522
522
|
let H;
|
|
523
523
|
e[51] !== G || e[52] !== q ? (H = /* @__PURE__ */ S(cr, { children: [
|
|
524
524
|
G,
|
|
@@ -568,7 +568,7 @@ const fn = (t) => {
|
|
|
568
568
|
e[7] !== o || e[8] !== d ? (c = (F) => {
|
|
569
569
|
o("gitSecretRef", F), d(), f(!1);
|
|
570
570
|
}, e[7] = o, e[8] = d, e[9] = c) : c = e[9];
|
|
571
|
-
const
|
|
571
|
+
const _ = c, A = !!l.gitSecretRef, T = r.gitSecretRef || "";
|
|
572
572
|
let I;
|
|
573
573
|
e[10] !== i ? (I = i ? /* @__PURE__ */ n(rt, { size: 20, sx: {
|
|
574
574
|
mr: 1
|
|
@@ -578,29 +578,29 @@ const fn = (t) => {
|
|
|
578
578
|
let E;
|
|
579
579
|
e[13] !== p ? (E = p.map(Or), e[13] = p, e[14] = E) : E = e[14];
|
|
580
580
|
let V;
|
|
581
|
-
e[15] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ n(et, { value: "__create_new__", children: /* @__PURE__ */ n(ae, { direction: "row", spacing: 1, alignItems: "center", children: /* @__PURE__ */ n(Ce, { variant: "text", size: "small", startIcon: /* @__PURE__ */ n(
|
|
581
|
+
e[15] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ n(et, { value: "__create_new__", children: /* @__PURE__ */ n(ae, { direction: "row", spacing: 1, alignItems: "center", children: /* @__PURE__ */ n(Ce, { variant: "text", size: "small", startIcon: /* @__PURE__ */ n(zt, { size: 16 }), sx: {
|
|
582
582
|
textTransform: "none",
|
|
583
583
|
p: 0
|
|
584
584
|
}, children: "Create new git secret" }) }) }), e[15] = V) : V = e[15];
|
|
585
585
|
let D;
|
|
586
|
-
e[16] !== h || e[17] !== i || e[18] !== E || e[19] !== T || e[20] !== I ? (D = /* @__PURE__ */ S(
|
|
586
|
+
e[16] !== h || e[17] !== i || e[18] !== E || e[19] !== T || e[20] !== I ? (D = /* @__PURE__ */ S(Wt, { id: "gitSecretRef", value: T, onChange: h, displayEmpty: !0, disabled: i, startAdornment: I, children: [
|
|
587
587
|
P,
|
|
588
588
|
E,
|
|
589
589
|
V
|
|
590
590
|
] }), e[16] = h, e[17] = i, e[18] = E, e[19] = T, e[20] = I, e[21] = D) : D = e[21];
|
|
591
591
|
let L;
|
|
592
|
-
e[22] !== l.gitSecretRef ? (L = l.gitSecretRef ? /* @__PURE__ */ n(
|
|
592
|
+
e[22] !== l.gitSecretRef ? (L = l.gitSecretRef ? /* @__PURE__ */ n(Ot, { error: !0, children: l.gitSecretRef }) : /* @__PURE__ */ n(Ot, { children: "Select a git secret for private repository authentication" }), e[22] = l.gitSecretRef, e[23] = L) : L = e[23];
|
|
593
593
|
let U;
|
|
594
|
-
e[24] !== D || e[25] !== L || e[26] !==
|
|
594
|
+
e[24] !== D || e[25] !== L || e[26] !== A ? (U = /* @__PURE__ */ n(k.ElementWrapper, { label: "Git Secret (Optional)", name: "gitSecretRef", children: /* @__PURE__ */ S(an, { fullWidth: !0, error: A, children: [
|
|
595
595
|
D,
|
|
596
596
|
L
|
|
597
|
-
] }) }), e[24] = D, e[25] = L, e[26] =
|
|
597
|
+
] }) }), e[24] = D, e[25] = L, e[26] = A, e[27] = U) : U = e[27];
|
|
598
598
|
let W;
|
|
599
599
|
e[28] === Symbol.for("react.memo_cache_sentinel") ? (W = () => f(!1), e[28] = W) : W = e[28];
|
|
600
600
|
let R;
|
|
601
|
-
e[29] !==
|
|
601
|
+
e[29] !== _ || e[30] !== u ? (R = /* @__PURE__ */ n(jr, { open: u, onClose: W, onSecretCreated: _ }), e[29] = _, e[30] = u, e[31] = R) : R = e[31];
|
|
602
602
|
let x;
|
|
603
|
-
return e[32] !== U || e[33] !== R ? (x = /* @__PURE__ */ S(
|
|
603
|
+
return e[32] !== U || e[33] !== R ? (x = /* @__PURE__ */ S(vn, { children: [
|
|
604
604
|
U,
|
|
605
605
|
R
|
|
606
606
|
] }), e[32] = U, e[33] = R, e[34] = x) : x = e[34], x;
|
|
@@ -611,17 +611,17 @@ function Or(t) {
|
|
|
611
611
|
function Wr(t) {
|
|
612
612
|
return t?.length ? [...t].sort((e, r) => new Date(r.deployedAt ?? 0).getTime() - new Date(e.deployedAt ?? 0).getTime())[0] ?? null : null;
|
|
613
613
|
}
|
|
614
|
-
const
|
|
614
|
+
const wn = (t) => {
|
|
615
615
|
const e = ce(61), {
|
|
616
616
|
provider: r,
|
|
617
617
|
isSelected: o,
|
|
618
618
|
templateInfo: l,
|
|
619
619
|
fallbackLabel: a
|
|
620
620
|
} = t, u = a === void 0 ? "Select provider" : a, f = r?.deployments;
|
|
621
|
-
let g, y, v, i, d, s, p, m, h, c,
|
|
621
|
+
let g, y, v, i, d, s, p, m, h, c, _;
|
|
622
622
|
if (e[0] !== u || e[1] !== o || e[2] !== r || e[3] !== f || e[4] !== l) {
|
|
623
623
|
const R = Wr(f);
|
|
624
|
-
y = ae, h = "row", c = 2,
|
|
624
|
+
y = ae, h = "row", c = 2, _ = 1, v = "center";
|
|
625
625
|
const x = o ? "primary.main" : "secondary.main", F = o ? "common.white" : "text.secondary";
|
|
626
626
|
let M;
|
|
627
627
|
e[16] !== x || e[17] !== F ? (M = {
|
|
@@ -639,7 +639,7 @@ const En = (t) => {
|
|
|
639
639
|
" "
|
|
640
640
|
] }), e[24] = w, e[25] = b) : b = e[25];
|
|
641
641
|
let C;
|
|
642
|
-
e[26] !== r || e[27] !== l ? (C = r?.template && /* @__PURE__ */ n(
|
|
642
|
+
e[26] !== r || e[27] !== l ? (C = r?.template && /* @__PURE__ */ n(un, { title: "Provider template", placement: "top", arrow: !0, children: /* @__PURE__ */ n(kn, { label: l?.displayName ?? r.template, size: "small", variant: "outlined", icon: l?.logoUrl ? /* @__PURE__ */ n(ee, { component: "img", src: l.logoUrl, alt: l.displayName, sx: {
|
|
643
643
|
width: 14,
|
|
644
644
|
height: 14,
|
|
645
645
|
borderRadius: "100%"
|
|
@@ -651,11 +651,11 @@ const En = (t) => {
|
|
|
651
651
|
Xn(new Date(R.deployedAt), {
|
|
652
652
|
addSuffix: !0
|
|
653
653
|
})
|
|
654
|
-
] }), e[0] = u, e[1] = o, e[2] = r, e[3] = f, e[4] = l, e[5] = g, e[6] = y, e[7] = v, e[8] = i, e[9] = d, e[10] = s, e[11] = p, e[12] = m, e[13] = h, e[14] = c, e[15] =
|
|
654
|
+
] }), e[0] = u, e[1] = o, e[2] = r, e[3] = f, e[4] = l, e[5] = g, e[6] = y, e[7] = v, e[8] = i, e[9] = d, e[10] = s, e[11] = p, e[12] = m, e[13] = h, e[14] = c, e[15] = _;
|
|
655
655
|
} else
|
|
656
|
-
g = e[5], y = e[6], v = e[7], i = e[8], d = e[9], s = e[10], p = e[11], m = e[12], h = e[13], c = e[14],
|
|
657
|
-
let
|
|
658
|
-
e[32] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
656
|
+
g = e[5], y = e[6], v = e[7], i = e[8], d = e[9], s = e[10], p = e[11], m = e[12], h = e[13], c = e[14], _ = e[15];
|
|
657
|
+
let A;
|
|
658
|
+
e[32] === Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ n(Cn, { orientation: "vertical" }), e[32] = A) : A = e[32];
|
|
659
659
|
const T = r?.rateLimiting ? "text.primary" : "text.disabled";
|
|
660
660
|
let I;
|
|
661
661
|
e[33] !== r ? (I = r?.rateLimiting ? (() => {
|
|
@@ -672,7 +672,7 @@ const En = (t) => {
|
|
|
672
672
|
let V;
|
|
673
673
|
e[38] !== r ? (V = r?.policies?.length ? /* @__PURE__ */ S(ae, { direction: "row", spacing: 0.25, flexWrap: "wrap", alignItems: "center", children: [
|
|
674
674
|
r.policies.slice(0, 3).map(zr),
|
|
675
|
-
r.policies.length > 3 && /* @__PURE__ */ n(
|
|
675
|
+
r.policies.length > 3 && /* @__PURE__ */ n(un, { title: r.policies.join(", "), placement: "top", arrow: !0, children: /* @__PURE__ */ n(j, { variant: "caption", color: "text.secondary", children: ` +${r.policies.length - 3} more..` }) })
|
|
676
676
|
] }) : "None", e[38] = r, e[39] = V) : V = e[39];
|
|
677
677
|
let D;
|
|
678
678
|
e[40] !== E || e[41] !== V ? (D = /* @__PURE__ */ S(j, { variant: "caption", color: "text.secondary", children: [
|
|
@@ -689,14 +689,14 @@ const En = (t) => {
|
|
|
689
689
|
e[46] !== g || e[47] !== L || e[48] !== d || e[49] !== s || e[50] !== p || e[51] !== m ? (U = /* @__PURE__ */ S(g, { spacing: d, flexGrow: s, children: [
|
|
690
690
|
p,
|
|
691
691
|
m,
|
|
692
|
-
|
|
692
|
+
A,
|
|
693
693
|
L
|
|
694
694
|
] }), e[46] = g, e[47] = L, e[48] = d, e[49] = s, e[50] = p, e[51] = m, e[52] = U) : U = e[52];
|
|
695
695
|
let W;
|
|
696
|
-
return e[53] !== y || e[54] !== v || e[55] !== i || e[56] !== U || e[57] !== h || e[58] !== c || e[59] !==
|
|
696
|
+
return e[53] !== y || e[54] !== v || e[55] !== i || e[56] !== U || e[57] !== h || e[58] !== c || e[59] !== _ ? (W = /* @__PURE__ */ S(y, { direction: h, spacing: c, flexGrow: _, alignItems: v, children: [
|
|
697
697
|
i,
|
|
698
698
|
U
|
|
699
|
-
] }), e[53] = y, e[54] = v, e[55] = i, e[56] = U, e[57] = h, e[58] = c, e[59] =
|
|
699
|
+
] }), e[53] = y, e[54] = v, e[55] = i, e[56] = U, e[57] = h, e[58] = c, e[59] = _, e[60] = W) : W = e[60], W;
|
|
700
700
|
}, Xe = /^[A-Za-z_][A-Za-z0-9_]*$/, Fr = (t) => {
|
|
701
701
|
const e = ce(93), {
|
|
702
702
|
entry: r,
|
|
@@ -713,9 +713,9 @@ const En = (t) => {
|
|
|
713
713
|
let h;
|
|
714
714
|
e[0] !== r.selectedProviderByEnv ? (h = Object.values(r.selectedProviderByEnv).find(Gr), e[0] = r.selectedProviderByEnv, e[1] = h) : h = e[1];
|
|
715
715
|
const c = h;
|
|
716
|
-
let
|
|
717
|
-
e[2] !== c || e[3] !== o || e[4] !== l ? (
|
|
718
|
-
const
|
|
716
|
+
let _;
|
|
717
|
+
e[2] !== c || e[3] !== o || e[4] !== l ? (_ = (c ? l.find((Y) => Y.uuid === c.uuid)?.name : null) ?? `LLM Provider ${o + 1}`, e[2] = c, e[3] = o, e[4] = l, e[5] = _) : _ = e[5];
|
|
718
|
+
const A = _;
|
|
719
719
|
let T;
|
|
720
720
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (T = (Y, J) => s(J), e[6] = T) : T = e[6];
|
|
721
721
|
const I = T;
|
|
@@ -773,7 +773,7 @@ const En = (t) => {
|
|
|
773
773
|
e[34] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ n(Er, { size: 18 }), e[34] = C) : C = e[34];
|
|
774
774
|
const $ = `llm-provider-${o}-content`, z = `llm-provider-${o}-header`;
|
|
775
775
|
let G;
|
|
776
|
-
e[35] !==
|
|
776
|
+
e[35] !== A ? (G = /* @__PURE__ */ n(j, { variant: "subtitle2", children: A }), e[35] = A, e[36] = G) : G = e[36];
|
|
777
777
|
let Q;
|
|
778
778
|
e[37] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ n(wr, { size: 16 }), e[37] = Q) : Q = e[37];
|
|
779
779
|
let q;
|
|
@@ -790,7 +790,7 @@ const En = (t) => {
|
|
|
790
790
|
mb: 1
|
|
791
791
|
}, children: u.map(Br) }), e[47] = u, e[48] = d, e[49] = O) : O = e[49];
|
|
792
792
|
let B;
|
|
793
|
-
e[50] !== m || e[51] !== u || e[52] !== D || e[53] !== l || e[54] !== d || e[55] !== p || e[56] !== a ? (B = /* @__PURE__ */ n(ee, { children: m ? /* @__PURE__ */ n(
|
|
793
|
+
e[50] !== m || e[51] !== u || e[52] !== D || e[53] !== l || e[54] !== d || e[55] !== p || e[56] !== a ? (B = /* @__PURE__ */ n(ee, { children: m ? /* @__PURE__ */ n(k.CardButton, { onClick: D, selected: !0, children: /* @__PURE__ */ n(k.CardContent, { children: /* @__PURE__ */ n(wn, { provider: l.find((Y) => Y.uuid === m) ?? null, isSelected: !0, templateInfo: a.get(l.find((Y) => Y.uuid === m)?.template ?? "") }) }) }) : /* @__PURE__ */ S(Ce, { variant: "outlined", size: "small", startIcon: /* @__PURE__ */ n(zt, { size: 16 }), onClick: D, children: [
|
|
794
794
|
"Select Provider for ",
|
|
795
795
|
u[d]?.displayName ?? p
|
|
796
796
|
] }) }), e[50] = m, e[51] = u, e[52] = D, e[53] = l, e[54] = d, e[55] = p, e[56] = a, e[57] = B) : B = e[57];
|
|
@@ -801,13 +801,13 @@ const En = (t) => {
|
|
|
801
801
|
e[59] !== r.urlVarName || e[60] !== g ? (se = r.urlVarName !== void 0 && !Xe.test(r.urlVarName) || r.urlVarName !== void 0 && g.has(r.urlVarName), e[59] = r.urlVarName, e[60] = g, e[61] = se) : se = e[61];
|
|
802
802
|
const Pe = r.urlVarName !== void 0 && !Xe.test(r.urlVarName) ? "Must match /^[A-Za-z_][A-Za-z0-9_]*$/" : r.urlVarName !== void 0 && g.has(r.urlVarName) ? "Name is already used by another provider" : void 0;
|
|
803
803
|
let de;
|
|
804
|
-
e[62] !== U || e[63] !== te || e[64] !== fe || e[65] !== se || e[66] !== Pe ? (de = /* @__PURE__ */ n(
|
|
804
|
+
e[62] !== U || e[63] !== te || e[64] !== fe || e[65] !== se || e[66] !== Pe ? (de = /* @__PURE__ */ n(k.ElementWrapper, { label: "URL variable name", name: "urlVarName", children: /* @__PURE__ */ n(re, { size: "small", fullWidth: !0, value: te, onChange: U, placeholder: fe, error: se, helperText: Pe }) }), e[62] = U, e[63] = te, e[64] = fe, e[65] = se, e[66] = Pe, e[67] = de) : de = e[67];
|
|
805
805
|
const Ee = r.apikeyVarName ?? `${f}_${o + 1}_API_KEY`, we = `${f}_${o + 1}_API_KEY`;
|
|
806
806
|
let me;
|
|
807
807
|
e[68] !== r.apikeyVarName || e[69] !== g ? (me = r.apikeyVarName !== void 0 && !Xe.test(r.apikeyVarName) || r.apikeyVarName !== void 0 && g.has(r.apikeyVarName), e[68] = r.apikeyVarName, e[69] = g, e[70] = me) : me = e[70];
|
|
808
808
|
const Ie = r.apikeyVarName !== void 0 && !Xe.test(r.apikeyVarName) ? "Must match /^[A-Za-z_][A-Za-z0-9_]*$/" : r.apikeyVarName !== void 0 && g.has(r.apikeyVarName) ? "Name is already used by another provider" : void 0;
|
|
809
809
|
let Se;
|
|
810
|
-
e[71] !== R || e[72] !== Ee || e[73] !== we || e[74] !== me || e[75] !== Ie ? (Se = /* @__PURE__ */ n(
|
|
810
|
+
e[71] !== R || e[72] !== Ee || e[73] !== we || e[74] !== me || e[75] !== Ie ? (Se = /* @__PURE__ */ n(k.ElementWrapper, { label: "API key variable name", name: "apikeyVarName", children: /* @__PURE__ */ n(re, { size: "small", fullWidth: !0, value: Ee, onChange: R, placeholder: we, error: me, helperText: Ie }) }), e[71] = R, e[72] = Ee, e[73] = we, e[74] = me, e[75] = Ie, e[76] = Se) : Se = e[76];
|
|
811
811
|
let pe;
|
|
812
812
|
e[77] !== de || e[78] !== Se ? (pe = /* @__PURE__ */ S(ee, { children: [
|
|
813
813
|
Z,
|
|
@@ -825,12 +825,12 @@ const En = (t) => {
|
|
|
825
825
|
pe,
|
|
826
826
|
ye
|
|
827
827
|
] }) }), e[85] = O, e[86] = B, e[87] = pe, e[88] = ye, e[89] = he) : he = e[89];
|
|
828
|
-
let
|
|
829
|
-
return e[90] !== X || e[91] !== he ? (
|
|
828
|
+
let ke;
|
|
829
|
+
return e[90] !== X || e[91] !== he ? (ke = /* @__PURE__ */ S(vr, { defaultExpanded: !0, children: [
|
|
830
830
|
X,
|
|
831
831
|
he
|
|
832
|
-
] }), e[90] = X, e[91] = he, e[92] =
|
|
833
|
-
},
|
|
832
|
+
] }), e[90] = X, e[91] = he, e[92] = ke) : ke = e[92], ke;
|
|
833
|
+
}, In = ({
|
|
834
834
|
llmProviders: t,
|
|
835
835
|
setLLMProviders: e,
|
|
836
836
|
agentDisplayName: r,
|
|
@@ -840,11 +840,11 @@ const En = (t) => {
|
|
|
840
840
|
orgId: l
|
|
841
841
|
} = ue(), [a, u] = ie(null), [f, g] = ie(""), [y, v] = ie(!1), [i, d] = ie(""), [s, p] = ie(""), m = Nr(null), h = nt(), {
|
|
842
842
|
data: c = [],
|
|
843
|
-
isLoading:
|
|
843
|
+
isLoading: _
|
|
844
844
|
} = Bn({
|
|
845
845
|
orgName: l
|
|
846
846
|
}), {
|
|
847
|
-
data:
|
|
847
|
+
data: A,
|
|
848
848
|
isLoading: T
|
|
849
849
|
} = Kn({
|
|
850
850
|
orgName: l
|
|
@@ -866,7 +866,7 @@ const En = (t) => {
|
|
|
866
866
|
logoUrl: C.metadata?.logoUrl
|
|
867
867
|
});
|
|
868
868
|
return b;
|
|
869
|
-
}, [I]), D = be(() => (
|
|
869
|
+
}, [I]), D = be(() => (A?.entries ?? []).map((b) => ({
|
|
870
870
|
uuid: b.uuid,
|
|
871
871
|
id: b.handle,
|
|
872
872
|
name: b.name,
|
|
@@ -876,7 +876,7 @@ const En = (t) => {
|
|
|
876
876
|
security: b.security,
|
|
877
877
|
rateLimiting: b.rateLimiting,
|
|
878
878
|
policies: b.policies ?? []
|
|
879
|
-
})), [
|
|
879
|
+
})), [A]), L = r ? r.toUpperCase().replace(/[^A-Z0-9]/g, "_") : "AGENT", U = a !== null ? t[a]?.selectedProviderByEnv[f]?.uuid ?? null : null, W = Ne((b, C) => {
|
|
880
880
|
u(b), g(C), v(!0);
|
|
881
881
|
}, []), R = Ne(() => {
|
|
882
882
|
u(null), v(!0);
|
|
@@ -924,8 +924,8 @@ const En = (t) => {
|
|
|
924
924
|
const C = b.target.value;
|
|
925
925
|
d(C), m.current && clearTimeout(m.current), m.current = setTimeout(() => p(C), 250);
|
|
926
926
|
}, []);
|
|
927
|
-
return /* @__PURE__ */ S(
|
|
928
|
-
/* @__PURE__ */ n(
|
|
927
|
+
return /* @__PURE__ */ S(k.Section, { children: [
|
|
928
|
+
/* @__PURE__ */ n(k.Subheader, { children: "LLM Providers (Optional)" }),
|
|
929
929
|
/* @__PURE__ */ S(ae, { spacing: 1, children: [
|
|
930
930
|
t.map((b, C) => {
|
|
931
931
|
const $ = /* @__PURE__ */ new Set([...t.flatMap((z, G) => G === C ? [] : [z.urlVarName ?? `${L}_${G + 1}_URL`, z.apikeyVarName ?? `${L}_${G + 1}_API_KEY`]), ...Array.from(o)]);
|
|
@@ -933,10 +933,10 @@ const En = (t) => {
|
|
|
933
933
|
}),
|
|
934
934
|
/* @__PURE__ */ n(ee, { sx: {
|
|
935
935
|
pt: t.length > 0 ? 1 : 0
|
|
936
|
-
}, children: /* @__PURE__ */ n(Ce, { variant: "outlined", size: "small", startIcon: /* @__PURE__ */ n(
|
|
936
|
+
}, children: /* @__PURE__ */ n(Ce, { variant: "outlined", size: "small", startIcon: /* @__PURE__ */ n(zt, { size: 16 }), onClick: R, disabled: _ || T, children: "Add" }) })
|
|
937
937
|
] }),
|
|
938
938
|
/* @__PURE__ */ S(Hn, { open: y, onClose: x, minWidth: 740, maxWidth: 740, children: [
|
|
939
|
-
/* @__PURE__ */ n(Zn, { icon: /* @__PURE__ */ n(
|
|
939
|
+
/* @__PURE__ */ n(Zn, { icon: /* @__PURE__ */ n(Ar, { size: 24 }), title: "Select Provider", onClose: x }),
|
|
940
940
|
/* @__PURE__ */ n(Yn, { children: /* @__PURE__ */ S(ae, { children: [
|
|
941
941
|
/* @__PURE__ */ n(j, { variant: "body2", color: "text.secondary", sx: {
|
|
942
942
|
mb: 1
|
|
@@ -959,13 +959,13 @@ const En = (t) => {
|
|
|
959
959
|
});
|
|
960
960
|
if (b.length === 0) {
|
|
961
961
|
const C = !!s.trim();
|
|
962
|
-
return /* @__PURE__ */ n(
|
|
962
|
+
return /* @__PURE__ */ n(hn.Container, { children: /* @__PURE__ */ n(hn.EmptyState, { illustration: /* @__PURE__ */ n(xr, { size: 64 }), title: C ? "No LLM Service Providers match your search" : "No LLM Service Providers available", description: C ? "Try a different keyword or clear the search filter." : "No LLM Service Providers found in the catalog. Add LLM service providers from the organization LLM Service Providers page first.", action: !C && l ? /* @__PURE__ */ n(Ce, { variant: "contained", size: "small", startIcon: /* @__PURE__ */ n(An, { size: 16 }), onClick: () => h(le(oe.children.org.children.llmProviders.children.add.path, {
|
|
963
963
|
orgId: l
|
|
964
964
|
})), children: "Add LLM Service Provider" }) : void 0 }) });
|
|
965
965
|
}
|
|
966
966
|
return b.map((C) => {
|
|
967
967
|
const $ = U === C.uuid, z = () => F(C.uuid, C.id);
|
|
968
|
-
return /* @__PURE__ */ n(
|
|
968
|
+
return /* @__PURE__ */ n(k.CardButton, { onClick: z, selected: $, "aria-label": `${C.name}. ${$ ? "Selected" : "Click to select"}`, children: /* @__PURE__ */ n(k.CardContent, { children: /* @__PURE__ */ n(wn, { provider: C, isSelected: $, templateInfo: V.get(C.template ?? "") }) }) }, C.uuid);
|
|
969
969
|
});
|
|
970
970
|
})() })
|
|
971
971
|
] }) })
|
|
@@ -973,7 +973,7 @@ const En = (t) => {
|
|
|
973
973
|
] });
|
|
974
974
|
};
|
|
975
975
|
function zr(t) {
|
|
976
|
-
return /* @__PURE__ */ n(
|
|
976
|
+
return /* @__PURE__ */ n(kn, { label: t, size: "small", variant: "outlined" }, t);
|
|
977
977
|
}
|
|
978
978
|
function Gr(t) {
|
|
979
979
|
return t != null;
|
|
@@ -987,7 +987,7 @@ const Kr = [{
|
|
|
987
987
|
}, {
|
|
988
988
|
label: "Docker",
|
|
989
989
|
value: "docker"
|
|
990
|
-
}],
|
|
990
|
+
}], yn = `${Mt.docsUrl ?? ""}${Mt.instrumentationDocLinks?.manualInstrumentation ?? ""}`, qr = `${Mt.docsUrl ?? ""}${Mt.instrumentationDocLinks?.versionMapping ?? ""}`, Hr = (t) => {
|
|
991
991
|
const e = ce(204), {
|
|
992
992
|
formData: r,
|
|
993
993
|
setFormData: o,
|
|
@@ -1007,31 +1007,31 @@ const Kr = [{
|
|
|
1007
1007
|
const {
|
|
1008
1008
|
mutate: p,
|
|
1009
1009
|
isPending: m
|
|
1010
|
-
} =
|
|
1010
|
+
} = ln(s);
|
|
1011
1011
|
let h;
|
|
1012
1012
|
e[2] !== a || e[3] !== o || e[4] !== u ? (h = (K, ve) => {
|
|
1013
1013
|
o(($t) => {
|
|
1014
|
-
const
|
|
1014
|
+
const _e = {
|
|
1015
1015
|
...$t,
|
|
1016
1016
|
[K]: ve
|
|
1017
|
-
}, Ln = u(K, ve,
|
|
1017
|
+
}, Ln = u(K, ve, _e);
|
|
1018
1018
|
if (a(K, Ln), K === "language") {
|
|
1019
1019
|
if (ve === "python") {
|
|
1020
1020
|
a("dockerfilePath", void 0);
|
|
1021
|
-
const
|
|
1022
|
-
a("runCommand",
|
|
1021
|
+
const tn = u("runCommand", _e.runCommand, _e), Vn = u("languageVersion", _e.languageVersion, _e);
|
|
1022
|
+
a("runCommand", tn), a("languageVersion", Vn);
|
|
1023
1023
|
} else if (ve === "docker") {
|
|
1024
1024
|
a("runCommand", void 0), a("languageVersion", void 0);
|
|
1025
|
-
const
|
|
1026
|
-
a("dockerfilePath",
|
|
1025
|
+
const tn = u("dockerfilePath", _e.dockerfilePath, _e);
|
|
1026
|
+
a("dockerfilePath", tn);
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
|
-
return
|
|
1029
|
+
return _e;
|
|
1030
1030
|
});
|
|
1031
1031
|
}, e[2] = a, e[3] = o, e[4] = u, e[5] = h) : h = e[5];
|
|
1032
1032
|
const c = h;
|
|
1033
|
-
let
|
|
1034
|
-
e[6] !== p || e[7] !== c || e[8] !== v ? (
|
|
1033
|
+
let _;
|
|
1034
|
+
e[6] !== p || e[7] !== c || e[8] !== v ? (_ = on.debounce((K) => {
|
|
1035
1035
|
if (K.length < 3) {
|
|
1036
1036
|
c("name", "");
|
|
1037
1037
|
return;
|
|
@@ -1046,18 +1046,18 @@ const Kr = [{
|
|
|
1046
1046
|
},
|
|
1047
1047
|
onError: Zr
|
|
1048
1048
|
});
|
|
1049
|
-
}, 500), e[6] = p, e[7] = c, e[8] = v, e[9] =
|
|
1050
|
-
const
|
|
1049
|
+
}, 500), e[6] = p, e[7] = c, e[8] = v, e[9] = _) : _ = e[9];
|
|
1050
|
+
const A = _;
|
|
1051
1051
|
let T, I;
|
|
1052
|
-
e[10] !==
|
|
1053
|
-
|
|
1054
|
-
}, I = [
|
|
1052
|
+
e[10] !== A ? (T = () => () => {
|
|
1053
|
+
A.cancel();
|
|
1054
|
+
}, I = [A], e[10] = A, e[11] = T, e[12] = I) : (T = e[11], I = e[12]), Le(T, I);
|
|
1055
1055
|
let P, E;
|
|
1056
|
-
e[13] !==
|
|
1057
|
-
r.displayName && r.displayName.length >= 3 ?
|
|
1058
|
-
}, E = [r.displayName, c,
|
|
1056
|
+
e[13] !== A || e[14] !== r.displayName || e[15] !== c ? (P = () => {
|
|
1057
|
+
r.displayName && r.displayName.length >= 3 ? A(r.displayName) : (A.cancel(), c("name", ""));
|
|
1058
|
+
}, E = [r.displayName, c, A], e[13] = A, e[14] = r.displayName, e[15] = c, e[16] = P, e[17] = E) : (P = e[16], E = e[17]), Le(P, E);
|
|
1059
1059
|
let V;
|
|
1060
|
-
e[18] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ n(
|
|
1060
|
+
e[18] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ n(k.Subheader, { children: "Agent Details" }), e[18] = V) : V = e[18];
|
|
1061
1061
|
let D;
|
|
1062
1062
|
e[19] !== c ? (D = (K) => c("displayName", K.target.value), e[19] = c, e[20] = D) : D = e[20];
|
|
1063
1063
|
const L = !!l.displayName;
|
|
@@ -1067,125 +1067,125 @@ const Kr = [{
|
|
|
1067
1067
|
/* @__PURE__ */ n(j, { variant: "caption", children: "Validating name..." })
|
|
1068
1068
|
] }) : l.displayName || "A name for your agent", e[21] = l.displayName, e[22] = m, e[23] = U) : U = e[23];
|
|
1069
1069
|
let W;
|
|
1070
|
-
e[24] !== r.displayName || e[25] !== L || e[26] !== U || e[27] !== D ? (W = /* @__PURE__ */ n(
|
|
1070
|
+
e[24] !== r.displayName || e[25] !== L || e[26] !== U || e[27] !== D ? (W = /* @__PURE__ */ n(k.ElementWrapper, { label: "Name", name: "displayName", children: /* @__PURE__ */ n(re, { id: "displayName", placeholder: "e.g., Customer Support Agent", value: r.displayName, onChange: D, error: L, helperText: U, fullWidth: !0 }) }), e[24] = r.displayName, e[25] = L, e[26] = U, e[27] = D, e[28] = W) : W = e[28];
|
|
1071
1071
|
const R = r.description || "";
|
|
1072
1072
|
let x;
|
|
1073
1073
|
e[29] !== c ? (x = (K) => c("description", K.target.value), e[29] = c, e[30] = x) : x = e[30];
|
|
1074
1074
|
const F = !!l.description;
|
|
1075
1075
|
let M;
|
|
1076
|
-
e[31] !== l.description || e[32] !== R || e[33] !== x || e[34] !== F ? (M = /* @__PURE__ */ n(
|
|
1076
|
+
e[31] !== l.description || e[32] !== R || e[33] !== x || e[34] !== F ? (M = /* @__PURE__ */ n(k.ElementWrapper, { label: "Description (optional)", name: "description", children: /* @__PURE__ */ n(re, { id: "description", placeholder: "Short description of what this agent does", multiline: !0, minRows: 2, maxRows: 6, value: R, onChange: x, error: F, helperText: l.description, fullWidth: !0 }) }), e[31] = l.description, e[32] = R, e[33] = x, e[34] = F, e[35] = M) : M = e[35];
|
|
1077
1077
|
let N;
|
|
1078
|
-
e[36] !== W || e[37] !== M ? (N = /* @__PURE__ */ S(
|
|
1078
|
+
e[36] !== W || e[37] !== M ? (N = /* @__PURE__ */ S(k.Section, { children: [
|
|
1079
1079
|
V,
|
|
1080
|
-
/* @__PURE__ */ S(
|
|
1080
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
1081
1081
|
W,
|
|
1082
1082
|
M
|
|
1083
1083
|
] })
|
|
1084
1084
|
] }), e[36] = W, e[37] = M, e[38] = N) : N = e[38];
|
|
1085
1085
|
let w;
|
|
1086
|
-
e[39] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ n(
|
|
1086
|
+
e[39] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ n(k.Subheader, { children: "Repository Details" }), e[39] = w) : w = e[39];
|
|
1087
1087
|
let b;
|
|
1088
1088
|
e[40] !== c ? (b = (K) => c("repositoryUrl", K.target.value), e[40] = c, e[41] = b) : b = e[41];
|
|
1089
1089
|
const C = !!l.repositoryUrl;
|
|
1090
1090
|
let $;
|
|
1091
|
-
e[42] !== l.repositoryUrl || e[43] !== r.repositoryUrl || e[44] !== b || e[45] !== C ? ($ = /* @__PURE__ */ n(
|
|
1091
|
+
e[42] !== l.repositoryUrl || e[43] !== r.repositoryUrl || e[44] !== b || e[45] !== C ? ($ = /* @__PURE__ */ n(k.ElementWrapper, { label: "GitHub Repository", name: "repositoryUrl", children: /* @__PURE__ */ n(re, { id: "repositoryUrl", placeholder: "https://github.com/username/repo", value: r.repositoryUrl, onChange: b, error: C, helperText: l.repositoryUrl, fullWidth: !0 }) }), e[42] = l.repositoryUrl, e[43] = r.repositoryUrl, e[44] = b, e[45] = C, e[46] = $) : $ = e[46];
|
|
1092
1092
|
let z;
|
|
1093
1093
|
e[47] !== l || e[48] !== r || e[49] !== c || e[50] !== d ? (z = d && /* @__PURE__ */ n(Mr, { formData: r, handleFieldChange: c, errors: l }), e[47] = l, e[48] = r, e[49] = c, e[50] = d, e[51] = z) : z = e[51];
|
|
1094
1094
|
let G;
|
|
1095
1095
|
e[52] !== c ? (G = (K) => c("branch", K.target.value), e[52] = c, e[53] = G) : G = e[53];
|
|
1096
1096
|
const Q = !!l.branch;
|
|
1097
1097
|
let q;
|
|
1098
|
-
e[54] !== l.branch || e[55] !== r.branch || e[56] !== G || e[57] !== Q ? (q = /* @__PURE__ */ n(
|
|
1098
|
+
e[54] !== l.branch || e[55] !== r.branch || e[56] !== G || e[57] !== Q ? (q = /* @__PURE__ */ n(k.ElementWrapper, { label: "Branch", name: "branch", children: /* @__PURE__ */ n(re, { id: "branch", placeholder: "main", value: r.branch, onChange: G, error: Q, helperText: l.branch, fullWidth: !0 }) }), e[54] = l.branch, e[55] = r.branch, e[56] = G, e[57] = Q, e[58] = q) : q = e[58];
|
|
1099
1099
|
let H;
|
|
1100
1100
|
e[59] !== c ? (H = (K) => c("appPath", K.target.value), e[59] = c, e[60] = H) : H = e[60];
|
|
1101
1101
|
const X = !!l.appPath;
|
|
1102
1102
|
let O;
|
|
1103
|
-
e[61] !== l.appPath || e[62] !== r.appPath || e[63] !== H || e[64] !== X ? (O = /* @__PURE__ */ n(
|
|
1103
|
+
e[61] !== l.appPath || e[62] !== r.appPath || e[63] !== H || e[64] !== X ? (O = /* @__PURE__ */ n(k.ElementWrapper, { label: "Project Path", name: "appPath", children: /* @__PURE__ */ n(re, { id: "appPath", placeholder: "my-agent", value: r.appPath, onChange: H, error: X, helperText: l.appPath, fullWidth: !0 }) }), e[61] = l.appPath, e[62] = r.appPath, e[63] = H, e[64] = X, e[65] = O) : O = e[65];
|
|
1104
1104
|
let B;
|
|
1105
|
-
e[66] !== q || e[67] !== O ? (B = /* @__PURE__ */ S(
|
|
1105
|
+
e[66] !== q || e[67] !== O ? (B = /* @__PURE__ */ S(k.Stack, { direction: "row", spacing: 2, children: [
|
|
1106
1106
|
q,
|
|
1107
1107
|
O
|
|
1108
1108
|
] }), e[66] = q, e[67] = O, e[68] = B) : B = e[68];
|
|
1109
1109
|
let Z;
|
|
1110
|
-
e[69] !== $ || e[70] !== z || e[71] !== B ? (Z = /* @__PURE__ */ S(
|
|
1110
|
+
e[69] !== $ || e[70] !== z || e[71] !== B ? (Z = /* @__PURE__ */ S(k.Section, { children: [
|
|
1111
1111
|
w,
|
|
1112
|
-
/* @__PURE__ */ S(
|
|
1112
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
1113
1113
|
$,
|
|
1114
1114
|
z,
|
|
1115
1115
|
B
|
|
1116
1116
|
] })
|
|
1117
1117
|
] }), e[69] = $, e[70] = z, e[71] = B, e[72] = Z) : Z = e[72];
|
|
1118
1118
|
let te;
|
|
1119
|
-
e[73] === Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ n(
|
|
1119
|
+
e[73] === Symbol.for("react.memo_cache_sentinel") ? (te = /* @__PURE__ */ n(k.Subheader, { children: "Build Details" }), e[73] = te) : te = e[73];
|
|
1120
1120
|
let fe;
|
|
1121
1121
|
e[74] !== r.language || e[75] !== c ? (fe = Kr.map((K) => {
|
|
1122
1122
|
const ve = r.language === K.value;
|
|
1123
|
-
return /* @__PURE__ */ n(
|
|
1123
|
+
return /* @__PURE__ */ n(k.CardButton, { onClick: () => c("language", K.value), selected: ve, children: /* @__PURE__ */ n(k.CardHeader, { title: /* @__PURE__ */ S(k.Stack, { direction: "row", spacing: 2, justifyContent: "center", alignItems: "center", children: [
|
|
1124
1124
|
/* @__PURE__ */ n(er, { language: K.value }),
|
|
1125
|
-
/* @__PURE__ */ n(
|
|
1125
|
+
/* @__PURE__ */ n(k.Body, { children: K.label })
|
|
1126
1126
|
] }) }) }, K.value);
|
|
1127
1127
|
}), e[74] = r.language, e[75] = c, e[76] = fe) : fe = e[76];
|
|
1128
1128
|
let se;
|
|
1129
|
-
e[77] !== fe ? (se = /* @__PURE__ */ n(
|
|
1129
|
+
e[77] !== fe ? (se = /* @__PURE__ */ n(k.Stack, { direction: "row", spacing: 2, children: fe }), e[77] = fe, e[78] = se) : se = e[78];
|
|
1130
1130
|
const Pe = r.language === "python";
|
|
1131
1131
|
let de;
|
|
1132
1132
|
e[79] !== c ? (de = (K) => c("runCommand", K.target.value), e[79] = c, e[80] = de) : de = e[80];
|
|
1133
1133
|
const Ee = !!l.runCommand, we = l.runCommand || "Dependencies auto-install from package.json, requirements.txt, or pyproject.toml";
|
|
1134
1134
|
let me;
|
|
1135
|
-
e[81] !== r.runCommand || e[82] !== de || e[83] !== Ee || e[84] !== we ? (me = /* @__PURE__ */ n(
|
|
1135
|
+
e[81] !== r.runCommand || e[82] !== de || e[83] !== Ee || e[84] !== we ? (me = /* @__PURE__ */ n(k.ElementWrapper, { label: "Start Command", name: "runCommand", children: /* @__PURE__ */ n(re, { id: "runCommand", placeholder: "python main.py", value: r.runCommand, onChange: de, error: Ee, helperText: we, fullWidth: !0 }) }), e[81] = r.runCommand, e[82] = de, e[83] = Ee, e[84] = we, e[85] = me) : me = e[85];
|
|
1136
1136
|
const Ie = !!l.languageVersion, Se = r.languageVersion || "";
|
|
1137
1137
|
let pe;
|
|
1138
1138
|
e[86] !== c ? (pe = (K) => c("languageVersion", K.target.value), e[86] = c, e[87] = pe) : pe = e[87];
|
|
1139
1139
|
let ye;
|
|
1140
|
-
e[88] === Symbol.for("react.memo_cache_sentinel") ? (ye =
|
|
1140
|
+
e[88] === Symbol.for("react.memo_cache_sentinel") ? (ye = rn.map(Yr), e[88] = ye) : ye = e[88];
|
|
1141
1141
|
let he;
|
|
1142
|
-
e[89] !== Se || e[90] !== pe ? (he = /* @__PURE__ */ n(
|
|
1143
|
-
const
|
|
1142
|
+
e[89] !== Se || e[90] !== pe ? (he = /* @__PURE__ */ n(Wt, { id: "languageVersion", value: Se, onChange: pe, children: ye }), e[89] = Se, e[90] = pe, e[91] = he) : he = e[91];
|
|
1143
|
+
const ke = l.languageVersion || "Python runtime version";
|
|
1144
1144
|
let Y;
|
|
1145
|
-
e[92] !==
|
|
1145
|
+
e[92] !== ke ? (Y = /* @__PURE__ */ n(Ot, { children: ke }), e[92] = ke, e[93] = Y) : Y = e[93];
|
|
1146
1146
|
let J;
|
|
1147
|
-
e[94] !== Ie || e[95] !== he || e[96] !== Y ? (J = /* @__PURE__ */ n(
|
|
1147
|
+
e[94] !== Ie || e[95] !== he || e[96] !== Y ? (J = /* @__PURE__ */ n(k.ElementWrapper, { label: "Language Version", name: "languageVersion", children: /* @__PURE__ */ S(an, { fullWidth: !0, error: Ie, children: [
|
|
1148
1148
|
he,
|
|
1149
1149
|
Y
|
|
1150
1150
|
] }) }), e[94] = Ie, e[95] = he, e[96] = Y, e[97] = J) : J = e[97];
|
|
1151
1151
|
let ge;
|
|
1152
|
-
e[98] !== me || e[99] !== J ? (ge = /* @__PURE__ */ S(
|
|
1152
|
+
e[98] !== me || e[99] !== J ? (ge = /* @__PURE__ */ S(k.Stack, { direction: "row", spacing: 2, children: [
|
|
1153
1153
|
me,
|
|
1154
1154
|
J
|
|
1155
1155
|
] }), e[98] = me, e[99] = J, e[100] = ge) : ge = e[100];
|
|
1156
|
-
const
|
|
1156
|
+
const Gt = r.enableAutoInstrumentation ?? !0;
|
|
1157
1157
|
let Ve;
|
|
1158
1158
|
e[101] !== c ? (Ve = (K) => c("enableAutoInstrumentation", K.target.checked), e[101] = c, e[102] = Ve) : Ve = e[102];
|
|
1159
1159
|
let De;
|
|
1160
|
-
e[103] !==
|
|
1161
|
-
const
|
|
1160
|
+
e[103] !== Gt || e[104] !== Ve ? (De = /* @__PURE__ */ n(br, { control: /* @__PURE__ */ n(Sr, { checked: Gt, onChange: Ve }), label: "Enable auto instrumentation" }), e[103] = Gt, e[104] = Ve, e[105] = De) : De = e[105];
|
|
1161
|
+
const Bt = r.enableAutoInstrumentation !== !1;
|
|
1162
1162
|
let at;
|
|
1163
1163
|
e[106] === Symbol.for("react.memo_cache_sentinel") ? (at = /* @__PURE__ */ n(j, { variant: "body2", color: "text.secondary", children: "Automatically adds OTEL tracing instrumentation to your agent for observability." }), e[106] = at) : at = e[106];
|
|
1164
1164
|
let it;
|
|
1165
1165
|
e[107] === Symbol.for("react.memo_cache_sentinel") ? (it = {
|
|
1166
1166
|
minWidth: 200
|
|
1167
1167
|
}, e[107] = it) : it = e[107];
|
|
1168
|
-
const
|
|
1168
|
+
const Kt = !!l.instrumentationVersion, qt = r.instrumentationVersion || "";
|
|
1169
1169
|
let Re;
|
|
1170
1170
|
e[108] !== c ? (Re = (K) => c("instrumentationVersion", K.target.value), e[108] = c, e[109] = Re) : Re = e[109];
|
|
1171
1171
|
let lt;
|
|
1172
|
-
e[110] === Symbol.for("react.memo_cache_sentinel") ? (lt =
|
|
1172
|
+
e[110] === Symbol.for("react.memo_cache_sentinel") ? (lt = Sn.map(Qr), e[110] = lt) : lt = e[110];
|
|
1173
1173
|
let $e;
|
|
1174
|
-
e[111] !==
|
|
1175
|
-
const
|
|
1174
|
+
e[111] !== qt || e[112] !== Re ? ($e = /* @__PURE__ */ n(Wt, { id: "instrumentationVersion", value: qt, onChange: Re, children: lt }), e[111] = qt, e[112] = Re, e[113] = $e) : $e = e[113];
|
|
1175
|
+
const Ht = l.instrumentationVersion || "Pins the init-container image and the bundled OpenLLMetry SDK version.";
|
|
1176
1176
|
let Ue;
|
|
1177
|
-
e[114] !==
|
|
1177
|
+
e[114] !== Ht ? (Ue = /* @__PURE__ */ n(Ot, { children: Ht }), e[114] = Ht, e[115] = Ue) : Ue = e[115];
|
|
1178
1178
|
let je;
|
|
1179
|
-
e[116] !==
|
|
1179
|
+
e[116] !== Kt || e[117] !== $e || e[118] !== Ue ? (je = /* @__PURE__ */ S(ae, { spacing: 1, children: [
|
|
1180
1180
|
at,
|
|
1181
|
-
/* @__PURE__ */ n(
|
|
1181
|
+
/* @__PURE__ */ n(k.ElementWrapper, { label: "AMP Instrumentation Version", name: "instrumentationVersion", children: /* @__PURE__ */ S(an, { sx: it, error: Kt, children: [
|
|
1182
1182
|
$e,
|
|
1183
1183
|
Ue
|
|
1184
1184
|
] }) })
|
|
1185
|
-
] }), e[116] =
|
|
1185
|
+
] }), e[116] = Kt, e[117] = $e, e[118] = Ue, e[119] = je) : je = e[119];
|
|
1186
1186
|
let Me;
|
|
1187
|
-
e[120] !==
|
|
1188
|
-
const
|
|
1187
|
+
e[120] !== Bt || e[121] !== je ? (Me = /* @__PURE__ */ n(Te, { in: Bt, children: je }), e[120] = Bt, e[121] = je, e[122] = Me) : Me = e[122];
|
|
1188
|
+
const Zt = r.enableAutoInstrumentation === !1;
|
|
1189
1189
|
let ot, st;
|
|
1190
1190
|
e[123] === Symbol.for("react.memo_cache_sentinel") ? (ot = {
|
|
1191
1191
|
mt: 1
|
|
@@ -1195,7 +1195,7 @@ const Kr = [{
|
|
|
1195
1195
|
mt: 1
|
|
1196
1196
|
}, e[125] = ct) : ct = e[125];
|
|
1197
1197
|
let dt;
|
|
1198
|
-
e[126] === Symbol.for("react.memo_cache_sentinel") ? (dt = /* @__PURE__ */ n(j, { component: "a", href:
|
|
1198
|
+
e[126] === Symbol.for("react.memo_cache_sentinel") ? (dt = /* @__PURE__ */ n(j, { component: "a", href: yn, target: "_blank", rel: "noopener noreferrer", sx: {
|
|
1199
1199
|
color: "primary.main"
|
|
1200
1200
|
}, children: "manual instrumentation contract" }), e[126] = dt) : dt = e[126];
|
|
1201
1201
|
let mt;
|
|
@@ -1289,7 +1289,7 @@ const Kr = [{
|
|
|
1289
1289
|
] })
|
|
1290
1290
|
] }), e[136] = St) : St = e[136];
|
|
1291
1291
|
let Oe;
|
|
1292
|
-
e[137] !==
|
|
1292
|
+
e[137] !== Zt ? (Oe = /* @__PURE__ */ n(Te, { in: Zt, children: St }), e[137] = Zt, e[138] = Oe) : Oe = e[138];
|
|
1293
1293
|
let We;
|
|
1294
1294
|
e[139] !== Pe || e[140] !== ge || e[141] !== De || e[142] !== Me || e[143] !== Oe ? (We = /* @__PURE__ */ S(Te, { in: Pe, children: [
|
|
1295
1295
|
ge,
|
|
@@ -1297,12 +1297,12 @@ const Kr = [{
|
|
|
1297
1297
|
Me,
|
|
1298
1298
|
Oe
|
|
1299
1299
|
] }), e[139] = Pe, e[140] = ge, e[141] = De, e[142] = Me, e[143] = Oe, e[144] = We) : We = e[144];
|
|
1300
|
-
const
|
|
1300
|
+
const Yt = r.language === "docker", Qt = r.dockerfilePath || "";
|
|
1301
1301
|
let Fe;
|
|
1302
1302
|
e[145] !== c ? (Fe = (K) => c("dockerfilePath", K.target.value), e[145] = c, e[146] = Fe) : Fe = e[146];
|
|
1303
|
-
const
|
|
1303
|
+
const Xt = !!l.dockerfilePath, Jt = l.dockerfilePath || "Path to Dockerfile in your repository";
|
|
1304
1304
|
let ze;
|
|
1305
|
-
e[147] !==
|
|
1305
|
+
e[147] !== Qt || e[148] !== Fe || e[149] !== Xt || e[150] !== Jt ? (ze = /* @__PURE__ */ n(k.Stack, { direction: "row", spacing: 2, children: /* @__PURE__ */ n(k.ElementWrapper, { label: "Dockerfile Path", name: "dockerfilePath", children: /* @__PURE__ */ n(re, { id: "dockerfilePath", placeholder: "e.g., ./Dockerfile", value: Qt, onChange: Fe, error: Xt, helperText: Jt, fullWidth: !0 }) }) }), e[147] = Qt, e[148] = Fe, e[149] = Xt, e[150] = Jt, e[151] = ze) : ze = e[151];
|
|
1306
1306
|
let Nt;
|
|
1307
1307
|
e[152] === Symbol.for("react.memo_cache_sentinel") ? (Nt = /* @__PURE__ */ n(j, { variant: "subtitle2", gutterBottom: !0, children: "Tracing Support for Docker-Based Agents" }), e[152] = Nt) : Nt = e[152];
|
|
1308
1308
|
let Ct;
|
|
@@ -1310,37 +1310,37 @@ const Kr = [{
|
|
|
1310
1310
|
bgcolor: "action.hover",
|
|
1311
1311
|
px: 0.5,
|
|
1312
1312
|
borderRadius: 0.5
|
|
1313
|
-
}, children: `pip install amp-instrumentation==${
|
|
1314
|
-
let
|
|
1315
|
-
e[154] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1313
|
+
}, children: `pip install amp-instrumentation==${Nn}` }), e[153] = Ct) : Ct = e[153];
|
|
1314
|
+
let kt;
|
|
1315
|
+
e[154] === Symbol.for("react.memo_cache_sentinel") ? (kt = /* @__PURE__ */ n(j, { component: "code", sx: {
|
|
1316
1316
|
bgcolor: "action.hover",
|
|
1317
1317
|
px: 0.5,
|
|
1318
1318
|
borderRadius: 0.5
|
|
1319
|
-
}, children: "amp-instrument python your_script.py" }), e[154] =
|
|
1320
|
-
let
|
|
1321
|
-
e[155] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1319
|
+
}, children: "amp-instrument python your_script.py" }), e[154] = kt) : kt = e[154];
|
|
1320
|
+
let _t;
|
|
1321
|
+
e[155] === Symbol.for("react.memo_cache_sentinel") ? (_t = /* @__PURE__ */ n(j, { component: "a", href: qr, target: "_blank", rel: "noopener noreferrer", sx: {
|
|
1322
1322
|
color: "primary.main"
|
|
1323
|
-
}, children: "AMP instrumentation version mapping" }), e[155] =
|
|
1324
|
-
let
|
|
1325
|
-
e[156] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
1323
|
+
}, children: "AMP instrumentation version mapping" }), e[155] = _t) : _t = e[155];
|
|
1324
|
+
let At;
|
|
1325
|
+
e[156] === Symbol.for("react.memo_cache_sentinel") ? (At = /* @__PURE__ */ S(j, { variant: "body2", paragraph: !0, children: [
|
|
1326
1326
|
"Docker-based agents require OTEL instrumentation to export traces. For Python, use",
|
|
1327
1327
|
" ",
|
|
1328
1328
|
Ct,
|
|
1329
1329
|
" ",
|
|
1330
1330
|
"and run with",
|
|
1331
1331
|
" ",
|
|
1332
|
-
|
|
1332
|
+
kt,
|
|
1333
1333
|
" ",
|
|
1334
1334
|
"for zero-code tracing. To pick a different version, see the",
|
|
1335
1335
|
" ",
|
|
1336
|
-
|
|
1336
|
+
_t,
|
|
1337
1337
|
". For agents on a framework the Traceloop SDK doesn't cover, emit your own spans against the",
|
|
1338
1338
|
" ",
|
|
1339
|
-
/* @__PURE__ */ n(j, { component: "a", href:
|
|
1339
|
+
/* @__PURE__ */ n(j, { component: "a", href: yn, target: "_blank", rel: "noopener noreferrer", sx: {
|
|
1340
1340
|
color: "primary.main"
|
|
1341
1341
|
}, children: "manual instrumentation contract" }),
|
|
1342
1342
|
"."
|
|
1343
|
-
] }), e[156] =
|
|
1343
|
+
] }), e[156] = At) : At = e[156];
|
|
1344
1344
|
let xt;
|
|
1345
1345
|
e[157] === Symbol.for("react.memo_cache_sentinel") ? (xt = /* @__PURE__ */ n(j, { component: "code", sx: {
|
|
1346
1346
|
bgcolor: "action.hover",
|
|
@@ -1385,7 +1385,7 @@ const Kr = [{
|
|
|
1385
1385
|
let Lt;
|
|
1386
1386
|
e[163] === Symbol.for("react.memo_cache_sentinel") ? (Lt = /* @__PURE__ */ S(xe, { severity: "info", children: [
|
|
1387
1387
|
Nt,
|
|
1388
|
-
|
|
1388
|
+
At,
|
|
1389
1389
|
Pt,
|
|
1390
1390
|
Et,
|
|
1391
1391
|
It,
|
|
@@ -1405,11 +1405,11 @@ const Kr = [{
|
|
|
1405
1405
|
Lt
|
|
1406
1406
|
] }), e[164] = ze, e[165] = Ge) : Ge = e[165];
|
|
1407
1407
|
let Be;
|
|
1408
|
-
e[166] !==
|
|
1408
|
+
e[166] !== Yt || e[167] !== Ge ? (Be = /* @__PURE__ */ n(Te, { in: Yt, children: Ge }), e[166] = Yt, e[167] = Ge, e[168] = Be) : Be = e[168];
|
|
1409
1409
|
let Ke;
|
|
1410
|
-
e[169] !== se || e[170] !== We || e[171] !== Be ? (Ke = /* @__PURE__ */ S(
|
|
1410
|
+
e[169] !== se || e[170] !== We || e[171] !== Be ? (Ke = /* @__PURE__ */ S(k.Section, { children: [
|
|
1411
1411
|
te,
|
|
1412
|
-
/* @__PURE__ */ S(
|
|
1412
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
1413
1413
|
se,
|
|
1414
1414
|
We,
|
|
1415
1415
|
Be
|
|
@@ -1420,7 +1420,7 @@ const Kr = [{
|
|
|
1420
1420
|
let He;
|
|
1421
1421
|
e[179] !== r.env ? (He = new Set((r.env ?? []).map(Xr).filter(Jr)), e[179] = r.env, e[180] = He) : He = e[180];
|
|
1422
1422
|
let Ze;
|
|
1423
|
-
e[181] !== r.displayName || e[182] !== f || e[183] !== g || e[184] !== He ? (Ze = /* @__PURE__ */ n(
|
|
1423
|
+
e[181] !== r.displayName || e[182] !== f || e[183] !== g || e[184] !== He ? (Ze = /* @__PURE__ */ n(In, { llmProviders: f, setLLMProviders: g, agentDisplayName: r.displayName, externalEnvKeys: He }), e[181] = r.displayName, e[182] = f, e[183] = g, e[184] = He, e[185] = Ze) : Ze = e[185];
|
|
1424
1424
|
let Vt;
|
|
1425
1425
|
e[186] !== r.displayName ? (Vt = r.displayName ? r.displayName.toUpperCase().replace(/[^A-Z0-9]/g, "_") : "AGENT", e[186] = r.displayName, e[187] = Vt) : Vt = e[187];
|
|
1426
1426
|
const Ye = Vt;
|
|
@@ -1430,11 +1430,11 @@ const Kr = [{
|
|
|
1430
1430
|
e[191] !== Ye ? (K = (ve, $t) => [ve.urlVarName ?? `${Ye}_${$t + 1}_URL`, ve.apikeyVarName ?? `${Ye}_${$t + 1}_API_KEY`], e[191] = Ye, e[192] = K) : K = e[192], Dt = new Set(f.flatMap(K)), e[188] = Ye, e[189] = f, e[190] = Dt;
|
|
1431
1431
|
} else
|
|
1432
1432
|
Dt = e[190];
|
|
1433
|
-
const
|
|
1433
|
+
const en = Dt;
|
|
1434
1434
|
let Qe;
|
|
1435
|
-
e[193] !== r || e[194] !== o || e[195] !==
|
|
1435
|
+
e[193] !== r || e[194] !== o || e[195] !== en ? (Qe = /* @__PURE__ */ n(En, { formData: r, setFormData: o, llmReservedNames: en }), e[193] = r, e[194] = o, e[195] = en, e[196] = Qe) : Qe = e[196];
|
|
1436
1436
|
let Rt;
|
|
1437
|
-
return e[197] !== Ke || e[198] !== qe || e[199] !== Ze || e[200] !== Qe || e[201] !== N || e[202] !== Z ? (Rt = /* @__PURE__ */ S(
|
|
1437
|
+
return e[197] !== Ke || e[198] !== qe || e[199] !== Ze || e[200] !== Qe || e[201] !== N || e[202] !== Z ? (Rt = /* @__PURE__ */ S(k.Stack, { spacing: 3, children: [
|
|
1438
1438
|
N,
|
|
1439
1439
|
Z,
|
|
1440
1440
|
Ke,
|
|
@@ -1458,7 +1458,7 @@ function Xr(t) {
|
|
|
1458
1458
|
function Jr(t) {
|
|
1459
1459
|
return !!t;
|
|
1460
1460
|
}
|
|
1461
|
-
const
|
|
1461
|
+
const cn = (t) => {
|
|
1462
1462
|
const e = ce(22), {
|
|
1463
1463
|
lastSubmittedValidationErrors: r,
|
|
1464
1464
|
isPending: o,
|
|
@@ -1475,18 +1475,18 @@ const sn = (t) => {
|
|
|
1475
1475
|
e[2] !== p ? (h = /* @__PURE__ */ n(xe, { severity: "error", children: p.map(ea) }), e[2] = p, e[3] = h) : h = e[3];
|
|
1476
1476
|
let c;
|
|
1477
1477
|
e[4] !== m || e[5] !== h ? (c = /* @__PURE__ */ n(Te, { in: m, timeout: "auto", unmountOnExit: !0, children: h }), e[4] = m, e[5] = h, e[6] = c) : c = e[6];
|
|
1478
|
+
let _;
|
|
1479
|
+
e[7] !== l ? (_ = /* @__PURE__ */ n(Ce, { variant: "outlined", color: "primary", size: "medium", onClick: l, children: "Cancel" }), e[7] = l, e[8] = _) : _ = e[8];
|
|
1478
1480
|
let A;
|
|
1479
|
-
e[
|
|
1480
|
-
let k;
|
|
1481
|
-
e[9] !== d ? (k = d ? /* @__PURE__ */ n(An, { size: 16 }) : /* @__PURE__ */ n(Ir, { size: 16 }), e[9] = d, e[10] = k) : k = e[10];
|
|
1481
|
+
e[9] !== d ? (A = d ? /* @__PURE__ */ n(An, { size: 16 }) : /* @__PURE__ */ n(Ir, { size: 16 }), e[9] = d, e[10] = A) : A = e[10];
|
|
1482
1482
|
const T = o || v || i, I = d ? "Register" : "Deploy";
|
|
1483
1483
|
let P;
|
|
1484
|
-
e[11] !== a || e[12] !== I || e[13] !==
|
|
1484
|
+
e[11] !== a || e[12] !== I || e[13] !== A || e[14] !== T ? (P = /* @__PURE__ */ n(Ce, { variant: "contained", color: "primary", size: "medium", startIcon: A, onClick: a, disabled: T, children: I }), e[11] = a, e[12] = I, e[13] = A, e[14] = T, e[15] = P) : P = e[15];
|
|
1485
1485
|
let E;
|
|
1486
|
-
e[16] !== P || e[17] !==
|
|
1487
|
-
|
|
1486
|
+
e[16] !== P || e[17] !== _ ? (E = /* @__PURE__ */ S(ee, { display: "flex", flexDirection: "row", gap: 1, alignItems: "center", children: [
|
|
1487
|
+
_,
|
|
1488
1488
|
P
|
|
1489
|
-
] }), e[16] = P, e[17] =
|
|
1489
|
+
] }), e[16] = P, e[17] = _, e[18] = E) : E = e[18];
|
|
1490
1490
|
let V;
|
|
1491
1491
|
return e[19] !== E || e[20] !== c ? (V = /* @__PURE__ */ S(ee, { display: "flex", flexDirection: "column", gap: 3, children: [
|
|
1492
1492
|
c,
|
|
@@ -1641,7 +1641,7 @@ const Tn = (t, e, r = []) => t.deploymentType === "new" ? {
|
|
|
1641
1641
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (l = {
|
|
1642
1642
|
deploymentType: "new",
|
|
1643
1643
|
enableAutoInstrumentation: !0,
|
|
1644
|
-
instrumentationVersion:
|
|
1644
|
+
instrumentationVersion: Nn,
|
|
1645
1645
|
name: "",
|
|
1646
1646
|
displayName: "",
|
|
1647
1647
|
description: "",
|
|
@@ -1663,20 +1663,20 @@ const Tn = (t, e, r = []) => t.deploymentType === "new" ? {
|
|
|
1663
1663
|
validateForm: g,
|
|
1664
1664
|
setFieldError: y,
|
|
1665
1665
|
validateField: v
|
|
1666
|
-
} =
|
|
1666
|
+
} = Ft(Pn);
|
|
1667
1667
|
let i;
|
|
1668
1668
|
t[1] === Symbol.for("react.memo_cache_sentinel") ? (i = [], t[1] = i) : i = t[1];
|
|
1669
1669
|
const [d, s] = ie(i), {
|
|
1670
1670
|
mutate: p,
|
|
1671
1671
|
isPending: m,
|
|
1672
1672
|
error: h
|
|
1673
|
-
} =
|
|
1674
|
-
let
|
|
1675
|
-
t[2] !== c || t[3] !==
|
|
1673
|
+
} = sn(), c = r ?? "default", _ = o ?? "default";
|
|
1674
|
+
let A;
|
|
1675
|
+
t[2] !== c || t[3] !== _ ? (A = {
|
|
1676
1676
|
orgName: c,
|
|
1677
|
-
projName:
|
|
1678
|
-
}, t[2] = c, t[3] =
|
|
1679
|
-
const T =
|
|
1677
|
+
projName: _
|
|
1678
|
+
}, t[2] = c, t[3] = _, t[4] = A) : A = t[4];
|
|
1679
|
+
const T = A;
|
|
1680
1680
|
let I;
|
|
1681
1681
|
t[5] !== e || t[6] !== r || t[7] !== o ? (I = () => {
|
|
1682
1682
|
e(le(oe.children.org.children.projects.path, {
|
|
@@ -1752,9 +1752,9 @@ const Tn = (t, e, r = []) => t.deploymentType === "new" ? {
|
|
|
1752
1752
|
b = O;
|
|
1753
1753
|
}
|
|
1754
1754
|
let C;
|
|
1755
|
-
t[43] !== P || t[44] !== U || t[45] !== m || t[46] !== V || t[47] !== w || t[48] !== b ? (C = /* @__PURE__ */ n(
|
|
1755
|
+
t[43] !== P || t[44] !== U || t[45] !== m || t[46] !== V || t[47] !== w || t[48] !== b ? (C = /* @__PURE__ */ n(cn, { lastSubmittedValidationErrors: V, isPending: m, onCancel: P, onSubmit: U, isNameEmpty: w, mode: "deploy", hasLLMVarConflicts: b }), t[43] = P, t[44] = U, t[45] = m, t[46] = V, t[47] = w, t[48] = b, t[49] = C) : C = t[49];
|
|
1756
1756
|
let $;
|
|
1757
|
-
t[50] !== M || t[51] !== N || t[52] !== C ? ($ = /* @__PURE__ */ S(
|
|
1757
|
+
t[50] !== M || t[51] !== N || t[52] !== C ? ($ = /* @__PURE__ */ S(k.Stack, { spacing: 3, children: [
|
|
1758
1758
|
M,
|
|
1759
1759
|
N,
|
|
1760
1760
|
C
|
|
@@ -1789,7 +1789,7 @@ const oa = (t) => {
|
|
|
1789
1789
|
const {
|
|
1790
1790
|
mutate: v,
|
|
1791
1791
|
isPending: i
|
|
1792
|
-
} =
|
|
1792
|
+
} = ln(y);
|
|
1793
1793
|
let d;
|
|
1794
1794
|
e[2] !== a || e[3] !== o || e[4] !== u ? (d = (x, F) => {
|
|
1795
1795
|
o((M) => {
|
|
@@ -1802,7 +1802,7 @@ const oa = (t) => {
|
|
|
1802
1802
|
}, e[2] = a, e[3] = o, e[4] = u, e[5] = d) : d = e[5];
|
|
1803
1803
|
const s = d;
|
|
1804
1804
|
let p;
|
|
1805
|
-
e[6] !== v || e[7] !== s || e[8] !== g ? (p =
|
|
1805
|
+
e[6] !== v || e[7] !== s || e[8] !== g ? (p = on.debounce((x) => {
|
|
1806
1806
|
if (x.length < 3) {
|
|
1807
1807
|
s("name", "");
|
|
1808
1808
|
return;
|
|
@@ -1823,12 +1823,12 @@ const oa = (t) => {
|
|
|
1823
1823
|
e[10] !== m ? (h = () => () => {
|
|
1824
1824
|
m.cancel();
|
|
1825
1825
|
}, c = [m], e[10] = m, e[11] = h, e[12] = c) : (h = e[11], c = e[12]), Le(h, c);
|
|
1826
|
-
let
|
|
1827
|
-
e[13] !== m || e[14] !== r.displayName || e[15] !== s ? (
|
|
1826
|
+
let _, A;
|
|
1827
|
+
e[13] !== m || e[14] !== r.displayName || e[15] !== s ? (_ = () => {
|
|
1828
1828
|
r.displayName && r.displayName.length >= 3 ? m(r.displayName) : (m.cancel(), s("name", ""));
|
|
1829
|
-
},
|
|
1829
|
+
}, A = [r.displayName, m, s], e[13] = m, e[14] = r.displayName, e[15] = s, e[16] = _, e[17] = A) : (_ = e[16], A = e[17]), Le(_, A);
|
|
1830
1830
|
let T;
|
|
1831
|
-
e[18] === Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ n(
|
|
1831
|
+
e[18] === Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ n(k.Subheader, { children: "Agent Details" }), e[18] = T) : T = e[18];
|
|
1832
1832
|
let I;
|
|
1833
1833
|
e[19] !== s ? (I = (x) => s("displayName", x.target.value), e[19] = s, e[20] = I) : I = e[20];
|
|
1834
1834
|
const P = !!l.displayName;
|
|
@@ -1838,17 +1838,17 @@ const oa = (t) => {
|
|
|
1838
1838
|
/* @__PURE__ */ n(j, { variant: "caption", children: "Validating name..." })
|
|
1839
1839
|
] }) : l.displayName || "A name for your agent", e[21] = l.displayName, e[22] = i, e[23] = E) : E = e[23];
|
|
1840
1840
|
let V;
|
|
1841
|
-
e[24] !== r.displayName || e[25] !== P || e[26] !== E || e[27] !== I ? (V = /* @__PURE__ */ n(
|
|
1841
|
+
e[24] !== r.displayName || e[25] !== P || e[26] !== E || e[27] !== I ? (V = /* @__PURE__ */ n(k.ElementWrapper, { label: "Name", name: "displayName", children: /* @__PURE__ */ n(re, { id: "displayName", placeholder: "e.g., Customer Support Agent", value: r.displayName, onChange: I, error: P, helperText: E, fullWidth: !0 }) }), e[24] = r.displayName, e[25] = P, e[26] = E, e[27] = I, e[28] = V) : V = e[28];
|
|
1842
1842
|
const D = r.description || "";
|
|
1843
1843
|
let L;
|
|
1844
1844
|
e[29] !== s ? (L = (x) => s("description", x.target.value), e[29] = s, e[30] = L) : L = e[30];
|
|
1845
1845
|
const U = !!l.description;
|
|
1846
1846
|
let W;
|
|
1847
|
-
e[31] !== l.description || e[32] !== D || e[33] !== L || e[34] !== U ? (W = /* @__PURE__ */ n(
|
|
1847
|
+
e[31] !== l.description || e[32] !== D || e[33] !== L || e[34] !== U ? (W = /* @__PURE__ */ n(k.ElementWrapper, { label: "Description (optional)", name: "description", children: /* @__PURE__ */ n(re, { id: "description", placeholder: "Short description of what this agent does", multiline: !0, minRows: 2, maxRows: 6, value: D, onChange: L, error: U, helperText: l.description, fullWidth: !0 }) }), e[31] = l.description, e[32] = D, e[33] = L, e[34] = U, e[35] = W) : W = e[35];
|
|
1848
1848
|
let R;
|
|
1849
|
-
return e[36] !== V || e[37] !== W ? (R = /* @__PURE__ */ S(
|
|
1849
|
+
return e[36] !== V || e[37] !== W ? (R = /* @__PURE__ */ S(k.Section, { children: [
|
|
1850
1850
|
T,
|
|
1851
|
-
/* @__PURE__ */ S(
|
|
1851
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
1852
1852
|
V,
|
|
1853
1853
|
W
|
|
1854
1854
|
] })
|
|
@@ -1895,8 +1895,8 @@ const ca = () => {
|
|
|
1895
1895
|
errors: m,
|
|
1896
1896
|
validateForm: h,
|
|
1897
1897
|
setFieldError: c,
|
|
1898
|
-
validateField:
|
|
1899
|
-
} =
|
|
1898
|
+
validateField: _
|
|
1899
|
+
} = Ft(Pn);
|
|
1900
1900
|
Le(() => {
|
|
1901
1901
|
const N = d?.configSchema ?? [];
|
|
1902
1902
|
N.length !== 0 && p((w) => ({
|
|
@@ -1908,11 +1908,11 @@ const ca = () => {
|
|
|
1908
1908
|
}))
|
|
1909
1909
|
}));
|
|
1910
1910
|
}, [d]);
|
|
1911
|
-
const
|
|
1911
|
+
const A = be(() => new Set((d?.configSchema ?? []).map((N) => N.name)), [d]), {
|
|
1912
1912
|
mutate: T,
|
|
1913
1913
|
isPending: I,
|
|
1914
1914
|
error: P
|
|
1915
|
-
} =
|
|
1915
|
+
} = sn(), [E, V] = ie([]), D = be(() => ({
|
|
1916
1916
|
orgName: r ?? "default",
|
|
1917
1917
|
projName: o ?? "default"
|
|
1918
1918
|
}), [r, o]), L = be(() => {
|
|
@@ -1951,32 +1951,32 @@ const ca = () => {
|
|
|
1951
1951
|
projectId: o ?? "default"
|
|
1952
1952
|
}), [r, o]);
|
|
1953
1953
|
return /* @__PURE__ */ S(tt, { title: a ? `Create a "${a.displayName}" Agent` : u ? "Loading..." : `Create a "${l}" Agent`, description: "Add agent details and configure deployment settings.", disableIcon: !0, backHref: M, backLabel: "Back to Kind Selection", children: [
|
|
1954
|
-
u && /* @__PURE__ */ S(
|
|
1955
|
-
/* @__PURE__ */ n(
|
|
1954
|
+
u && /* @__PURE__ */ S(vn, { children: [
|
|
1955
|
+
/* @__PURE__ */ n(fn, { variant: "rounded", height: 32, sx: {
|
|
1956
1956
|
mb: 2,
|
|
1957
1957
|
maxWidth: 320
|
|
1958
1958
|
} }),
|
|
1959
|
-
/* @__PURE__ */ n(
|
|
1959
|
+
/* @__PURE__ */ n(fn, { variant: "rounded", height: 48, sx: {
|
|
1960
1960
|
mb: 1
|
|
1961
1961
|
} })
|
|
1962
1962
|
] }),
|
|
1963
|
-
/* @__PURE__ */ S(
|
|
1964
|
-
/* @__PURE__ */ n(oa, { formData: s, setFormData: p, errors: m, setFieldError: c, validateField:
|
|
1965
|
-
f.length > 0 && /* @__PURE__ */ S(
|
|
1966
|
-
/* @__PURE__ */ n(
|
|
1967
|
-
/* @__PURE__ */ n(
|
|
1963
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 3, children: [
|
|
1964
|
+
/* @__PURE__ */ n(oa, { formData: s, setFormData: p, errors: m, setFieldError: c, validateField: _ }),
|
|
1965
|
+
f.length > 0 && /* @__PURE__ */ S(k.Section, { children: [
|
|
1966
|
+
/* @__PURE__ */ n(k.Subheader, { children: "Agent Kind Version" }),
|
|
1967
|
+
/* @__PURE__ */ n(k.Stack, { spacing: 2, children: /* @__PURE__ */ n(k.ElementWrapper, { label: "Version", name: "kindVersion", children: /* @__PURE__ */ n(Wt, { size: "small", value: i, onChange: (N) => y(N.target.value), sx: {
|
|
1968
1968
|
minWidth: 160
|
|
1969
1969
|
}, children: f.map((N) => /* @__PURE__ */ S(et, { value: N.version, children: [
|
|
1970
1970
|
"v",
|
|
1971
1971
|
N.version
|
|
1972
1972
|
] }, N.version)) }) }) })
|
|
1973
1973
|
] }),
|
|
1974
|
-
/* @__PURE__ */ n(
|
|
1975
|
-
/* @__PURE__ */ n(
|
|
1974
|
+
/* @__PURE__ */ n(In, { llmProviders: E, setLLMProviders: V, agentDisplayName: s.displayName, externalEnvKeys: new Set((s.env ?? []).map((N) => N.key).filter((N) => !!N)) }),
|
|
1975
|
+
/* @__PURE__ */ n(En, { formData: s, setFormData: p, lockedKeys: A, hideAdd: !0, llmReservedNames: L }),
|
|
1976
1976
|
!!P && /* @__PURE__ */ n(xe, { severity: "error", sx: {
|
|
1977
1977
|
mt: 2
|
|
1978
1978
|
}, children: P instanceof Error ? P.message : "Failed to create agent" }),
|
|
1979
|
-
/* @__PURE__ */ n(
|
|
1979
|
+
/* @__PURE__ */ n(cn, { lastSubmittedValidationErrors: R, isPending: I, onCancel: W, onSubmit: F, isNameEmpty: !s.name.trim(), mode: "deploy", hasLLMVarConflicts: (() => {
|
|
1980
1980
|
if (U.length !== L.size) return !0;
|
|
1981
1981
|
const N = (s.env ?? []).map((w) => w.key).filter((w) => !!w);
|
|
1982
1982
|
return N.length !== new Set(N).size ? !0 : N.some((w) => L.has(w));
|
|
@@ -2028,7 +2028,7 @@ const ca = () => {
|
|
|
2028
2028
|
} = ue(), {
|
|
2029
2029
|
mutate: f,
|
|
2030
2030
|
isPending: g
|
|
2031
|
-
} =
|
|
2031
|
+
} = ln({
|
|
2032
2032
|
orgName: a
|
|
2033
2033
|
}), y = Ne((i, d) => {
|
|
2034
2034
|
e((s) => {
|
|
@@ -2039,7 +2039,7 @@ const ca = () => {
|
|
|
2039
2039
|
return o(i, m), p;
|
|
2040
2040
|
});
|
|
2041
2041
|
}, [e, l, o]), v = be(
|
|
2042
|
-
() =>
|
|
2042
|
+
() => on.debounce((i) => {
|
|
2043
2043
|
if (i.length < 3) {
|
|
2044
2044
|
y("name", "");
|
|
2045
2045
|
return;
|
|
@@ -2064,14 +2064,14 @@ const ca = () => {
|
|
|
2064
2064
|
v.cancel();
|
|
2065
2065
|
}, [v]), Le(() => {
|
|
2066
2066
|
t.displayName && t.displayName.length >= 3 ? v(t.displayName) : (v.cancel(), y("name", ""));
|
|
2067
|
-
}, [t.displayName, v, y]), /* @__PURE__ */ n(
|
|
2068
|
-
/* @__PURE__ */ n(
|
|
2069
|
-
/* @__PURE__ */ S(
|
|
2070
|
-
/* @__PURE__ */ n(
|
|
2067
|
+
}, [t.displayName, v, y]), /* @__PURE__ */ n(k.Stack, { spacing: 3, children: /* @__PURE__ */ S(k.Section, { children: [
|
|
2068
|
+
/* @__PURE__ */ n(k.Subheader, { children: "Agent Details" }),
|
|
2069
|
+
/* @__PURE__ */ S(k.Stack, { spacing: 2, children: [
|
|
2070
|
+
/* @__PURE__ */ n(k.ElementWrapper, { label: "Name", name: "displayName", children: /* @__PURE__ */ n(re, { id: "displayName", placeholder: "e.g., Customer Support", value: t.displayName, onChange: (i) => y("displayName", i.target.value), error: !!r.displayName, helperText: g ? /* @__PURE__ */ S(ae, { direction: "row", alignItems: "center", gap: 1, children: [
|
|
2071
2071
|
/* @__PURE__ */ n(rt, { size: 12 }),
|
|
2072
2072
|
/* @__PURE__ */ n(j, { variant: "caption", children: "Validating name..." })
|
|
2073
2073
|
] }) : r.displayName, fullWidth: !0 }) }),
|
|
2074
|
-
/* @__PURE__ */ n(
|
|
2074
|
+
/* @__PURE__ */ n(k.ElementWrapper, { label: "Description (optional)", name: "description", children: /* @__PURE__ */ n(re, { id: "description", placeholder: "Short description of what this agent does", multiline: !0, minRows: 2, maxRows: 6, value: t.description || "", onChange: (i) => y("description", i.target.value), error: !!r.description, helperText: r.description, fullWidth: !0 }) })
|
|
2075
2075
|
] })
|
|
2076
2076
|
] }) });
|
|
2077
2077
|
}, pa = () => {
|
|
@@ -2091,25 +2091,25 @@ const ca = () => {
|
|
|
2091
2091
|
validateForm: g,
|
|
2092
2092
|
setFieldError: y,
|
|
2093
2093
|
validateField: v
|
|
2094
|
-
} =
|
|
2094
|
+
} = Ft(Dr), {
|
|
2095
2095
|
mutate: i,
|
|
2096
2096
|
isPending: d,
|
|
2097
2097
|
error: s
|
|
2098
|
-
} =
|
|
2098
|
+
} = sn(), p = r ?? "default", m = o ?? "default";
|
|
2099
2099
|
let h;
|
|
2100
2100
|
t[1] !== p || t[2] !== m ? (h = {
|
|
2101
2101
|
orgName: p,
|
|
2102
2102
|
projName: m
|
|
2103
2103
|
}, t[1] = p, t[2] = m, t[3] = h) : h = t[3];
|
|
2104
2104
|
const c = h;
|
|
2105
|
-
let
|
|
2106
|
-
t[4] !== e || t[5] !== r || t[6] !== o ? (
|
|
2105
|
+
let _;
|
|
2106
|
+
t[4] !== e || t[5] !== r || t[6] !== o ? (_ = () => {
|
|
2107
2107
|
e(le(oe.children.org.children.projects.path, {
|
|
2108
2108
|
orgId: r ?? "",
|
|
2109
2109
|
projectId: o ?? "default"
|
|
2110
2110
|
}));
|
|
2111
|
-
}, t[4] = e, t[5] = r, t[6] = o, t[7] =
|
|
2112
|
-
const
|
|
2111
|
+
}, t[4] = e, t[5] = r, t[6] = o, t[7] = _) : _ = t[7];
|
|
2112
|
+
const A = _;
|
|
2113
2113
|
let T;
|
|
2114
2114
|
t[8] !== i || t[9] !== e || t[10] !== c ? (T = ($) => {
|
|
2115
2115
|
const z = Tn($, c);
|
|
@@ -2153,9 +2153,9 @@ const ca = () => {
|
|
|
2153
2153
|
}, children: s instanceof Error ? s.message : "Failed to register agent" }), t[26] = s, t[27] = M) : M = t[27];
|
|
2154
2154
|
const N = !a.name.trim();
|
|
2155
2155
|
let w;
|
|
2156
|
-
t[28] !==
|
|
2156
|
+
t[28] !== A || t[29] !== L || t[30] !== d || t[31] !== E || t[32] !== N ? (w = /* @__PURE__ */ n(cn, { lastSubmittedValidationErrors: E, isPending: d, onCancel: A, onSubmit: L, isNameEmpty: N, mode: "connect" }), t[28] = A, t[29] = L, t[30] = d, t[31] = E, t[32] = N, t[33] = w) : w = t[33];
|
|
2157
2157
|
let b;
|
|
2158
|
-
t[34] !== F || t[35] !== M || t[36] !== w ? (b = /* @__PURE__ */ S(
|
|
2158
|
+
t[34] !== F || t[35] !== M || t[36] !== w ? (b = /* @__PURE__ */ S(k.Stack, { spacing: 3, children: [
|
|
2159
2159
|
F,
|
|
2160
2160
|
M,
|
|
2161
2161
|
w
|
|
@@ -2172,49 +2172,49 @@ const ua = () => {
|
|
|
2172
2172
|
projectId: o
|
|
2173
2173
|
} = ue(), l = oe.children.org.children.projects.children.newAgent, a = l.children.create.path, u = l.children.connect.path;
|
|
2174
2174
|
let f;
|
|
2175
|
-
t[0] !== e || t[1] !== r || t[2] !== o ? (f = (
|
|
2176
|
-
e(le(
|
|
2175
|
+
t[0] !== e || t[1] !== r || t[2] !== o ? (f = (A) => {
|
|
2176
|
+
e(le(A === "new" ? a : u, {
|
|
2177
2177
|
orgId: r ?? "",
|
|
2178
2178
|
projectId: o ?? "default"
|
|
2179
2179
|
}));
|
|
2180
2180
|
}, t[0] = e, t[1] = r, t[2] = o, t[3] = f) : f = t[3];
|
|
2181
2181
|
const g = f;
|
|
2182
2182
|
let y;
|
|
2183
|
-
t[4] !== e || t[5] !== r || t[6] !== o ? (y = (
|
|
2184
|
-
e(le(`${a}/${
|
|
2183
|
+
t[4] !== e || t[5] !== r || t[6] !== o ? (y = (A) => {
|
|
2184
|
+
e(le(`${a}/${A}`, {
|
|
2185
2185
|
orgId: r ?? "",
|
|
2186
2186
|
projectId: o ?? "default"
|
|
2187
2187
|
}));
|
|
2188
2188
|
}, t[4] = e, t[5] = r, t[6] = o, t[7] = y) : y = t[7];
|
|
2189
2189
|
const v = y;
|
|
2190
2190
|
let i;
|
|
2191
|
-
t[8] !== g ? (i = /* @__PURE__ */ n(
|
|
2191
|
+
t[8] !== g ? (i = /* @__PURE__ */ n(Ae, { index: !0, element: /* @__PURE__ */ n(Lr, { onSelect: g }) }), t[8] = g, t[9] = i) : i = t[9];
|
|
2192
2192
|
let d;
|
|
2193
|
-
t[10] !== v ? (d = /* @__PURE__ */ n(
|
|
2193
|
+
t[10] !== v ? (d = /* @__PURE__ */ n(Ae, { index: !0, element: /* @__PURE__ */ n(Vr, { onSelect: v }) }), t[10] = v, t[11] = d) : d = t[11];
|
|
2194
2194
|
let s;
|
|
2195
|
-
t[12] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ n(
|
|
2195
|
+
t[12] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ n(Ae, { index: !0, element: /* @__PURE__ */ n(da, {}) }), t[12] = s) : s = t[12];
|
|
2196
2196
|
let p;
|
|
2197
|
-
t[13] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ S(
|
|
2197
|
+
t[13] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ S(Ae, { path: Ut.children.org.children.projects.children.newAgent.children.create.children.catalog.path, children: [
|
|
2198
2198
|
s,
|
|
2199
|
-
/* @__PURE__ */ n(
|
|
2199
|
+
/* @__PURE__ */ n(Ae, { path: Ut.children.org.children.projects.children.newAgent.children.create.children.catalog.children.withKind.path, element: /* @__PURE__ */ n(ca, {}) })
|
|
2200
2200
|
] }), t[13] = p) : p = t[13];
|
|
2201
2201
|
let m;
|
|
2202
|
-
t[14] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ n(
|
|
2202
|
+
t[14] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ n(Ae, { path: Ut.children.org.children.projects.children.newAgent.children.create.children.source.path, element: /* @__PURE__ */ n(ra, {}) }), t[14] = m) : m = t[14];
|
|
2203
2203
|
let h;
|
|
2204
|
-
t[15] !== d ? (h = /* @__PURE__ */ S(
|
|
2204
|
+
t[15] !== d ? (h = /* @__PURE__ */ S(Ae, { path: Ut.children.org.children.projects.children.newAgent.children.create.path, children: [
|
|
2205
2205
|
d,
|
|
2206
2206
|
p,
|
|
2207
2207
|
m
|
|
2208
2208
|
] }), t[15] = d, t[16] = h) : h = t[16];
|
|
2209
2209
|
let c;
|
|
2210
|
-
t[17] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ n(
|
|
2211
|
-
let
|
|
2212
|
-
return t[18] !== i || t[19] !== h ? (
|
|
2210
|
+
t[17] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ n(Ae, { path: "connect", element: /* @__PURE__ */ n(pa, {}) }), t[17] = c) : c = t[17];
|
|
2211
|
+
let _;
|
|
2212
|
+
return t[18] !== i || t[19] !== h ? (_ = /* @__PURE__ */ S(Rn, { children: [
|
|
2213
2213
|
i,
|
|
2214
2214
|
h,
|
|
2215
2215
|
c
|
|
2216
|
-
] }), t[18] = i, t[19] = h, t[20] =
|
|
2217
|
-
},
|
|
2216
|
+
] }), t[18] = i, t[19] = h, t[20] = _) : _ = t[20], _;
|
|
2217
|
+
}, ka = {
|
|
2218
2218
|
title: "Add New Agent",
|
|
2219
2219
|
description: "A page component for Add New Agent",
|
|
2220
2220
|
icon: Tr,
|
|
@@ -2223,5 +2223,5 @@ const ua = () => {
|
|
|
2223
2223
|
};
|
|
2224
2224
|
export {
|
|
2225
2225
|
ua as AddNewAgent,
|
|
2226
|
-
|
|
2226
|
+
ka as metaData
|
|
2227
2227
|
};
|