@burdenoff/microfe-botmanor 2026.1101.3 → 2026.1108.1
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/BotlitRoutes.js +34 -30
- package/dist/botlit/BotlitRoutes.js.map +1 -1
- package/dist/botlit/components/AiOperationsPanel.js +254 -0
- package/dist/botlit/components/AiOperationsPanel.js.map +1 -0
- package/dist/botlit/components/Input.js +1 -1
- package/dist/botlit/hooks/index.js +1 -0
- package/dist/botlit/hooks/internal/mutationInput.js.map +1 -1
- package/dist/botlit/hooks/useAgents.js +3 -3
- package/dist/botlit/hooks/useAgents.js.map +1 -1
- package/dist/botlit/hooks/useAiOperations.js +153 -0
- package/dist/botlit/hooks/useAiOperations.js.map +1 -0
- package/dist/botlit/hooks/useLLMProviders.js +4 -4
- package/dist/botlit/hooks/useLLMProviders.js.map +1 -1
- package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
- package/dist/botlit/pages/AgentDetailPage.js +198 -185
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/AiOperationsPage.js +166 -0
- package/dist/botlit/pages/AiOperationsPage.js.map +1 -0
- package/dist/botlit/pages/BotDetailPage.js +282 -268
- package/dist/botlit/pages/BotDetailPage.js.map +1 -1
- package/dist/botlit/permissions/botmanorPermissions.js.map +1 -1
- package/dist/generated/global-types.js.map +1 -1
- package/dist/generated/wspace-operations.js +169 -76
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.js +5 -3
- package/dist/generated/wspace-types.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,130 +1,136 @@
|
|
|
1
1
|
import { useTr as e } from "../../shared/hooks/useTr.js";
|
|
2
2
|
import { useBotlit as t } from "../providers/BotlitProvider.js";
|
|
3
|
-
import { useAgent as
|
|
4
|
-
import { cn as
|
|
5
|
-
import { formatRelativeTime as
|
|
6
|
-
import { BOTMANOR_PERMISSIONS as
|
|
7
|
-
import { BotmanorPermissionGate as
|
|
8
|
-
import { PageLayout as
|
|
9
|
-
import { Button as
|
|
3
|
+
import { useAgent as n, useDeleteAgent as r, useUpdateAgent as i } from "../hooks/useAgents.js";
|
|
4
|
+
import { cn as a } from "../utils/cn.js";
|
|
5
|
+
import { formatRelativeTime as o } from "../utils/formatters.js";
|
|
6
|
+
import { BOTMANOR_PERMISSIONS as s } from "../permissions/botmanorPermissions.js";
|
|
7
|
+
import { BotmanorPermissionGate as c, useBotmanorCan as l } from "../permissions/useBotmanorPermissions.js";
|
|
8
|
+
import { PageLayout as u } from "../components/PageLayout.js";
|
|
9
|
+
import { Button as d } from "../components/Button.js";
|
|
10
10
|
import "../permissions/index.js";
|
|
11
|
-
import { Card as
|
|
12
|
-
import { Badge as
|
|
13
|
-
import { EmptyState as
|
|
14
|
-
import { useAgentApprovalSettings as
|
|
11
|
+
import { Card as f, CardContent as p, CardDescription as m, CardHeader as h, CardTitle as g } from "../components/Card.js";
|
|
12
|
+
import { Badge as _, StatusBadge as v } from "../components/Badge.js";
|
|
13
|
+
import { EmptyState as ee } from "../components/EmptyState.js";
|
|
14
|
+
import { useAgentApprovalSettings as te } from "../hooks/useAgentApprovals.js";
|
|
15
15
|
import { AgentApprovalPanel as y } from "../components/AgentApprovalPanel.js";
|
|
16
16
|
import { VersionHistoryPanel as b } from "../components/VersionHistoryPanel.js";
|
|
17
|
-
import { AssistantRuntimeSetupPanel as
|
|
18
|
-
import { AssistantChannelPanel as
|
|
19
|
-
import { AssistantWebsitePanel as
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
17
|
+
import { AssistantRuntimeSetupPanel as ne } from "../components/AssistantRuntimeSetupPanel.js";
|
|
18
|
+
import { AssistantChannelPanel as re } from "../components/AssistantChannelPanel.js";
|
|
19
|
+
import { AssistantWebsitePanel as x } from "../components/AssistantWebsitePanel.js";
|
|
20
|
+
import { AiOperationsPanel as ie } from "../components/AiOperationsPanel.js";
|
|
21
|
+
import { useState as ae } from "react";
|
|
22
|
+
import { GlassCard as oe, NextSteps as se, PagePurpose as ce } from "@burdenoff/fe-libs/ui";
|
|
23
|
+
import { Fragment as le, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
24
|
+
import { useParams as ue } from "react-router";
|
|
25
|
+
import { ArrowLeft as de, BarChart3 as fe, BookOpen as w, Brain as T, Edit as pe, FileText as E, History as me, MessageSquare as he, Play as D, Settings as O, Share2 as k, Shield as A, ShieldCheck as j, Trash2 as M, Wrench as N } from "lucide-react";
|
|
25
26
|
import { toast as P } from "sonner";
|
|
26
27
|
//#region src/botlit/pages/AgentDetailPage.tsx
|
|
27
28
|
var F = () => {
|
|
28
|
-
let F = e(), { agentId: I } =
|
|
29
|
-
if (
|
|
29
|
+
let F = e(), { agentId: I } = ue(), { navigateTo: L } = t(), R = l(), { data: z, loading: ge, refetch: B } = n(I), [V, H] = i(), [_e, ve] = r(), [U, W] = ae("overview"), ye = te();
|
|
30
|
+
if (ge) return /* @__PURE__ */ S(u, {
|
|
30
31
|
title: F("botlit.common.loading", "Loading..."),
|
|
31
|
-
children: /* @__PURE__ */
|
|
32
|
+
children: /* @__PURE__ */ S("div", { className: "h-96 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" })
|
|
32
33
|
});
|
|
33
|
-
if (!z) return /* @__PURE__ */
|
|
34
|
+
if (!z) return /* @__PURE__ */ S(u, {
|
|
34
35
|
title: F("botlit.agentDetail.notFound.title", "Agent Not Found"),
|
|
35
|
-
children: /* @__PURE__ */
|
|
36
|
+
children: /* @__PURE__ */ S(ee, {
|
|
36
37
|
illustration: "empty-agents",
|
|
37
38
|
title: F("botlit.agentDetail.notFound.title", "Agent Not Found"),
|
|
38
39
|
description: F("botlit.agentDetail.notFound.description", "The agent you're looking for doesn't exist."),
|
|
39
|
-
action: /* @__PURE__ */
|
|
40
|
+
action: /* @__PURE__ */ S(d, {
|
|
40
41
|
onClick: () => L("agents"),
|
|
41
42
|
children: F("botlit.agentDetail.notFound.backAction", "Back to Agents")
|
|
42
43
|
})
|
|
43
44
|
})
|
|
44
45
|
});
|
|
45
|
-
let G = z.systemPrompt || "", K = z.llmModelId || "",
|
|
46
|
+
let G = z.systemPrompt || "", K = z.llmModelId || "", be = z.temperature, xe = z.maxTokens, q = z.mcpConnectionIds ?? [], J = z.knowledgeBaseIds ?? [], Y = z.workflowIds ?? [], X = z.capabilities ?? [], Z = z.tagIds ?? [], Q = z.maxConcurrentExecutions || 10, $ = z.metadata ?? null, Se = [
|
|
46
47
|
{
|
|
47
48
|
id: "assistant",
|
|
48
49
|
label: "Assistant setup",
|
|
49
|
-
icon: /* @__PURE__ */
|
|
50
|
+
icon: /* @__PURE__ */ S(O, { size: 16 })
|
|
50
51
|
},
|
|
51
52
|
{
|
|
52
53
|
id: "overview",
|
|
53
54
|
label: F("botlit.agentDetail.tabs.overview", "Overview"),
|
|
54
|
-
icon: /* @__PURE__ */
|
|
55
|
+
icon: /* @__PURE__ */ S(fe, { size: 16 })
|
|
55
56
|
},
|
|
56
57
|
{
|
|
57
58
|
id: "prompt",
|
|
58
59
|
label: F("botlit.agentDetail.tabs.prompt", "Prompt"),
|
|
59
|
-
icon: /* @__PURE__ */
|
|
60
|
+
icon: /* @__PURE__ */ S(E, { size: 16 })
|
|
60
61
|
},
|
|
61
62
|
{
|
|
62
63
|
id: "llm",
|
|
63
64
|
label: F("botlit.agentDetail.tabs.llmConfig", "LLM Config"),
|
|
64
|
-
icon: /* @__PURE__ */
|
|
65
|
+
icon: /* @__PURE__ */ S(T, { size: 16 })
|
|
65
66
|
},
|
|
66
67
|
{
|
|
67
68
|
id: "tools",
|
|
68
69
|
label: F("botlit.agentDetail.tabs.tools", "Tools"),
|
|
69
|
-
icon: /* @__PURE__ */
|
|
70
|
+
icon: /* @__PURE__ */ S(N, { size: 16 })
|
|
70
71
|
},
|
|
71
72
|
{
|
|
72
73
|
id: "knowledge",
|
|
73
74
|
label: F("botlit.agentDetail.tabs.knowledge", "Knowledge"),
|
|
74
|
-
icon: /* @__PURE__ */
|
|
75
|
+
icon: /* @__PURE__ */ S(w, { size: 16 })
|
|
75
76
|
},
|
|
76
77
|
{
|
|
77
78
|
id: "guardrails",
|
|
78
79
|
label: F("botlit.agentDetail.tabs.guardrails", "Guardrails"),
|
|
79
|
-
icon: /* @__PURE__ */
|
|
80
|
+
icon: /* @__PURE__ */ S(A, { size: 16 })
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
id: "aiOperations",
|
|
84
|
+
label: F("botlit.agentDetail.tabs.aiOperations", "AI Operations"),
|
|
85
|
+
icon: /* @__PURE__ */ S(j, { size: 16 })
|
|
80
86
|
},
|
|
81
87
|
{
|
|
82
88
|
id: "a2a",
|
|
83
89
|
label: F("botlit.agentDetail.tabs.a2a", "A2A"),
|
|
84
|
-
icon: /* @__PURE__ */
|
|
90
|
+
icon: /* @__PURE__ */ S(k, { size: 16 })
|
|
85
91
|
},
|
|
86
92
|
{
|
|
87
93
|
id: "versions",
|
|
88
94
|
label: F("botlit.agentDetail.tabs.versions", "Versions"),
|
|
89
|
-
icon: /* @__PURE__ */
|
|
95
|
+
icon: /* @__PURE__ */ S(me, { size: 16 })
|
|
90
96
|
}
|
|
91
97
|
];
|
|
92
|
-
return /* @__PURE__ */
|
|
93
|
-
title: /* @__PURE__ */
|
|
98
|
+
return /* @__PURE__ */ S(u, {
|
|
99
|
+
title: /* @__PURE__ */ C("div", {
|
|
94
100
|
className: "flex items-center gap-3",
|
|
95
101
|
children: [
|
|
96
|
-
/* @__PURE__ */
|
|
102
|
+
/* @__PURE__ */ S(d, {
|
|
97
103
|
variant: "ghost",
|
|
98
104
|
size: "icon",
|
|
99
105
|
onClick: () => L("agents"),
|
|
100
|
-
children: /* @__PURE__ */
|
|
106
|
+
children: /* @__PURE__ */ S(de, { size: 20 })
|
|
101
107
|
}),
|
|
102
|
-
/* @__PURE__ */
|
|
108
|
+
/* @__PURE__ */ S("span", {
|
|
103
109
|
className: "text-3xl",
|
|
104
110
|
children: "🤖"
|
|
105
111
|
}),
|
|
106
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ C("div", {
|
|
107
113
|
className: "flex items-center gap-2",
|
|
108
114
|
children: [
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ S("span", { children: z.name }),
|
|
116
|
+
/* @__PURE__ */ S(v, { status: z.status }),
|
|
117
|
+
/* @__PURE__ */ S(_, {
|
|
112
118
|
variant: "outline",
|
|
113
119
|
children: z.slug
|
|
114
120
|
})
|
|
115
121
|
]
|
|
116
|
-
}), /* @__PURE__ */
|
|
122
|
+
}), /* @__PURE__ */ S("p", {
|
|
117
123
|
className: "text-sm font-normal text-text-secondary",
|
|
118
124
|
children: z.description
|
|
119
125
|
})] })
|
|
120
126
|
]
|
|
121
127
|
}),
|
|
122
|
-
actions: /* @__PURE__ */
|
|
128
|
+
actions: /* @__PURE__ */ C("div", {
|
|
123
129
|
className: "flex gap-2",
|
|
124
130
|
children: [
|
|
125
|
-
|
|
126
|
-
permission:
|
|
127
|
-
children: /* @__PURE__ */
|
|
131
|
+
ye.data?.requireActivationApproval && (z.status === "DRAFT" || z.status === "ARCHIVED") && !z.currentVersionId ? /* @__PURE__ */ S(c, {
|
|
132
|
+
permission: s.AGENT_UPDATE,
|
|
133
|
+
children: /* @__PURE__ */ S(d, {
|
|
128
134
|
variant: "default",
|
|
129
135
|
onClick: () => {
|
|
130
136
|
W("overview"), requestAnimationFrame(() => document.querySelector("[data-testid=\"agent-approval-panel\"]")?.scrollIntoView({
|
|
@@ -134,9 +140,9 @@ var F = () => {
|
|
|
134
140
|
},
|
|
135
141
|
children: F("botlit.agentApproval.requestAction", "Request activation")
|
|
136
142
|
})
|
|
137
|
-
}) : z.status === "DRAFT" || z.status === "ARCHIVED" ? /* @__PURE__ */
|
|
138
|
-
permission:
|
|
139
|
-
children: /* @__PURE__ */
|
|
143
|
+
}) : z.status === "DRAFT" || z.status === "ARCHIVED" ? /* @__PURE__ */ S(c, {
|
|
144
|
+
permission: s.AGENT_UPDATE,
|
|
145
|
+
children: /* @__PURE__ */ S(d, {
|
|
140
146
|
variant: "default",
|
|
141
147
|
isLoading: H.loading,
|
|
142
148
|
onClick: async () => {
|
|
@@ -152,9 +158,9 @@ var F = () => {
|
|
|
152
158
|
},
|
|
153
159
|
children: F("botlit.agentDetail.actions.activate", "Activate")
|
|
154
160
|
})
|
|
155
|
-
}) : /* @__PURE__ */
|
|
156
|
-
permission:
|
|
157
|
-
children: /* @__PURE__ */
|
|
161
|
+
}) : /* @__PURE__ */ S(c, {
|
|
162
|
+
permission: s.AGENT_UPDATE,
|
|
163
|
+
children: /* @__PURE__ */ S(d, {
|
|
158
164
|
variant: "outline",
|
|
159
165
|
isLoading: H.loading,
|
|
160
166
|
onClick: async () => {
|
|
@@ -171,32 +177,32 @@ var F = () => {
|
|
|
171
177
|
children: F("botlit.agentDetail.actions.deactivate", "Deactivate")
|
|
172
178
|
})
|
|
173
179
|
}),
|
|
174
|
-
/* @__PURE__ */
|
|
175
|
-
permission:
|
|
176
|
-
children: /* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ S(c, {
|
|
181
|
+
permission: s.AGENT_UPDATE,
|
|
182
|
+
children: /* @__PURE__ */ S(d, {
|
|
177
183
|
variant: "outline",
|
|
178
|
-
leftIcon: /* @__PURE__ */
|
|
184
|
+
leftIcon: /* @__PURE__ */ S(pe, { size: 16 }),
|
|
179
185
|
onClick: () => L(`agents/${I}/edit`),
|
|
180
186
|
children: F("botlit.agentDetail.actions.editAgent", "Edit Agent")
|
|
181
187
|
})
|
|
182
188
|
}),
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
permission:
|
|
185
|
-
children: /* @__PURE__ */
|
|
186
|
-
leftIcon: /* @__PURE__ */
|
|
189
|
+
/* @__PURE__ */ S(c, {
|
|
190
|
+
permission: s.AGENT_EXECUTE,
|
|
191
|
+
children: /* @__PURE__ */ S(d, {
|
|
192
|
+
leftIcon: /* @__PURE__ */ S(D, { size: 16 }),
|
|
187
193
|
onClick: () => L(`chat/${I}`),
|
|
188
194
|
children: F("botlit.agentDetail.actions.testAgent", "Test Agent")
|
|
189
195
|
})
|
|
190
196
|
}),
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
permission:
|
|
193
|
-
children: /* @__PURE__ */
|
|
197
|
+
/* @__PURE__ */ S(c, {
|
|
198
|
+
permission: s.AGENT_DELETE,
|
|
199
|
+
children: /* @__PURE__ */ S(d, {
|
|
194
200
|
variant: "destructive",
|
|
195
|
-
leftIcon: /* @__PURE__ */
|
|
196
|
-
isLoading:
|
|
201
|
+
leftIcon: /* @__PURE__ */ S(M, { size: 16 }),
|
|
202
|
+
isLoading: ve.loading,
|
|
197
203
|
onClick: async () => {
|
|
198
204
|
if (I && confirm(`${F("botlit.agentDetail.delete.confirmPrefix", "Are you sure you want to delete")} "${z.name}"? ${F("botlit.agentDetail.delete.confirmSuffix", "This action cannot be undone.")}`)) try {
|
|
199
|
-
await
|
|
205
|
+
await _e(I), P.success(`${F("botlit.agentDetail.delete.successPrefix", "Agent")} "${z.name}" ${F("botlit.agentDetail.delete.successSuffix", "deleted successfully")}`), L("agents");
|
|
200
206
|
} catch (e) {
|
|
201
207
|
P.error(e instanceof Error ? e.message : F("botlit.agentDetail.delete.error", "Failed to delete agent"));
|
|
202
208
|
}
|
|
@@ -206,188 +212,188 @@ var F = () => {
|
|
|
206
212
|
})
|
|
207
213
|
]
|
|
208
214
|
}),
|
|
209
|
-
children: /* @__PURE__ */
|
|
215
|
+
children: /* @__PURE__ */ C("div", {
|
|
210
216
|
className: "space-y-6",
|
|
211
217
|
children: [
|
|
212
|
-
U === "assistant" && I && /* @__PURE__ */
|
|
218
|
+
U === "assistant" && I && /* @__PURE__ */ C("div", {
|
|
213
219
|
className: "space-y-5",
|
|
214
220
|
children: [
|
|
215
|
-
R(
|
|
221
|
+
R(s.AGENT_UPDATE) && /* @__PURE__ */ S(ne, {
|
|
216
222
|
agentId: I,
|
|
217
223
|
onConfigured: () => void B()
|
|
218
224
|
}),
|
|
219
|
-
R(
|
|
225
|
+
R(s.AGENT_PUBLISH) && /* @__PURE__ */ C(le, { children: [/* @__PURE__ */ S(x, {
|
|
220
226
|
agentId: I,
|
|
221
227
|
knowledgeBaseIds: J
|
|
222
|
-
}), /* @__PURE__ */
|
|
223
|
-
!R(
|
|
228
|
+
}), /* @__PURE__ */ S(re, { agentId: I })] }),
|
|
229
|
+
!R(s.AGENT_UPDATE) && !R(s.AGENT_PUBLISH) && /* @__PURE__ */ S("p", {
|
|
224
230
|
role: "status",
|
|
225
231
|
className: "text-sm text-text-secondary",
|
|
226
232
|
children: F("botlit.agentDetail.assistant.readOnly", "Assistant setup and publishing are available to members who can edit or publish agents in this workspace.")
|
|
227
233
|
})
|
|
228
234
|
]
|
|
229
235
|
}),
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
icon: /* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ S(ce, {
|
|
237
|
+
icon: /* @__PURE__ */ S(T, { size: 18 }),
|
|
232
238
|
children: F("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.")
|
|
233
239
|
}),
|
|
234
|
-
/* @__PURE__ */
|
|
240
|
+
/* @__PURE__ */ S("div", {
|
|
235
241
|
className: "flex gap-1 border-b border-border-subtle overflow-x-auto",
|
|
236
|
-
children:
|
|
242
|
+
children: Se.map((e) => /* @__PURE__ */ C("button", {
|
|
237
243
|
onClick: () => W(e.id),
|
|
238
|
-
className:
|
|
244
|
+
className: a("flex items-center gap-2 px-4 py-2 text-sm font-medium border-b-2 transition-colors whitespace-nowrap", U === e.id ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
239
245
|
children: [e.icon, e.label]
|
|
240
246
|
}, e.id))
|
|
241
247
|
}),
|
|
242
|
-
U === "overview" && /* @__PURE__ */
|
|
248
|
+
U === "overview" && /* @__PURE__ */ C("div", {
|
|
243
249
|
className: "space-y-6",
|
|
244
250
|
children: [
|
|
245
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ S(se, {
|
|
246
252
|
storageKey: `botlit-agent-${I}`,
|
|
247
253
|
steps: [
|
|
248
254
|
{
|
|
249
255
|
id: "test",
|
|
250
256
|
label: F("botlit.agentDetail.nextSteps.test", "Test the agent in chat"),
|
|
251
257
|
description: F("botlit.agentDetail.nextSteps.testDesc", "Send it a few real prompts to see how it responds."),
|
|
252
|
-
icon: /* @__PURE__ */
|
|
258
|
+
icon: /* @__PURE__ */ S(D, { size: 16 }),
|
|
253
259
|
onClick: () => L(`chat/${I}`)
|
|
254
260
|
},
|
|
255
261
|
{
|
|
256
262
|
id: "prompt",
|
|
257
263
|
label: F("botlit.agentDetail.nextSteps.prompt", "Refine the system prompt"),
|
|
258
264
|
description: F("botlit.agentDetail.nextSteps.promptDesc", "Tune its instructions and behaviour."),
|
|
259
|
-
icon: /* @__PURE__ */
|
|
265
|
+
icon: /* @__PURE__ */ S(E, { size: 16 }),
|
|
260
266
|
onClick: () => W("prompt")
|
|
261
267
|
},
|
|
262
268
|
{
|
|
263
269
|
id: "tools",
|
|
264
270
|
label: F("botlit.agentDetail.nextSteps.tools", "Connect tools & knowledge"),
|
|
265
271
|
description: F("botlit.agentDetail.nextSteps.toolsDesc", "Give it MCP tools and knowledge bases to work with."),
|
|
266
|
-
icon: /* @__PURE__ */
|
|
272
|
+
icon: /* @__PURE__ */ S(N, { size: 16 }),
|
|
267
273
|
onClick: () => W("tools")
|
|
268
274
|
},
|
|
269
275
|
{
|
|
270
276
|
id: "activate",
|
|
271
277
|
label: F("botlit.agentDetail.nextSteps.activate", "Activate and attach to a bot"),
|
|
272
278
|
description: F("botlit.agentDetail.nextSteps.activateDesc", "Put it live so a bot can route conversations to it."),
|
|
273
|
-
icon: /* @__PURE__ */
|
|
279
|
+
icon: /* @__PURE__ */ S(k, { size: 16 }),
|
|
274
280
|
onClick: () => L(`agents/${I}/edit`),
|
|
275
281
|
done: z.status === "ACTIVE"
|
|
276
282
|
}
|
|
277
283
|
]
|
|
278
284
|
}),
|
|
279
|
-
I && /* @__PURE__ */
|
|
285
|
+
I && /* @__PURE__ */ S(y, {
|
|
280
286
|
agentId: I,
|
|
281
287
|
agentStatus: z.status,
|
|
282
288
|
onChanged: () => void B()
|
|
283
289
|
}),
|
|
284
|
-
/* @__PURE__ */
|
|
290
|
+
/* @__PURE__ */ C("div", {
|
|
285
291
|
className: "grid grid-cols-1 lg:grid-cols-3 gap-6",
|
|
286
292
|
children: [
|
|
287
|
-
/* @__PURE__ */
|
|
293
|
+
/* @__PURE__ */ C(f, {
|
|
288
294
|
className: "lg:col-span-1",
|
|
289
|
-
children: [/* @__PURE__ */
|
|
295
|
+
children: [/* @__PURE__ */ S(h, { children: /* @__PURE__ */ S(g, { children: "Details" }) }), /* @__PURE__ */ C(p, {
|
|
290
296
|
className: "space-y-4",
|
|
291
297
|
children: [
|
|
292
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
293
299
|
className: "text-sm text-text-secondary",
|
|
294
300
|
children: "Status"
|
|
295
|
-
}), /* @__PURE__ */
|
|
296
|
-
/* @__PURE__ */
|
|
301
|
+
}), /* @__PURE__ */ S(v, { status: z.status })] }),
|
|
302
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
297
303
|
className: "text-sm text-text-secondary",
|
|
298
304
|
children: "Type"
|
|
299
|
-
}), /* @__PURE__ */
|
|
305
|
+
}), /* @__PURE__ */ S(_, {
|
|
300
306
|
variant: "outline",
|
|
301
307
|
children: z.type
|
|
302
308
|
})] }),
|
|
303
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
304
310
|
className: "text-sm text-text-secondary",
|
|
305
311
|
children: "Visibility"
|
|
306
|
-
}), /* @__PURE__ */
|
|
312
|
+
}), /* @__PURE__ */ S(_, {
|
|
307
313
|
variant: "outline",
|
|
308
314
|
children: z.visibility
|
|
309
315
|
})] }),
|
|
310
|
-
/* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
311
317
|
className: "text-sm text-text-secondary",
|
|
312
318
|
children: "LLM Model"
|
|
313
|
-
}), /* @__PURE__ */
|
|
319
|
+
}), /* @__PURE__ */ S("p", {
|
|
314
320
|
className: "font-medium font-mono text-sm",
|
|
315
321
|
children: K || "Not configured"
|
|
316
322
|
})] }),
|
|
317
|
-
/* @__PURE__ */
|
|
323
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
318
324
|
className: "text-sm text-text-secondary",
|
|
319
325
|
children: "MCP Connections"
|
|
320
|
-
}), /* @__PURE__ */
|
|
326
|
+
}), /* @__PURE__ */ C("p", {
|
|
321
327
|
className: "font-medium",
|
|
322
328
|
children: [q.length, " servers"]
|
|
323
329
|
})] }),
|
|
324
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
325
331
|
className: "text-sm text-text-secondary",
|
|
326
332
|
children: "Knowledge Bases"
|
|
327
|
-
}), /* @__PURE__ */
|
|
333
|
+
}), /* @__PURE__ */ C("p", {
|
|
328
334
|
className: "font-medium",
|
|
329
335
|
children: [J.length, " KBs"]
|
|
330
336
|
})] }),
|
|
331
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
332
338
|
className: "text-sm text-text-secondary",
|
|
333
339
|
children: "Max Concurrent"
|
|
334
|
-
}), /* @__PURE__ */
|
|
340
|
+
}), /* @__PURE__ */ S("p", {
|
|
335
341
|
className: "font-medium",
|
|
336
342
|
children: Q
|
|
337
343
|
})] }),
|
|
338
|
-
/* @__PURE__ */
|
|
344
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
339
345
|
className: "text-sm text-text-secondary",
|
|
340
346
|
children: "Executions"
|
|
341
|
-
}), /* @__PURE__ */
|
|
347
|
+
}), /* @__PURE__ */ S("p", {
|
|
342
348
|
className: "font-medium",
|
|
343
349
|
children: z.executionCount ?? 0
|
|
344
350
|
})] }),
|
|
345
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
346
352
|
className: "text-sm text-text-secondary",
|
|
347
353
|
children: "Created"
|
|
348
|
-
}), /* @__PURE__ */
|
|
354
|
+
}), /* @__PURE__ */ S("p", {
|
|
349
355
|
className: "font-medium",
|
|
350
|
-
children:
|
|
356
|
+
children: o(z.createdAt)
|
|
351
357
|
})] }),
|
|
352
|
-
/* @__PURE__ */
|
|
358
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
353
359
|
className: "text-sm text-text-secondary",
|
|
354
360
|
children: "Updated"
|
|
355
|
-
}), /* @__PURE__ */
|
|
361
|
+
}), /* @__PURE__ */ S("p", {
|
|
356
362
|
className: "font-medium",
|
|
357
|
-
children:
|
|
363
|
+
children: o(z.updatedAt)
|
|
358
364
|
})] })
|
|
359
365
|
]
|
|
360
366
|
})]
|
|
361
367
|
}),
|
|
362
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ C(oe, {
|
|
363
369
|
treatment: "glass",
|
|
364
370
|
glow: !0,
|
|
365
371
|
className: "lg:col-span-2 p-6",
|
|
366
|
-
children: [/* @__PURE__ */
|
|
372
|
+
children: [/* @__PURE__ */ S("h3", {
|
|
367
373
|
className: "mb-4 text-lg font-semibold tracking-tight text-text-primary",
|
|
368
374
|
children: F("botlit.agentDetail.capabilities.title", "Capabilities")
|
|
369
|
-
}), /* @__PURE__ */
|
|
375
|
+
}), /* @__PURE__ */ S("div", { children: X.length > 0 ? /* @__PURE__ */ S("div", {
|
|
370
376
|
className: "grid grid-cols-2 md:grid-cols-3 gap-4",
|
|
371
|
-
children: X.map((e) => /* @__PURE__ */
|
|
377
|
+
children: X.map((e) => /* @__PURE__ */ C("div", {
|
|
372
378
|
className: "p-3 rounded-lg border border-green-500 bg-green-500/10",
|
|
373
|
-
children: [/* @__PURE__ */
|
|
379
|
+
children: [/* @__PURE__ */ S("p", {
|
|
374
380
|
className: "font-medium",
|
|
375
381
|
children: e
|
|
376
|
-
}), /* @__PURE__ */
|
|
382
|
+
}), /* @__PURE__ */ S(_, {
|
|
377
383
|
variant: "success",
|
|
378
384
|
children: F("botlit.agentDetail.capabilities.enabled", "Enabled")
|
|
379
385
|
})]
|
|
380
386
|
}, e))
|
|
381
|
-
}) : /* @__PURE__ */
|
|
387
|
+
}) : /* @__PURE__ */ S("p", {
|
|
382
388
|
className: "text-text-secondary",
|
|
383
389
|
children: F("botlit.agentDetail.capabilities.empty", "No capabilities configured")
|
|
384
390
|
}) })]
|
|
385
391
|
}),
|
|
386
|
-
Z.length > 0 && /* @__PURE__ */
|
|
392
|
+
Z.length > 0 && /* @__PURE__ */ C(f, {
|
|
387
393
|
className: "lg:col-span-3",
|
|
388
|
-
children: [/* @__PURE__ */
|
|
394
|
+
children: [/* @__PURE__ */ S(h, { children: /* @__PURE__ */ S(g, { children: F("botlit.agentDetail.tags.title", "Tags") }) }), /* @__PURE__ */ S(p, { children: /* @__PURE__ */ S("div", {
|
|
389
395
|
className: "flex flex-wrap gap-2",
|
|
390
|
-
children: Z.map((e) => /* @__PURE__ */
|
|
396
|
+
children: Z.map((e) => /* @__PURE__ */ S(_, {
|
|
391
397
|
variant: "outline",
|
|
392
398
|
children: e
|
|
393
399
|
}, e))
|
|
@@ -397,174 +403,181 @@ var F = () => {
|
|
|
397
403
|
})
|
|
398
404
|
]
|
|
399
405
|
}),
|
|
400
|
-
U === "prompt" && /* @__PURE__ */
|
|
406
|
+
U === "prompt" && /* @__PURE__ */ S("div", {
|
|
401
407
|
className: "space-y-6",
|
|
402
|
-
children: /* @__PURE__ */
|
|
408
|
+
children: /* @__PURE__ */ C(f, { children: [/* @__PURE__ */ C(h, { children: [/* @__PURE__ */ C(g, {
|
|
403
409
|
className: "flex items-center gap-2",
|
|
404
|
-
children: [/* @__PURE__ */
|
|
405
|
-
}), /* @__PURE__ */
|
|
410
|
+
children: [/* @__PURE__ */ S(E, { size: 18 }), F("botlit.agentDetail.prompt.title", "System Prompt")]
|
|
411
|
+
}), /* @__PURE__ */ S(m, { children: F("botlit.agentDetail.prompt.description", "The system prompt that defines this agent's behavior") })] }), /* @__PURE__ */ S(p, {
|
|
406
412
|
className: "space-y-4",
|
|
407
|
-
children: G ? /* @__PURE__ */
|
|
413
|
+
children: G ? /* @__PURE__ */ S("pre", {
|
|
408
414
|
className: "p-4 bg-bg-sunken rounded-lg text-sm whitespace-pre-wrap font-mono",
|
|
409
415
|
children: G
|
|
410
|
-
}) : /* @__PURE__ */
|
|
416
|
+
}) : /* @__PURE__ */ S("p", {
|
|
411
417
|
className: "text-text-secondary",
|
|
412
418
|
children: F("botlit.agentDetail.prompt.empty", "No system prompt configured")
|
|
413
419
|
})
|
|
414
420
|
})] })
|
|
415
421
|
}),
|
|
416
|
-
U === "llm" && /* @__PURE__ */
|
|
422
|
+
U === "llm" && /* @__PURE__ */ C("div", {
|
|
417
423
|
className: "grid grid-cols-1 lg:grid-cols-2 gap-6",
|
|
418
|
-
children: [/* @__PURE__ */
|
|
424
|
+
children: [/* @__PURE__ */ C(f, { children: [/* @__PURE__ */ S(h, { children: /* @__PURE__ */ C(g, {
|
|
419
425
|
className: "flex items-center gap-2",
|
|
420
|
-
children: [/* @__PURE__ */
|
|
421
|
-
}) }), /* @__PURE__ */
|
|
426
|
+
children: [/* @__PURE__ */ S(T, { size: 18 }), F("botlit.agentDetail.llm.title", "Model Configuration")]
|
|
427
|
+
}) }), /* @__PURE__ */ C(p, {
|
|
422
428
|
className: "space-y-4",
|
|
423
429
|
children: [
|
|
424
|
-
/* @__PURE__ */
|
|
430
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
425
431
|
className: "text-sm text-text-secondary",
|
|
426
432
|
children: "LLM Model ID"
|
|
427
|
-
}), /* @__PURE__ */
|
|
433
|
+
}), /* @__PURE__ */ S("p", {
|
|
428
434
|
className: "font-medium font-mono",
|
|
429
435
|
children: K || "Not configured"
|
|
430
436
|
})] }),
|
|
431
|
-
/* @__PURE__ */
|
|
437
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
432
438
|
className: "text-sm text-text-secondary",
|
|
433
439
|
children: "Temperature"
|
|
434
|
-
}), /* @__PURE__ */
|
|
440
|
+
}), /* @__PURE__ */ S("p", {
|
|
435
441
|
className: "font-medium",
|
|
436
|
-
children:
|
|
442
|
+
children: be ?? "Default"
|
|
437
443
|
})] }),
|
|
438
|
-
/* @__PURE__ */
|
|
444
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
439
445
|
className: "text-sm text-text-secondary",
|
|
440
446
|
children: "Max Tokens"
|
|
441
|
-
}), /* @__PURE__ */
|
|
447
|
+
}), /* @__PURE__ */ S("p", {
|
|
442
448
|
className: "font-medium",
|
|
443
|
-
children:
|
|
449
|
+
children: xe ?? "Default"
|
|
444
450
|
})] })
|
|
445
451
|
]
|
|
446
|
-
})] }), /* @__PURE__ */
|
|
452
|
+
})] }), /* @__PURE__ */ C(f, { children: [/* @__PURE__ */ S(h, { children: /* @__PURE__ */ C(g, {
|
|
447
453
|
className: "flex items-center gap-2",
|
|
448
|
-
children: [/* @__PURE__ */
|
|
449
|
-
}) }), /* @__PURE__ */
|
|
454
|
+
children: [/* @__PURE__ */ S(he, { size: 18 }), F("botlit.agentDetail.executionLimits.title", "Execution Limits")]
|
|
455
|
+
}) }), /* @__PURE__ */ C(p, {
|
|
450
456
|
className: "space-y-4",
|
|
451
457
|
children: [
|
|
452
|
-
/* @__PURE__ */
|
|
458
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
453
459
|
className: "text-sm text-text-secondary",
|
|
454
460
|
children: "Max Concurrent Executions"
|
|
455
|
-
}), /* @__PURE__ */
|
|
461
|
+
}), /* @__PURE__ */ S("p", {
|
|
456
462
|
className: "font-medium",
|
|
457
463
|
children: Q
|
|
458
464
|
})] }),
|
|
459
|
-
/* @__PURE__ */
|
|
465
|
+
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
460
466
|
className: "text-sm text-text-secondary",
|
|
461
467
|
children: "Total Executions"
|
|
462
|
-
}), /* @__PURE__ */
|
|
468
|
+
}), /* @__PURE__ */ S("p", {
|
|
463
469
|
className: "font-medium",
|
|
464
470
|
children: z.executionCount ?? 0
|
|
465
471
|
})] }),
|
|
466
|
-
z.lastExecutedAt && /* @__PURE__ */
|
|
472
|
+
z.lastExecutedAt && /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
467
473
|
className: "text-sm text-text-secondary",
|
|
468
474
|
children: "Last Executed"
|
|
469
|
-
}), /* @__PURE__ */
|
|
475
|
+
}), /* @__PURE__ */ S("p", {
|
|
470
476
|
className: "font-medium",
|
|
471
|
-
children:
|
|
477
|
+
children: o(z.lastExecutedAt)
|
|
472
478
|
})] })
|
|
473
479
|
]
|
|
474
480
|
})] })]
|
|
475
481
|
}),
|
|
476
|
-
U === "tools" && /* @__PURE__ */
|
|
482
|
+
U === "tools" && /* @__PURE__ */ C("div", {
|
|
477
483
|
className: "space-y-6",
|
|
478
|
-
children: [/* @__PURE__ */
|
|
484
|
+
children: [/* @__PURE__ */ C(f, { children: [/* @__PURE__ */ C(h, { children: [/* @__PURE__ */ C(g, {
|
|
479
485
|
className: "flex items-center gap-2",
|
|
480
|
-
children: [/* @__PURE__ */
|
|
481
|
-
}), /* @__PURE__ */
|
|
486
|
+
children: [/* @__PURE__ */ S(N, { size: 18 }), "MCP Server Connections"]
|
|
487
|
+
}), /* @__PURE__ */ S(m, { children: "Connected MCP servers providing tools" })] }), /* @__PURE__ */ S(p, { children: q.length > 0 ? /* @__PURE__ */ S("div", {
|
|
482
488
|
className: "grid grid-cols-1 md:grid-cols-2 gap-4",
|
|
483
|
-
children: q.map((e) => /* @__PURE__ */
|
|
489
|
+
children: q.map((e) => /* @__PURE__ */ C("div", {
|
|
484
490
|
className: "flex items-center gap-3 p-4 border border-border-subtle rounded-lg",
|
|
485
|
-
children: [/* @__PURE__ */
|
|
491
|
+
children: [/* @__PURE__ */ S("div", {
|
|
486
492
|
className: "p-2 bg-action-primary-bg/10 rounded-lg",
|
|
487
|
-
children: /* @__PURE__ */
|
|
493
|
+
children: /* @__PURE__ */ S(N, {
|
|
488
494
|
size: 18,
|
|
489
495
|
className: "text-primary"
|
|
490
496
|
})
|
|
491
|
-
}), /* @__PURE__ */
|
|
497
|
+
}), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
492
498
|
className: "font-medium",
|
|
493
499
|
children: "MCP Server"
|
|
494
|
-
}), /* @__PURE__ */
|
|
500
|
+
}), /* @__PURE__ */ S("p", {
|
|
495
501
|
className: "text-sm text-text-secondary font-mono",
|
|
496
502
|
children: e
|
|
497
503
|
})] })]
|
|
498
504
|
}, e))
|
|
499
|
-
}) : /* @__PURE__ */
|
|
505
|
+
}) : /* @__PURE__ */ S("p", {
|
|
500
506
|
className: "text-text-secondary",
|
|
501
507
|
children: "No MCP servers connected"
|
|
502
|
-
}) })] }), Y.length > 0 && /* @__PURE__ */
|
|
508
|
+
}) })] }), Y.length > 0 && /* @__PURE__ */ C(f, { children: [/* @__PURE__ */ S(h, { children: /* @__PURE__ */ C(g, {
|
|
503
509
|
className: "flex items-center gap-2",
|
|
504
|
-
children: [/* @__PURE__ */
|
|
505
|
-
}) }), /* @__PURE__ */
|
|
510
|
+
children: [/* @__PURE__ */ S(O, { size: 18 }), "Workflows"]
|
|
511
|
+
}) }), /* @__PURE__ */ S(p, { children: /* @__PURE__ */ S("div", {
|
|
506
512
|
className: "grid grid-cols-1 md:grid-cols-2 gap-4",
|
|
507
|
-
children: Y.map((e) => /* @__PURE__ */
|
|
513
|
+
children: Y.map((e) => /* @__PURE__ */ S("div", {
|
|
508
514
|
className: "p-4 border border-border-subtle rounded-lg",
|
|
509
|
-
children: /* @__PURE__ */
|
|
515
|
+
children: /* @__PURE__ */ S("p", {
|
|
510
516
|
className: "font-mono text-sm",
|
|
511
517
|
children: e
|
|
512
518
|
})
|
|
513
519
|
}, e))
|
|
514
520
|
}) })] })]
|
|
515
521
|
}),
|
|
516
|
-
U === "knowledge" && /* @__PURE__ */
|
|
522
|
+
U === "knowledge" && /* @__PURE__ */ C(f, { children: [/* @__PURE__ */ C(h, { children: [/* @__PURE__ */ C(g, {
|
|
517
523
|
className: "flex items-center gap-2",
|
|
518
|
-
children: [/* @__PURE__ */
|
|
519
|
-
}), /* @__PURE__ */
|
|
524
|
+
children: [/* @__PURE__ */ S(w, { size: 18 }), "Knowledge Bases"]
|
|
525
|
+
}), /* @__PURE__ */ S(m, { children: "Connected knowledge bases for RAG" })] }), /* @__PURE__ */ S(p, { children: J.length > 0 ? /* @__PURE__ */ S("div", {
|
|
520
526
|
className: "space-y-4",
|
|
521
|
-
children: J.map((e, t) => /* @__PURE__ */
|
|
527
|
+
children: J.map((e, t) => /* @__PURE__ */ C("div", {
|
|
522
528
|
className: "p-4 border border-border-subtle rounded-lg space-y-2",
|
|
523
|
-
children: [/* @__PURE__ */
|
|
529
|
+
children: [/* @__PURE__ */ C("div", {
|
|
524
530
|
className: "flex items-center justify-between",
|
|
525
|
-
children: [/* @__PURE__ */
|
|
531
|
+
children: [/* @__PURE__ */ S("p", {
|
|
526
532
|
className: "font-medium",
|
|
527
533
|
children: "Knowledge Base"
|
|
528
|
-
}), /* @__PURE__ */
|
|
534
|
+
}), /* @__PURE__ */ C(_, {
|
|
529
535
|
variant: "outline",
|
|
530
536
|
children: ["#", t + 1]
|
|
531
537
|
})]
|
|
532
|
-
}), /* @__PURE__ */
|
|
538
|
+
}), /* @__PURE__ */ S("p", {
|
|
533
539
|
className: "font-mono text-sm",
|
|
534
540
|
children: e
|
|
535
541
|
})]
|
|
536
542
|
}, t))
|
|
537
|
-
}) : /* @__PURE__ */
|
|
543
|
+
}) : /* @__PURE__ */ S("p", {
|
|
538
544
|
className: "text-text-secondary",
|
|
539
545
|
children: "No knowledge bases connected"
|
|
540
546
|
}) })] }),
|
|
541
|
-
U === "guardrails" && /* @__PURE__ */
|
|
547
|
+
U === "guardrails" && /* @__PURE__ */ C(f, { children: [/* @__PURE__ */ C(h, { children: [/* @__PURE__ */ C(g, {
|
|
542
548
|
className: "flex items-center gap-2",
|
|
543
|
-
children: [/* @__PURE__ */
|
|
544
|
-
}), /* @__PURE__ */
|
|
549
|
+
children: [/* @__PURE__ */ S(A, { size: 18 }), "Guardrails & Policies"]
|
|
550
|
+
}), /* @__PURE__ */ S(m, { children: "Security and policy configurations" })] }), /* @__PURE__ */ S(p, { children: $ ? /* @__PURE__ */ S("div", {
|
|
545
551
|
className: "grid grid-cols-1 md:grid-cols-2 gap-4",
|
|
546
|
-
children: Object.entries($).filter(([e, t]) => t).map(([e, t]) => /* @__PURE__ */
|
|
552
|
+
children: Object.entries($).filter(([e, t]) => t).map(([e, t]) => /* @__PURE__ */ C("div", {
|
|
547
553
|
className: "p-4 border border-border-subtle rounded-lg",
|
|
548
|
-
children: [/* @__PURE__ */
|
|
554
|
+
children: [/* @__PURE__ */ S("p", {
|
|
549
555
|
className: "text-sm text-text-secondary capitalize",
|
|
550
556
|
children: e.replace("Id", "").replace(/([A-Z])/g, " $1").trim()
|
|
551
|
-
}), /* @__PURE__ */
|
|
557
|
+
}), /* @__PURE__ */ S("p", {
|
|
552
558
|
className: "font-mono text-sm",
|
|
553
559
|
children: String(t)
|
|
554
560
|
})]
|
|
555
561
|
}, e))
|
|
556
|
-
}) : /* @__PURE__ */
|
|
562
|
+
}) : /* @__PURE__ */ S("p", {
|
|
557
563
|
className: "text-text-secondary",
|
|
558
564
|
children: "No policy bindings configured"
|
|
559
565
|
}) })] }),
|
|
560
|
-
U === "
|
|
566
|
+
U === "aiOperations" && I && /* @__PURE__ */ S(ie, {
|
|
567
|
+
filter: {
|
|
568
|
+
subjectType: "AGENT",
|
|
569
|
+
subjectId: I
|
|
570
|
+
},
|
|
571
|
+
description: F("botlit.agentDetail.aiOperationsDescription", "What the supervisor flagged for this agent — drift, evidence and the recommended action.")
|
|
572
|
+
}),
|
|
573
|
+
U === "a2a" && /* @__PURE__ */ C(f, { children: [/* @__PURE__ */ C(h, { children: [/* @__PURE__ */ C(g, {
|
|
561
574
|
className: "flex items-center gap-2",
|
|
562
|
-
children: [/* @__PURE__ */
|
|
563
|
-
}), /* @__PURE__ */
|
|
575
|
+
children: [/* @__PURE__ */ S(k, { size: 18 }), "A2A Configuration"]
|
|
576
|
+
}), /* @__PURE__ */ S(m, { children: "Agent-to-Agent communication settings" })] }), /* @__PURE__ */ S(p, { children: /* @__PURE__ */ S("p", {
|
|
564
577
|
className: "text-text-secondary",
|
|
565
578
|
children: "A2A is not enabled for this agent"
|
|
566
579
|
}) })] }),
|
|
567
|
-
U === "versions" && I && /* @__PURE__ */
|
|
580
|
+
U === "versions" && I && /* @__PURE__ */ S(b, {
|
|
568
581
|
agentId: I,
|
|
569
582
|
draftVersionId: z.draftVersionId,
|
|
570
583
|
currentVersionId: z.currentVersionId,
|