@burdenoff/microfe-botmanor 2026.1118.8 → 2026.1119.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.
Files changed (35) hide show
  1. package/dist/botlit/components/A2ATrustBadge.d.ts +9 -0
  2. package/dist/botlit/components/A2ATrustBadge.js +55 -0
  3. package/dist/botlit/components/A2ATrustBadge.js.map +1 -0
  4. package/dist/botlit/components/AgentFallbackModelsPicker.d.ts +22 -0
  5. package/dist/botlit/components/AgentFallbackModelsPicker.js +109 -0
  6. package/dist/botlit/components/AgentFallbackModelsPicker.js.map +1 -0
  7. package/dist/botlit/components/ExecutionModelFallback.d.ts +25 -0
  8. package/dist/botlit/components/ExecutionModelFallback.js +114 -0
  9. package/dist/botlit/components/ExecutionModelFallback.js.map +1 -0
  10. package/dist/botlit/hooks/useA2A.d.ts +107 -9
  11. package/dist/botlit/hooks/useA2A.js +215 -80
  12. package/dist/botlit/hooks/useA2A.js.map +1 -1
  13. package/dist/botlit/hooks/useAgents.d.ts +3 -0
  14. package/dist/botlit/hooks/useAgents.js +5 -0
  15. package/dist/botlit/hooks/useAgents.js.map +1 -1
  16. package/dist/botlit/pages/A2AAgentDetailPage.js +715 -503
  17. package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
  18. package/dist/botlit/pages/A2ARegistryPage.js +278 -179
  19. package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
  20. package/dist/botlit/pages/AgentBuilderPage.js +409 -392
  21. package/dist/botlit/pages/AgentBuilderPage.js.map +1 -1
  22. package/dist/botlit/pages/ExecutionDetailPage.js +135 -133
  23. package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
  24. package/dist/botlit/pages/ExecutionsPage.js +1 -1
  25. package/dist/botlit/pages/InstalledPackagesPage.js +154 -154
  26. package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
  27. package/dist/botlit/pages/PromptStudioPage.js +172 -172
  28. package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
  29. package/dist/botlit/pages/StorePage.js +8 -8
  30. package/dist/botlit/pages/StorePage.js.map +1 -1
  31. package/dist/generated/wspace-operations.d.ts +4 -0
  32. package/dist/generated/wspace-operations.js.map +1 -1
  33. package/dist/generated/wspace-types.d.ts +20 -0
  34. package/dist/generated/wspace-types.js.map +1 -1
  35. package/package.json +1 -1
@@ -2,233 +2,332 @@ import { useBotlit as e } from "../providers/BotlitProvider.js";
2
2
  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
- import { BotmanorPermissionGate as i } from "../permissions/useBotmanorPermissions.js";
6
- import { Card as a, CardContent as o, CardDescription as s, CardHeader as c, CardTitle as l } from "../components/Card.js";
7
- import { Button as u } from "../components/Button.js";
8
- import { Input as d } from "../components/Input.js";
9
- import { Badge as f, StatusBadge as p } from "../components/Badge.js";
10
- import { EmptyState as m } from "../components/EmptyState.js";
11
- import { ErrorState as h } from "../components/ErrorState.js";
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";
12
14
  import "../hooks/index.js";
13
- import { formatRelativeTime as g } from "../utils/formatters.js";
14
- import { a2aAgentSkillCount as _, useA2AAgents as v } from "../hooks/useA2A.js";
15
+ import { a2aAgentSkillCount as oe, useA2AAgents as se } from "../hooks/useA2A.js";
16
+ import { formatRelativeTime as ce } from "../utils/formatters.js";
15
17
  import "../permissions/index.js";
16
- import { useState as y } from "react";
17
- import { GlassCard as b, PagePurpose as x } from "@burdenoff/fe-libs/ui";
18
- import { jsx as S, jsxs as C } from "react/jsx-runtime";
19
- import { Link as w } from "react-router";
20
- import { AlertCircle as T, CheckCircle as E, ExternalLink as D, Filter as O, Globe as k, Plus as A, Search as j, Shield as M, Zap as N } from "lucide-react";
18
+ import { useEffect as m, useMemo as le, useState as h } from "react";
19
+ 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 { 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";
21
23
  // src/botlit/pages/A2ARegistryPage.tsx
22
- var P = ({ level: e, t }) => {
23
- switch (e) {
24
- case "INTERNAL": return /* @__PURE__ */ C(f, {
25
- variant: "success",
26
- className: "flex items-center gap-1",
27
- children: [/* @__PURE__ */ S(M, { size: 12 }), t("botlit.a2aRegistry.trustBadge.internal", "Internal")]
28
- });
29
- case "VERIFIED_PUBLISHER": return /* @__PURE__ */ C(f, {
30
- variant: "default",
31
- className: "flex items-center gap-1",
32
- children: [/* @__PURE__ */ S(E, { size: 12 }), t("botlit.a2aRegistry.trustBadge.verified", "Verified")]
33
- });
34
- default: return /* @__PURE__ */ C(f, {
35
- variant: "outline",
36
- className: "flex items-center gap-1",
37
- children: [/* @__PURE__ */ S(T, { size: 12 }), t("botlit.a2aRegistry.trustBadge.unverified", "Unverified")]
38
- });
39
- }
40
- }, F = () => {
41
- let T = t(), { getPath: E } = e(), [F, I] = y(""), { data: L, loading: R, error: z, refetch: B } = v({ search: F });
42
- return /* @__PURE__ */ S(n, {
43
- title: T("botlit.a2aRegistry.title", "A2A Registry"),
44
- description: T("botlit.a2aRegistry.description", "Discover and connect to external agents via the Agent-to-Agent protocol"),
45
- actions: /* @__PURE__ */ S(i, {
46
- permission: r.A2A_REGISTRY_CREATE,
47
- children: /* @__PURE__ */ S(u, {
48
- leftIcon: /* @__PURE__ */ S(A, { size: 16 }),
49
- children: /* @__PURE__ */ S(w, {
50
- to: E("a2a/register"),
51
- children: T("botlit.a2aRegistry.actions.registerAgent", "Register Agent")
52
- })
53
- })
54
- }),
55
- children: /* @__PURE__ */ C("div", {
24
+ var T = 300, E = [
25
+ "DRAFT",
26
+ "ACTIVE",
27
+ "DEPRECATED",
28
+ "ARCHIVED"
29
+ ], D = [
30
+ "PRIVATE",
31
+ "WORKSPACE",
32
+ "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(() => {
36
+ if (P === I) return;
37
+ let e = window.setTimeout(() => L(P), T);
38
+ return () => window.clearTimeout(e);
39
+ }, [P, I]);
40
+ let me = le(() => ({
41
+ search: I,
42
+ status: R ? [R] : void 0,
43
+ trustLevel: B ? [B] : void 0,
44
+ visibility: H ? [H] : void 0
45
+ }), [
46
+ I,
47
+ R,
48
+ B,
49
+ 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(() => {
52
+ X && q && !G && !J && !K && Y();
53
+ }, [
54
+ X,
55
+ q,
56
+ G,
57
+ J,
58
+ K,
59
+ Y
60
+ ]);
61
+ let Q = () => {
62
+ F(""), L(""), z(""), V(""), U("");
63
+ }, $ = /* @__PURE__ */ g(ee, {
64
+ 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")
69
+ })
70
+ });
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"),
74
+ actions: $,
75
+ children: /* @__PURE__ */ _("div", {
56
76
  className: "space-y-6",
57
77
  children: [
58
- /* @__PURE__ */ S(x, {
59
- icon: /* @__PURE__ */ S(k, { size: 18 }),
60
- children: T("botlit.a2aRegistry.purpose", "The A2A (Agent-to-Agent) registry lets your bots collaborate with external agents — your own or third-party — over a shared open protocol. Register an agent by its /.well-known/agent.json card to discover its skills, set how much you trust it, and let your agents delegate tasks to it. Use this page to curate that network of partner agents.")
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.")
61
81
  }),
62
- /* @__PURE__ */ C("div", {
63
- className: "flex items-center gap-4",
64
- children: [/* @__PURE__ */ C("div", {
65
- className: "relative flex-1 max-w-md",
66
- children: [/* @__PURE__ */ S(j, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ S(d, {
67
- placeholder: T("botlit.a2aRegistry.searchPlaceholder", "Search A2A agents..."),
68
- value: F,
69
- onChange: (e) => I(e.target.value),
70
- className: "pl-9"
71
- })]
72
- }), /* @__PURE__ */ S(u, {
73
- variant: "outline",
74
- leftIcon: /* @__PURE__ */ S(O, { size: 16 }),
75
- children: T("botlit.a2aRegistry.actions.filters", "Filters")
76
- })]
82
+ /* @__PURE__ */ _("div", {
83
+ className: "flex flex-wrap items-end gap-3",
84
+ children: [
85
+ /* @__PURE__ */ _("div", {
86
+ className: "relative min-w-56 flex-1 max-w-md",
87
+ children: [
88
+ /* @__PURE__ */ g("label", {
89
+ htmlFor: "a2a-search",
90
+ className: "sr-only",
91
+ children: A("botlit.a2aRegistry.searchLabel", "Search A2A agents")
92
+ }),
93
+ /* @__PURE__ */ g(x, {
94
+ className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary",
95
+ "aria-hidden": "true"
96
+ }),
97
+ /* @__PURE__ */ g(o, {
98
+ id: "a2a-search",
99
+ type: "search",
100
+ placeholder: A("botlit.a2aRegistry.searchPlaceholder", "Search A2A agents..."),
101
+ value: P,
102
+ onChange: (e) => F(e.target.value),
103
+ className: "pl-9"
104
+ })
105
+ ]
106
+ }),
107
+ /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
108
+ htmlFor: "a2a-filter-status",
109
+ className: "mb-1 block text-xs text-text-secondary",
110
+ children: A("botlit.a2aRegistry.filters.status", "Status")
111
+ }), /* @__PURE__ */ _("select", {
112
+ id: "a2a-filter-status",
113
+ className: O,
114
+ value: R,
115
+ onChange: (e) => z(e.target.value),
116
+ children: [/* @__PURE__ */ g("option", {
117
+ value: "",
118
+ children: A("botlit.a2aRegistry.filters.anyStatus", "Any status")
119
+ }), E.map((e) => /* @__PURE__ */ g("option", {
120
+ value: e,
121
+ children: A(`botlit.status.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
122
+ }, e))]
123
+ })] }),
124
+ /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
125
+ htmlFor: "a2a-filter-trust",
126
+ className: "mb-1 block text-xs text-text-secondary",
127
+ children: A("botlit.a2aRegistry.filters.trust", "Trust level")
128
+ }), /* @__PURE__ */ _("select", {
129
+ id: "a2a-filter-trust",
130
+ className: O,
131
+ value: B,
132
+ onChange: (e) => V(e.target.value),
133
+ children: [/* @__PURE__ */ g("option", {
134
+ value: "",
135
+ children: A("botlit.a2aRegistry.filters.anyTrust", "Any trust level")
136
+ }), f.map((e) => /* @__PURE__ */ g("option", {
137
+ value: e,
138
+ children: j(e)
139
+ }, e))]
140
+ })] }),
141
+ /* @__PURE__ */ _("div", { children: [/* @__PURE__ */ g("label", {
142
+ htmlFor: "a2a-filter-visibility",
143
+ className: "mb-1 block text-xs text-text-secondary",
144
+ children: A("botlit.a2aRegistry.filters.visibility", "Visibility")
145
+ }), /* @__PURE__ */ _("select", {
146
+ id: "a2a-filter-visibility",
147
+ className: O,
148
+ value: H,
149
+ onChange: (e) => U(e.target.value),
150
+ children: [/* @__PURE__ */ g("option", {
151
+ value: "",
152
+ children: A("botlit.a2aRegistry.filters.anyVisibility", "Any visibility")
153
+ }), D.map((e) => /* @__PURE__ */ g("option", {
154
+ value: e,
155
+ children: A(`botlit.visibility.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
156
+ }, e))]
157
+ })] }),
158
+ Z && /* @__PURE__ */ g(a, {
159
+ variant: "ghost",
160
+ leftIcon: /* @__PURE__ */ g(C, { size: 16 }),
161
+ onClick: Q,
162
+ children: A("botlit.a2aRegistry.filters.clear", "Clear filters")
163
+ })
164
+ ]
77
165
  }),
78
- R ? /* @__PURE__ */ S("div", {
166
+ G ? /* @__PURE__ */ g("div", {
79
167
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
168
+ "aria-busy": "true",
80
169
  children: [
81
170
  1,
82
171
  2,
83
172
  3,
84
173
  4
85
- ].map((e) => /* @__PURE__ */ S("div", { className: "h-56 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg" }, e))
86
- }) : z ? /* @__PURE__ */ S(h, {
87
- resource: "the A2A registry",
88
- error: z,
89
- onRetry: () => void B()
90
- }) : L.length > 0 ? /* @__PURE__ */ S("div", {
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"),
177
+ error: K,
178
+ onRetry: () => void he()
179
+ }) : W.length > 0 ? /* @__PURE__ */ _(fe, { children: [/* @__PURE__ */ g("div", {
91
180
  className: "grid grid-cols-1 md:grid-cols-2 gap-4",
92
- children: L.map((e) => /* @__PURE__ */ S(w, {
93
- to: E(`a2a/${e.id}`),
94
- children: /* @__PURE__ */ C(a, {
95
- className: "h-full hover:border-primary/50 transition-colors cursor-pointer",
96
- children: [/* @__PURE__ */ S(c, { children: /* @__PURE__ */ C("div", {
97
- className: "flex items-start justify-between",
98
- children: [/* @__PURE__ */ C("div", {
99
- className: "flex items-center gap-3",
100
- children: [/* @__PURE__ */ S("div", {
101
- className: "p-2 bg-action-primary-bg/10 rounded-lg",
102
- children: /* @__PURE__ */ S(k, { className: "h-5 w-5 text-primary" })
103
- }), /* @__PURE__ */ C("div", { children: [/* @__PURE__ */ S(l, {
104
- className: "text-base",
105
- children: e.name
106
- }), /* @__PURE__ */ S(s, {
181
+ children: W.map((e) => /* @__PURE__ */ _(te, {
182
+ className: "relative h-full hover:border-primary/50 transition-colors",
183
+ children: [/* @__PURE__ */ g(ie, { children: /* @__PURE__ */ _("div", {
184
+ className: "flex items-start justify-between gap-2",
185
+ children: [/* @__PURE__ */ _("div", {
186
+ className: "flex items-center gap-3 min-w-0",
187
+ children: [/* @__PURE__ */ g("div", {
188
+ className: "p-2 bg-action-primary-bg/10 rounded-lg",
189
+ children: /* @__PURE__ */ g(y, {
190
+ className: "h-5 w-5 text-primary",
191
+ "aria-hidden": "true"
192
+ })
193
+ }), /* @__PURE__ */ _("div", {
194
+ className: "min-w-0",
195
+ children: [/* @__PURE__ */ g(i, {
196
+ className: "text-base truncate",
197
+ children: /* @__PURE__ */ g(pe, {
198
+ to: M(`a2a/${e.id}`),
199
+ className: k,
200
+ children: e.name
201
+ })
202
+ }), e.description && /* @__PURE__ */ g(re, {
107
203
  className: "text-xs line-clamp-2",
108
204
  children: e.description
109
- })] })]
110
- }), /* @__PURE__ */ S(p, { status: e.status })]
111
- }) }), /* @__PURE__ */ S(o, { children: /* @__PURE__ */ C("div", {
112
- className: "space-y-3",
113
- children: [
114
- /* @__PURE__ */ C("div", {
115
- className: "flex items-center justify-between",
116
- children: [/* @__PURE__ */ S("span", {
117
- className: "text-sm text-text-secondary",
118
- children: T("botlit.a2aRegistry.list.trustLevel", "Trust Level")
119
- }), /* @__PURE__ */ S(P, {
120
- level: e.trustLevel,
121
- t: T
122
- })]
123
- }),
124
- /* @__PURE__ */ C("div", {
125
- className: "flex items-center justify-between",
126
- children: [/* @__PURE__ */ S("span", {
127
- className: "text-sm text-text-secondary",
128
- children: T("botlit.a2aRegistry.list.availableSkills", "Available Skills")
129
- }), /* @__PURE__ */ S(f, {
130
- variant: "secondary",
131
- children: T("botlit.a2aRegistry.list.skillsCount", "{{count}} skills", { count: _(e) })
132
- })]
133
- }),
134
- /* @__PURE__ */ C("div", {
135
- className: "flex items-center gap-2 text-sm text-text-secondary",
136
- children: [/* @__PURE__ */ S(D, { size: 14 }), /* @__PURE__ */ S("span", {
205
+ })]
206
+ })]
207
+ }), /* @__PURE__ */ g(ae, { status: e.status })]
208
+ }) }), /* @__PURE__ */ g(ne, { children: /* @__PURE__ */ _("dl", {
209
+ className: "space-y-3",
210
+ children: [
211
+ /* @__PURE__ */ _("div", {
212
+ className: "flex items-center justify-between",
213
+ children: [/* @__PURE__ */ g("dt", {
214
+ 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 }) })]
217
+ }),
218
+ /* @__PURE__ */ _("div", {
219
+ className: "flex items-center justify-between",
220
+ children: [/* @__PURE__ */ g("dt", {
221
+ className: "text-sm text-text-secondary",
222
+ children: A("botlit.a2aRegistry.list.availableSkills", "Available Skills")
223
+ }), /* @__PURE__ */ g("dd", { children: /* @__PURE__ */ g(s, {
224
+ variant: "secondary",
225
+ children: A("botlit.a2aRegistry.list.skillsCount", "{{count}} skills", { count: oe(e) })
226
+ }) })]
227
+ }),
228
+ /* @__PURE__ */ _("div", {
229
+ className: "flex items-center gap-2 text-sm text-text-secondary",
230
+ children: [
231
+ /* @__PURE__ */ g("dt", {
232
+ className: "sr-only",
233
+ children: A("botlit.a2aRegistry.list.wellKnownUrl", "Well-known URL")
234
+ }),
235
+ /* @__PURE__ */ g(v, {
236
+ size: 14,
237
+ "aria-hidden": "true"
238
+ }),
239
+ /* @__PURE__ */ g("dd", {
137
240
  className: "truncate",
138
241
  children: e.wellKnownUrl ?? "—"
139
- })]
140
- }),
141
- /* @__PURE__ */ C("div", {
142
- className: "pt-3 border-t border-border-subtle flex items-center justify-between text-xs text-text-secondary",
143
- children: [/* @__PURE__ */ C("span", { children: [
144
- T("botlit.a2aRegistry.list.added", "Added"),
145
- " ",
146
- g(e.createdAt)
147
- ] }), /* @__PURE__ */ S(i, {
148
- permission: r.A2A_REGISTRY_UPDATE,
149
- children: /* @__PURE__ */ C(u, {
150
- variant: "ghost",
151
- size: "sm",
152
- className: "h-7 text-xs",
153
- children: [/* @__PURE__ */ S(N, {
154
- size: 12,
155
- className: "mr-1"
156
- }), T("botlit.a2aRegistry.actions.test", "Test")]
157
- })
158
- })]
159
- })
160
- ]
161
- }) })]
162
- })
242
+ })
243
+ ]
244
+ }),
245
+ /* @__PURE__ */ _("div", {
246
+ className: "pt-3 border-t border-border-subtle text-xs text-text-secondary",
247
+ children: [/* @__PURE__ */ g("dt", {
248
+ 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) }) })]
251
+ })
252
+ ]
253
+ }) })]
163
254
  }, e.id))
164
- }) : /* @__PURE__ */ S(m, {
165
- illustration: "empty-people",
166
- title: T("botlit.a2aRegistry.empty.title", "No A2A agents registered"),
167
- description: T("botlit.a2aRegistry.empty.description", "Register external agents to enable agent-to-agent communication and delegation."),
168
- action: /* @__PURE__ */ S(i, {
169
- permission: r.A2A_REGISTRY_CREATE,
170
- children: /* @__PURE__ */ S(u, {
171
- leftIcon: /* @__PURE__ */ S(A, { size: 16 }),
172
- children: /* @__PURE__ */ S(w, {
173
- to: E("a2a/register"),
174
- children: T("botlit.a2aRegistry.actions.registerAgent", "Register Agent")
175
- })
176
- })
255
+ }), /* @__PURE__ */ g(u, {
256
+ hasMore: q,
257
+ loadingMore: J,
258
+ onLoadMore: () => void Y(),
259
+ loadedCount: W.length
260
+ })] }) : Z ? J || q ? /* @__PURE__ */ g("div", {
261
+ className: "h-24 bg-bg-sunken motion-safe:animate-vc-shimmer rounded-lg",
262
+ "aria-busy": "true"
263
+ }) : /* @__PURE__ */ g(c, {
264
+ 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, {
268
+ variant: "outline",
269
+ onClick: Q,
270
+ children: A("botlit.a2aRegistry.filters.clear", "Clear filters")
177
271
  })
272
+ }) : /* @__PURE__ */ g(c, {
273
+ 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."),
276
+ action: $
178
277
  }),
179
- /* @__PURE__ */ C(b, {
278
+ /* @__PURE__ */ _(ue, {
180
279
  treatment: "glass",
181
280
  glow: !0,
182
281
  className: "p-6",
183
- children: [/* @__PURE__ */ C("div", {
282
+ children: [/* @__PURE__ */ _("div", {
184
283
  className: "mb-4",
185
- children: [/* @__PURE__ */ C("h2", {
284
+ children: [/* @__PURE__ */ _("h2", {
186
285
  className: "flex items-center gap-2 text-lg font-semibold tracking-tight text-text-primary",
187
- children: [/* @__PURE__ */ S(k, { size: 18 }), T("botlit.a2aRegistry.overview.title", "Agent-to-Agent Protocol")]
188
- }), /* @__PURE__ */ S("p", {
286
+ children: [/* @__PURE__ */ g(y, { size: 18 }), A("botlit.a2aRegistry.overview.title", "Agent-to-Agent Protocol")]
287
+ }), /* @__PURE__ */ g("p", {
189
288
  className: "text-sm text-text-secondary",
190
- children: T("botlit.a2aRegistry.overview.description", "A2A enables secure communication between agents across different systems")
289
+ children: A("botlit.a2aRegistry.overview.description", "What a registry entry records, and how it is used today")
191
290
  })]
192
- }), /* @__PURE__ */ C("div", {
291
+ }), /* @__PURE__ */ _("div", {
193
292
  className: "grid grid-cols-1 md:grid-cols-3 gap-6",
194
293
  children: [
195
- /* @__PURE__ */ C("div", {
294
+ /* @__PURE__ */ _("div", {
196
295
  className: "space-y-2",
197
- children: [/* @__PURE__ */ C("h4", {
296
+ children: [/* @__PURE__ */ _("h4", {
198
297
  className: "font-medium flex items-center gap-2",
199
- children: [/* @__PURE__ */ S(M, {
298
+ children: [/* @__PURE__ */ g(S, {
200
299
  size: 16,
201
300
  className: "text-primary"
202
- }), T("botlit.a2aRegistry.overview.trustTitle", "Trust Levels")]
203
- }), /* @__PURE__ */ S("ul", {
301
+ }), A("botlit.a2aRegistry.overview.trustTitle", "Trust Levels")]
302
+ }), /* @__PURE__ */ g("ul", {
204
303
  className: "text-sm text-text-secondary space-y-1",
205
- children: /* @__PURE__ */ S("li", { children: T("botlit.a2aRegistry.overview.trustDescription", "Internal: your own agents; Verified: publisher verified by BotManor; Unverified: community agents.") })
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.") })
206
305
  })]
207
306
  }),
208
- /* @__PURE__ */ C("div", {
307
+ /* @__PURE__ */ _("div", {
209
308
  className: "space-y-2",
210
- children: [/* @__PURE__ */ C("h4", {
309
+ children: [/* @__PURE__ */ _("h4", {
211
310
  className: "font-medium flex items-center gap-2",
212
- children: [/* @__PURE__ */ S(N, {
311
+ children: [/* @__PURE__ */ g(w, {
213
312
  size: 16,
214
313
  className: "text-primary"
215
- }), T("botlit.a2aRegistry.overview.capabilitiesTitle", "Capabilities")]
216
- }), /* @__PURE__ */ S("ul", {
314
+ }), A("botlit.a2aRegistry.overview.capabilitiesTitle", "Capabilities")]
315
+ }), /* @__PURE__ */ g("ul", {
217
316
  className: "text-sm text-text-secondary space-y-1",
218
- children: /* @__PURE__ */ S("li", { children: T("botlit.a2aRegistry.overview.capabilitiesDescription", "Skill discovery via agent cards, secure task delegation, and structured input/output modes.") })
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.") })
219
318
  })]
220
319
  }),
221
- /* @__PURE__ */ C("div", {
320
+ /* @__PURE__ */ _("div", {
222
321
  className: "space-y-2",
223
- children: [/* @__PURE__ */ C("h4", {
322
+ children: [/* @__PURE__ */ _("h4", {
224
323
  className: "font-medium flex items-center gap-2",
225
- children: [/* @__PURE__ */ S(D, {
324
+ children: [/* @__PURE__ */ g(v, {
226
325
  size: 16,
227
326
  className: "text-primary"
228
- }), T("botlit.a2aRegistry.overview.integrationTitle", "Integration")]
229
- }), /* @__PURE__ */ S("ul", {
327
+ }), A("botlit.a2aRegistry.overview.integrationTitle", "Integration")]
328
+ }), /* @__PURE__ */ g("ul", {
230
329
  className: "text-sm text-text-secondary space-y-1",
231
- children: /* @__PURE__ */ S("li", { children: T("botlit.a2aRegistry.overview.integrationDescription", "Discover via /.well-known/agent.json, automatic capability negotiation, and entitlement-based access control.") })
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.") })
232
331
  })]
233
332
  })
234
333
  ]
@@ -238,6 +337,6 @@ var P = ({ level: e, t }) => {
238
337
  })
239
338
  });
240
339
  };
241
- export { F as A2ARegistryPage };
340
+ export { A as A2ARegistryPage };
242
341
 
243
342
  //# sourceMappingURL=A2ARegistryPage.js.map