@burdenoff/microfe-botmanor 2026.1118.6 β 2026.1118.7
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/botlit/components/AgentBindingsPanel.d.ts +4 -0
- package/dist/botlit/components/AgentBindingsPanel.js +305 -0
- package/dist/botlit/components/AgentBindingsPanel.js.map +1 -0
- package/dist/botlit/hooks/index.d.ts +2 -0
- package/dist/botlit/hooks/index.js +8 -7
- package/dist/botlit/hooks/useAgentBindings.d.ts +58 -0
- package/dist/botlit/hooks/useAgentBindings.js +87 -0
- package/dist/botlit/hooks/useAgentBindings.js.map +1 -0
- package/dist/botlit/pages/AgentDetailPage.js +56 -55
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/PromptStudioPage.js +365 -175
- package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
- package/dist/botlit/utils/promptVariables.d.ts +6 -0
- package/dist/botlit/utils/promptVariables.js +20 -0
- package/dist/botlit/utils/promptVariables.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +314 -0
- package/dist/generated/wspace-operations.js +189 -101
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +139 -0
- package/dist/generated/wspace-types.js +3 -1
- package/dist/generated/wspace-types.js.map +1 -1
- package/package.json +1 -1
|
@@ -20,22 +20,23 @@ import { useKnowledgeBases as he } from "../hooks/useKnowledgeBases.js";
|
|
|
20
20
|
import { useMCPServers as ge } from "../hooks/useMCPServers.js";
|
|
21
21
|
import { useLLMModels as _e } from "../hooks/useLLMProviders.js";
|
|
22
22
|
import { AgentA2APanel as ve } from "../components/AgentA2APanel.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
23
|
+
import { AgentBindingsPanel as ye } from "../components/AgentBindingsPanel.js";
|
|
24
|
+
import { GuardrailPoliciesPanel as be } from "../components/GuardrailPoliciesPanel.js";
|
|
25
|
+
import { EntityTags as xe } from "../components/EntityTags.js";
|
|
26
|
+
import { useBotlit as Se } from "../providers/BotlitProvider.js";
|
|
26
27
|
import { formatRelativeTime as p } from "../utils/formatters.js";
|
|
27
|
-
import { cn as
|
|
28
|
-
import { agentDeleteMessage as
|
|
28
|
+
import { cn as Ce } from "../utils/cn.js";
|
|
29
|
+
import { agentDeleteMessage as we } from "../utils/agentDelete.js";
|
|
29
30
|
import { confirmAction as m } from "../utils/confirmAction.js";
|
|
30
31
|
import "../permissions/index.js";
|
|
31
|
-
import { useState as
|
|
32
|
-
import { GlassCard as
|
|
32
|
+
import { useState as Te } from "react";
|
|
33
|
+
import { GlassCard as Ee, NextSteps as De, PagePurpose as Oe } from "@burdenoff/fe-libs/ui";
|
|
33
34
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
34
|
-
import { useParams as
|
|
35
|
-
import { ArrowLeft as
|
|
35
|
+
import { useParams as ke, useSearchParams as Ae } from "react-router";
|
|
36
|
+
import { ArrowLeft as je, BarChart3 as Me, BookOpen as v, Brain as y, Edit as Ne, FileText as b, Headset as Pe, History as Fe, MessageSquare as Ie, Play as x, Settings as S, Share2 as C, Shield as Le, ShieldCheck as Re, Trash2 as ze, Wrench as w } from "lucide-react";
|
|
36
37
|
import { toast as T } from "sonner";
|
|
37
38
|
// src/botlit/pages/AgentDetailPage.tsx
|
|
38
|
-
var
|
|
39
|
+
var Be = "π€", Ve = [
|
|
39
40
|
"overview",
|
|
40
41
|
"prompt",
|
|
41
42
|
"llm",
|
|
@@ -67,7 +68,7 @@ var ze = "π€", Be = [
|
|
|
67
68
|
to: "ARCHIVED",
|
|
68
69
|
variant: "outline",
|
|
69
70
|
confirm: !0
|
|
70
|
-
},
|
|
71
|
+
}, He = {
|
|
71
72
|
DRAFT: [E, k],
|
|
72
73
|
ACTIVE: [O, k],
|
|
73
74
|
PAUSED: [D, k],
|
|
@@ -79,8 +80,8 @@ var ze = "π€", Be = [
|
|
|
79
80
|
confirm: !1
|
|
80
81
|
}]
|
|
81
82
|
}, A = () => {
|
|
82
|
-
let E = e(), { agentId: D, botId: O } =
|
|
83
|
-
if (
|
|
83
|
+
let E = e(), { agentId: D, botId: O } = ke(), { navigateTo: k } = Se(), A = ne(), { data: j, loading: Ue, error: M, refetch: N } = ue(D), [P, We] = me(), [Ge, Ke] = fe(), qe = pe(), [Je] = Ae(), [F, I] = Te(() => Ve.find((e) => e === Je.get("tab")) ?? "overview"), L = ge(), R = he(), Ye = L.data, z = R.data, Xe = ae(), Ze = _e(), Qe = de(), B = O ? `bots/${O}/agents` : "agents";
|
|
84
|
+
if (Ue) return /* @__PURE__ */ g(t, {
|
|
84
85
|
title: E("botlit.common.loading", "Loading..."),
|
|
85
86
|
children: /* @__PURE__ */ g("div", {
|
|
86
87
|
role: "status",
|
|
@@ -109,7 +110,7 @@ var ze = "π€", Be = [
|
|
|
109
110
|
})
|
|
110
111
|
})
|
|
111
112
|
});
|
|
112
|
-
let V = j.systemPrompt || "", H = j.llmModelId || "", U = (
|
|
113
|
+
let V = j.systemPrompt || "", H = j.llmModelId || "", U = (Ze.data ?? []).find((e) => e.id === H), W = U ? `${U.name} (${U.modelId})` : H || "Not configured", $e = j.temperature, et = j.maxTokens, G = j.mcpConnectionIds ?? [], K = j.knowledgeBaseIds ?? [], q = j.workflowIds ?? [], J = j.capabilities ?? [], Y = j.maxConcurrentExecutions || 10, X = !!Xe.data?.requireActivationApproval && (j.status === "DRAFT" || j.status === "ARCHIVED") && !j.currentVersionId, Z = new Map(Ye.map((e) => [e.id, e.name])), Q = new Map(z.map((e) => [e.id, e.name])), tt = J.includes("RAG") && !R.loading && !R.error ? K.flatMap((e) => {
|
|
113
114
|
let t = z.find((t) => t.id === e);
|
|
114
115
|
return t ? t.indexStatus === "READY" ? [] : [{
|
|
115
116
|
id: e,
|
|
@@ -120,7 +121,7 @@ var ze = "π€", Be = [
|
|
|
120
121
|
name: null,
|
|
121
122
|
status: "MISSING"
|
|
122
123
|
}];
|
|
123
|
-
}) : [],
|
|
124
|
+
}) : [], nt = (e, t, n, r) => t.get(e) ?? (n.loading ? E("botlit.agentDetail.resourceLoading", "Loadingβ¦") : n.error ? E("botlit.agentDetail.resourceUnnamed", "Name unavailable") : E(r, "No longer available")), rt = (() => {
|
|
124
125
|
switch (j.status) {
|
|
125
126
|
case "ACTIVE": return null;
|
|
126
127
|
case "DRAFT": return X ? E("botlit.agentDetail.reason.pendingApproval", "This agent is a draft. This workspace needs a reviewer to approve it before it goes live: use Request activation.") : j.currentVersionId ? E("botlit.agentDetail.reason.deactivated", "This agent was taken out of service and is a draft again. Activate it to put it back live.") : E("botlit.agentDetail.reason.neverPublished", "This agent is a draft that was never published, so it does not answer bots yet. Activate it to publish it.");
|
|
@@ -161,7 +162,7 @@ var ze = "π€", Be = [
|
|
|
161
162
|
error: E("botlit.agentDetail.restore.error", "Failed to restore agent")
|
|
162
163
|
};
|
|
163
164
|
}
|
|
164
|
-
},
|
|
165
|
+
}, it = async (e) => {
|
|
165
166
|
if (!D) return;
|
|
166
167
|
let t = $(e.key, j.name);
|
|
167
168
|
if (!(e.confirm && t.confirmTitle && t.confirmMessage && !await m({
|
|
@@ -177,16 +178,16 @@ var ze = "π€", Be = [
|
|
|
177
178
|
} catch (e) {
|
|
178
179
|
T.error(e instanceof Error ? e.message : t.error);
|
|
179
180
|
}
|
|
180
|
-
},
|
|
181
|
+
}, at = async () => {
|
|
181
182
|
if (!D) return;
|
|
182
|
-
let e = await
|
|
183
|
+
let e = await qe(D).catch(() => null), t = we(E, j.name, e);
|
|
183
184
|
if (await m({
|
|
184
185
|
title: E("botlit.agentsList.delete.title", "Delete agent?"),
|
|
185
186
|
message: t,
|
|
186
187
|
confirmLabel: E("botlit.agentsList.delete.okButton", "Delete"),
|
|
187
188
|
cancelLabel: E("botlit.agentsList.delete.cancelButton", "Cancel")
|
|
188
189
|
})) try {
|
|
189
|
-
if (!await
|
|
190
|
+
if (!await Ge(D)) {
|
|
190
191
|
T.error(E("botlit.agentDetail.delete.error", "Failed to delete agent"));
|
|
191
192
|
return;
|
|
192
193
|
}
|
|
@@ -194,7 +195,7 @@ var ze = "π€", Be = [
|
|
|
194
195
|
} catch (e) {
|
|
195
196
|
T.error(e instanceof Error ? e.message : E("botlit.agentDetail.delete.error", "Failed to delete agent"));
|
|
196
197
|
}
|
|
197
|
-
},
|
|
198
|
+
}, ot = [
|
|
198
199
|
{
|
|
199
200
|
id: "assistant",
|
|
200
201
|
label: "Assistant setup",
|
|
@@ -203,11 +204,11 @@ var ze = "π€", Be = [
|
|
|
203
204
|
{
|
|
204
205
|
id: "overview",
|
|
205
206
|
label: E("botlit.agentDetail.tabs.overview", "Overview"),
|
|
206
|
-
icon: /* @__PURE__ */ g(
|
|
207
|
+
icon: /* @__PURE__ */ g(Me, { size: 16 })
|
|
207
208
|
},
|
|
208
209
|
{
|
|
209
210
|
id: "prompt",
|
|
210
|
-
label: E("botlit.agentDetail.tabs.
|
|
211
|
+
label: E("botlit.agentDetail.tabs.promptSkills", "Prompt & skills"),
|
|
211
212
|
icon: /* @__PURE__ */ g(b, { size: 16 })
|
|
212
213
|
},
|
|
213
214
|
{
|
|
@@ -228,17 +229,17 @@ var ze = "π€", Be = [
|
|
|
228
229
|
{
|
|
229
230
|
id: "guardrails",
|
|
230
231
|
label: E("botlit.agentDetail.tabs.guardrails", "Guardrails"),
|
|
231
|
-
icon: /* @__PURE__ */ g(
|
|
232
|
+
icon: /* @__PURE__ */ g(Le, { size: 16 })
|
|
232
233
|
},
|
|
233
234
|
{
|
|
234
235
|
id: "handoff",
|
|
235
236
|
label: E("botlit.agentDetail.tabs.handoff", "Handoff"),
|
|
236
|
-
icon: /* @__PURE__ */ g(
|
|
237
|
+
icon: /* @__PURE__ */ g(Pe, { size: 16 })
|
|
237
238
|
},
|
|
238
239
|
{
|
|
239
240
|
id: "aiOperations",
|
|
240
241
|
label: E("botlit.agentDetail.tabs.aiOperations", "AI Operations"),
|
|
241
|
-
icon: /* @__PURE__ */ g(
|
|
242
|
+
icon: /* @__PURE__ */ g(Re, { size: 16 })
|
|
242
243
|
},
|
|
243
244
|
{
|
|
244
245
|
id: "a2a",
|
|
@@ -248,7 +249,7 @@ var ze = "π€", Be = [
|
|
|
248
249
|
{
|
|
249
250
|
id: "versions",
|
|
250
251
|
label: E("botlit.agentDetail.tabs.versions", "Versions"),
|
|
251
|
-
icon: /* @__PURE__ */ g(
|
|
252
|
+
icon: /* @__PURE__ */ g(Fe, { size: 16 })
|
|
252
253
|
}
|
|
253
254
|
];
|
|
254
255
|
return /* @__PURE__ */ _(t, {
|
|
@@ -258,14 +259,14 @@ var ze = "π€", Be = [
|
|
|
258
259
|
size: "icon",
|
|
259
260
|
"aria-label": E("botlit.agentDetail.back", "Back to agents"),
|
|
260
261
|
onClick: () => k(B),
|
|
261
|
-
children: /* @__PURE__ */ g(
|
|
262
|
+
children: /* @__PURE__ */ g(je, {
|
|
262
263
|
size: 20,
|
|
263
264
|
"aria-hidden": "true"
|
|
264
265
|
})
|
|
265
266
|
}), /* @__PURE__ */ g("span", {
|
|
266
267
|
className: "text-3xl",
|
|
267
268
|
"aria-hidden": "true",
|
|
268
|
-
children: j.avatar ||
|
|
269
|
+
children: j.avatar || Be
|
|
269
270
|
})] }),
|
|
270
271
|
meta: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(u, { status: j.status }), /* @__PURE__ */ g(l, {
|
|
271
272
|
variant: "outline",
|
|
@@ -286,10 +287,10 @@ var ze = "π€", Be = [
|
|
|
286
287
|
}));
|
|
287
288
|
},
|
|
288
289
|
children: E("botlit.agentApproval.requestAction", "Request activation")
|
|
289
|
-
}) : (
|
|
290
|
+
}) : (He[j.status] ?? []).map((e) => /* @__PURE__ */ g(c, {
|
|
290
291
|
variant: e.variant,
|
|
291
|
-
isLoading:
|
|
292
|
-
onClick: () => void
|
|
292
|
+
isLoading: We.loading,
|
|
293
|
+
onClick: () => void it(e),
|
|
293
294
|
children: $(e.key, j.name).label
|
|
294
295
|
}, e.key))
|
|
295
296
|
}),
|
|
@@ -297,7 +298,7 @@ var ze = "π€", Be = [
|
|
|
297
298
|
permission: d.AGENT_UPDATE,
|
|
298
299
|
children: /* @__PURE__ */ g(c, {
|
|
299
300
|
variant: "outline",
|
|
300
|
-
leftIcon: /* @__PURE__ */ g(
|
|
301
|
+
leftIcon: /* @__PURE__ */ g(Ne, { size: 16 }),
|
|
301
302
|
onClick: () => k(O ? `bots/${O}/agents/${D}/edit` : `agents/${D}/edit`),
|
|
302
303
|
children: E("botlit.agentDetail.actions.editAgent", "Edit Agent")
|
|
303
304
|
})
|
|
@@ -314,22 +315,22 @@ var ze = "π€", Be = [
|
|
|
314
315
|
permission: d.AGENT_DELETE,
|
|
315
316
|
children: /* @__PURE__ */ g(c, {
|
|
316
317
|
variant: "destructive",
|
|
317
|
-
leftIcon: /* @__PURE__ */ g(
|
|
318
|
-
isLoading:
|
|
319
|
-
onClick: () => void
|
|
318
|
+
leftIcon: /* @__PURE__ */ g(ze, { size: 16 }),
|
|
319
|
+
isLoading: Ke.loading,
|
|
320
|
+
onClick: () => void at(),
|
|
320
321
|
children: E("botlit.common.delete", "Delete")
|
|
321
322
|
})
|
|
322
323
|
})
|
|
323
324
|
]
|
|
324
325
|
}),
|
|
325
326
|
children: [
|
|
326
|
-
|
|
327
|
+
rt && /* @__PURE__ */ g("div", {
|
|
327
328
|
role: "status",
|
|
328
329
|
"data-testid": "agent-status-reason",
|
|
329
330
|
className: "mb-4 rounded-lg border border-status-warning-border bg-status-warning-bg-subtle p-3 text-sm text-text-primary",
|
|
330
|
-
children:
|
|
331
|
+
children: rt
|
|
331
332
|
}),
|
|
332
|
-
|
|
333
|
+
tt.length > 0 && /* @__PURE__ */ _("div", {
|
|
333
334
|
role: "status",
|
|
334
335
|
"data-testid": "agent-knowledge-warning",
|
|
335
336
|
className: "mb-4 rounded-lg border border-status-warning-border bg-status-warning-bg-subtle p-3 text-sm text-text-primary",
|
|
@@ -338,7 +339,7 @@ var ze = "π€", Be = [
|
|
|
338
339
|
children: E("botlit.agentDetail.knowledgeWarning.title", "This agent cannot answer right now: a knowledge base it uses cannot be searched.")
|
|
339
340
|
}), /* @__PURE__ */ g("ul", {
|
|
340
341
|
className: "mt-1 list-disc pl-5",
|
|
341
|
-
children:
|
|
342
|
+
children: tt.map((e) => /* @__PURE__ */ g("li", { children: e.name === null ? E("botlit.agentDetail.knowledgeWarning.missing", "A knowledge base that no longer exists ({{id}}). Remove it from the agent.", { id: e.id }) : E("botlit.agentDetail.knowledgeWarning.notReady", "\"{{name}}\" is {{status}}.", {
|
|
342
343
|
name: e.name,
|
|
343
344
|
status: E(`botlit.status.${e.status.toLowerCase()}`, e.status.toLowerCase())
|
|
344
345
|
}) }, e.id))
|
|
@@ -365,22 +366,22 @@ var ze = "π€", Be = [
|
|
|
365
366
|
})
|
|
366
367
|
]
|
|
367
368
|
}),
|
|
368
|
-
/* @__PURE__ */ g(
|
|
369
|
+
/* @__PURE__ */ g(Oe, {
|
|
369
370
|
icon: /* @__PURE__ */ g(y, { size: 18 }),
|
|
370
371
|
children: E("botlit.agentDetail.purpose", "This is the full configuration for a single agent β its prompt, model settings, the tools and knowledge it can use, its guardrails and how it talks to other agents. Use the tabs to inspect or change any part, and test the agent in chat to confirm it behaves the way you expect before going live.")
|
|
371
372
|
}),
|
|
372
373
|
/* @__PURE__ */ g("div", {
|
|
373
374
|
className: "flex gap-1 border-b border-border-subtle overflow-x-auto",
|
|
374
|
-
children:
|
|
375
|
+
children: ot.map((e) => /* @__PURE__ */ _("button", {
|
|
375
376
|
onClick: () => I(e.id),
|
|
376
|
-
className:
|
|
377
|
+
className: Ce("flex items-center gap-2 px-4 py-2 text-sm font-medium border-b-2 transition-colors whitespace-nowrap", F === e.id ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
377
378
|
children: [e.icon, e.label]
|
|
378
379
|
}, e.id))
|
|
379
380
|
}),
|
|
380
381
|
F === "overview" && /* @__PURE__ */ _("div", {
|
|
381
382
|
className: "space-y-6",
|
|
382
383
|
children: [
|
|
383
|
-
/* @__PURE__ */ g(
|
|
384
|
+
/* @__PURE__ */ g(De, {
|
|
384
385
|
storageKey: `botlit-agent-${D}`,
|
|
385
386
|
steps: [
|
|
386
387
|
{
|
|
@@ -497,7 +498,7 @@ var ze = "π€", Be = [
|
|
|
497
498
|
]
|
|
498
499
|
})]
|
|
499
500
|
}),
|
|
500
|
-
/* @__PURE__ */ _(
|
|
501
|
+
/* @__PURE__ */ _(Ee, {
|
|
501
502
|
treatment: "glass",
|
|
502
503
|
glow: !0,
|
|
503
504
|
className: "lg:col-span-2 p-6",
|
|
@@ -523,7 +524,7 @@ var ze = "π€", Be = [
|
|
|
523
524
|
}),
|
|
524
525
|
/* @__PURE__ */ _(r, {
|
|
525
526
|
className: "lg:col-span-3",
|
|
526
|
-
children: [/* @__PURE__ */ g(o, { children: /* @__PURE__ */ g(s, { children: E("botlit.agentDetail.tags.title", "Tags") }) }), /* @__PURE__ */ g(i, { children: /* @__PURE__ */ g(
|
|
527
|
+
children: [/* @__PURE__ */ g(o, { children: /* @__PURE__ */ g(s, { children: E("botlit.agentDetail.tags.title", "Tags") }) }), /* @__PURE__ */ g(i, { children: /* @__PURE__ */ g(xe, {
|
|
527
528
|
entityType: "BotmanorAgent",
|
|
528
529
|
entityId: j.id,
|
|
529
530
|
tags: j.tags,
|
|
@@ -540,9 +541,9 @@ var ze = "π€", Be = [
|
|
|
540
541
|
})
|
|
541
542
|
]
|
|
542
543
|
}),
|
|
543
|
-
F === "prompt" && /* @__PURE__ */
|
|
544
|
+
F === "prompt" && /* @__PURE__ */ _("div", {
|
|
544
545
|
className: "space-y-6",
|
|
545
|
-
children: /* @__PURE__ */ _(r, { children: [/* @__PURE__ */ _(o, { children: [/* @__PURE__ */ _(s, {
|
|
546
|
+
children: [/* @__PURE__ */ _(r, { children: [/* @__PURE__ */ _(o, { children: [/* @__PURE__ */ _(s, {
|
|
546
547
|
className: "flex items-center gap-2",
|
|
547
548
|
children: [/* @__PURE__ */ g(b, { size: 18 }), E("botlit.agentDetail.prompt.title", "System Prompt")]
|
|
548
549
|
}), /* @__PURE__ */ g(a, { children: E("botlit.agentDetail.prompt.description", "The system prompt that defines this agent's behavior") })] }), /* @__PURE__ */ g(i, {
|
|
@@ -554,7 +555,7 @@ var ze = "π€", Be = [
|
|
|
554
555
|
className: "text-text-secondary",
|
|
555
556
|
children: E("botlit.agentDetail.prompt.empty", "No system prompt configured")
|
|
556
557
|
})
|
|
557
|
-
})] })
|
|
558
|
+
})] }), D && /* @__PURE__ */ g(ye, { agentId: D })]
|
|
558
559
|
}),
|
|
559
560
|
F === "llm" && /* @__PURE__ */ _("div", {
|
|
560
561
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
@@ -576,19 +577,19 @@ var ze = "π€", Be = [
|
|
|
576
577
|
children: "Temperature"
|
|
577
578
|
}), /* @__PURE__ */ g("p", {
|
|
578
579
|
className: "font-medium",
|
|
579
|
-
children:
|
|
580
|
+
children: $e ?? "Default"
|
|
580
581
|
})] }),
|
|
581
582
|
/* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
|
|
582
583
|
className: "text-sm text-text-secondary",
|
|
583
584
|
children: "Max Tokens"
|
|
584
585
|
}), /* @__PURE__ */ g("p", {
|
|
585
586
|
className: "font-medium",
|
|
586
|
-
children:
|
|
587
|
+
children: et ?? "Default"
|
|
587
588
|
})] })
|
|
588
589
|
]
|
|
589
590
|
})] }), /* @__PURE__ */ _(r, { children: [/* @__PURE__ */ g(o, { children: /* @__PURE__ */ _(s, {
|
|
590
591
|
className: "flex items-center gap-2",
|
|
591
|
-
children: [/* @__PURE__ */ g(
|
|
592
|
+
children: [/* @__PURE__ */ g(Ie, { size: 18 }), E("botlit.agentDetail.executionLimits.title", "Execution Limits")]
|
|
592
593
|
}) }), /* @__PURE__ */ _(i, {
|
|
593
594
|
className: "space-y-4",
|
|
594
595
|
children: [
|
|
@@ -633,7 +634,7 @@ var ze = "π€", Be = [
|
|
|
633
634
|
})
|
|
634
635
|
}), /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("p", {
|
|
635
636
|
className: "font-medium",
|
|
636
|
-
children:
|
|
637
|
+
children: nt(e, Z, L, "botlit.agentDetail.tools.unavailable")
|
|
637
638
|
}), !Z.has(e) && /* @__PURE__ */ g("p", {
|
|
638
639
|
className: "text-sm text-text-secondary font-mono",
|
|
639
640
|
children: e
|
|
@@ -667,7 +668,7 @@ var ze = "π€", Be = [
|
|
|
667
668
|
className: "flex items-center justify-between",
|
|
668
669
|
children: [/* @__PURE__ */ g("p", {
|
|
669
670
|
className: "font-medium",
|
|
670
|
-
children:
|
|
671
|
+
children: nt(e, Q, R, "botlit.agentDetail.knowledge.unavailable")
|
|
671
672
|
}), /* @__PURE__ */ _(l, {
|
|
672
673
|
variant: "outline",
|
|
673
674
|
children: ["#", t + 1]
|
|
@@ -685,7 +686,7 @@ var ze = "π€", Be = [
|
|
|
685
686
|
className: "mx-auto w-full max-w-3xl",
|
|
686
687
|
children: /* @__PURE__ */ g(n, { agentId: D })
|
|
687
688
|
}),
|
|
688
|
-
F === "guardrails" && /* @__PURE__ */ g(
|
|
689
|
+
F === "guardrails" && /* @__PURE__ */ g(be, { subject: "agent" }),
|
|
689
690
|
F === "aiOperations" && D && /* @__PURE__ */ g(le, {
|
|
690
691
|
filter: {
|
|
691
692
|
subjectType: "AGENT",
|
|
@@ -697,7 +698,7 @@ var ze = "π€", Be = [
|
|
|
697
698
|
agentId: D,
|
|
698
699
|
agentName: j.name,
|
|
699
700
|
delegationEnabled: J.includes("A2A"),
|
|
700
|
-
agents:
|
|
701
|
+
agents: Qe.data ?? []
|
|
701
702
|
}),
|
|
702
703
|
F === "versions" && D && /* @__PURE__ */ g(re, {
|
|
703
704
|
agentId: D,
|