@burdenoff/microfe-botmanor 2026.1120.20 → 2026.1120.22

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.
Files changed (50) hide show
  1. package/dist/botlit/components/A2ACardVerificationCard.d.ts +8 -0
  2. package/dist/botlit/components/A2ACardVerificationCard.js +123 -0
  3. package/dist/botlit/components/A2ACardVerificationCard.js.map +1 -0
  4. package/dist/botlit/components/A2ARunCollaborationPanel.d.ts +4 -0
  5. package/dist/botlit/components/A2ARunCollaborationPanel.js +149 -0
  6. package/dist/botlit/components/A2ARunCollaborationPanel.js.map +1 -0
  7. package/dist/botlit/components/A2AVerificationBadge.d.ts +4 -0
  8. package/dist/botlit/components/A2AVerificationBadge.js +37 -0
  9. package/dist/botlit/components/A2AVerificationBadge.js.map +1 -0
  10. package/dist/botlit/components/AgentA2APanel.js +85 -73
  11. package/dist/botlit/components/AgentA2APanel.js.map +1 -1
  12. package/dist/botlit/hooks/index.d.ts +2 -2
  13. package/dist/botlit/hooks/index.js +9 -9
  14. package/dist/botlit/hooks/useA2A.d.ts +36 -0
  15. package/dist/botlit/hooks/useA2A.js +154 -109
  16. package/dist/botlit/hooks/useA2A.js.map +1 -1
  17. package/dist/botlit/hooks/useA2APlan.d.ts +8 -0
  18. package/dist/botlit/hooks/useA2APlan.js +24 -0
  19. package/dist/botlit/hooks/useA2APlan.js.map +1 -0
  20. package/dist/botlit/hooks/usePromptTemplates.d.ts +26 -1
  21. package/dist/botlit/hooks/usePromptTemplates.js +119 -52
  22. package/dist/botlit/hooks/usePromptTemplates.js.map +1 -1
  23. package/dist/botlit/pages/A2AAgentDetailPage.js +384 -342
  24. package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
  25. package/dist/botlit/pages/A2ARegistryPage.js +148 -140
  26. package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
  27. package/dist/botlit/pages/ExecutionDetailPage.js +172 -170
  28. package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
  29. package/dist/botlit/pages/PromptTemplateDetailPage.d.ts +5 -0
  30. package/dist/botlit/pages/PromptTemplateDetailPage.js +837 -670
  31. package/dist/botlit/pages/PromptTemplateDetailPage.js.map +1 -1
  32. package/dist/botlit/pages/PromptTemplatesPage.js +264 -245
  33. package/dist/botlit/pages/PromptTemplatesPage.js.map +1 -1
  34. package/dist/botlit/utils/a2aRunCollaboration.d.ts +37 -0
  35. package/dist/botlit/utils/a2aRunCollaboration.js +42 -0
  36. package/dist/botlit/utils/a2aRunCollaboration.js.map +1 -0
  37. package/dist/botlit/utils/a2aVerificationStatus.d.ts +11 -0
  38. package/dist/botlit/utils/a2aVerificationStatus.js +18 -0
  39. package/dist/botlit/utils/a2aVerificationStatus.js.map +1 -0
  40. package/dist/botlit/utils/leaveGuard.js +13 -12
  41. package/dist/botlit/utils/leaveGuard.js.map +1 -1
  42. package/dist/botlit/utils/promptTemplateForm.d.ts +94 -0
  43. package/dist/botlit/utils/promptTemplateForm.js +108 -0
  44. package/dist/botlit/utils/promptTemplateForm.js.map +1 -0
  45. package/dist/generated/wspace-operations.d.ts +159 -0
  46. package/dist/generated/wspace-operations.js +186 -116
  47. package/dist/generated/wspace-operations.js.map +1 -1
  48. package/dist/generated/wspace-types.d.ts +74 -1
  49. package/dist/generated/wspace-types.js.map +1 -1
  50. package/package.json +1 -1
@@ -3,41 +3,42 @@ import { useTr as t } from "../../shared/hooks/useTr.js";
3
3
  import { PageLayout as n } from "../components/PageLayout.js";
4
4
  import { BOTMANOR_PERMISSIONS as r } from "../permissions/botmanorPermissions.js";
5
5
  import { BotmanorPermissionGate as ee } from "../permissions/useBotmanorPermissions.js";
6
- import { Card as te, CardContent as ne, CardDescription as re, CardHeader as ie, CardTitle as i } from "../components/Card.js";
7
- import { Button as a } from "../components/Button.js";
8
- import { Input as o } from "../components/Input.js";
9
- import { Badge as s, StatusBadge as ae } from "../components/Badge.js";
10
- import { EmptyState as c } from "../components/EmptyState.js";
11
- import { ErrorState as l } from "../components/ErrorState.js";
12
- import { LoadMore as u } from "../components/LoadMore.js";
13
- import { A2ATrustBadge as d, A2A_TRUST_LEVELS as f, useTrustLevelLabel as p } from "../components/A2ATrustBadge.js";
14
- import "../hooks/index.js";
6
+ import { Card as te, CardContent as ne, CardDescription as re, CardHeader as i, CardTitle as a } from "../components/Card.js";
7
+ import { Button as o } from "../components/Button.js";
8
+ import { Input as s } from "../components/Input.js";
9
+ import { Badge as c, StatusBadge as l } from "../components/Badge.js";
10
+ import { EmptyState as u } from "../components/EmptyState.js";
11
+ import { ErrorState as d } from "../components/ErrorState.js";
12
+ import { LoadMore as f } from "../components/LoadMore.js";
13
+ import { A2ATrustBadge as p, A2A_TRUST_LEVELS as m, useTrustLevelLabel as ie } from "../components/A2ATrustBadge.js";
14
+ import { A2AVerificationBadge as ae } from "../components/A2AVerificationBadge.js";
15
15
  import { a2aAgentSkillCount as oe, useA2AAgents as se } from "../hooks/useA2A.js";
16
+ import "../hooks/index.js";
16
17
  import { formatRelativeTime as ce } from "../utils/formatters.js";
17
18
  import "../permissions/index.js";
18
- import { useEffect as m, useMemo as le, useState as h } from "react";
19
+ import { useEffect as h, useMemo as le, useState as g } from "react";
19
20
  import { GlassCard as ue, PagePurpose as de } from "@burdenoff/fe-libs/ui";
20
- import { Fragment as fe, jsx as g, jsxs as _ } from "react/jsx-runtime";
21
+ import { Fragment as fe, jsx as _, jsxs as v } from "react/jsx-runtime";
21
22
  import { Link as pe } from "react-router";
22
- import { ExternalLink as v, Globe as y, Plus as b, Search as x, Shield as S, X as C, Zap as w } from "lucide-react";
23
+ import { ExternalLink as y, Globe as b, Plus as x, Search as S, Shield as C, X as w, Zap as T } from "lucide-react";
23
24
  // src/botlit/pages/A2ARegistryPage.tsx
24
- var T = 300, E = [
25
+ var E = 300, D = [
25
26
  "DRAFT",
26
27
  "ACTIVE",
27
28
  "DEPRECATED",
28
29
  "ARCHIVED"
29
- ], D = [
30
+ ], O = [
30
31
  "PRIVATE",
31
32
  "WORKSPACE",
32
33
  "PUBLIC"
33
- ], O = "h-10 rounded-md border border-border-default bg-bg-surface px-3 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", k = "after:absolute after:inset-0 after:content-[\"\"] focus-visible:outline-none focus-visible:after:ring-2 focus-visible:after:ring-primary focus-visible:after:rounded-lg", A = () => {
34
- let A = t(), j = p(), { getPath: M, navigateTo: N } = e(), [P, F] = h(""), [I, L] = h(""), [R, z] = h(""), [B, V] = h(""), [H, U] = h("");
35
- m(() => {
34
+ ], k = "h-10 rounded-md border border-border-default bg-bg-surface px-3 text-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--color-focus-ring)]", A = "after:absolute after:inset-0 after:content-[\"\"] focus-visible:outline-none focus-visible:after:ring-2 focus-visible:after:ring-primary focus-visible:after:rounded-lg", j = () => {
35
+ let j = t(), M = ie(), { getPath: N, navigateTo: me } = e(), [P, F] = g(""), [I, L] = g(""), [R, z] = g(""), [B, V] = g(""), [H, U] = g("");
36
+ h(() => {
36
37
  if (P === I) return;
37
- let e = window.setTimeout(() => L(P), T);
38
+ let e = window.setTimeout(() => L(P), E);
38
39
  return () => window.clearTimeout(e);
39
40
  }, [P, I]);
40
- let me = le(() => ({
41
+ let he = le(() => ({
41
42
  search: I,
42
43
  status: R ? [R] : void 0,
43
44
  trustLevel: B ? [B] : void 0,
@@ -47,8 +48,8 @@ var T = 300, E = [
47
48
  R,
48
49
  B,
49
50
  H
50
- ]), { data: W, loading: G, error: K, refetch: he, hasMore: q, loadingMore: J, loadMore: Y } = se(me), X = I.trim().length > 0, Z = X || !!(R || B || H);
51
- m(() => {
51
+ ]), { data: W, loading: G, error: K, refetch: ge, hasMore: q, loadingMore: J, loadMore: Y } = se(he), X = I.trim().length > 0, Z = X || !!(R || B || H);
52
+ h(() => {
52
53
  X && q && !G && !J && !K && Y();
53
54
  }, [
54
55
  X,
@@ -60,110 +61,110 @@ var T = 300, E = [
60
61
  ]);
61
62
  let Q = () => {
62
63
  F(""), L(""), z(""), V(""), U("");
63
- }, $ = /* @__PURE__ */ g(ee, {
64
+ }, $ = /* @__PURE__ */ _(ee, {
64
65
  permission: r.A2A_REGISTRY_CREATE,
65
- children: /* @__PURE__ */ g(a, {
66
- leftIcon: /* @__PURE__ */ g(b, { size: 16 }),
67
- onClick: () => N("a2a/register"),
68
- children: A("botlit.a2aRegistry.actions.registerAgent", "Register Agent")
66
+ children: /* @__PURE__ */ _(o, {
67
+ leftIcon: /* @__PURE__ */ _(x, { size: 16 }),
68
+ onClick: () => me("a2a/register"),
69
+ children: j("botlit.a2aRegistry.actions.registerAgent", "Register Agent")
69
70
  })
70
71
  });
71
- return /* @__PURE__ */ g(n, {
72
- title: A("botlit.a2aRegistry.title", "A2A Registry"),
73
- description: A("botlit.a2aRegistry.description", "Record external agents that speak the Agent-to-Agent protocol"),
72
+ return /* @__PURE__ */ _(n, {
73
+ title: j("botlit.a2aRegistry.title", "A2A Registry"),
74
+ description: j("botlit.a2aRegistry.description", "Record external agents that speak the Agent-to-Agent protocol"),
74
75
  actions: $,
75
- children: /* @__PURE__ */ _("div", {
76
+ children: /* @__PURE__ */ v("div", {
76
77
  className: "space-y-6",
77
78
  children: [
78
- /* @__PURE__ */ g(de, {
79
- icon: /* @__PURE__ */ g(y, { size: 18 }),
80
- children: A("botlit.a2aRegistry.purpose", "The A2A (Agent-to-Agent) registry records external agents — your own or third-party — by their /.well-known/agent.json card: the skills they advertise, how far you trust them, and which of your agents may connect to them. Delegation currently runs between agents in this workspace; BotManor does not yet send tasks to a registered external agent.")
79
+ /* @__PURE__ */ _(de, {
80
+ icon: /* @__PURE__ */ _(b, { size: 18 }),
81
+ children: j("botlit.a2aRegistry.purpose", "The A2A (Agent-to-Agent) registry records external agents — your own or third-party — by their /.well-known/agent.json card: the skills they advertise, how far you trust them, and which of your agents may connect to them. Delegation currently runs between agents in this workspace; BotManor does not yet send tasks to a registered external agent.")
81
82
  }),
82
- /* @__PURE__ */ _("div", {
83
+ /* @__PURE__ */ v("div", {
83
84
  className: "flex flex-wrap items-end gap-3",
84
85
  children: [
85
- /* @__PURE__ */ _("div", {
86
+ /* @__PURE__ */ v("div", {
86
87
  className: "relative min-w-56 flex-1 max-w-md",
87
88
  children: [
88
- /* @__PURE__ */ g("label", {
89
+ /* @__PURE__ */ _("label", {
89
90
  htmlFor: "a2a-search",
90
91
  className: "sr-only",
91
- children: A("botlit.a2aRegistry.searchLabel", "Search A2A agents")
92
+ children: j("botlit.a2aRegistry.searchLabel", "Search A2A agents")
92
93
  }),
93
- /* @__PURE__ */ g(x, {
94
+ /* @__PURE__ */ _(S, {
94
95
  className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary",
95
96
  "aria-hidden": "true"
96
97
  }),
97
- /* @__PURE__ */ g(o, {
98
+ /* @__PURE__ */ _(s, {
98
99
  id: "a2a-search",
99
100
  type: "search",
100
- placeholder: A("botlit.a2aRegistry.searchPlaceholder", "Search A2A agents..."),
101
+ placeholder: j("botlit.a2aRegistry.searchPlaceholder", "Search A2A agents..."),
101
102
  value: P,
102
103
  onChange: (e) => F(e.target.value),
103
104
  className: "pl-9"
104
105
  })
105
106
  ]
106
107
  }),
107
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
108
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
108
109
  htmlFor: "a2a-filter-status",
109
110
  className: "mb-1 block text-xs text-text-secondary",
110
- children: A("botlit.a2aRegistry.filters.status", "Status")
111
- }), /* @__PURE__ */ _("select", {
111
+ children: j("botlit.a2aRegistry.filters.status", "Status")
112
+ }), /* @__PURE__ */ v("select", {
112
113
  id: "a2a-filter-status",
113
- className: O,
114
+ className: k,
114
115
  value: R,
115
116
  onChange: (e) => z(e.target.value),
116
- children: [/* @__PURE__ */ g("option", {
117
+ children: [/* @__PURE__ */ _("option", {
117
118
  value: "",
118
- children: A("botlit.a2aRegistry.filters.anyStatus", "Any status")
119
- }), E.map((e) => /* @__PURE__ */ g("option", {
119
+ children: j("botlit.a2aRegistry.filters.anyStatus", "Any status")
120
+ }), D.map((e) => /* @__PURE__ */ _("option", {
120
121
  value: e,
121
- children: A(`botlit.status.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
122
+ children: j(`botlit.status.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
122
123
  }, e))]
123
124
  })] }),
124
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
125
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
125
126
  htmlFor: "a2a-filter-trust",
126
127
  className: "mb-1 block text-xs text-text-secondary",
127
- children: A("botlit.a2aRegistry.filters.trust", "Trust level")
128
- }), /* @__PURE__ */ _("select", {
128
+ children: j("botlit.a2aRegistry.filters.trust", "Trust level")
129
+ }), /* @__PURE__ */ v("select", {
129
130
  id: "a2a-filter-trust",
130
- className: O,
131
+ className: k,
131
132
  value: B,
132
133
  onChange: (e) => V(e.target.value),
133
- children: [/* @__PURE__ */ g("option", {
134
+ children: [/* @__PURE__ */ _("option", {
134
135
  value: "",
135
- children: A("botlit.a2aRegistry.filters.anyTrust", "Any trust level")
136
- }), f.map((e) => /* @__PURE__ */ g("option", {
136
+ children: j("botlit.a2aRegistry.filters.anyTrust", "Any trust level")
137
+ }), m.map((e) => /* @__PURE__ */ _("option", {
137
138
  value: e,
138
- children: j(e)
139
+ children: M(e)
139
140
  }, e))]
140
141
  })] }),
141
- /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
142
+ /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("label", {
142
143
  htmlFor: "a2a-filter-visibility",
143
144
  className: "mb-1 block text-xs text-text-secondary",
144
- children: A("botlit.a2aRegistry.filters.visibility", "Visibility")
145
- }), /* @__PURE__ */ _("select", {
145
+ children: j("botlit.a2aRegistry.filters.visibility", "Visibility")
146
+ }), /* @__PURE__ */ v("select", {
146
147
  id: "a2a-filter-visibility",
147
- className: O,
148
+ className: k,
148
149
  value: H,
149
150
  onChange: (e) => U(e.target.value),
150
- children: [/* @__PURE__ */ g("option", {
151
+ children: [/* @__PURE__ */ _("option", {
151
152
  value: "",
152
- children: A("botlit.a2aRegistry.filters.anyVisibility", "Any visibility")
153
- }), D.map((e) => /* @__PURE__ */ g("option", {
153
+ children: j("botlit.a2aRegistry.filters.anyVisibility", "Any visibility")
154
+ }), O.map((e) => /* @__PURE__ */ _("option", {
154
155
  value: e,
155
- children: A(`botlit.visibility.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
156
+ children: j(`botlit.visibility.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
156
157
  }, e))]
157
158
  })] }),
158
- Z && /* @__PURE__ */ g(a, {
159
+ Z && /* @__PURE__ */ _(o, {
159
160
  variant: "ghost",
160
- leftIcon: /* @__PURE__ */ g(C, { size: 16 }),
161
+ leftIcon: /* @__PURE__ */ _(w, { size: 16 }),
161
162
  onClick: Q,
162
- children: A("botlit.a2aRegistry.filters.clear", "Clear filters")
163
+ children: j("botlit.a2aRegistry.filters.clear", "Clear filters")
163
164
  })
164
165
  ]
165
166
  }),
166
- G ? /* @__PURE__ */ g("div", {
167
+ G ? /* @__PURE__ */ _("div", {
167
168
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
168
169
  "aria-busy": "true",
169
170
  children: [
@@ -171,163 +172,170 @@ var T = 300, E = [
171
172
  2,
172
173
  3,
173
174
  4
174
- ].map((e) => /* @__PURE__ */ g("div", { className: "h-56 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
175
- }) : K ? /* @__PURE__ */ g(l, {
176
- resource: A("botlit.a2aRegistry.resource", "the A2A registry"),
175
+ ].map((e) => /* @__PURE__ */ _("div", { className: "h-56 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
176
+ }) : K ? /* @__PURE__ */ _(d, {
177
+ resource: j("botlit.a2aRegistry.resource", "the A2A registry"),
177
178
  error: K,
178
- onRetry: () => void he()
179
- }) : W.length > 0 ? /* @__PURE__ */ _(fe, { children: [/* @__PURE__ */ g("div", {
179
+ onRetry: () => void ge()
180
+ }) : W.length > 0 ? /* @__PURE__ */ v(fe, { children: [/* @__PURE__ */ _("div", {
180
181
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
181
- children: W.map((e) => /* @__PURE__ */ _(te, {
182
+ children: W.map((e) => /* @__PURE__ */ v(te, {
182
183
  className: "relative h-full hover:border-primary/50 transition-colors",
183
- children: [/* @__PURE__ */ g(ie, { children: /* @__PURE__ */ _("div", {
184
+ children: [/* @__PURE__ */ _(i, { children: /* @__PURE__ */ v("div", {
184
185
  className: "flex items-start justify-between gap-2",
185
- children: [/* @__PURE__ */ _("div", {
186
+ children: [/* @__PURE__ */ v("div", {
186
187
  className: "flex items-center gap-3 min-w-0",
187
- children: [/* @__PURE__ */ g("div", {
188
+ children: [/* @__PURE__ */ _("div", {
188
189
  className: "p-2 bg-action-primary-bg/10 rounded-lg",
189
- children: /* @__PURE__ */ g(y, {
190
+ children: /* @__PURE__ */ _(b, {
190
191
  className: "h-5 w-5 text-primary",
191
192
  "aria-hidden": "true"
192
193
  })
193
- }), /* @__PURE__ */ _("div", {
194
+ }), /* @__PURE__ */ v("div", {
194
195
  className: "min-w-0",
195
- children: [/* @__PURE__ */ g(i, {
196
+ children: [/* @__PURE__ */ _(a, {
196
197
  className: "text-base truncate",
197
- children: /* @__PURE__ */ g(pe, {
198
- to: M(`a2a/${e.id}`),
199
- className: k,
198
+ children: /* @__PURE__ */ _(pe, {
199
+ to: N(`a2a/${e.id}`),
200
+ className: A,
200
201
  children: e.name
201
202
  })
202
- }), e.description && /* @__PURE__ */ g(re, {
203
+ }), e.description && /* @__PURE__ */ _(re, {
203
204
  className: "text-xs line-clamp-2",
204
205
  children: e.description
205
206
  })]
206
207
  })]
207
- }), /* @__PURE__ */ g(ae, { status: e.status })]
208
- }) }), /* @__PURE__ */ g(ne, { children: /* @__PURE__ */ _("dl", {
208
+ }), /* @__PURE__ */ _(l, { status: e.status })]
209
+ }) }), /* @__PURE__ */ _(ne, { children: /* @__PURE__ */ v("dl", {
209
210
  className: "space-y-3",
210
211
  children: [
211
- /* @__PURE__ */ _("div", {
212
+ /* @__PURE__ */ v("div", {
213
+ className: "flex items-center justify-between",
214
+ children: [/* @__PURE__ */ _("dt", {
215
+ className: "text-sm text-text-secondary",
216
+ children: j("botlit.a2aRegistry.list.trustLevel", "Trust Level")
217
+ }), /* @__PURE__ */ _("dd", { children: /* @__PURE__ */ _(p, { level: e.trustLevel }) })]
218
+ }),
219
+ /* @__PURE__ */ v("div", {
212
220
  className: "flex items-center justify-between",
213
- children: [/* @__PURE__ */ g("dt", {
221
+ children: [/* @__PURE__ */ _("dt", {
214
222
  className: "text-sm text-text-secondary",
215
- children: A("botlit.a2aRegistry.list.trustLevel", "Trust Level")
216
- }), /* @__PURE__ */ g("dd", { children: /* @__PURE__ */ g(d, { level: e.trustLevel }) })]
223
+ children: j("botlit.a2aRegistry.list.verification", "Card")
224
+ }), /* @__PURE__ */ _("dd", { children: /* @__PURE__ */ _(ae, { status: e.verificationStatus }) })]
217
225
  }),
218
- /* @__PURE__ */ _("div", {
226
+ /* @__PURE__ */ v("div", {
219
227
  className: "flex items-center justify-between",
220
- children: [/* @__PURE__ */ g("dt", {
228
+ children: [/* @__PURE__ */ _("dt", {
221
229
  className: "text-sm text-text-secondary",
222
- children: A("botlit.a2aRegistry.list.availableSkills", "Available Skills")
223
- }), /* @__PURE__ */ g("dd", { children: /* @__PURE__ */ g(s, {
230
+ children: j("botlit.a2aRegistry.list.availableSkills", "Available Skills")
231
+ }), /* @__PURE__ */ _("dd", { children: /* @__PURE__ */ _(c, {
224
232
  variant: "secondary",
225
- children: A("botlit.a2aRegistry.list.skillsCount", "{{count}} skills", { count: oe(e) })
233
+ children: j("botlit.a2aRegistry.list.skillsCount", "{{count}} skills", { count: oe(e) })
226
234
  }) })]
227
235
  }),
228
- /* @__PURE__ */ _("div", {
236
+ /* @__PURE__ */ v("div", {
229
237
  className: "flex items-center gap-2 text-sm text-text-secondary",
230
238
  children: [
231
- /* @__PURE__ */ g("dt", {
239
+ /* @__PURE__ */ _("dt", {
232
240
  className: "sr-only",
233
- children: A("botlit.a2aRegistry.list.wellKnownUrl", "Well-known URL")
241
+ children: j("botlit.a2aRegistry.list.wellKnownUrl", "Well-known URL")
234
242
  }),
235
- /* @__PURE__ */ g(v, {
243
+ /* @__PURE__ */ _(y, {
236
244
  size: 14,
237
245
  "aria-hidden": "true"
238
246
  }),
239
- /* @__PURE__ */ g("dd", {
247
+ /* @__PURE__ */ _("dd", {
240
248
  className: "truncate",
241
249
  children: e.wellKnownUrl ?? "—"
242
250
  })
243
251
  ]
244
252
  }),
245
- /* @__PURE__ */ _("div", {
253
+ /* @__PURE__ */ v("div", {
246
254
  className: "pt-3 border-t border-border-subtle text-xs text-text-secondary",
247
- children: [/* @__PURE__ */ g("dt", {
255
+ children: [/* @__PURE__ */ _("dt", {
248
256
  className: "sr-only",
249
- children: A("botlit.a2aRegistry.list.added", "Added")
250
- }), /* @__PURE__ */ g("dd", { children: A("botlit.a2aRegistry.list.addedAgo", "Added {{time}}", { time: ce(e.createdAt) }) })]
257
+ children: j("botlit.a2aRegistry.list.added", "Added")
258
+ }), /* @__PURE__ */ _("dd", { children: j("botlit.a2aRegistry.list.addedAgo", "Added {{time}}", { time: ce(e.createdAt) }) })]
251
259
  })
252
260
  ]
253
261
  }) })]
254
262
  }, e.id))
255
- }), /* @__PURE__ */ g(u, {
263
+ }), /* @__PURE__ */ _(f, {
256
264
  hasMore: q,
257
265
  loadingMore: J,
258
266
  onLoadMore: () => void Y(),
259
267
  loadedCount: W.length
260
- })] }) : Z ? J || q ? /* @__PURE__ */ g("div", {
268
+ })] }) : Z ? J || q ? /* @__PURE__ */ _("div", {
261
269
  className: "h-24 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg",
262
270
  "aria-busy": "true"
263
- }) : /* @__PURE__ */ g(c, {
271
+ }) : /* @__PURE__ */ _(u, {
264
272
  illustration: "empty-search",
265
- title: A("botlit.a2aRegistry.noResults.title", "No agents match"),
266
- description: A("botlit.a2aRegistry.noResults.description", "No registered agent matches this search and these filters."),
267
- action: /* @__PURE__ */ g(a, {
273
+ title: j("botlit.a2aRegistry.noResults.title", "No agents match"),
274
+ description: j("botlit.a2aRegistry.noResults.description", "No registered agent matches this search and these filters."),
275
+ action: /* @__PURE__ */ _(o, {
268
276
  variant: "outline",
269
277
  onClick: Q,
270
- children: A("botlit.a2aRegistry.filters.clear", "Clear filters")
278
+ children: j("botlit.a2aRegistry.filters.clear", "Clear filters")
271
279
  })
272
- }) : /* @__PURE__ */ g(c, {
280
+ }) : /* @__PURE__ */ _(u, {
273
281
  illustration: "empty-people",
274
- title: A("botlit.a2aRegistry.empty.title", "No A2A agents registered"),
275
- description: A("botlit.a2aRegistry.empty.description", "Register an external agent by its agent card to record its skills, trust level and which of your agents may connect to it."),
282
+ title: j("botlit.a2aRegistry.empty.title", "No A2A agents registered"),
283
+ description: j("botlit.a2aRegistry.empty.description", "Register an external agent by its agent card to record its skills, trust level and which of your agents may connect to it."),
276
284
  action: $
277
285
  }),
278
- /* @__PURE__ */ _(ue, {
286
+ /* @__PURE__ */ v(ue, {
279
287
  treatment: "glass",
280
288
  glow: !0,
281
289
  className: "p-6",
282
- children: [/* @__PURE__ */ _("div", {
290
+ children: [/* @__PURE__ */ v("div", {
283
291
  className: "mb-4",
284
- children: [/* @__PURE__ */ _("h2", {
292
+ children: [/* @__PURE__ */ v("h2", {
285
293
  className: "flex items-center gap-2 text-lg font-semibold tracking-tight text-text-primary",
286
- children: [/* @__PURE__ */ g(y, { size: 18 }), A("botlit.a2aRegistry.overview.title", "Agent-to-Agent Protocol")]
287
- }), /* @__PURE__ */ g("p", {
294
+ children: [/* @__PURE__ */ _(b, { size: 18 }), j("botlit.a2aRegistry.overview.title", "Agent-to-Agent Protocol")]
295
+ }), /* @__PURE__ */ _("p", {
288
296
  className: "text-sm text-text-secondary",
289
- children: A("botlit.a2aRegistry.overview.description", "What a registry entry records, and how it is used today")
297
+ children: j("botlit.a2aRegistry.overview.description", "What a registry entry records, and how it is used today")
290
298
  })]
291
- }), /* @__PURE__ */ _("div", {
299
+ }), /* @__PURE__ */ v("div", {
292
300
  className: "grid grid-cols-1 md:grid-cols-3 gap-6",
293
301
  children: [
294
- /* @__PURE__ */ _("div", {
302
+ /* @__PURE__ */ v("div", {
295
303
  className: "space-y-2",
296
- children: [/* @__PURE__ */ _("h4", {
304
+ children: [/* @__PURE__ */ v("h4", {
297
305
  className: "font-medium flex items-center gap-2",
298
- children: [/* @__PURE__ */ g(S, {
306
+ children: [/* @__PURE__ */ _(C, {
299
307
  size: 16,
300
308
  className: "text-primary"
301
- }), A("botlit.a2aRegistry.overview.trustTitle", "Trust Levels")]
302
- }), /* @__PURE__ */ g("ul", {
309
+ }), j("botlit.a2aRegistry.overview.trustTitle", "Trust Levels")]
310
+ }), /* @__PURE__ */ _("ul", {
303
311
  className: "text-sm text-text-secondary space-y-1",
304
- children: /* @__PURE__ */ g("li", { children: A("botlit.a2aRegistry.overview.trustDescription", "Every entry starts as Unverified. Trust is raised only by verifying the agent's published card, never by choosing it in a form; a workspace TOOL policy sets the minimum trust a connection needs.") })
312
+ children: /* @__PURE__ */ _("li", { children: j("botlit.a2aRegistry.overview.trustDescription", "Every entry starts as Unverified. Trust is raised only by verifying the agent's published card, never by choosing it in a form; a workspace TOOL policy sets the minimum trust a connection needs.") })
305
313
  })]
306
314
  }),
307
- /* @__PURE__ */ _("div", {
315
+ /* @__PURE__ */ v("div", {
308
316
  className: "space-y-2",
309
- children: [/* @__PURE__ */ _("h4", {
317
+ children: [/* @__PURE__ */ v("h4", {
310
318
  className: "font-medium flex items-center gap-2",
311
- children: [/* @__PURE__ */ g(w, {
319
+ children: [/* @__PURE__ */ _(T, {
312
320
  size: 16,
313
321
  className: "text-primary"
314
- }), A("botlit.a2aRegistry.overview.capabilitiesTitle", "Capabilities")]
315
- }), /* @__PURE__ */ g("ul", {
322
+ }), j("botlit.a2aRegistry.overview.capabilitiesTitle", "Capabilities")]
323
+ }), /* @__PURE__ */ _("ul", {
316
324
  className: "text-sm text-text-secondary space-y-1",
317
- children: /* @__PURE__ */ g("li", { children: A("botlit.a2aRegistry.overview.capabilitiesDescription", "Skills, input and output modes read from the agent card. Sending tasks to an external agent is not available yet.") })
325
+ children: /* @__PURE__ */ _("li", { children: j("botlit.a2aRegistry.overview.capabilitiesDescription", "Skills, input and output modes read from the agent card. Sending tasks to an external agent is not available yet.") })
318
326
  })]
319
327
  }),
320
- /* @__PURE__ */ _("div", {
328
+ /* @__PURE__ */ v("div", {
321
329
  className: "space-y-2",
322
- children: [/* @__PURE__ */ _("h4", {
330
+ children: [/* @__PURE__ */ v("h4", {
323
331
  className: "font-medium flex items-center gap-2",
324
- children: [/* @__PURE__ */ g(v, {
332
+ children: [/* @__PURE__ */ _(y, {
325
333
  size: 16,
326
334
  className: "text-primary"
327
- }), A("botlit.a2aRegistry.overview.integrationTitle", "Integration")]
328
- }), /* @__PURE__ */ g("ul", {
335
+ }), j("botlit.a2aRegistry.overview.integrationTitle", "Integration")]
336
+ }), /* @__PURE__ */ _("ul", {
329
337
  className: "text-sm text-text-secondary space-y-1",
330
- children: /* @__PURE__ */ g("li", { children: A("botlit.a2aRegistry.overview.integrationDescription", "Register by the /.well-known/agent.json card. Entitlements decide which of your agents may connect; an entry without any refuses every connection.") })
338
+ children: /* @__PURE__ */ _("li", { children: j("botlit.a2aRegistry.overview.integrationDescription", "Register by the /.well-known/agent.json card. Entitlements decide which of your agents may connect; an entry without any refuses every connection.") })
331
339
  })]
332
340
  })
333
341
  ]
@@ -337,6 +345,6 @@ var T = 300, E = [
337
345
  })
338
346
  });
339
347
  };
340
- export { A as A2ARegistryPage };
348
+ export { j as A2ARegistryPage };
341
349
 
342
350
  //# sourceMappingURL=A2ARegistryPage.js.map