@burdenoff/microfe-botmanor 2026.1118.1 → 2026.1118.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,27 +1,28 @@
1
1
  import { useBotlit as e } from "../providers/BotlitProvider.js";
2
- import { isNative as t, nativeImpact as n, nativeNotify as r } from "../../utils/nativeBridge.js";
3
- import { BOTMANOR_PERMISSIONS as i } from "../permissions/botmanorPermissions.js";
4
- import { BotmanorPermissionGate as a } from "../permissions/useBotmanorPermissions.js";
5
- import { PageLayout as o } from "../components/PageLayout.js";
6
- import { EmptyState as ee } from "../components/EmptyState.js";
7
- import { Card as s, CardContent as c, CardDescription as l, CardHeader as u, CardTitle as d } from "../components/Card.js";
8
- import { Button as f } from "../components/Button.js";
9
- import { FormField as p, Input as m, Textarea as h } from "../components/Input.js";
10
- import { Badge as te, StatusBadge as ne } from "../components/Badge.js";
2
+ import { useAgents as t } from "../hooks/useAgents.js";
3
+ import { isNative as n, nativeImpact as r, nativeNotify as i } from "../../utils/nativeBridge.js";
4
+ import { BOTMANOR_PERMISSIONS as a } from "../permissions/botmanorPermissions.js";
5
+ import { BotmanorPermissionGate as o } from "../permissions/useBotmanorPermissions.js";
6
+ import { PageLayout as s } from "../components/PageLayout.js";
7
+ import { EmptyState as c } from "../components/EmptyState.js";
8
+ import { Card as l, CardContent as u, CardDescription as d, CardHeader as f, CardTitle as p } from "../components/Card.js";
9
+ import { Button as m } from "../components/Button.js";
10
+ import { FormField as h, Input as g, Textarea as _ } from "../components/Input.js";
11
+ import { Badge as ee, StatusBadge as te } from "../components/Badge.js";
11
12
  import "../hooks/index.js";
12
- import { formatRelativeTime as g } from "../utils/formatters.js";
13
- import { useCreatePolicy as re, useDeletePolicy as ie, usePolicy as ae, useUpdatePolicy as oe } from "../hooks/usePolicies.js";
14
- import { toUnion as _ } from "../utils/unions.js";
15
- import { A2A_TRUST_LEVELS as se, CREATABLE_POLICY_TYPES as ce, EMPTY_POLICY_FORM as le, TOOL_RISK_LEVELS as ue, buildPolicyConfig as de, isCreatablePolicyType as fe, unenforcedConfigKeys as pe } from "../utils/policyConfig.js";
13
+ import { formatRelativeTime as v } from "../utils/formatters.js";
14
+ import { useCreatePolicy as ne, useDeletePolicy as re, usePolicy as ie, useUpdatePolicy as ae } from "../hooks/usePolicies.js";
15
+ import { toUnion as oe } from "../utils/unions.js";
16
+ import { A2A_TRUST_LEVELS as se, CITATION_MODES as ce, CREATABLE_POLICY_TYPES as le, EMPTY_POLICY_FORM as ue, KNOWLEDGE_CLASSIFICATIONS as de, PII_MASK_TYPES as fe, RESPONSE_FORMALITY_LEVELS as pe, RESPONSE_STRUCTURES as me, TOOL_RISK_LEVELS as he, buildPolicyConfig as ge, isCreatablePolicyType as _e, unenforcedConfigKeys as ve } from "../utils/policyConfig.js";
16
17
  import "../permissions/index.js";
17
- import { useState as v } from "react";
18
- import { PagePurpose as me } from "@burdenoff/fe-libs/ui";
19
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
20
- import { useParams as he } from "react-router";
21
- import { AlertTriangle as S, ArrowLeft as ge, Clock as _e, Database as C, DollarSign as w, Edit as ve, FileText as T, Power as ye, Save as E, Settings as be, Shield as D, Trash2 as O, Wrench as k } from "lucide-react";
22
- import { toast as A } from "sonner";
18
+ import { useState as y } from "react";
19
+ import { PagePurpose as ye } from "@burdenoff/fe-libs/ui";
20
+ import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
21
+ import { useParams as be } from "react-router";
22
+ import { AlertTriangle as C, ArrowLeft as xe, Clock as w, Database as T, DollarSign as E, Edit as Se, FileText as D, Power as Ce, Save as O, Settings as we, Shield as k, Trash2 as A, Wrench as j } from "lucide-react";
23
+ import { toast as M } from "sonner";
23
24
  // src/botlit/pages/PolicyDetailPage.tsx
24
- var xe = [
25
+ var Te = [
25
26
  "CONTENT",
26
27
  "TOOL",
27
28
  "DATA",
@@ -29,19 +30,80 @@ var xe = [
29
30
  "BUDGET",
30
31
  "RATE_LIMIT",
31
32
  "RETENTION"
32
- ], Se = [
33
+ ], Ee = [
33
34
  "PRIVATE",
34
35
  "WORKSPACE",
35
36
  "PUBLIC"
36
- ], j = "flex h-10 w-full rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm", M = ({ type: e }) => ({
37
- CONTENT: /* @__PURE__ */ b(S, { size: 18 }),
38
- TOOL: /* @__PURE__ */ b(k, { size: 18 }),
39
- DATA: /* @__PURE__ */ b(C, { size: 18 }),
40
- RESPONSE: /* @__PURE__ */ b(T, { size: 18 }),
41
- BUDGET: /* @__PURE__ */ b(w, { size: 18 }),
42
- RATE_LIMIT: /* @__PURE__ */ b(_e, { size: 18 }),
43
- RETENTION: /* @__PURE__ */ b(O, { size: 18 })
44
- })[e] || /* @__PURE__ */ b(D, { size: 18 }), N = {
37
+ ], N = "flex h-10 w-full rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm", P = ({ type: e }) => ({
38
+ CONTENT: /* @__PURE__ */ x(C, { size: 18 }),
39
+ TOOL: /* @__PURE__ */ x(j, { size: 18 }),
40
+ DATA: /* @__PURE__ */ x(T, { size: 18 }),
41
+ RESPONSE: /* @__PURE__ */ x(D, { size: 18 }),
42
+ BUDGET: /* @__PURE__ */ x(E, { size: 18 }),
43
+ RATE_LIMIT: /* @__PURE__ */ x(w, { size: 18 }),
44
+ RETENTION: /* @__PURE__ */ x(A, { size: 18 })
45
+ })[e] || /* @__PURE__ */ x(k, { size: 18 }), De = {
46
+ EMAIL: "Email addresses",
47
+ PHONE: "Phone numbers",
48
+ CREDIT_CARD: "Card numbers",
49
+ SSN: "US social security numbers",
50
+ IP_ADDRESS: "IP addresses"
51
+ };
52
+ function F(e, t, n) {
53
+ return n ? [...e.filter((e) => e !== t), t] : e.filter((e) => e !== t);
54
+ }
55
+ var I = ({ value: e, onChange: n }) => {
56
+ let { data: r, loading: i, error: a, refetch: o, hasMore: s, loadingMore: c, loadMore: l } = t();
57
+ return /* @__PURE__ */ x(h, {
58
+ label: "Apply To Agents",
59
+ description: "Leave all unchecked to apply this policy to every agent in the workspace.",
60
+ children: /* @__PURE__ */ S("div", {
61
+ className: "max-h-48 overflow-auto rounded-md border border-border-default p-2 space-y-1",
62
+ children: [
63
+ a && r.length === 0 ? /* @__PURE__ */ S("div", {
64
+ className: "space-y-2",
65
+ role: "alert",
66
+ children: [/* @__PURE__ */ x("p", {
67
+ className: "text-sm text-status-error-text",
68
+ children: "Agents could not be loaded, so this policy cannot be limited to agents right now. Saving it as is applies it to every agent in the workspace."
69
+ }), /* @__PURE__ */ x(m, {
70
+ variant: "outline",
71
+ size: "sm",
72
+ onClick: () => void o(),
73
+ children: "Retry"
74
+ })]
75
+ }) : i && r.length === 0 ? /* @__PURE__ */ x("p", {
76
+ className: "text-sm text-text-secondary",
77
+ children: "Loading agents…"
78
+ }) : r.length === 0 ? /* @__PURE__ */ x("p", {
79
+ className: "text-sm text-text-secondary",
80
+ children: "No agents in this workspace yet."
81
+ }) : r.map((t) => /* @__PURE__ */ S("label", {
82
+ className: "flex items-center gap-2 text-sm",
83
+ children: [/* @__PURE__ */ x("input", {
84
+ type: "checkbox",
85
+ className: "h-4 w-4",
86
+ checked: e.includes(t.id),
87
+ onChange: (r) => n(F(e, t.id, r.target.checked))
88
+ }), /* @__PURE__ */ x("span", { children: t.name })]
89
+ }, t.id)),
90
+ a && r.length > 0 && /* @__PURE__ */ x("p", {
91
+ className: "text-sm text-status-error-text",
92
+ role: "alert",
93
+ children: "More agents could not be loaded; the list above is incomplete."
94
+ }),
95
+ s && /* @__PURE__ */ x(m, {
96
+ variant: "ghost",
97
+ size: "sm",
98
+ onClick: () => void l(),
99
+ isLoading: c,
100
+ disabled: c,
101
+ children: a ? "Retry loading more agents" : "Load more agents"
102
+ })
103
+ ]
104
+ })
105
+ });
106
+ }, L = {
45
107
  CONTENT: "Content Policy",
46
108
  TOOL: "Tool Policy",
47
109
  DATA: "Data Policy",
@@ -49,49 +111,49 @@ var xe = [
49
111
  BUDGET: "Budget Policy",
50
112
  RATE_LIMIT: "Rate Limit Policy",
51
113
  RETENTION: "Retention Policy"
52
- }, P = ({ isNew: C }) => {
53
- let { policyId: P } = he(), { navigateTo: F } = e(), { data: I, loading: Ce, refetch: L } = ae(C ? void 0 : P), { create: we, loading: Te } = re(), { update: R, loading: z } = oe(), { remove: Ee, loading: De } = ie(), [B, V] = v(!1), [Oe, H] = v(!1), [U, W] = v({
114
+ }, R = ({ isNew: t }) => {
115
+ let { policyId: R } = be(), { navigateTo: z } = e(), { data: B, loading: Oe, refetch: V } = ie(t ? void 0 : R), { create: ke, loading: Ae } = ne(), { update: je, loading: Me } = ae(), { remove: Ne, loading: Pe } = re(), [Fe, H] = y(!1), [Ie, Le] = y(!1), [U, W] = y({
54
116
  name: "",
55
117
  description: "",
56
118
  type: "CONTENT",
57
119
  visibility: "PRIVATE"
58
- }), [G, K] = v({
120
+ }), [G, K] = y({
59
121
  name: "",
60
122
  description: "",
61
123
  visibility: "PRIVATE"
62
- }), [q, ke] = v(le), [Ae, J] = v(null), Y = (e, t) => {
63
- J(null), ke((n) => ({
124
+ }), [q, J] = y(ue), [Re, Y] = y(null), X = (e, t) => {
125
+ Y(null), J((n) => ({
64
126
  ...n,
65
127
  [e]: {
66
128
  ...n[e],
67
129
  ...t
68
130
  }
69
131
  }));
70
- }, [X, je] = v(!1), Me = async () => {
132
+ }, [ze, Be] = y(!1), Ve = async () => {
71
133
  if (!U.name) return;
72
- let e = de(U.type, q);
73
- if (!e.ok) J(e.error), A.error(e.error);
134
+ let e = ge(U.type, q);
135
+ if (!e.ok) Y(e.error), M.error(e.error);
74
136
  else {
75
137
  try {
76
- await we({
138
+ await ke({
77
139
  name: U.name,
78
140
  description: U.description,
79
141
  type: U.type,
80
142
  visibility: U.visibility,
81
- status: X ? "ACTIVE" : "DRAFT",
143
+ status: ze ? "ACTIVE" : "DRAFT",
82
144
  config: e.config
83
145
  });
84
146
  } catch (e) {
85
- A.error(e instanceof Error ? e.message : "Failed to create policy");
147
+ M.error(e instanceof Error ? e.message : "Failed to create policy");
86
148
  return;
87
149
  }
88
- A.success(`Policy "${U.name}" created`), F("policies");
150
+ M.success(`Policy "${U.name}" created`), z("policies");
89
151
  }
90
- }, Ne = async () => {
91
- if (P && G.name) {
152
+ }, He = async () => {
153
+ if (R && G.name) {
92
154
  try {
93
- await R({
94
- policyId: P,
155
+ await je({
156
+ policyId: R,
95
157
  input: {
96
158
  name: G.name,
97
159
  description: G.description,
@@ -99,64 +161,64 @@ var xe = [
99
161
  }
100
162
  });
101
163
  } catch (e) {
102
- A.error(e instanceof Error ? e.message : "Failed to update policy");
164
+ M.error(e instanceof Error ? e.message : "Failed to update policy");
103
165
  return;
104
166
  }
105
- await L(), A.success("Policy updated"), V(!1);
167
+ await V(), M.success("Policy updated"), H(!1);
106
168
  }
107
- }, Pe = async () => {
108
- if (P) try {
109
- await Ee(P), t() && r("success"), F("policies");
169
+ }, Ue = async () => {
170
+ if (R) try {
171
+ await Ne(R), n() && i("success"), z("policies");
110
172
  } catch (e) {
111
- throw t() && r("error"), e;
173
+ throw n() && i("error"), e;
112
174
  }
113
- }, Z = I?.status === "ACTIVE", Fe = async () => {
114
- if (!P) return;
175
+ }, Z = B?.status === "ACTIVE", We = async () => {
176
+ if (!R) return;
115
177
  let e = Z ? "DRAFT" : "ACTIVE";
116
178
  try {
117
- await R({
118
- policyId: P,
179
+ await je({
180
+ policyId: R,
119
181
  input: { status: e }
120
182
  });
121
183
  } catch (e) {
122
- A.error(e instanceof Error ? e.message : "Failed to update policy");
184
+ M.error(e instanceof Error ? e.message : "Failed to update policy");
123
185
  return;
124
186
  }
125
- await L(), A.success(e === "ACTIVE" ? "Policy is now enforced" : "Policy is no longer enforced");
126
- }, Ie = () => {
127
- I && (K({
128
- name: I.name,
129
- description: I.description || "",
130
- visibility: _(I.visibility, Se, "PRIVATE")
131
- }), V(!0));
187
+ await V(), M.success(e === "ACTIVE" ? "Policy is now enforced" : "Policy is no longer enforced");
188
+ }, Ge = () => {
189
+ B && (K({
190
+ name: B.name,
191
+ description: B.description || "",
192
+ visibility: oe(B.visibility, Ee, "PRIVATE")
193
+ }), H(!0));
132
194
  };
133
- if (C) return /* @__PURE__ */ b(o, {
195
+ if (t) return /* @__PURE__ */ x(s, {
134
196
  title: "Create Policy",
135
197
  description: "Define guardrails and constraints for your AI agents",
136
- actions: /* @__PURE__ */ x("div", {
198
+ actions: /* @__PURE__ */ S("div", {
137
199
  className: "flex gap-2",
138
- children: [/* @__PURE__ */ b(f, {
200
+ children: [/* @__PURE__ */ x(m, {
139
201
  variant: "outline",
140
- onClick: () => F("policies"),
202
+ onClick: () => z("policies"),
141
203
  children: "Cancel"
142
- }), /* @__PURE__ */ b(f, {
143
- leftIcon: /* @__PURE__ */ b(E, { size: 16 }),
144
- onClick: Me,
145
- isLoading: Te,
204
+ }), /* @__PURE__ */ x(m, {
205
+ leftIcon: /* @__PURE__ */ x(O, { size: 16 }),
206
+ onClick: Ve,
207
+ isLoading: Ae,
146
208
  disabled: !U.name,
147
209
  children: "Create"
148
210
  })]
149
211
  }),
150
- children: /* @__PURE__ */ x("div", {
212
+ children: /* @__PURE__ */ S("div", {
151
213
  className: "max-w-2xl space-y-6",
152
214
  children: [
153
- /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ b(u, { children: /* @__PURE__ */ b(d, { children: "Basic Information" }) }), /* @__PURE__ */ x(c, {
215
+ /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(f, { children: /* @__PURE__ */ x(p, { children: "Basic Information" }) }), /* @__PURE__ */ S(u, {
154
216
  className: "space-y-4",
155
217
  children: [
156
- /* @__PURE__ */ b(p, {
218
+ /* @__PURE__ */ x(h, {
157
219
  label: "Policy Name",
158
220
  required: !0,
159
- children: /* @__PURE__ */ b(m, {
221
+ children: /* @__PURE__ */ x(g, {
160
222
  placeholder: "e.g., Production Content Policy",
161
223
  value: U.name,
162
224
  onChange: (e) => W({
@@ -165,9 +227,9 @@ var xe = [
165
227
  })
166
228
  })
167
229
  }),
168
- /* @__PURE__ */ b(p, {
230
+ /* @__PURE__ */ x(h, {
169
231
  label: "Description",
170
- children: /* @__PURE__ */ b(h, {
232
+ children: /* @__PURE__ */ x(_, {
171
233
  placeholder: "What does this policy enforce?",
172
234
  value: U.description,
173
235
  onChange: (e) => W({
@@ -177,29 +239,29 @@ var xe = [
177
239
  rows: 3
178
240
  })
179
241
  }),
180
- /* @__PURE__ */ x("div", {
242
+ /* @__PURE__ */ S("div", {
181
243
  className: "grid grid-cols-2 gap-4",
182
- children: [/* @__PURE__ */ b(p, {
244
+ children: [/* @__PURE__ */ x(h, {
183
245
  label: "Policy Type",
184
246
  required: !0,
185
- children: /* @__PURE__ */ b("select", {
186
- className: j,
247
+ children: /* @__PURE__ */ x("select", {
248
+ className: N,
187
249
  value: U.type,
188
250
  onChange: (e) => {
189
251
  let t = e.target.value;
190
- fe(t) && (J(null), W({
252
+ _e(t) && (Y(null), W({
191
253
  ...U,
192
254
  type: t
193
255
  }));
194
256
  },
195
- children: ce.map((e) => /* @__PURE__ */ b("option", {
257
+ children: le.map((e) => /* @__PURE__ */ x("option", {
196
258
  value: e,
197
- children: N[e]
259
+ children: L[e]
198
260
  }, e))
199
261
  })
200
- }), /* @__PURE__ */ b(p, {
262
+ }), /* @__PURE__ */ x(h, {
201
263
  label: "Visibility",
202
- children: /* @__PURE__ */ x("select", {
264
+ children: /* @__PURE__ */ S("select", {
203
265
  className: "flex h-10 w-full rounded-md border border-border-default bg-bg-surface px-3 py-2 text-sm",
204
266
  value: U.visibility,
205
267
  onChange: (e) => W({
@@ -207,15 +269,15 @@ var xe = [
207
269
  visibility: e.target.value
208
270
  }),
209
271
  children: [
210
- /* @__PURE__ */ b("option", {
272
+ /* @__PURE__ */ x("option", {
211
273
  value: "PRIVATE",
212
274
  children: "Private"
213
275
  }),
214
- /* @__PURE__ */ b("option", {
276
+ /* @__PURE__ */ x("option", {
215
277
  value: "WORKSPACE",
216
278
  children: "Workspace"
217
279
  }),
218
- /* @__PURE__ */ b("option", {
280
+ /* @__PURE__ */ x("option", {
219
281
  value: "PUBLIC",
220
282
  children: "Public"
221
283
  })
@@ -225,284 +287,534 @@ var xe = [
225
287
  })
226
288
  ]
227
289
  })] }),
228
- U.type === "CONTENT" && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ x(d, {
290
+ U.type === "CONTENT" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
229
291
  className: "flex items-center gap-2",
230
- children: [/* @__PURE__ */ b(S, { size: 18 }), "Content Policy Configuration"]
231
- }), /* @__PURE__ */ b(l, { children: "Checked against every message sent to an agent and every response it gives. A blocked message is refused; a blocked response is replaced with a refusal." })] }), /* @__PURE__ */ x(c, {
292
+ children: [/* @__PURE__ */ x(C, { size: 18 }), "Content Policy Configuration"]
293
+ }), /* @__PURE__ */ x(d, { children: "Checked against every message sent to an agent and every response it gives. A blocked message is refused; a blocked response is replaced with a refusal." })] }), /* @__PURE__ */ S(u, {
232
294
  className: "space-y-4",
233
295
  children: [
234
- /* @__PURE__ */ x("div", {
296
+ /* @__PURE__ */ S("div", {
235
297
  className: "flex items-start gap-2",
236
- children: [/* @__PURE__ */ b("input", {
298
+ children: [/* @__PURE__ */ x("input", {
237
299
  type: "checkbox",
238
300
  id: "pii",
239
301
  checked: q.content.piiDetection,
240
- onChange: (e) => Y("content", { piiDetection: e.target.checked }),
302
+ onChange: (e) => X("content", { piiDetection: e.target.checked }),
241
303
  className: "mt-1 h-4 w-4"
242
- }), /* @__PURE__ */ x("label", {
304
+ }), /* @__PURE__ */ S("label", {
243
305
  htmlFor: "pii",
244
306
  className: "text-sm",
245
- children: [/* @__PURE__ */ b("span", {
307
+ children: [/* @__PURE__ */ x("span", {
246
308
  className: "font-medium",
247
309
  children: "PII Detection"
248
- }), /* @__PURE__ */ b("span", {
310
+ }), /* @__PURE__ */ x("span", {
249
311
  className: "block text-text-secondary",
250
312
  children: "Blocks text containing an email address, a US SSN or a card-number shaped digit run."
251
313
  })]
252
314
  })]
253
315
  }),
254
- /* @__PURE__ */ b(p, {
316
+ /* @__PURE__ */ x(h, {
255
317
  label: "Blocked Keywords",
256
318
  description: "Comma-separated. Case-insensitive; any occurrence blocks the text.",
257
- children: /* @__PURE__ */ b(m, {
319
+ children: /* @__PURE__ */ x(g, {
258
320
  placeholder: "e.g., internal-only, project-x",
259
321
  value: q.content.blockedKeywords,
260
- onChange: (e) => Y("content", { blockedKeywords: e.target.value })
322
+ onChange: (e) => X("content", { blockedKeywords: e.target.value })
261
323
  })
262
324
  }),
263
- /* @__PURE__ */ b(p, {
325
+ /* @__PURE__ */ x(h, {
264
326
  label: "Blocked Patterns",
265
327
  description: "One regular expression per line, matched case-insensitively.",
266
- children: /* @__PURE__ */ b(h, {
328
+ children: /* @__PURE__ */ x(_, {
267
329
  placeholder: "e.g., \\bACME-\\d{6}\\b",
268
330
  value: q.content.blockedPatterns,
269
- onChange: (e) => Y("content", { blockedPatterns: e.target.value }),
331
+ onChange: (e) => X("content", { blockedPatterns: e.target.value }),
270
332
  rows: 3
271
333
  })
272
334
  })
273
335
  ]
274
336
  })] }),
275
- U.type === "TOOL" && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ x(d, {
337
+ U.type === "TOOL" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
276
338
  className: "flex items-center gap-2",
277
- children: [/* @__PURE__ */ b(k, { size: 18 }), "Tool Policy Configuration"]
278
- }), /* @__PURE__ */ b(l, { children: "Applies to MCP tool calls made by agents and through Call Tool, and to agent delegation. Leave a field empty to not restrict it." })] }), /* @__PURE__ */ x(c, {
339
+ children: [/* @__PURE__ */ x(j, { size: 18 }), "Tool Policy Configuration"]
340
+ }), /* @__PURE__ */ x(d, { children: "Applies to MCP tool calls made by agents and through Call Tool, and to agent delegation. Leave a field empty to not restrict it." })] }), /* @__PURE__ */ S(u, {
279
341
  className: "space-y-4",
280
342
  children: [
281
- /* @__PURE__ */ b(p, {
343
+ /* @__PURE__ */ x(h, {
282
344
  label: "Allowed Tools",
283
345
  description: "Comma-separated MCP tool names. End an entry with * to allow a prefix. Empty allows every tool.",
284
- children: /* @__PURE__ */ b(m, {
346
+ children: /* @__PURE__ */ x(g, {
285
347
  placeholder: "e.g., search, read_*",
286
348
  value: q.tool.allowedTools,
287
- onChange: (e) => Y("tool", { allowedTools: e.target.value })
349
+ onChange: (e) => X("tool", { allowedTools: e.target.value })
288
350
  })
289
351
  }),
290
- /* @__PURE__ */ b(p, {
352
+ /* @__PURE__ */ x(h, {
291
353
  label: "Denied Tools",
292
354
  description: "Comma-separated MCP tool names that may never run. A deny always wins.",
293
- children: /* @__PURE__ */ b(m, {
355
+ children: /* @__PURE__ */ x(g, {
294
356
  placeholder: "e.g., delete_*, execute_code",
295
357
  value: q.tool.deniedTools,
296
- onChange: (e) => Y("tool", { deniedTools: e.target.value })
358
+ onChange: (e) => X("tool", { deniedTools: e.target.value })
297
359
  })
298
360
  }),
299
- /* @__PURE__ */ x("div", {
361
+ /* @__PURE__ */ S("div", {
300
362
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
301
- children: [/* @__PURE__ */ b(p, {
363
+ children: [/* @__PURE__ */ x(h, {
302
364
  label: "Max Tool Risk Level",
303
- children: /* @__PURE__ */ x("select", {
304
- className: j,
365
+ children: /* @__PURE__ */ S("select", {
366
+ className: N,
305
367
  value: q.tool.maxToolRiskLevel,
306
- onChange: (e) => Y("tool", { maxToolRiskLevel: e.target.value }),
307
- children: [/* @__PURE__ */ b("option", {
368
+ onChange: (e) => X("tool", { maxToolRiskLevel: e.target.value }),
369
+ children: [/* @__PURE__ */ x("option", {
308
370
  value: "",
309
371
  children: "Any risk level"
310
- }), ue.map((e) => /* @__PURE__ */ x("option", {
372
+ }), he.map((e) => /* @__PURE__ */ S("option", {
311
373
  value: e,
312
374
  children: ["Up to ", e.toLowerCase()]
313
375
  }, e))]
314
376
  })
315
- }), /* @__PURE__ */ b(p, {
377
+ }), /* @__PURE__ */ x(h, {
316
378
  label: "Minimum A2A Trust Level",
317
379
  description: "For delegation to external registry agents.",
318
- children: /* @__PURE__ */ x("select", {
319
- className: j,
380
+ children: /* @__PURE__ */ S("select", {
381
+ className: N,
320
382
  value: q.tool.a2aMinTrustLevel,
321
- onChange: (e) => Y("tool", { a2aMinTrustLevel: e.target.value }),
322
- children: [/* @__PURE__ */ b("option", {
383
+ onChange: (e) => X("tool", { a2aMinTrustLevel: e.target.value }),
384
+ children: [/* @__PURE__ */ x("option", {
323
385
  value: "",
324
386
  children: "Default (verified publisher)"
325
- }), se.map((e) => /* @__PURE__ */ b("option", {
387
+ }), se.map((e) => /* @__PURE__ */ x("option", {
326
388
  value: e,
327
389
  children: e === "VERIFIED_PUBLISHER" ? "Verified publisher" : e.charAt(0) + e.slice(1).toLowerCase()
328
390
  }, e))]
329
391
  })
330
392
  })]
331
393
  }),
332
- /* @__PURE__ */ x("div", {
394
+ /* @__PURE__ */ S("div", {
333
395
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
334
- children: [/* @__PURE__ */ b(p, {
396
+ children: [/* @__PURE__ */ x(h, {
335
397
  label: "Max Tool Calls Per Execution",
336
398
  description: "Tool calls allowed in one agent turn.",
337
- children: /* @__PURE__ */ b(m, {
399
+ children: /* @__PURE__ */ x(g, {
338
400
  type: "number",
339
401
  min: 1,
340
402
  placeholder: "No limit",
341
403
  value: q.tool.maxCallsPerExecution,
342
- onChange: (e) => Y("tool", { maxCallsPerExecution: e.target.value })
404
+ onChange: (e) => X("tool", { maxCallsPerExecution: e.target.value })
343
405
  })
344
- }), /* @__PURE__ */ b(p, {
406
+ }), /* @__PURE__ */ x(h, {
345
407
  label: "Tool Call Timeout (seconds)",
346
408
  description: "Can only shorten the platform's own timeout.",
347
- children: /* @__PURE__ */ b(m, {
409
+ children: /* @__PURE__ */ x(g, {
348
410
  type: "number",
349
411
  min: 1,
350
412
  placeholder: "Platform default",
351
413
  value: q.tool.timeoutSeconds,
352
- onChange: (e) => Y("tool", { timeoutSeconds: e.target.value })
414
+ onChange: (e) => X("tool", { timeoutSeconds: e.target.value })
353
415
  })
354
416
  })]
355
417
  })
356
418
  ]
357
419
  })] }),
358
- U.type === "BUDGET" && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ x(d, {
420
+ U.type === "BUDGET" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
359
421
  className: "flex items-center gap-2",
360
- children: [/* @__PURE__ */ b(w, { size: 18 }), "Budget Policy Configuration"]
361
- }), /* @__PURE__ */ b(l, { children: "Token budgets apply per agent. Leave a field empty to not restrict it." })] }), /* @__PURE__ */ b(c, {
422
+ children: [/* @__PURE__ */ x(E, { size: 18 }), "Budget Policy Configuration"]
423
+ }), /* @__PURE__ */ x(d, { children: "Token budgets apply per agent. Leave a field empty to not restrict it." })] }), /* @__PURE__ */ x(u, {
362
424
  className: "space-y-4",
363
- children: /* @__PURE__ */ x("div", {
425
+ children: /* @__PURE__ */ S("div", {
364
426
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
365
- children: [/* @__PURE__ */ b(p, {
427
+ children: [/* @__PURE__ */ x(h, {
366
428
  label: "Max Tokens Per Day",
367
429
  description: "An agent that has used this many tokens today (UTC) is refused.",
368
- children: /* @__PURE__ */ b(m, {
430
+ children: /* @__PURE__ */ x(g, {
369
431
  type: "number",
370
432
  min: 1,
371
433
  placeholder: "No limit",
372
434
  value: q.budget.maxTokensPerDay,
373
- onChange: (e) => Y("budget", { maxTokensPerDay: e.target.value })
435
+ onChange: (e) => X("budget", { maxTokensPerDay: e.target.value })
374
436
  })
375
- }), /* @__PURE__ */ b(p, {
437
+ }), /* @__PURE__ */ x(h, {
376
438
  label: "Max Output Tokens Per Model Call",
377
439
  description: "Lowers the agent's own max-tokens setting when it is higher.",
378
- children: /* @__PURE__ */ b(m, {
440
+ children: /* @__PURE__ */ x(g, {
379
441
  type: "number",
380
442
  min: 1,
381
443
  placeholder: "No limit",
382
444
  value: q.budget.maxTokensPerExecution,
383
- onChange: (e) => Y("budget", { maxTokensPerExecution: e.target.value })
445
+ onChange: (e) => X("budget", { maxTokensPerExecution: e.target.value })
384
446
  })
385
447
  })]
386
448
  })
387
449
  })] }),
388
- U.type === "RATE_LIMIT" && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ x(d, {
450
+ U.type === "RATE_LIMIT" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
389
451
  className: "flex items-center gap-2",
390
- children: [/* @__PURE__ */ b(_e, { size: 18 }), "Rate Limit Configuration"]
391
- }), /* @__PURE__ */ b(l, { children: "Every limit is counted per agent. Leave a field empty to not restrict it." })] }), /* @__PURE__ */ b(c, {
452
+ children: [/* @__PURE__ */ x(w, { size: 18 }), "Rate Limit Configuration"]
453
+ }), /* @__PURE__ */ x(d, { children: "Every limit is counted per agent. Leave a field empty to not restrict it." })] }), /* @__PURE__ */ x(u, {
392
454
  className: "space-y-4",
393
- children: /* @__PURE__ */ x("div", {
455
+ children: /* @__PURE__ */ S("div", {
394
456
  className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
395
457
  children: [
396
- /* @__PURE__ */ b(p, {
458
+ /* @__PURE__ */ x(h, {
397
459
  label: "Requests / Minute",
398
- children: /* @__PURE__ */ b(m, {
460
+ children: /* @__PURE__ */ x(g, {
399
461
  type: "number",
400
462
  min: 1,
401
463
  placeholder: "No limit",
402
464
  value: q.rateLimit.requestsPerMinute,
403
- onChange: (e) => Y("rateLimit", { requestsPerMinute: e.target.value })
465
+ onChange: (e) => X("rateLimit", { requestsPerMinute: e.target.value })
404
466
  })
405
467
  }),
406
- /* @__PURE__ */ b(p, {
468
+ /* @__PURE__ */ x(h, {
407
469
  label: "Requests / Hour",
408
- children: /* @__PURE__ */ b(m, {
470
+ children: /* @__PURE__ */ x(g, {
409
471
  type: "number",
410
472
  min: 1,
411
473
  placeholder: "No limit",
412
474
  value: q.rateLimit.requestsPerHour,
413
- onChange: (e) => Y("rateLimit", { requestsPerHour: e.target.value })
475
+ onChange: (e) => X("rateLimit", { requestsPerHour: e.target.value })
414
476
  })
415
477
  }),
416
- /* @__PURE__ */ b(p, {
478
+ /* @__PURE__ */ x(h, {
417
479
  label: "Tokens / Minute",
418
- children: /* @__PURE__ */ b(m, {
480
+ children: /* @__PURE__ */ x(g, {
419
481
  type: "number",
420
482
  min: 1,
421
483
  placeholder: "No limit",
422
484
  value: q.rateLimit.tokensPerMinute,
423
- onChange: (e) => Y("rateLimit", { tokensPerMinute: e.target.value })
485
+ onChange: (e) => X("rateLimit", { tokensPerMinute: e.target.value })
424
486
  })
425
487
  })
426
488
  ]
427
489
  })
428
490
  })] }),
429
- U.type === "RESPONSE" && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ x(d, {
491
+ U.type === "RESPONSE" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
430
492
  className: "flex items-center gap-2",
431
- children: [/* @__PURE__ */ b(T, { size: 18 }), "Model Usage Allowlist"]
432
- }), /* @__PURE__ */ b(l, { children: "Agents in this workspace may only answer with models that match every active model policy. Leave both fields empty to allow all models." })] }), /* @__PURE__ */ x(c, {
493
+ children: [/* @__PURE__ */ x(D, { size: 18 }), "Model Usage Allowlist"]
494
+ }), /* @__PURE__ */ x(d, { children: "Agents in this workspace may only answer with models that match every active model policy. Leave both fields empty to allow all models." })] }), /* @__PURE__ */ S(u, {
433
495
  className: "space-y-4",
434
- children: [/* @__PURE__ */ b(p, {
496
+ children: [/* @__PURE__ */ x(h, {
435
497
  label: "Allowed Models",
436
498
  description: "Comma-separated model IDs. End an entry with * to allow a prefix.",
437
- children: /* @__PURE__ */ b(m, {
499
+ children: /* @__PURE__ */ x(g, {
438
500
  placeholder: "e.g., gpt-4o-mini, anthropic.claude-*",
439
501
  value: q.response.allowedModels,
440
- onChange: (e) => Y("response", { allowedModels: e.target.value })
502
+ onChange: (e) => X("response", { allowedModels: e.target.value })
441
503
  })
442
- }), /* @__PURE__ */ b(p, {
504
+ }), /* @__PURE__ */ x(h, {
443
505
  label: "Allowed Providers",
444
506
  description: "Comma-separated provider types, e.g. OPENAI, ANTHROPIC, AWS_BEDROCK.",
445
- children: /* @__PURE__ */ b(m, {
507
+ children: /* @__PURE__ */ x(g, {
446
508
  placeholder: "e.g., AWS_BEDROCK, ANTHROPIC",
447
509
  value: q.response.allowedProviders,
448
- onChange: (e) => Y("response", { allowedProviders: e.target.value })
510
+ onChange: (e) => X("response", { allowedProviders: e.target.value })
449
511
  })
450
512
  })]
451
513
  })] }),
452
- U.type === "RETENTION" && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ x(d, {
514
+ U.type === "RESPONSE" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
515
+ className: "flex items-center gap-2",
516
+ children: [/* @__PURE__ */ x(D, { size: 18 }), "Response Style, Length And Citations"]
517
+ }), /* @__PURE__ */ x(d, { children: "Persona, tone, formality, structure and formatting are given to the model as instructions. The token limit caps every model call and longer answers are cut to the length limit. Leave a field empty to not set it." })] }), /* @__PURE__ */ S(u, {
518
+ className: "space-y-4",
519
+ children: [
520
+ /* @__PURE__ */ x(h, {
521
+ label: "Persona",
522
+ description: "Who the agent speaks as. Up to 2000 characters.",
523
+ children: /* @__PURE__ */ x(_, {
524
+ rows: 3,
525
+ maxLength: 2e3,
526
+ placeholder: "e.g., A patient support specialist for Acme Cloud",
527
+ value: q.response.persona,
528
+ onChange: (e) => X("response", { persona: e.target.value })
529
+ })
530
+ }),
531
+ /* @__PURE__ */ S("div", {
532
+ className: "grid grid-cols-1 sm:grid-cols-3 gap-4",
533
+ children: [
534
+ /* @__PURE__ */ x(h, {
535
+ label: "Tone",
536
+ children: /* @__PURE__ */ x(g, {
537
+ placeholder: "e.g., friendly, calm",
538
+ value: q.response.tone,
539
+ onChange: (e) => X("response", { tone: e.target.value })
540
+ })
541
+ }),
542
+ /* @__PURE__ */ x(h, {
543
+ label: "Formality",
544
+ children: /* @__PURE__ */ S("select", {
545
+ className: N,
546
+ value: q.response.formality,
547
+ onChange: (e) => X("response", { formality: e.target.value }),
548
+ children: [/* @__PURE__ */ x("option", {
549
+ value: "",
550
+ children: "Not set"
551
+ }), pe.map((e) => /* @__PURE__ */ x("option", {
552
+ value: e,
553
+ children: e.charAt(0) + e.slice(1).toLowerCase()
554
+ }, e))]
555
+ })
556
+ }),
557
+ /* @__PURE__ */ x(h, {
558
+ label: "Structure",
559
+ children: /* @__PURE__ */ S("select", {
560
+ className: N,
561
+ value: q.response.structure,
562
+ onChange: (e) => X("response", { structure: e.target.value }),
563
+ children: [/* @__PURE__ */ x("option", {
564
+ value: "",
565
+ children: "Not set"
566
+ }), me.map((e) => /* @__PURE__ */ x("option", {
567
+ value: e,
568
+ children: e.split("_").map((e) => e.charAt(0) + e.slice(1).toLowerCase()).join(" ")
569
+ }, e))]
570
+ })
571
+ })
572
+ ]
573
+ }),
574
+ /* @__PURE__ */ x(h, {
575
+ label: "Formatting Instructions",
576
+ children: /* @__PURE__ */ x(g, {
577
+ placeholder: "e.g., End every answer with a one-line summary",
578
+ value: q.response.formattingInstructions,
579
+ onChange: (e) => X("response", { formattingInstructions: e.target.value })
580
+ })
581
+ }),
582
+ /* @__PURE__ */ S("div", {
583
+ className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
584
+ children: [/* @__PURE__ */ x(h, {
585
+ label: "Max Response Tokens",
586
+ description: "Caps the output tokens of every model call.",
587
+ children: /* @__PURE__ */ x(g, {
588
+ type: "number",
589
+ min: 1,
590
+ placeholder: "No limit",
591
+ value: q.response.maxResponseTokens,
592
+ onChange: (e) => X("response", { maxResponseTokens: e.target.value })
593
+ })
594
+ }), /* @__PURE__ */ x(h, {
595
+ label: "Max Response Length (characters)",
596
+ description: "Longer answers are cut at a word boundary.",
597
+ children: /* @__PURE__ */ x(g, {
598
+ type: "number",
599
+ min: 1,
600
+ placeholder: "No limit",
601
+ value: q.response.maxResponseLength,
602
+ onChange: (e) => X("response", { maxResponseLength: e.target.value })
603
+ })
604
+ })]
605
+ }),
606
+ /* @__PURE__ */ S("div", {
607
+ className: "flex items-start gap-2",
608
+ children: [/* @__PURE__ */ x("input", {
609
+ type: "checkbox",
610
+ id: "require-citations",
611
+ checked: q.response.requireCitations,
612
+ onChange: (e) => X("response", { requireCitations: e.target.checked }),
613
+ className: "mt-1 h-4 w-4"
614
+ }), /* @__PURE__ */ S("label", {
615
+ htmlFor: "require-citations",
616
+ className: "text-sm",
617
+ children: [/* @__PURE__ */ x("span", {
618
+ className: "font-medium",
619
+ children: "Require citations"
620
+ }), /* @__PURE__ */ x("span", {
621
+ className: "block text-text-secondary",
622
+ children: "When knowledge-base passages ground an answer and the answer cites none of them, either add the passage references or refuse the answer."
623
+ })]
624
+ })]
625
+ }),
626
+ q.response.requireCitations && /* @__PURE__ */ x(h, {
627
+ label: "When Citations Are Missing",
628
+ children: /* @__PURE__ */ x("select", {
629
+ className: N,
630
+ value: q.response.citationMode,
631
+ onChange: (e) => X("response", { citationMode: e.target.value }),
632
+ children: ce.map((e) => /* @__PURE__ */ x("option", {
633
+ value: e,
634
+ children: e === "APPEND" ? "Add the source references" : "Refuse the answer"
635
+ }, e))
636
+ })
637
+ }),
638
+ /* @__PURE__ */ x(I, {
639
+ value: q.appliesToAgentIds,
640
+ onChange: (e) => {
641
+ Y(null), J((t) => ({
642
+ ...t,
643
+ appliesToAgentIds: e
644
+ }));
645
+ }
646
+ })
647
+ ]
648
+ })] }),
649
+ U.type === "DATA" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
453
650
  className: "flex items-center gap-2",
454
- children: [/* @__PURE__ */ b(O, { size: 18 }), "Retention Policy Configuration"]
455
- }), /* @__PURE__ */ b(l, { children: "A scheduled job erases content older than these periods every hour. With several active retention policies the shortest period applies. Leave a field empty to keep that content for the life of the workspace." })] }), /* @__PURE__ */ b(c, {
651
+ children: [/* @__PURE__ */ x(T, { size: 18 }), "Data Policy Configuration"]
652
+ }), /* @__PURE__ */ x(d, { children: "Masked values are replaced before any model, tool or log sees them. Provider, region, tool and agent rules refuse a turn that would share data outside them." })] }), /* @__PURE__ */ S(u, {
456
653
  className: "space-y-4",
457
- children: /* @__PURE__ */ x("div", {
654
+ children: [
655
+ /* @__PURE__ */ x(h, {
656
+ label: "Mask",
657
+ children: /* @__PURE__ */ x("div", {
658
+ className: "grid grid-cols-1 sm:grid-cols-2 gap-1",
659
+ children: fe.map((e) => /* @__PURE__ */ S("label", {
660
+ className: "flex items-center gap-2 text-sm",
661
+ children: [/* @__PURE__ */ x("input", {
662
+ type: "checkbox",
663
+ className: "h-4 w-4",
664
+ checked: q.data.maskPii.includes(e),
665
+ onChange: (t) => X("data", { maskPii: F(q.data.maskPii, e, t.target.checked) })
666
+ }), /* @__PURE__ */ x("span", { children: De[e] })]
667
+ }, e))
668
+ })
669
+ }),
670
+ /* @__PURE__ */ x(h, {
671
+ label: "Custom Masking Patterns",
672
+ description: "One regular expression per line; matches are replaced with [REDACTED].",
673
+ children: /* @__PURE__ */ x(_, {
674
+ rows: 3,
675
+ placeholder: "e.g., EMP-\\d{5}",
676
+ value: q.data.maskPatterns,
677
+ onChange: (e) => X("data", { maskPatterns: e.target.value })
678
+ })
679
+ }),
680
+ /* @__PURE__ */ x(h, {
681
+ label: "Allowed Regions",
682
+ description: "Comma-separated regions a model provider may process data in; end an entry with * for a prefix. A provider whose region is not recorded is refused.",
683
+ children: /* @__PURE__ */ x(g, {
684
+ placeholder: "e.g., ap-south-1, eu-*",
685
+ value: q.data.allowedRegions,
686
+ onChange: (e) => X("data", { allowedRegions: e.target.value })
687
+ })
688
+ }),
689
+ [
690
+ [
691
+ "restrictProviders",
692
+ "allowedProviders",
693
+ "Model providers",
694
+ "e.g., AWS_BEDROCK"
695
+ ],
696
+ [
697
+ "restrictMcpServers",
698
+ "allowedMcpServers",
699
+ "MCP servers",
700
+ "Connection name, id or host"
701
+ ],
702
+ [
703
+ "restrictA2AAgents",
704
+ "allowedA2AAgents",
705
+ "Agents to delegate to",
706
+ "Agent name or id"
707
+ ]
708
+ ].map(([e, t, n, r]) => /* @__PURE__ */ S("div", {
709
+ className: "space-y-2",
710
+ children: [/* @__PURE__ */ S("label", {
711
+ className: "flex items-center gap-2 text-sm",
712
+ children: [/* @__PURE__ */ x("input", {
713
+ type: "checkbox",
714
+ className: "h-4 w-4",
715
+ checked: q.data[e],
716
+ onChange: (t) => X("data", { [e]: t.target.checked })
717
+ }), /* @__PURE__ */ S("span", {
718
+ className: "font-medium",
719
+ children: ["Only share with these ", n.toLowerCase()]
720
+ })]
721
+ }), q.data[e] && /* @__PURE__ */ x(g, {
722
+ "aria-label": `Allowed ${n}`,
723
+ placeholder: `${r}; comma-separated, empty = none`,
724
+ value: q.data[t],
725
+ onChange: (e) => X("data", { [t]: e.target.value })
726
+ })]
727
+ }, e)),
728
+ /* @__PURE__ */ x(h, {
729
+ label: "Allowed Knowledge Classifications",
730
+ description: "Knowledge bases are classified by metadata.classification. Leave all unchecked to not restrict retrieval.",
731
+ children: /* @__PURE__ */ x("div", {
732
+ className: "grid grid-cols-1 sm:grid-cols-3 gap-1",
733
+ children: de.map((e) => /* @__PURE__ */ S("label", {
734
+ className: "flex items-center gap-2 text-sm",
735
+ children: [/* @__PURE__ */ x("input", {
736
+ type: "checkbox",
737
+ className: "h-4 w-4",
738
+ checked: q.data.allowedClassifications.includes(e),
739
+ onChange: (t) => X("data", { allowedClassifications: F(q.data.allowedClassifications, e, t.target.checked) })
740
+ }), /* @__PURE__ */ x("span", { children: e.charAt(0) + e.slice(1).toLowerCase() })]
741
+ }, e))
742
+ })
743
+ }),
744
+ /* @__PURE__ */ x(h, {
745
+ label: "Blocked Knowledge Labels",
746
+ description: "Comma-separated; knowledge bases with any of these labels (metadata.labels) are never retrieved.",
747
+ children: /* @__PURE__ */ x(g, {
748
+ placeholder: "e.g., hr, legal",
749
+ value: q.data.blockedLabels,
750
+ onChange: (e) => X("data", { blockedLabels: e.target.value })
751
+ })
752
+ }),
753
+ /* @__PURE__ */ x(I, {
754
+ value: q.appliesToAgentIds,
755
+ onChange: (e) => {
756
+ Y(null), J((t) => ({
757
+ ...t,
758
+ appliesToAgentIds: e
759
+ }));
760
+ }
761
+ })
762
+ ]
763
+ })] }),
764
+ U.type === "RETENTION" && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ S(p, {
765
+ className: "flex items-center gap-2",
766
+ children: [/* @__PURE__ */ x(A, { size: 18 }), "Retention Policy Configuration"]
767
+ }), /* @__PURE__ */ x(d, { children: "A scheduled job erases content older than these periods every hour. With several active retention policies the shortest period applies. Leave a field empty to keep that content for the life of the workspace." })] }), /* @__PURE__ */ x(u, {
768
+ className: "space-y-4",
769
+ children: /* @__PURE__ */ S("div", {
458
770
  className: "grid grid-cols-1 sm:grid-cols-2 gap-4",
459
- children: [/* @__PURE__ */ b(p, {
771
+ children: [/* @__PURE__ */ x(h, {
460
772
  label: "Execution Data Retention (days)",
461
773
  description: "Inputs, outputs and errors of finished runs and agent-to-agent messages are erased this many days after the run ended; 0 keeps none. Run metrics stay.",
462
- children: /* @__PURE__ */ b(m, {
774
+ children: /* @__PURE__ */ x(g, {
463
775
  type: "number",
464
776
  min: 0,
465
777
  max: 3650,
466
778
  placeholder: "Keep",
467
779
  value: q.retention.executionDataRetentionDays,
468
- onChange: (e) => Y("retention", { executionDataRetentionDays: e.target.value })
780
+ onChange: (e) => X("retention", { executionDataRetentionDays: e.target.value })
469
781
  })
470
- }), /* @__PURE__ */ b(p, {
782
+ }), /* @__PURE__ */ x(h, {
471
783
  label: "Conversation Retention (days)",
472
784
  description: "Assistant conversations older than this are retired and erased.",
473
- children: /* @__PURE__ */ b(m, {
785
+ children: /* @__PURE__ */ x(g, {
474
786
  type: "number",
475
787
  min: 1,
476
788
  max: 3650,
477
789
  placeholder: "Keep",
478
790
  value: q.retention.conversationRetentionDays,
479
- onChange: (e) => Y("retention", { conversationRetentionDays: e.target.value })
791
+ onChange: (e) => X("retention", { conversationRetentionDays: e.target.value })
480
792
  })
481
793
  })]
482
794
  })
483
795
  })] }),
484
- Ae && /* @__PURE__ */ b("p", {
796
+ Re && /* @__PURE__ */ x("p", {
485
797
  className: "text-sm text-status-error-text",
486
798
  role: "alert",
487
- children: Ae
799
+ children: Re
488
800
  }),
489
- /* @__PURE__ */ b(s, { children: /* @__PURE__ */ b(c, {
801
+ /* @__PURE__ */ x(l, { children: /* @__PURE__ */ x(u, {
490
802
  className: "pt-6",
491
- children: /* @__PURE__ */ x("div", {
803
+ children: /* @__PURE__ */ S("div", {
492
804
  className: "flex items-start gap-2",
493
- children: [/* @__PURE__ */ b("input", {
805
+ children: [/* @__PURE__ */ x("input", {
494
806
  type: "checkbox",
495
807
  id: "activate-on-create",
496
- checked: X,
497
- onChange: (e) => je(e.target.checked),
808
+ checked: ze,
809
+ onChange: (e) => Be(e.target.checked),
498
810
  className: "mt-1 h-4 w-4"
499
- }), /* @__PURE__ */ x("label", {
811
+ }), /* @__PURE__ */ S("label", {
500
812
  htmlFor: "activate-on-create",
501
813
  className: "text-sm",
502
- children: [/* @__PURE__ */ b("span", {
814
+ children: [/* @__PURE__ */ x("span", {
503
815
  className: "font-medium",
504
816
  children: "Enforce immediately"
505
- }), /* @__PURE__ */ b("span", {
817
+ }), /* @__PURE__ */ x("span", {
506
818
  className: "block text-text-secondary",
507
819
  children: "Only active policies are enforced. Leave unchecked to save this policy as a draft and activate it later."
508
820
  })]
@@ -512,119 +824,119 @@ var xe = [
512
824
  ]
513
825
  })
514
826
  });
515
- if (Ce) return /* @__PURE__ */ b(o, {
827
+ if (Oe) return /* @__PURE__ */ x(s, {
516
828
  title: "Loading...",
517
- children: /* @__PURE__ */ b("div", { className: "h-96 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" })
829
+ children: /* @__PURE__ */ x("div", { className: "h-96 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" })
518
830
  });
519
- if (!I) return /* @__PURE__ */ b(o, {
831
+ if (!B) return /* @__PURE__ */ x(s, {
520
832
  title: "Policy Not Found",
521
- children: /* @__PURE__ */ b(ee, {
833
+ children: /* @__PURE__ */ x(c, {
522
834
  illustration: "empty-generic",
523
835
  title: "Policy Not Found",
524
836
  description: "This policy doesn't exist.",
525
- action: /* @__PURE__ */ b(f, {
526
- onClick: () => F("policies"),
837
+ action: /* @__PURE__ */ x(m, {
838
+ onClick: () => z("policies"),
527
839
  children: "Back to Policies"
528
840
  })
529
841
  })
530
842
  });
531
- let Q = _(I.type, xe, "CONTENT"), $ = pe(Q, I.config);
532
- return /* @__PURE__ */ b(o, {
533
- title: /* @__PURE__ */ x("div", {
843
+ let Q = oe(B.type, Te, "CONTENT"), $ = ve(Q, B.config);
844
+ return /* @__PURE__ */ x(s, {
845
+ title: /* @__PURE__ */ S("div", {
534
846
  className: "flex items-center gap-3",
535
847
  children: [
536
- /* @__PURE__ */ b(f, {
848
+ /* @__PURE__ */ x(m, {
537
849
  variant: "ghost",
538
850
  size: "icon",
539
- onClick: () => F("policies"),
540
- children: /* @__PURE__ */ b(ge, { size: 20 })
851
+ onClick: () => z("policies"),
852
+ children: /* @__PURE__ */ x(xe, { size: 20 })
541
853
  }),
542
- /* @__PURE__ */ b("div", {
854
+ /* @__PURE__ */ x("div", {
543
855
  className: "p-2 rounded-lg bg-action-primary-bg/10",
544
- children: /* @__PURE__ */ b(M, { type: Q })
856
+ children: /* @__PURE__ */ x(P, { type: Q })
545
857
  }),
546
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ x("div", {
858
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ S("div", {
547
859
  className: "flex items-center gap-2",
548
- children: [/* @__PURE__ */ b("span", { children: I.name }), /* @__PURE__ */ b(ne, { status: I.status })]
549
- }), /* @__PURE__ */ b("p", {
860
+ children: [/* @__PURE__ */ x("span", { children: B.name }), /* @__PURE__ */ x(te, { status: B.status })]
861
+ }), /* @__PURE__ */ x("p", {
550
862
  className: "text-sm font-normal text-text-secondary",
551
- children: I.description
863
+ children: B.description
552
864
  })] })
553
865
  ]
554
866
  }),
555
- actions: /* @__PURE__ */ b("div", {
867
+ actions: /* @__PURE__ */ x("div", {
556
868
  className: "flex gap-2",
557
- children: B ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(f, {
869
+ children: Fe ? /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(m, {
558
870
  variant: "outline",
559
- onClick: () => V(!1),
871
+ onClick: () => H(!1),
560
872
  children: "Cancel"
561
- }), /* @__PURE__ */ b(f, {
562
- leftIcon: /* @__PURE__ */ b(E, { size: 16 }),
563
- onClick: Ne,
564
- isLoading: z,
873
+ }), /* @__PURE__ */ x(m, {
874
+ leftIcon: /* @__PURE__ */ x(O, { size: 16 }),
875
+ onClick: He,
876
+ isLoading: Me,
565
877
  disabled: !G.name,
566
878
  children: "Save Changes"
567
- })] }) : /* @__PURE__ */ x(y, { children: [
568
- /* @__PURE__ */ b(a, {
569
- permission: i.POLICY_UPDATE,
570
- children: /* @__PURE__ */ b(f, {
879
+ })] }) : /* @__PURE__ */ S(b, { children: [
880
+ /* @__PURE__ */ x(o, {
881
+ permission: a.POLICY_UPDATE,
882
+ children: /* @__PURE__ */ x(m, {
571
883
  variant: Z ? "outline" : "default",
572
- leftIcon: /* @__PURE__ */ b(ye, { size: 16 }),
573
- onClick: () => void Fe(),
574
- isLoading: z,
884
+ leftIcon: /* @__PURE__ */ x(Ce, { size: 16 }),
885
+ onClick: () => void We(),
886
+ isLoading: Me,
575
887
  children: Z ? "Deactivate" : "Activate"
576
888
  })
577
889
  }),
578
- /* @__PURE__ */ b(a, {
579
- permission: i.POLICY_UPDATE,
580
- children: /* @__PURE__ */ b(f, {
890
+ /* @__PURE__ */ x(o, {
891
+ permission: a.POLICY_UPDATE,
892
+ children: /* @__PURE__ */ x(m, {
581
893
  variant: "outline",
582
- leftIcon: /* @__PURE__ */ b(ve, { size: 16 }),
583
- onClick: Ie,
894
+ leftIcon: /* @__PURE__ */ x(Se, { size: 16 }),
895
+ onClick: Ge,
584
896
  children: "Edit"
585
897
  })
586
898
  }),
587
- Oe ? /* @__PURE__ */ x("div", {
899
+ Ie ? /* @__PURE__ */ S("div", {
588
900
  className: "flex gap-2",
589
- children: [/* @__PURE__ */ b(f, {
901
+ children: [/* @__PURE__ */ x(m, {
590
902
  variant: "outline",
591
903
  size: "sm",
592
- onClick: () => H(!1),
904
+ onClick: () => Le(!1),
593
905
  children: "Cancel"
594
- }), /* @__PURE__ */ b(f, {
906
+ }), /* @__PURE__ */ x(m, {
595
907
  variant: "destructive",
596
908
  size: "sm",
597
909
  onClick: () => {
598
- n("medium"), Pe();
910
+ r("medium"), Ue();
599
911
  },
600
- isLoading: De,
912
+ isLoading: Pe,
601
913
  children: "Confirm Delete"
602
914
  })]
603
- }) : /* @__PURE__ */ b(a, {
604
- permission: i.POLICY_DELETE,
605
- children: /* @__PURE__ */ b(f, {
915
+ }) : /* @__PURE__ */ x(o, {
916
+ permission: a.POLICY_DELETE,
917
+ children: /* @__PURE__ */ x(m, {
606
918
  variant: "destructive",
607
- leftIcon: /* @__PURE__ */ b(O, { size: 16 }),
608
- onClick: () => H(!0),
919
+ leftIcon: /* @__PURE__ */ x(A, { size: 16 }),
920
+ onClick: () => Le(!0),
609
921
  children: "Delete"
610
922
  })
611
923
  })
612
924
  ] })
613
925
  }),
614
- children: /* @__PURE__ */ x("div", {
926
+ children: /* @__PURE__ */ S("div", {
615
927
  className: "space-y-6",
616
928
  children: [
617
- /* @__PURE__ */ b(me, {
618
- icon: /* @__PURE__ */ b(D, { size: 18 }),
929
+ /* @__PURE__ */ x(ye, {
930
+ icon: /* @__PURE__ */ x(k, { size: 18 }),
619
931
  children: "This is a single guardrail and its rules. Review and tune exactly what it enforces — what content to block, which tools are allowed, the spend or rate limits it applies — then attach it to the agents and bots that should obey it. Policies are how you keep agents safe, compliant and within budget."
620
932
  }),
621
- B && /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ b(u, { children: /* @__PURE__ */ b(d, { children: "Edit Policy" }) }), /* @__PURE__ */ x(c, {
933
+ Fe && /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(f, { children: /* @__PURE__ */ x(p, { children: "Edit Policy" }) }), /* @__PURE__ */ S(u, {
622
934
  className: "space-y-4",
623
935
  children: [
624
- /* @__PURE__ */ b(p, {
936
+ /* @__PURE__ */ x(h, {
625
937
  label: "Policy Name",
626
938
  required: !0,
627
- children: /* @__PURE__ */ b(m, {
939
+ children: /* @__PURE__ */ x(g, {
628
940
  value: G.name,
629
941
  onChange: (e) => K({
630
942
  ...G,
@@ -632,9 +944,9 @@ var xe = [
632
944
  })
633
945
  })
634
946
  }),
635
- /* @__PURE__ */ b(p, {
947
+ /* @__PURE__ */ x(h, {
636
948
  label: "Description",
637
- children: /* @__PURE__ */ b(h, {
949
+ children: /* @__PURE__ */ x(_, {
638
950
  value: G.description,
639
951
  onChange: (e) => K({
640
952
  ...G,
@@ -643,152 +955,152 @@ var xe = [
643
955
  rows: 3
644
956
  })
645
957
  }),
646
- /* @__PURE__ */ b(p, {
958
+ /* @__PURE__ */ x(h, {
647
959
  label: "Visibility",
648
- children: /* @__PURE__ */ x("select", {
649
- className: j,
960
+ children: /* @__PURE__ */ S("select", {
961
+ className: N,
650
962
  value: G.visibility,
651
963
  onChange: (e) => K({
652
964
  ...G,
653
965
  visibility: e.target.value
654
966
  }),
655
967
  children: [
656
- /* @__PURE__ */ b("option", {
968
+ /* @__PURE__ */ x("option", {
657
969
  value: "PRIVATE",
658
970
  children: "Private"
659
971
  }),
660
- /* @__PURE__ */ b("option", {
972
+ /* @__PURE__ */ x("option", {
661
973
  value: "WORKSPACE",
662
974
  children: "Workspace"
663
975
  }),
664
- /* @__PURE__ */ b("option", {
976
+ /* @__PURE__ */ x("option", {
665
977
  value: "PUBLIC",
666
978
  children: "Public"
667
979
  })
668
980
  ]
669
981
  })
670
982
  }),
671
- /* @__PURE__ */ b("p", {
983
+ /* @__PURE__ */ x("p", {
672
984
  className: "text-sm text-text-secondary",
673
985
  children: "Note: Policy type and configuration cannot be changed after creation."
674
986
  })
675
987
  ]
676
988
  })] }),
677
- /* @__PURE__ */ x("div", {
989
+ /* @__PURE__ */ S("div", {
678
990
  className: "grid grid-cols-2 md:grid-cols-4 gap-4",
679
991
  children: [
680
- /* @__PURE__ */ b(s, {
992
+ /* @__PURE__ */ x(l, {
681
993
  treatment: "glass",
682
994
  glow: !0,
683
- children: /* @__PURE__ */ x(c, {
995
+ children: /* @__PURE__ */ S(u, {
684
996
  className: "pt-6 text-center",
685
997
  children: [
686
- /* @__PURE__ */ b("div", {
998
+ /* @__PURE__ */ x("div", {
687
999
  className: "p-3 rounded-full bg-action-primary-bg/10 w-fit mx-auto mb-2",
688
- children: /* @__PURE__ */ b(M, { type: Q })
1000
+ children: /* @__PURE__ */ x(P, { type: Q })
689
1001
  }),
690
- /* @__PURE__ */ b("p", {
1002
+ /* @__PURE__ */ x("p", {
691
1003
  className: "text-lg font-bold",
692
- children: N[Q]
1004
+ children: L[Q]
693
1005
  }),
694
- /* @__PURE__ */ b("p", {
1006
+ /* @__PURE__ */ x("p", {
695
1007
  className: "text-sm text-text-secondary",
696
1008
  children: "Policy Type"
697
1009
  })
698
1010
  ]
699
1011
  })
700
1012
  }),
701
- /* @__PURE__ */ b(s, { children: /* @__PURE__ */ x(c, {
1013
+ /* @__PURE__ */ x(l, { children: /* @__PURE__ */ S(u, {
702
1014
  className: "pt-6 text-center",
703
- children: [/* @__PURE__ */ b("p", {
1015
+ children: [/* @__PURE__ */ x("p", {
704
1016
  className: "text-3xl font-bold text-text-primary capitalize",
705
- children: I.visibility.toLowerCase()
706
- }), /* @__PURE__ */ b("p", {
1017
+ children: B.visibility.toLowerCase()
1018
+ }), /* @__PURE__ */ x("p", {
707
1019
  className: "text-sm text-text-secondary",
708
1020
  children: "Visibility"
709
1021
  })]
710
1022
  }) }),
711
- /* @__PURE__ */ b(s, { children: /* @__PURE__ */ x(c, {
1023
+ /* @__PURE__ */ x(l, { children: /* @__PURE__ */ S(u, {
712
1024
  className: "pt-6 text-center",
713
- children: [/* @__PURE__ */ b("p", {
1025
+ children: [/* @__PURE__ */ x("p", {
714
1026
  className: "text-3xl font-bold text-text-primary",
715
- children: I.revision
716
- }), /* @__PURE__ */ b("p", {
1027
+ children: B.revision
1028
+ }), /* @__PURE__ */ x("p", {
717
1029
  className: "text-sm text-text-secondary",
718
1030
  children: "Revision"
719
1031
  })]
720
1032
  }) }),
721
- /* @__PURE__ */ b(s, { children: /* @__PURE__ */ x(c, {
1033
+ /* @__PURE__ */ x(l, { children: /* @__PURE__ */ S(u, {
722
1034
  className: "pt-6 text-center",
723
- children: [/* @__PURE__ */ b("p", {
1035
+ children: [/* @__PURE__ */ x("p", {
724
1036
  className: "text-lg font-bold text-text-primary",
725
- children: g(I.updatedAt)
726
- }), /* @__PURE__ */ b("p", {
1037
+ children: v(B.updatedAt)
1038
+ }), /* @__PURE__ */ x("p", {
727
1039
  className: "text-sm text-text-secondary",
728
1040
  children: "Last Updated"
729
1041
  })]
730
1042
  }) })
731
1043
  ]
732
1044
  }),
733
- /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ x(u, { children: [/* @__PURE__ */ b(d, { children: "Configuration" }), /* @__PURE__ */ b(l, { children: "Current policy configuration" })] }), /* @__PURE__ */ x(c, {
1045
+ /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ S(f, { children: [/* @__PURE__ */ x(p, { children: "Configuration" }), /* @__PURE__ */ x(d, { children: "Current policy configuration" })] }), /* @__PURE__ */ S(u, {
734
1046
  className: "space-y-4",
735
- children: [$ === null ? /* @__PURE__ */ x("div", {
1047
+ children: [$ === null ? /* @__PURE__ */ S("div", {
736
1048
  className: "flex items-start gap-2 p-3 bg-status-warning-bg-subtle rounded-lg text-sm",
737
1049
  "data-testid": "policy-not-enforced",
738
- children: [/* @__PURE__ */ b(S, {
1050
+ children: [/* @__PURE__ */ x(C, {
739
1051
  size: 16,
740
1052
  className: "mt-0.5 shrink-0 text-status-warning-text"
741
- }), /* @__PURE__ */ x("p", { children: [N[Q], " settings are not enforced at runtime. This policy is kept for reference only and does not restrict any agent."] })]
742
- }) : $.length > 0 ? /* @__PURE__ */ x("div", {
1053
+ }), /* @__PURE__ */ S("p", { children: [L[Q], " settings are not enforced at runtime. This policy is kept for reference only and does not restrict any agent."] })]
1054
+ }) : $.length > 0 ? /* @__PURE__ */ S("div", {
743
1055
  className: "flex items-start gap-2 p-3 bg-status-warning-bg-subtle rounded-lg text-sm",
744
1056
  "data-testid": "policy-ignored-keys",
745
- children: [/* @__PURE__ */ b(S, {
1057
+ children: [/* @__PURE__ */ x(C, {
746
1058
  size: 16,
747
1059
  className: "mt-0.5 shrink-0 text-status-warning-text"
748
- }), /* @__PURE__ */ x("p", { children: [
1060
+ }), /* @__PURE__ */ S("p", { children: [
749
1061
  "These settings are not enforced at runtime and have no effect:",
750
1062
  " ",
751
- /* @__PURE__ */ b("span", {
1063
+ /* @__PURE__ */ x("span", {
752
1064
  className: "font-mono",
753
1065
  children: $.join(", ")
754
1066
  }),
755
1067
  ". Create a new policy to use the enforced settings."
756
1068
  ] })]
757
- }) : null, /* @__PURE__ */ b("div", {
1069
+ }) : null, /* @__PURE__ */ x("div", {
758
1070
  className: "p-4 bg-bg-sunken rounded-lg font-mono text-sm overflow-auto",
759
- children: /* @__PURE__ */ b("pre", { children: JSON.stringify(I.config, null, 2) })
1071
+ children: /* @__PURE__ */ x("pre", { children: JSON.stringify(B.config, null, 2) })
760
1072
  })]
761
1073
  })] }),
762
- /* @__PURE__ */ x(s, { children: [/* @__PURE__ */ b(u, { children: /* @__PURE__ */ x(d, {
1074
+ /* @__PURE__ */ S(l, { children: [/* @__PURE__ */ x(f, { children: /* @__PURE__ */ S(p, {
763
1075
  className: "flex items-center gap-2",
764
- children: [/* @__PURE__ */ b(be, { size: 18 }), "Metadata"]
765
- }) }), /* @__PURE__ */ b(c, { children: /* @__PURE__ */ x("div", {
1076
+ children: [/* @__PURE__ */ x(we, { size: 18 }), "Metadata"]
1077
+ }) }), /* @__PURE__ */ x(u, { children: /* @__PURE__ */ S("div", {
766
1078
  className: "grid grid-cols-2 md:grid-cols-4 gap-6 text-sm",
767
1079
  children: [
768
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
1080
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
769
1081
  className: "text-text-secondary",
770
1082
  children: "Created"
771
- }), /* @__PURE__ */ b("p", {
1083
+ }), /* @__PURE__ */ x("p", {
772
1084
  className: "font-medium",
773
- children: g(I.createdAt)
1085
+ children: v(B.createdAt)
774
1086
  })] }),
775
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
1087
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
776
1088
  className: "text-text-secondary",
777
1089
  children: "Updated"
778
- }), /* @__PURE__ */ b("p", {
1090
+ }), /* @__PURE__ */ x("p", {
779
1091
  className: "font-medium",
780
- children: g(I.updatedAt)
1092
+ children: v(B.updatedAt)
781
1093
  })] }),
782
- /* @__PURE__ */ x("div", { children: [/* @__PURE__ */ b("p", {
1094
+ /* @__PURE__ */ S("div", { children: [/* @__PURE__ */ x("p", {
783
1095
  className: "text-text-secondary",
784
1096
  children: "Tags"
785
- }), /* @__PURE__ */ b("div", {
1097
+ }), /* @__PURE__ */ x("div", {
786
1098
  className: "flex gap-1",
787
- children: I.tags.length > 0 ? I.tags.map((e) => /* @__PURE__ */ b(te, {
1099
+ children: B.tags.length > 0 ? B.tags.map((e) => /* @__PURE__ */ x(ee, {
788
1100
  variant: "secondary",
789
1101
  className: "text-xs",
790
1102
  children: e
791
- }, e)) : /* @__PURE__ */ b("span", {
1103
+ }, e)) : /* @__PURE__ */ x("span", {
792
1104
  className: "text-text-secondary",
793
1105
  children: "None"
794
1106
  })
@@ -799,6 +1111,6 @@ var xe = [
799
1111
  })
800
1112
  });
801
1113
  };
802
- export { P as PolicyDetailPage };
1114
+ export { R as PolicyDetailPage };
803
1115
 
804
1116
  //# sourceMappingURL=PolicyDetailPage.js.map