@burdenoff/microfe-botmanor 2026.1203.3 → 2026.1203.5
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 +0 -1
- package/dist/botlit/BotlitRoutes.js.map +1 -1
- package/dist/botlit/BotmanorRootInner.js +38 -41
- package/dist/botlit/BotmanorRootInner.js.map +1 -1
- package/dist/botlit/components/A2ACardVerificationCard.js +0 -1
- package/dist/botlit/components/A2ACardVerificationCard.js.map +1 -1
- package/dist/botlit/components/AgentA2APanel.js +20 -21
- package/dist/botlit/components/AgentA2APanel.js.map +1 -1
- package/dist/botlit/components/AgentApprovalPanel.js +22 -23
- package/dist/botlit/components/AgentApprovalPanel.js.map +1 -1
- package/dist/botlit/components/AgentBindingsPanel.js +66 -68
- package/dist/botlit/components/AgentBindingsPanel.js.map +1 -1
- package/dist/botlit/components/AiOperationsPanel.js +34 -35
- package/dist/botlit/components/AiOperationsPanel.js.map +1 -1
- package/dist/botlit/components/BotAgentsPanel.js +59 -60
- package/dist/botlit/components/BotAgentsPanel.js.map +1 -1
- package/dist/botlit/components/BotVersionHistoryPanel.js +19 -20
- package/dist/botlit/components/BotVersionHistoryPanel.js.map +1 -1
- package/dist/botlit/components/BucketDialogs.js +0 -1
- package/dist/botlit/components/BucketDialogs.js.map +1 -1
- package/dist/botlit/components/ChannelRoutesPanel.js +82 -84
- package/dist/botlit/components/ChannelRoutesPanel.js.map +1 -1
- package/dist/botlit/components/CreateChannelRouteDialog.js +4 -5
- package/dist/botlit/components/CreateChannelRouteDialog.js.map +1 -1
- package/dist/botlit/components/DescribeBotDialog.js +0 -1
- package/dist/botlit/components/DescribeBotDialog.js.map +1 -1
- package/dist/botlit/components/GettingStartedChecklist.js +9 -10
- package/dist/botlit/components/GettingStartedChecklist.js.map +1 -1
- package/dist/botlit/components/HandoffConfigPanel.js +0 -1
- package/dist/botlit/components/HandoffConfigPanel.js.map +1 -1
- package/dist/botlit/components/RetentionStatusPanel.js +10 -12
- package/dist/botlit/components/RetentionStatusPanel.js.map +1 -1
- package/dist/botlit/components/StewardApprovalsInbox.js +201 -212
- package/dist/botlit/components/StewardApprovalsInbox.js.map +1 -1
- package/dist/botlit/components/StoreOwnPackagesCard.js +21 -22
- package/dist/botlit/components/StoreOwnPackagesCard.js.map +1 -1
- package/dist/botlit/components/StorePackageDraftCard.js +38 -39
- package/dist/botlit/components/StorePackageDraftCard.js.map +1 -1
- package/dist/botlit/components/StorePolicyBundleCard.js +27 -29
- package/dist/botlit/components/StorePolicyBundleCard.js.map +1 -1
- package/dist/botlit/components/StoreSubmissionsCard.js +64 -65
- package/dist/botlit/components/StoreSubmissionsCard.js.map +1 -1
- package/dist/botlit/components/VersionHistoryPanel.js +18 -19
- package/dist/botlit/components/VersionHistoryPanel.js.map +1 -1
- package/dist/botlit/hooks/internal/workspaceGateway.d.ts +6 -0
- package/dist/botlit/hooks/internal/workspaceGateway.js +40 -40
- package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -1
- package/dist/botlit/hooks/useToolApprovals.d.ts +8 -3
- package/dist/botlit/hooks/useToolApprovals.js +68 -73
- package/dist/botlit/hooks/useToolApprovals.js.map +1 -1
- package/dist/botlit/pages/A2AAgentDetailPage.js +331 -332
- package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/A2ARegistryPage.js +39 -41
- package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
- package/dist/botlit/pages/AgentApprovalsPage.js +24 -25
- package/dist/botlit/pages/AgentApprovalsPage.js.map +1 -1
- package/dist/botlit/pages/AgentBuilderPage.js +470 -471
- package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
- package/dist/botlit/pages/AgentDetailPage.js +68 -69
- package/dist/botlit/pages/AgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/AgentsListPage.js +277 -278
- package/dist/botlit/pages/AgentsListPage.js.map +1 -1
- package/dist/botlit/pages/AiOperationsPage.js +44 -46
- package/dist/botlit/pages/AiOperationsPage.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.js +354 -356
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/BotDetailPage.js +138 -139
- package/dist/botlit/pages/BotDetailPage.js.map +1 -1
- package/dist/botlit/pages/BotWorkflowTab.js +23 -24
- package/dist/botlit/pages/BotWorkflowTab.js.map +1 -1
- package/dist/botlit/pages/BotsListPage.js +32 -33
- package/dist/botlit/pages/BotsListPage.js.map +1 -1
- package/dist/botlit/pages/BucketDetailPage.js +110 -112
- package/dist/botlit/pages/BucketDetailPage.js.map +1 -1
- package/dist/botlit/pages/BucketsPage.js +115 -117
- package/dist/botlit/pages/BucketsPage.js.map +1 -1
- package/dist/botlit/pages/ChannelDetailPage.js +105 -107
- package/dist/botlit/pages/ChannelDetailPage.js.map +1 -1
- package/dist/botlit/pages/ChannelsPage.js +38 -40
- package/dist/botlit/pages/ChannelsPage.js.map +1 -1
- package/dist/botlit/pages/DashboardPage.js +26 -27
- package/dist/botlit/pages/DashboardPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionDetailPage.js +70 -71
- package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionsPage.js +219 -220
- package/dist/botlit/pages/ExecutionsPage.js.map +1 -1
- package/dist/botlit/pages/HandoffsPage.js +208 -210
- package/dist/botlit/pages/HandoffsPage.js.map +1 -1
- package/dist/botlit/pages/InstalledPackagesPage.js +179 -181
- package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
- package/dist/botlit/pages/KnowledgeBaseDetailPage.js +194 -195
- package/dist/botlit/pages/KnowledgeBaseDetailPage.js.map +1 -1
- package/dist/botlit/pages/KnowledgeBasesPage.js +38 -39
- package/dist/botlit/pages/KnowledgeBasesPage.js.map +1 -1
- package/dist/botlit/pages/MCPServerDetailPage.js +178 -180
- package/dist/botlit/pages/MCPServerDetailPage.js.map +1 -1
- package/dist/botlit/pages/MCPServersPage.js +42 -43
- package/dist/botlit/pages/MCPServersPage.js.map +1 -1
- package/dist/botlit/pages/PoliciesPage.js +77 -78
- package/dist/botlit/pages/PoliciesPage.js.map +1 -1
- package/dist/botlit/pages/PolicyDetailPage.js +517 -519
- package/dist/botlit/pages/PolicyDetailPage.js.map +1 -1
- package/dist/botlit/pages/PromptStudioPage.js +81 -83
- package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
- package/dist/botlit/pages/PromptTemplateDetailPage.js +137 -139
- package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -1
- package/dist/botlit/pages/PromptTemplatesPage.js +28 -30
- package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -1
- package/dist/botlit/pages/RetrievalProfileDetailPage.js +64 -65
- package/dist/botlit/pages/RetrievalProfileDetailPage.js.map +1 -1
- package/dist/botlit/pages/RetrievalProfilesPage.js +59 -60
- package/dist/botlit/pages/RetrievalProfilesPage.js.map +1 -1
- package/dist/botlit/pages/SettingsPage.js +30 -31
- package/dist/botlit/pages/SettingsPage.js.map +1 -1
- package/dist/botlit/pages/SkillDetailPage.js +205 -207
- package/dist/botlit/pages/SkillDetailPage.js.map +1 -1
- package/dist/botlit/pages/SkillsPage.js +68 -69
- package/dist/botlit/pages/SkillsPage.js.map +1 -1
- package/dist/botlit/pages/StorePackageDetailPage.js +39 -41
- package/dist/botlit/pages/StorePackageDetailPage.js.map +1 -1
- package/dist/botlit/pages/StorePage.js +169 -171
- package/dist/botlit/pages/StorePage.js.map +1 -1
- package/dist/botlit/pages/ToolApprovalsPage.js +61 -62
- package/dist/botlit/pages/ToolApprovalsPage.js.map +1 -1
- package/dist/botlit/providers/WorkspaceFlagScope.d.ts +7 -0
- package/dist/botlit/providers/WorkspaceFlagScope.js +17 -0
- package/dist/botlit/providers/WorkspaceFlagScope.js.map +1 -0
- package/dist/botlit/providers/workspaceFlagKeys.d.ts +18 -0
- package/dist/botlit/providers/workspaceFlagKeys.js +8 -0
- package/dist/botlit/providers/workspaceFlagKeys.js.map +1 -0
- package/dist/index.js +0 -1
- package/package.json +4 -1
- package/dist/botlit/hooks/index.js +0 -21
- package/dist/botlit/index.js +0 -12
- package/dist/botlit/permissions/index.js +0 -4
|
@@ -5,30 +5,29 @@ import { Card as n, CardContent as r, CardHeader as i, CardTitle as a } from "..
|
|
|
5
5
|
import { Button as o } from "../components/Button.js";
|
|
6
6
|
import { Badge as s, StatusBadge as c } from "../components/Badge.js";
|
|
7
7
|
import { EmptyState as te } from "../components/EmptyState.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import "../permissions/index.js";
|
|
8
|
+
import { ErrorState as ne } from "../components/ErrorState.js";
|
|
9
|
+
import { BOT_VISIBILITIES as l, BotFormFields as u, DEFAULT_BOT_FORM as d, ROUTING_STRATEGIES as f } from "../components/BotFormFields.js";
|
|
10
|
+
import { useBot as re, useCreateBot as ie, useDeleteBot as ae, useUpdateBot as oe } from "../hooks/useBots.js";
|
|
11
|
+
import { useAgents as se } from "../hooks/useAgents.js";
|
|
12
|
+
import { QuotaExhaustedDialog as ce } from "../components/QuotaExhaustedDialog.js";
|
|
13
|
+
import { useBotlit as le } from "../providers/BotlitProvider.js";
|
|
14
|
+
import { formatNumber as ue, formatRelativeTime as de } from "../utils/formatters.js";
|
|
15
|
+
import { cn as fe } from "../utils/cn.js";
|
|
16
|
+
import { toUnion as p } from "../utils/unions.js";
|
|
17
|
+
import { confirmAction as m } from "../utils/confirmAction.js";
|
|
18
|
+
import { slugify as h, validateBotIdentity as pe } from "../utils/botIdentity.js";
|
|
19
|
+
import { registerBreadcrumbName as me, unregisterBreadcrumbName as he } from "../utils/breadcrumb.js";
|
|
20
|
+
import { BotChannelsTab as ge } from "./BotChannelsTab.js";
|
|
21
|
+
import { BotAgentsPanel as _e } from "../components/BotAgentsPanel.js";
|
|
22
|
+
import { BotRoutingSummary as ve } from "../components/BotRoutingSummary.js";
|
|
23
|
+
import { BotVersionHistoryPanel as ye } from "../components/BotVersionHistoryPanel.js";
|
|
24
|
+
import { GuardrailPoliciesPanel as be } from "../components/GuardrailPoliciesPanel.js";
|
|
25
|
+
import { CreateFromTemplate as xe } from "../components/CreateFromTemplate.js";
|
|
26
|
+
import { DescribeBotDialog as Se } from "../components/DescribeBotDialog.js";
|
|
27
|
+
import { EntityTags as Ce } from "../components/EntityTags.js";
|
|
28
|
+
import { RunStatsCard as we } from "../components/RunStatsCard.js";
|
|
29
|
+
import { BOTMANOR_PERMISSIONS as g } from "../permissions/botmanorPermissions.js";
|
|
30
|
+
import { BotmanorPermissionGate as _, useBotmanorCan as Te } from "../permissions/useBotmanorPermissions.js";
|
|
32
31
|
import { Suspense as Ee, lazy as v, useEffect as y, useState as b } from "react";
|
|
33
32
|
import { GlassCard as De, NextSteps as Oe, PagePurpose as ke } from "@burdenoff/fe-libs/ui";
|
|
34
33
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
@@ -68,9 +67,9 @@ function Ke(e) {
|
|
|
68
67
|
name: e.name,
|
|
69
68
|
slug: e.slug,
|
|
70
69
|
description: e.description ?? "",
|
|
71
|
-
icon: e.icon ||
|
|
72
|
-
routingStrategy:
|
|
73
|
-
visibility:
|
|
70
|
+
icon: e.icon || d.icon,
|
|
71
|
+
routingStrategy: p(e.routingStrategy, f, "SINGLE"),
|
|
72
|
+
visibility: p(e.visibility, l, "PRIVATE"),
|
|
74
73
|
welcomeMessage: e.welcomeMessage ?? "",
|
|
75
74
|
fallbackMessage: e.fallbackMessage ?? "",
|
|
76
75
|
defaultAgentId: e.defaultAgentId ?? ""
|
|
@@ -91,17 +90,17 @@ function qe(e) {
|
|
|
91
90
|
let t = e.get("tab");
|
|
92
91
|
return N.find((e) => e === t) ?? "overview";
|
|
93
92
|
}
|
|
94
|
-
var P = ({ isNew:
|
|
95
|
-
let
|
|
93
|
+
var P = ({ isNew: l, isEditing: f }) => {
|
|
94
|
+
let p = e(), { botId: v } = je(), [k] = Me(), A = Te(), { navigateTo: j, getPath: M, workspaceId: N, navigate: P } = le(), { data: F, loading: Je, error: I, refetch: L } = re(l ? void 0 : v), { data: R } = se(), [Ye, Xe] = ie(), [z, B] = oe(), [Ze, Qe] = ae(), [V, H] = b(() => qe(k)), [U, W] = b(d), [$e, et] = b(d), [G, K] = b(!1), [tt, q] = b(!1), [nt, J] = b(!1), Y = pe(U.name, U.slug), rt = Object.keys(Y).length > 0, X = !tt && JSON.stringify(U) !== JSON.stringify($e), it = !!(l || f), at = () => {
|
|
96
95
|
P ? P("/billing") : window.location.assign("/billing");
|
|
97
96
|
};
|
|
98
97
|
y(() => {
|
|
99
|
-
if (F && !
|
|
98
|
+
if (F && !l) {
|
|
100
99
|
let e = Ke(F);
|
|
101
100
|
W(e), et(e);
|
|
102
101
|
}
|
|
103
|
-
}, [F,
|
|
104
|
-
if (v && F?.name) return
|
|
102
|
+
}, [F, l]), y(() => {
|
|
103
|
+
if (v && F?.name) return me(v, F.name), () => he(v);
|
|
105
104
|
}, [v, F?.name]), y(() => {
|
|
106
105
|
if (!it || !X) return;
|
|
107
106
|
let e = (e) => {
|
|
@@ -110,11 +109,11 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
110
109
|
return window.addEventListener("beforeunload", e), () => window.removeEventListener("beforeunload", e);
|
|
111
110
|
}, [it, X]);
|
|
112
111
|
let Z = async (e) => {
|
|
113
|
-
(!X || await
|
|
114
|
-
title:
|
|
115
|
-
message:
|
|
116
|
-
confirmLabel:
|
|
117
|
-
cancelLabel:
|
|
112
|
+
(!X || await m({
|
|
113
|
+
title: p("botlit.botDetail.discard.title", "Discard changes?"),
|
|
114
|
+
message: p("botlit.botDetail.discard.message", "You have unsaved changes. If you leave now they will be lost."),
|
|
115
|
+
confirmLabel: p("botlit.botDetail.discard.confirm", "Discard"),
|
|
116
|
+
cancelLabel: p("botlit.botDetail.discard.keepEditing", "Keep editing")
|
|
118
117
|
})) && (q(!0), j(e));
|
|
119
118
|
}, ot = async () => {
|
|
120
119
|
if (K(!0), rt || !N) return;
|
|
@@ -123,20 +122,20 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
123
122
|
let t = await Ye({
|
|
124
123
|
workspaceId: N,
|
|
125
124
|
name: e,
|
|
126
|
-
slug: U.slug.trim() ||
|
|
125
|
+
slug: U.slug.trim() || h(e),
|
|
127
126
|
type: Ge,
|
|
128
127
|
routingStrategy: U.routingStrategy,
|
|
129
128
|
visibility: U.visibility,
|
|
130
129
|
description: U.description || void 0,
|
|
131
130
|
icon: U.icon || void 0
|
|
132
131
|
});
|
|
133
|
-
q(!0), O.success(
|
|
132
|
+
q(!0), O.success(p("botlit.botDetail.create.success", "Bot \"{{name}}\" created successfully", { name: e })), t?.id && j(`bots/${t.id}?tab=workflow`);
|
|
134
133
|
} catch (e) {
|
|
135
134
|
if (Ne(e)) {
|
|
136
135
|
J(!0);
|
|
137
136
|
return;
|
|
138
137
|
}
|
|
139
|
-
let t = e instanceof Error ? e.message :
|
|
138
|
+
let t = e instanceof Error ? e.message : p("botlit.botDetail.create.error", "Failed to create bot");
|
|
140
139
|
O.error(t);
|
|
141
140
|
}
|
|
142
141
|
}, st = async () => {
|
|
@@ -147,7 +146,7 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
147
146
|
botId: v,
|
|
148
147
|
input: {
|
|
149
148
|
name: e,
|
|
150
|
-
slug: U.slug.trim() ||
|
|
149
|
+
slug: U.slug.trim() || h(e),
|
|
151
150
|
description: U.description || null,
|
|
152
151
|
icon: U.icon || null,
|
|
153
152
|
routingStrategy: U.routingStrategy,
|
|
@@ -156,24 +155,24 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
156
155
|
fallbackMessage: U.fallbackMessage || null,
|
|
157
156
|
defaultAgentId: U.defaultAgentId || null
|
|
158
157
|
}
|
|
159
|
-
}), q(!0), await L(), O.success(
|
|
158
|
+
}), q(!0), await L(), O.success(p("botlit.botDetail.update.success", "Bot \"{{name}}\" updated successfully", { name: e })), f && j(`bots/${v}`);
|
|
160
159
|
} catch (e) {
|
|
161
|
-
let t = e instanceof Error ? e.message :
|
|
160
|
+
let t = e instanceof Error ? e.message : p("botlit.botDetail.update.error", "Failed to update bot");
|
|
162
161
|
O.error(t);
|
|
163
162
|
}
|
|
164
163
|
};
|
|
165
|
-
if (
|
|
166
|
-
let e = N ? null :
|
|
164
|
+
if (l) {
|
|
165
|
+
let e = N ? null : p("botlit.botDetail.createPage.waitingWorkspace", "Waiting for your workspace to load…");
|
|
167
166
|
return /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S(t, {
|
|
168
|
-
title:
|
|
169
|
-
description:
|
|
167
|
+
title: p("botlit.botDetail.createPage.title", "Create New Bot"),
|
|
168
|
+
description: p("botlit.botDetail.createPage.description", "Set up a new AI-powered bot"),
|
|
170
169
|
actions: /* @__PURE__ */ C("div", {
|
|
171
170
|
className: "flex gap-2",
|
|
172
171
|
children: [/* @__PURE__ */ S(o, {
|
|
173
172
|
variant: "outline",
|
|
174
173
|
type: "button",
|
|
175
174
|
onClick: () => void Z("bots"),
|
|
176
|
-
children:
|
|
175
|
+
children: p("botlit.common.cancel", "Cancel")
|
|
177
176
|
}), /* @__PURE__ */ S(o, {
|
|
178
177
|
type: "submit",
|
|
179
178
|
form: "bot-create-form",
|
|
@@ -181,20 +180,20 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
181
180
|
isLoading: Xe.loading,
|
|
182
181
|
disabled: !!e,
|
|
183
182
|
"aria-describedby": e ? "bot-create-blocked" : void 0,
|
|
184
|
-
children:
|
|
183
|
+
children: p("botlit.botDetail.createPage.actions.createBot", "Create Bot")
|
|
185
184
|
})]
|
|
186
185
|
}),
|
|
187
186
|
children: /* @__PURE__ */ C("div", {
|
|
188
187
|
className: "space-y-6",
|
|
189
188
|
children: [
|
|
190
|
-
/* @__PURE__ */ S(
|
|
189
|
+
/* @__PURE__ */ S(Se, {
|
|
191
190
|
scope: "BOT",
|
|
192
191
|
onCreated: (e) => {
|
|
193
192
|
q(!0), e.app && j(`bots/${e.app.id}`);
|
|
194
193
|
},
|
|
195
194
|
onQuotaExhausted: () => J(!0)
|
|
196
195
|
}),
|
|
197
|
-
/* @__PURE__ */ S(
|
|
196
|
+
/* @__PURE__ */ S(xe, {
|
|
198
197
|
kind: "bot",
|
|
199
198
|
onCreated: (e) => {
|
|
200
199
|
q(!0), j(`bots/${e}`);
|
|
@@ -211,7 +210,7 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
211
210
|
onSubmit: (e) => {
|
|
212
211
|
e.preventDefault(), ot();
|
|
213
212
|
},
|
|
214
|
-
children: [/* @__PURE__ */ S(
|
|
213
|
+
children: [/* @__PURE__ */ S(u, {
|
|
215
214
|
idPrefix: "bot-create",
|
|
216
215
|
mode: "create",
|
|
217
216
|
value: U,
|
|
@@ -229,70 +228,70 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
229
228
|
})
|
|
230
229
|
]
|
|
231
230
|
})
|
|
232
|
-
}), /* @__PURE__ */ S(
|
|
231
|
+
}), /* @__PURE__ */ S(ce, {
|
|
233
232
|
open: nt,
|
|
234
|
-
title:
|
|
235
|
-
description:
|
|
233
|
+
title: p("botlit.usage.botQuota.title", "Bot Limit Reached"),
|
|
234
|
+
description: p("botlit.usage.botQuota.description", "You have reached the number of bots allowed on your current plan."),
|
|
236
235
|
onClose: () => J(!1),
|
|
237
236
|
onViewBilling: at
|
|
238
237
|
})] });
|
|
239
238
|
}
|
|
240
239
|
if (Je) return /* @__PURE__ */ S(t, {
|
|
241
|
-
title:
|
|
240
|
+
title: p("botlit.common.loading", "Loading..."),
|
|
242
241
|
children: /* @__PURE__ */ S("div", {
|
|
243
242
|
role: "status",
|
|
244
243
|
"aria-busy": "true",
|
|
245
|
-
"aria-label":
|
|
244
|
+
"aria-label": p("botlit.common.loading", "Loading"),
|
|
246
245
|
className: "h-96 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg"
|
|
247
246
|
})
|
|
248
247
|
});
|
|
249
248
|
if (I) return /* @__PURE__ */ S(t, {
|
|
250
|
-
title:
|
|
251
|
-
children: /* @__PURE__ */ S(
|
|
252
|
-
resource:
|
|
249
|
+
title: p("botlit.botDetail.loadError.title", "Bot unavailable"),
|
|
250
|
+
children: /* @__PURE__ */ S(ne, {
|
|
251
|
+
resource: p("botlit.botDetail.resource", "this bot"),
|
|
253
252
|
error: I,
|
|
254
253
|
onRetry: () => void L()
|
|
255
254
|
})
|
|
256
255
|
});
|
|
257
256
|
if (!F) return /* @__PURE__ */ S(t, {
|
|
258
|
-
title:
|
|
257
|
+
title: p("botlit.botDetail.notFound.title", "Bot Not Found"),
|
|
259
258
|
children: /* @__PURE__ */ S(te, {
|
|
260
259
|
kind: "not-found",
|
|
261
260
|
illustration: "empty-agents",
|
|
262
|
-
title:
|
|
263
|
-
description:
|
|
261
|
+
title: p("botlit.botDetail.notFound.title", "Bot Not Found"),
|
|
262
|
+
description: p("botlit.botDetail.notFound.description", "The bot you're looking for doesn't exist."),
|
|
264
263
|
action: /* @__PURE__ */ S(o, {
|
|
265
264
|
onClick: () => j("bots"),
|
|
266
|
-
children:
|
|
265
|
+
children: p("botlit.botDetail.notFound.backAction", "Back to Bots")
|
|
267
266
|
})
|
|
268
267
|
})
|
|
269
268
|
});
|
|
270
|
-
if (
|
|
269
|
+
if (f && F) return /* @__PURE__ */ S(t, {
|
|
271
270
|
leading: /* @__PURE__ */ S(o, {
|
|
272
271
|
variant: "ghost",
|
|
273
272
|
size: "icon",
|
|
274
273
|
type: "button",
|
|
275
|
-
"aria-label":
|
|
274
|
+
"aria-label": p("botlit.common.back", "Back"),
|
|
276
275
|
onClick: () => void Z(`bots/${v}`),
|
|
277
276
|
children: /* @__PURE__ */ S(w, {
|
|
278
277
|
size: 20,
|
|
279
278
|
"aria-hidden": "true"
|
|
280
279
|
})
|
|
281
280
|
}),
|
|
282
|
-
title:
|
|
281
|
+
title: p("botlit.botDetail.editPage.title", "Edit Bot"),
|
|
283
282
|
actions: /* @__PURE__ */ C("div", {
|
|
284
283
|
className: "flex gap-2",
|
|
285
284
|
children: [/* @__PURE__ */ S(o, {
|
|
286
285
|
variant: "outline",
|
|
287
286
|
type: "button",
|
|
288
287
|
onClick: () => void Z(`bots/${v}`),
|
|
289
|
-
children:
|
|
288
|
+
children: p("botlit.common.cancel", "Cancel")
|
|
290
289
|
}), /* @__PURE__ */ S(o, {
|
|
291
290
|
type: "submit",
|
|
292
291
|
form: "bot-edit-form",
|
|
293
292
|
leftIcon: /* @__PURE__ */ S(ze, { size: 16 }),
|
|
294
293
|
isLoading: B.loading,
|
|
295
|
-
children:
|
|
294
|
+
children: p("botlit.botDetail.editPage.actions.saveChanges", "Save Changes")
|
|
296
295
|
})]
|
|
297
296
|
}),
|
|
298
297
|
children: /* @__PURE__ */ S(n, {
|
|
@@ -305,7 +304,7 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
305
304
|
onSubmit: (e) => {
|
|
306
305
|
e.preventDefault(), st();
|
|
307
306
|
},
|
|
308
|
-
children: /* @__PURE__ */ S(
|
|
307
|
+
children: /* @__PURE__ */ S(u, {
|
|
309
308
|
idPrefix: "bot-edit",
|
|
310
309
|
mode: "edit",
|
|
311
310
|
value: U,
|
|
@@ -321,38 +320,38 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
321
320
|
let ct = (e, t) => {
|
|
322
321
|
switch (e) {
|
|
323
322
|
case "activate": return {
|
|
324
|
-
label:
|
|
325
|
-
success:
|
|
326
|
-
error:
|
|
323
|
+
label: p("botlit.botDetail.actions.activate", "Activate"),
|
|
324
|
+
success: p("botlit.botDetail.activate.success", "Bot \"{{name}}\" activated", { name: t }),
|
|
325
|
+
error: p("botlit.botDetail.activate.error", "Failed to activate bot")
|
|
327
326
|
};
|
|
328
327
|
case "resume": return {
|
|
329
|
-
label:
|
|
330
|
-
success:
|
|
331
|
-
error:
|
|
328
|
+
label: p("botlit.botDetail.actions.resume", "Resume"),
|
|
329
|
+
success: p("botlit.botDetail.resume.success", "Bot \"{{name}}\" resumed", { name: t }),
|
|
330
|
+
error: p("botlit.botDetail.resume.error", "Failed to resume bot")
|
|
332
331
|
};
|
|
333
332
|
case "pause": return {
|
|
334
|
-
label:
|
|
335
|
-
confirmTitle:
|
|
336
|
-
confirmMessage:
|
|
337
|
-
success:
|
|
338
|
-
error:
|
|
333
|
+
label: p("botlit.botDetail.actions.pause", "Pause"),
|
|
334
|
+
confirmTitle: p("botlit.botDetail.pause.title", "Pause bot?"),
|
|
335
|
+
confirmMessage: p("botlit.botDetail.pause.confirm", "Pause \"{{name}}\"? It will stop answering messages on its channels until you resume it.", { name: t }),
|
|
336
|
+
success: p("botlit.botDetail.pause.success", "Bot \"{{name}}\" paused", { name: t }),
|
|
337
|
+
error: p("botlit.botDetail.pause.error", "Failed to pause bot")
|
|
339
338
|
};
|
|
340
339
|
case "archive": return {
|
|
341
|
-
label:
|
|
342
|
-
confirmTitle:
|
|
343
|
-
confirmMessage:
|
|
344
|
-
success:
|
|
345
|
-
error:
|
|
340
|
+
label: p("botlit.botDetail.actions.archive", "Archive"),
|
|
341
|
+
confirmTitle: p("botlit.botDetail.archive.title", "Archive bot?"),
|
|
342
|
+
confirmMessage: p("botlit.botDetail.archive.confirm", "Archive \"{{name}}\"? It will stop answering messages on its channels. You can activate it again later.", { name: t }),
|
|
343
|
+
success: p("botlit.botDetail.archive.success", "Bot \"{{name}}\" archived", { name: t }),
|
|
344
|
+
error: p("botlit.botDetail.archive.error", "Failed to archive bot")
|
|
346
345
|
};
|
|
347
346
|
}
|
|
348
347
|
}, lt = async (e) => {
|
|
349
348
|
if (!v) return;
|
|
350
349
|
let t = ct(e.key, F.name);
|
|
351
|
-
if (!e.confirm || await
|
|
350
|
+
if (!e.confirm || await m({
|
|
352
351
|
title: t.confirmTitle ?? t.label,
|
|
353
352
|
message: t.confirmMessage ?? t.label,
|
|
354
353
|
confirmLabel: t.label,
|
|
355
|
-
cancelLabel:
|
|
354
|
+
cancelLabel: p("botlit.common.cancel", "Cancel")
|
|
356
355
|
})) try {
|
|
357
356
|
await z({
|
|
358
357
|
botId: v,
|
|
@@ -364,42 +363,42 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
364
363
|
}, ut = [
|
|
365
364
|
{
|
|
366
365
|
id: "overview",
|
|
367
|
-
label:
|
|
366
|
+
label: p("botlit.botDetail.tabs.overview", "Overview"),
|
|
368
367
|
icon: /* @__PURE__ */ S(Pe, { size: 16 })
|
|
369
368
|
},
|
|
370
369
|
{
|
|
371
370
|
id: "workflow",
|
|
372
|
-
label:
|
|
371
|
+
label: p("botlit.botDetail.tabs.workflow", "Workflow"),
|
|
373
372
|
icon: /* @__PURE__ */ S(D, { size: 16 })
|
|
374
373
|
},
|
|
375
374
|
{
|
|
376
375
|
id: "routing",
|
|
377
|
-
label:
|
|
376
|
+
label: p("botlit.botDetail.tabs.routing", "Routing"),
|
|
378
377
|
icon: /* @__PURE__ */ S(Ie, { size: 16 })
|
|
379
378
|
},
|
|
380
379
|
{
|
|
381
380
|
id: "agents",
|
|
382
|
-
label:
|
|
381
|
+
label: p("botlit.botDetail.tabs.agents", "Agents"),
|
|
383
382
|
icon: /* @__PURE__ */ S(T, { size: 16 })
|
|
384
383
|
},
|
|
385
384
|
{
|
|
386
385
|
id: "channels",
|
|
387
|
-
label:
|
|
386
|
+
label: p("botlit.botDetail.tabs.channels", "Channels"),
|
|
388
387
|
icon: /* @__PURE__ */ S(Re, { size: 16 })
|
|
389
388
|
},
|
|
390
389
|
{
|
|
391
390
|
id: "guardrails",
|
|
392
|
-
label:
|
|
391
|
+
label: p("botlit.botDetail.tabs.guardrails", "Guardrails"),
|
|
393
392
|
icon: /* @__PURE__ */ S(Be, { size: 16 })
|
|
394
393
|
},
|
|
395
394
|
{
|
|
396
395
|
id: "aiOperations",
|
|
397
|
-
label:
|
|
396
|
+
label: p("botlit.botDetail.tabs.aiOperations", "AI Operations"),
|
|
398
397
|
icon: /* @__PURE__ */ S(Ve, { size: 16 })
|
|
399
398
|
},
|
|
400
399
|
{
|
|
401
400
|
id: "releases",
|
|
402
|
-
label:
|
|
401
|
+
label: p("botlit.botDetail.tabs.releases", "Releases"),
|
|
403
402
|
icon: /* @__PURE__ */ S(Le, { size: 16 })
|
|
404
403
|
}
|
|
405
404
|
], Q = (R ?? []).map((e) => ({
|
|
@@ -412,7 +411,7 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
412
411
|
variant: "ghost",
|
|
413
412
|
size: "icon",
|
|
414
413
|
type: "button",
|
|
415
|
-
"aria-label":
|
|
414
|
+
"aria-label": p("botlit.botDetail.backToBots", "Back to Bots"),
|
|
416
415
|
onClick: () => j("bots"),
|
|
417
416
|
children: /* @__PURE__ */ S(w, {
|
|
418
417
|
size: 20,
|
|
@@ -432,8 +431,8 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
432
431
|
actions: /* @__PURE__ */ C("div", {
|
|
433
432
|
className: "flex gap-2",
|
|
434
433
|
children: [
|
|
435
|
-
/* @__PURE__ */ S(
|
|
436
|
-
permission:
|
|
434
|
+
/* @__PURE__ */ S(_, {
|
|
435
|
+
permission: g.APP_UPDATE,
|
|
437
436
|
children: (We[F.status] ?? []).map((e) => /* @__PURE__ */ S(o, {
|
|
438
437
|
variant: e.variant,
|
|
439
438
|
isLoading: B.loading,
|
|
@@ -441,17 +440,17 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
441
440
|
children: ct(e.key, F.name).label
|
|
442
441
|
}, e.key))
|
|
443
442
|
}),
|
|
444
|
-
/* @__PURE__ */ S(
|
|
445
|
-
permission:
|
|
443
|
+
/* @__PURE__ */ S(_, {
|
|
444
|
+
permission: g.APP_UPDATE,
|
|
446
445
|
children: /* @__PURE__ */ S(o, {
|
|
447
446
|
variant: "outline",
|
|
448
447
|
leftIcon: /* @__PURE__ */ S(Fe, { size: 16 }),
|
|
449
448
|
onClick: () => j(`bots/${v}/edit`),
|
|
450
|
-
children:
|
|
449
|
+
children: p("botlit.botDetail.actions.editBot", "Edit Bot")
|
|
451
450
|
})
|
|
452
451
|
}),
|
|
453
|
-
/* @__PURE__ */ S(
|
|
454
|
-
permission:
|
|
452
|
+
/* @__PURE__ */ S(_, {
|
|
453
|
+
permission: g.AGENT_EXECUTE,
|
|
455
454
|
children: /* @__PURE__ */ S(o, {
|
|
456
455
|
variant: "outline",
|
|
457
456
|
leftIcon: /* @__PURE__ */ S(E, { size: 16 }),
|
|
@@ -459,32 +458,32 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
459
458
|
let e = F?.defaultAgentId;
|
|
460
459
|
j(e ? `agents/${e}/test` : "chat");
|
|
461
460
|
},
|
|
462
|
-
children:
|
|
461
|
+
children: p("botlit.botDetail.actions.testBot", "Test Bot")
|
|
463
462
|
})
|
|
464
463
|
}),
|
|
465
|
-
/* @__PURE__ */ S(
|
|
466
|
-
permission:
|
|
464
|
+
/* @__PURE__ */ S(_, {
|
|
465
|
+
permission: g.APP_DELETE,
|
|
467
466
|
children: /* @__PURE__ */ S(o, {
|
|
468
467
|
variant: "destructive",
|
|
469
468
|
leftIcon: /* @__PURE__ */ S(He, { size: 16 }),
|
|
470
469
|
isLoading: Qe.loading,
|
|
471
470
|
onClick: async () => {
|
|
472
|
-
if (v && await
|
|
473
|
-
title:
|
|
474
|
-
message:
|
|
475
|
-
confirmLabel:
|
|
476
|
-
cancelLabel:
|
|
471
|
+
if (v && await m({
|
|
472
|
+
title: p("botlit.botsList.delete.title", "Delete bot?"),
|
|
473
|
+
message: p("botlit.botsList.delete.confirm", "Are you sure you want to delete \"{{name}}\"? Its channels will stop answering and this cannot be undone.", { name: F.name }),
|
|
474
|
+
confirmLabel: p("botlit.common.delete", "Delete"),
|
|
475
|
+
cancelLabel: p("botlit.common.cancel", "Cancel")
|
|
477
476
|
})) try {
|
|
478
477
|
if (!await Ze(v)) {
|
|
479
|
-
O.error(
|
|
478
|
+
O.error(p("botlit.botsList.delete.notDeleted", "The bot could not be deleted."));
|
|
480
479
|
return;
|
|
481
480
|
}
|
|
482
|
-
O.success(
|
|
481
|
+
O.success(p("botlit.botsList.delete.success", "Bot \"{{name}}\" deleted successfully", { name: F.name })), j("bots");
|
|
483
482
|
} catch (e) {
|
|
484
|
-
O.error(e instanceof Error ? e.message :
|
|
483
|
+
O.error(e instanceof Error ? e.message : p("botlit.botDetail.delete.error", "Failed to delete bot"));
|
|
485
484
|
}
|
|
486
485
|
},
|
|
487
|
-
children:
|
|
486
|
+
children: p("botlit.common.delete", "Delete")
|
|
488
487
|
})
|
|
489
488
|
})
|
|
490
489
|
]
|
|
@@ -494,13 +493,13 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
494
493
|
children: [
|
|
495
494
|
/* @__PURE__ */ S(ke, {
|
|
496
495
|
icon: /* @__PURE__ */ S(T, { size: 18 }),
|
|
497
|
-
children:
|
|
496
|
+
children: p("botlit.botDetail.purpose", "This is everything that makes up a single bot — the agent that answers, how requests are routed, which channels it is live on, its guardrails and its release history. Use the tabs to wire it up: assign a default agent, connect a channel and activate it so real users can start chatting.")
|
|
498
497
|
}),
|
|
499
498
|
/* @__PURE__ */ S("div", {
|
|
500
499
|
className: "flex gap-1 border-b border-border-subtle overflow-x-auto",
|
|
501
500
|
children: ut.map((e) => /* @__PURE__ */ C("button", {
|
|
502
501
|
onClick: () => H(e.id),
|
|
503
|
-
className:
|
|
502
|
+
className: fe("flex items-center gap-2 px-4 py-2 text-sm font-medium border-b-2 transition-colors whitespace-nowrap", V === e.id ? "border-primary text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
504
503
|
children: [e.icon, e.label]
|
|
505
504
|
}, e.id))
|
|
506
505
|
}),
|
|
@@ -512,31 +511,31 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
512
511
|
steps: [
|
|
513
512
|
{
|
|
514
513
|
id: "workflow",
|
|
515
|
-
label:
|
|
516
|
-
description:
|
|
514
|
+
label: p("botlit.botDetail.nextSteps.workflow", "Design the workflow"),
|
|
515
|
+
description: p("botlit.botDetail.nextSteps.workflowDesc", "Lay out what the bot does on the FluidGrids canvas."),
|
|
517
516
|
icon: /* @__PURE__ */ S(D, { size: 16 }),
|
|
518
517
|
onClick: () => H("workflow"),
|
|
519
518
|
done: !!F.workflowId
|
|
520
519
|
},
|
|
521
520
|
{
|
|
522
521
|
id: "agent",
|
|
523
|
-
label:
|
|
524
|
-
description:
|
|
522
|
+
label: p("botlit.botDetail.nextSteps.agent", "Assign a default agent"),
|
|
523
|
+
description: p("botlit.botDetail.nextSteps.agentDesc", "Choose which agent answers when this bot is messaged."),
|
|
525
524
|
icon: /* @__PURE__ */ S(T, { size: 16 }),
|
|
526
525
|
onClick: () => H("agents"),
|
|
527
526
|
done: !!F.defaultAgentId
|
|
528
527
|
},
|
|
529
528
|
{
|
|
530
529
|
id: "channel",
|
|
531
|
-
label:
|
|
532
|
-
description:
|
|
530
|
+
label: p("botlit.botDetail.nextSteps.channel", "Connect a channel"),
|
|
531
|
+
description: p("botlit.botDetail.nextSteps.channelDesc", "Put the bot on Slack, a web widget or another channel."),
|
|
533
532
|
icon: /* @__PURE__ */ S(Re, { size: 16 }),
|
|
534
533
|
onClick: () => H("channels")
|
|
535
534
|
},
|
|
536
535
|
{
|
|
537
536
|
id: "test",
|
|
538
|
-
label:
|
|
539
|
-
description:
|
|
537
|
+
label: p("botlit.botDetail.nextSteps.test", "Test the bot"),
|
|
538
|
+
description: p("botlit.botDetail.nextSteps.testDesc", "Send a message to check the experience end to end."),
|
|
540
539
|
icon: /* @__PURE__ */ S(E, { size: 16 }),
|
|
541
540
|
onClick: () => {
|
|
542
541
|
let e = F?.defaultAgentId;
|
|
@@ -545,15 +544,15 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
545
544
|
},
|
|
546
545
|
{
|
|
547
546
|
id: "activate",
|
|
548
|
-
label:
|
|
549
|
-
description:
|
|
547
|
+
label: p("botlit.botDetail.nextSteps.activate", "Activate the bot"),
|
|
548
|
+
description: p("botlit.botDetail.nextSteps.activateDesc", "Make it live so it starts handling conversations."),
|
|
550
549
|
icon: /* @__PURE__ */ S(Be, { size: 16 }),
|
|
551
550
|
onClick: () => j(`bots/${v}/edit`),
|
|
552
551
|
done: F.status === "ACTIVE"
|
|
553
552
|
}
|
|
554
553
|
]
|
|
555
554
|
}),
|
|
556
|
-
/* @__PURE__ */ S(
|
|
555
|
+
/* @__PURE__ */ S(we, {
|
|
557
556
|
kind: "bot",
|
|
558
557
|
id: v
|
|
559
558
|
}),
|
|
@@ -600,14 +599,14 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
600
599
|
children: "Created"
|
|
601
600
|
}), /* @__PURE__ */ S("p", {
|
|
602
601
|
className: "font-medium",
|
|
603
|
-
children:
|
|
602
|
+
children: de(F.createdAt)
|
|
604
603
|
})] }),
|
|
605
604
|
/* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S("p", {
|
|
606
605
|
className: "text-sm text-text-secondary",
|
|
607
606
|
children: "Executions"
|
|
608
607
|
}), /* @__PURE__ */ S("p", {
|
|
609
608
|
className: "font-medium",
|
|
610
|
-
children:
|
|
609
|
+
children: ue(F.executionCount)
|
|
611
610
|
})] })
|
|
612
611
|
]
|
|
613
612
|
})] }),
|
|
@@ -664,11 +663,11 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
664
663
|
}),
|
|
665
664
|
/* @__PURE__ */ C(n, {
|
|
666
665
|
className: "lg:col-span-3",
|
|
667
|
-
children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ S(a, { children: "Tags" }) }), /* @__PURE__ */ S(r, { children: /* @__PURE__ */ S(
|
|
666
|
+
children: [/* @__PURE__ */ S(i, { children: /* @__PURE__ */ S(a, { children: "Tags" }) }), /* @__PURE__ */ S(r, { children: /* @__PURE__ */ S(Ce, {
|
|
668
667
|
entityType: "BotmanorApp",
|
|
669
668
|
entityId: F.id,
|
|
670
669
|
tags: F.tags,
|
|
671
|
-
editable: A(
|
|
670
|
+
editable: A(g.APP_UPDATE),
|
|
672
671
|
onSave: async (e) => {
|
|
673
672
|
v && (await z({
|
|
674
673
|
botId: v,
|
|
@@ -692,14 +691,14 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
692
691
|
}
|
|
693
692
|
})
|
|
694
693
|
}),
|
|
695
|
-
V === "routing" && v && /* @__PURE__ */ S(
|
|
694
|
+
V === "routing" && v && /* @__PURE__ */ S(ve, {
|
|
696
695
|
botId: v,
|
|
697
696
|
routingStrategy: F.routingStrategy,
|
|
698
697
|
defaultAgentName: $?.name,
|
|
699
698
|
agents: Q,
|
|
700
699
|
onManage: () => H("agents")
|
|
701
700
|
}),
|
|
702
|
-
V === "agents" && v && /* @__PURE__ */ S(
|
|
701
|
+
V === "agents" && v && /* @__PURE__ */ S(_e, {
|
|
703
702
|
botId: v,
|
|
704
703
|
defaultAgentId: F.defaultAgentId,
|
|
705
704
|
agents: Q,
|
|
@@ -710,7 +709,7 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
710
709
|
}), await L();
|
|
711
710
|
}
|
|
712
711
|
}),
|
|
713
|
-
V === "channels" && v && /* @__PURE__ */ S(
|
|
712
|
+
V === "channels" && v && /* @__PURE__ */ S(ge, {
|
|
714
713
|
botId: v,
|
|
715
714
|
botName: F.name
|
|
716
715
|
}),
|
|
@@ -719,10 +718,10 @@ var P = ({ isNew: d, isEditing: m }) => {
|
|
|
719
718
|
subjectType: "APP",
|
|
720
719
|
subjectId: v
|
|
721
720
|
},
|
|
722
|
-
description:
|
|
721
|
+
description: p("botlit.botDetail.aiOperationsDescription", "What the supervisor flagged for this bot — drift, evidence and the recommended action.")
|
|
723
722
|
}),
|
|
724
|
-
V === "guardrails" && /* @__PURE__ */ S(
|
|
725
|
-
V === "releases" && v && /* @__PURE__ */ S(
|
|
723
|
+
V === "guardrails" && /* @__PURE__ */ S(be, { subject: "bot" }),
|
|
724
|
+
V === "releases" && v && /* @__PURE__ */ S(ye, {
|
|
726
725
|
botId: v,
|
|
727
726
|
onChanged: () => void L()
|
|
728
727
|
}, `${N}:${v}`)
|