@burdenoff/microfe-botmanor 2026.1120.21 → 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.
- package/dist/botlit/components/A2ACardVerificationCard.d.ts +8 -0
- package/dist/botlit/components/A2ACardVerificationCard.js +123 -0
- package/dist/botlit/components/A2ACardVerificationCard.js.map +1 -0
- package/dist/botlit/components/A2ARunCollaborationPanel.d.ts +4 -0
- package/dist/botlit/components/A2ARunCollaborationPanel.js +149 -0
- package/dist/botlit/components/A2ARunCollaborationPanel.js.map +1 -0
- package/dist/botlit/components/A2AVerificationBadge.d.ts +4 -0
- package/dist/botlit/components/A2AVerificationBadge.js +37 -0
- package/dist/botlit/components/A2AVerificationBadge.js.map +1 -0
- package/dist/botlit/components/AgentA2APanel.js +85 -73
- package/dist/botlit/components/AgentA2APanel.js.map +1 -1
- package/dist/botlit/hooks/index.d.ts +1 -1
- package/dist/botlit/hooks/useA2A.d.ts +36 -0
- package/dist/botlit/hooks/useA2A.js +154 -109
- package/dist/botlit/hooks/useA2A.js.map +1 -1
- package/dist/botlit/hooks/useA2APlan.d.ts +8 -0
- package/dist/botlit/hooks/useA2APlan.js +24 -0
- package/dist/botlit/hooks/useA2APlan.js.map +1 -0
- package/dist/botlit/pages/A2AAgentDetailPage.js +384 -342
- package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/A2ARegistryPage.js +148 -140
- package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
- package/dist/botlit/pages/ExecutionDetailPage.js +172 -170
- package/dist/botlit/pages/ExecutionDetailPage.js.map +1 -1
- package/dist/botlit/utils/a2aRunCollaboration.d.ts +37 -0
- package/dist/botlit/utils/a2aRunCollaboration.js +42 -0
- package/dist/botlit/utils/a2aRunCollaboration.js.map +1 -0
- package/dist/botlit/utils/a2aVerificationStatus.d.ts +11 -0
- package/dist/botlit/utils/a2aVerificationStatus.js +18 -0
- package/dist/botlit/utils/a2aVerificationStatus.js.map +1 -0
- package/dist/generated/wspace-operations.d.ts +159 -0
- package/dist/generated/wspace-operations.js +186 -114
- package/dist/generated/wspace-operations.js.map +1 -1
- package/dist/generated/wspace-types.d.ts +74 -1
- package/dist/generated/wspace-types.js.map +1 -1
- 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
|
|
7
|
-
import { Button as
|
|
8
|
-
import { Input as
|
|
9
|
-
import { Badge as
|
|
10
|
-
import { EmptyState as
|
|
11
|
-
import { ErrorState as
|
|
12
|
-
import { LoadMore as
|
|
13
|
-
import { A2ATrustBadge as
|
|
14
|
-
import "../
|
|
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
|
|
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
|
|
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
|
|
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
|
|
25
|
+
var E = 300, D = [
|
|
25
26
|
"DRAFT",
|
|
26
27
|
"ACTIVE",
|
|
27
28
|
"DEPRECATED",
|
|
28
29
|
"ARCHIVED"
|
|
29
|
-
],
|
|
30
|
+
], O = [
|
|
30
31
|
"PRIVATE",
|
|
31
32
|
"WORKSPACE",
|
|
32
33
|
"PUBLIC"
|
|
33
|
-
],
|
|
34
|
-
let
|
|
35
|
-
|
|
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),
|
|
38
|
+
let e = window.setTimeout(() => L(P), E);
|
|
38
39
|
return () => window.clearTimeout(e);
|
|
39
40
|
}, [P, I]);
|
|
40
|
-
let
|
|
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:
|
|
51
|
-
|
|
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__ */
|
|
64
|
+
}, $ = /* @__PURE__ */ _(ee, {
|
|
64
65
|
permission: r.A2A_REGISTRY_CREATE,
|
|
65
|
-
children: /* @__PURE__ */
|
|
66
|
-
leftIcon: /* @__PURE__ */
|
|
67
|
-
onClick: () =>
|
|
68
|
-
children:
|
|
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__ */
|
|
72
|
-
title:
|
|
73
|
-
description:
|
|
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__ */
|
|
76
|
+
children: /* @__PURE__ */ v("div", {
|
|
76
77
|
className: "space-y-6",
|
|
77
78
|
children: [
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
icon: /* @__PURE__ */
|
|
80
|
-
children:
|
|
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__ */
|
|
83
|
+
/* @__PURE__ */ v("div", {
|
|
83
84
|
className: "flex flex-wrap items-end gap-3",
|
|
84
85
|
children: [
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ v("div", {
|
|
86
87
|
className: "relative min-w-56 flex-1 max-w-md",
|
|
87
88
|
children: [
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ _("label", {
|
|
89
90
|
htmlFor: "a2a-search",
|
|
90
91
|
className: "sr-only",
|
|
91
|
-
children:
|
|
92
|
+
children: j("botlit.a2aRegistry.searchLabel", "Search A2A agents")
|
|
92
93
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
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__ */
|
|
98
|
+
/* @__PURE__ */ _(s, {
|
|
98
99
|
id: "a2a-search",
|
|
99
100
|
type: "search",
|
|
100
|
-
placeholder:
|
|
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__ */
|
|
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:
|
|
111
|
-
}), /* @__PURE__ */
|
|
111
|
+
children: j("botlit.a2aRegistry.filters.status", "Status")
|
|
112
|
+
}), /* @__PURE__ */ v("select", {
|
|
112
113
|
id: "a2a-filter-status",
|
|
113
|
-
className:
|
|
114
|
+
className: k,
|
|
114
115
|
value: R,
|
|
115
116
|
onChange: (e) => z(e.target.value),
|
|
116
|
-
children: [/* @__PURE__ */
|
|
117
|
+
children: [/* @__PURE__ */ _("option", {
|
|
117
118
|
value: "",
|
|
118
|
-
children:
|
|
119
|
-
}),
|
|
119
|
+
children: j("botlit.a2aRegistry.filters.anyStatus", "Any status")
|
|
120
|
+
}), D.map((e) => /* @__PURE__ */ _("option", {
|
|
120
121
|
value: e,
|
|
121
|
-
children:
|
|
122
|
+
children: j(`botlit.status.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
|
|
122
123
|
}, e))]
|
|
123
124
|
})] }),
|
|
124
|
-
/* @__PURE__ */
|
|
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:
|
|
128
|
-
}), /* @__PURE__ */
|
|
128
|
+
children: j("botlit.a2aRegistry.filters.trust", "Trust level")
|
|
129
|
+
}), /* @__PURE__ */ v("select", {
|
|
129
130
|
id: "a2a-filter-trust",
|
|
130
|
-
className:
|
|
131
|
+
className: k,
|
|
131
132
|
value: B,
|
|
132
133
|
onChange: (e) => V(e.target.value),
|
|
133
|
-
children: [/* @__PURE__ */
|
|
134
|
+
children: [/* @__PURE__ */ _("option", {
|
|
134
135
|
value: "",
|
|
135
|
-
children:
|
|
136
|
-
}),
|
|
136
|
+
children: j("botlit.a2aRegistry.filters.anyTrust", "Any trust level")
|
|
137
|
+
}), m.map((e) => /* @__PURE__ */ _("option", {
|
|
137
138
|
value: e,
|
|
138
|
-
children:
|
|
139
|
+
children: M(e)
|
|
139
140
|
}, e))]
|
|
140
141
|
})] }),
|
|
141
|
-
/* @__PURE__ */
|
|
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:
|
|
145
|
-
}), /* @__PURE__ */
|
|
145
|
+
children: j("botlit.a2aRegistry.filters.visibility", "Visibility")
|
|
146
|
+
}), /* @__PURE__ */ v("select", {
|
|
146
147
|
id: "a2a-filter-visibility",
|
|
147
|
-
className:
|
|
148
|
+
className: k,
|
|
148
149
|
value: H,
|
|
149
150
|
onChange: (e) => U(e.target.value),
|
|
150
|
-
children: [/* @__PURE__ */
|
|
151
|
+
children: [/* @__PURE__ */ _("option", {
|
|
151
152
|
value: "",
|
|
152
|
-
children:
|
|
153
|
-
}),
|
|
153
|
+
children: j("botlit.a2aRegistry.filters.anyVisibility", "Any visibility")
|
|
154
|
+
}), O.map((e) => /* @__PURE__ */ _("option", {
|
|
154
155
|
value: e,
|
|
155
|
-
children:
|
|
156
|
+
children: j(`botlit.visibility.${e.toLowerCase()}`, e.charAt(0) + e.slice(1).toLowerCase())
|
|
156
157
|
}, e))]
|
|
157
158
|
})] }),
|
|
158
|
-
Z && /* @__PURE__ */
|
|
159
|
+
Z && /* @__PURE__ */ _(o, {
|
|
159
160
|
variant: "ghost",
|
|
160
|
-
leftIcon: /* @__PURE__ */
|
|
161
|
+
leftIcon: /* @__PURE__ */ _(w, { size: 16 }),
|
|
161
162
|
onClick: Q,
|
|
162
|
-
children:
|
|
163
|
+
children: j("botlit.a2aRegistry.filters.clear", "Clear filters")
|
|
163
164
|
})
|
|
164
165
|
]
|
|
165
166
|
}),
|
|
166
|
-
G ? /* @__PURE__ */
|
|
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__ */
|
|
175
|
-
}) : K ? /* @__PURE__ */
|
|
176
|
-
resource:
|
|
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
|
|
179
|
-
}) : W.length > 0 ? /* @__PURE__ */
|
|
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__ */
|
|
182
|
+
children: W.map((e) => /* @__PURE__ */ v(te, {
|
|
182
183
|
className: "relative h-full hover:border-primary/50 transition-colors",
|
|
183
|
-
children: [/* @__PURE__ */
|
|
184
|
+
children: [/* @__PURE__ */ _(i, { children: /* @__PURE__ */ v("div", {
|
|
184
185
|
className: "flex items-start justify-between gap-2",
|
|
185
|
-
children: [/* @__PURE__ */
|
|
186
|
+
children: [/* @__PURE__ */ v("div", {
|
|
186
187
|
className: "flex items-center gap-3 min-w-0",
|
|
187
|
-
children: [/* @__PURE__ */
|
|
188
|
+
children: [/* @__PURE__ */ _("div", {
|
|
188
189
|
className: "p-2 bg-action-primary-bg/10 rounded-lg",
|
|
189
|
-
children: /* @__PURE__ */
|
|
190
|
+
children: /* @__PURE__ */ _(b, {
|
|
190
191
|
className: "h-5 w-5 text-primary",
|
|
191
192
|
"aria-hidden": "true"
|
|
192
193
|
})
|
|
193
|
-
}), /* @__PURE__ */
|
|
194
|
+
}), /* @__PURE__ */ v("div", {
|
|
194
195
|
className: "min-w-0",
|
|
195
|
-
children: [/* @__PURE__ */
|
|
196
|
+
children: [/* @__PURE__ */ _(a, {
|
|
196
197
|
className: "text-base truncate",
|
|
197
|
-
children: /* @__PURE__ */
|
|
198
|
-
to:
|
|
199
|
-
className:
|
|
198
|
+
children: /* @__PURE__ */ _(pe, {
|
|
199
|
+
to: N(`a2a/${e.id}`),
|
|
200
|
+
className: A,
|
|
200
201
|
children: e.name
|
|
201
202
|
})
|
|
202
|
-
}), e.description && /* @__PURE__ */
|
|
203
|
+
}), e.description && /* @__PURE__ */ _(re, {
|
|
203
204
|
className: "text-xs line-clamp-2",
|
|
204
205
|
children: e.description
|
|
205
206
|
})]
|
|
206
207
|
})]
|
|
207
|
-
}), /* @__PURE__ */
|
|
208
|
-
}) }), /* @__PURE__ */
|
|
208
|
+
}), /* @__PURE__ */ _(l, { status: e.status })]
|
|
209
|
+
}) }), /* @__PURE__ */ _(ne, { children: /* @__PURE__ */ v("dl", {
|
|
209
210
|
className: "space-y-3",
|
|
210
211
|
children: [
|
|
211
|
-
/* @__PURE__ */
|
|
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__ */
|
|
221
|
+
children: [/* @__PURE__ */ _("dt", {
|
|
214
222
|
className: "text-sm text-text-secondary",
|
|
215
|
-
children:
|
|
216
|
-
}), /* @__PURE__ */
|
|
223
|
+
children: j("botlit.a2aRegistry.list.verification", "Card")
|
|
224
|
+
}), /* @__PURE__ */ _("dd", { children: /* @__PURE__ */ _(ae, { status: e.verificationStatus }) })]
|
|
217
225
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
226
|
+
/* @__PURE__ */ v("div", {
|
|
219
227
|
className: "flex items-center justify-between",
|
|
220
|
-
children: [/* @__PURE__ */
|
|
228
|
+
children: [/* @__PURE__ */ _("dt", {
|
|
221
229
|
className: "text-sm text-text-secondary",
|
|
222
|
-
children:
|
|
223
|
-
}), /* @__PURE__ */
|
|
230
|
+
children: j("botlit.a2aRegistry.list.availableSkills", "Available Skills")
|
|
231
|
+
}), /* @__PURE__ */ _("dd", { children: /* @__PURE__ */ _(c, {
|
|
224
232
|
variant: "secondary",
|
|
225
|
-
children:
|
|
233
|
+
children: j("botlit.a2aRegistry.list.skillsCount", "{{count}} skills", { count: oe(e) })
|
|
226
234
|
}) })]
|
|
227
235
|
}),
|
|
228
|
-
/* @__PURE__ */
|
|
236
|
+
/* @__PURE__ */ v("div", {
|
|
229
237
|
className: "flex items-center gap-2 text-sm text-text-secondary",
|
|
230
238
|
children: [
|
|
231
|
-
/* @__PURE__ */
|
|
239
|
+
/* @__PURE__ */ _("dt", {
|
|
232
240
|
className: "sr-only",
|
|
233
|
-
children:
|
|
241
|
+
children: j("botlit.a2aRegistry.list.wellKnownUrl", "Well-known URL")
|
|
234
242
|
}),
|
|
235
|
-
/* @__PURE__ */
|
|
243
|
+
/* @__PURE__ */ _(y, {
|
|
236
244
|
size: 14,
|
|
237
245
|
"aria-hidden": "true"
|
|
238
246
|
}),
|
|
239
|
-
/* @__PURE__ */
|
|
247
|
+
/* @__PURE__ */ _("dd", {
|
|
240
248
|
className: "truncate",
|
|
241
249
|
children: e.wellKnownUrl ?? "—"
|
|
242
250
|
})
|
|
243
251
|
]
|
|
244
252
|
}),
|
|
245
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ v("div", {
|
|
246
254
|
className: "pt-3 border-t border-border-subtle text-xs text-text-secondary",
|
|
247
|
-
children: [/* @__PURE__ */
|
|
255
|
+
children: [/* @__PURE__ */ _("dt", {
|
|
248
256
|
className: "sr-only",
|
|
249
|
-
children:
|
|
250
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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__ */
|
|
271
|
+
}) : /* @__PURE__ */ _(u, {
|
|
264
272
|
illustration: "empty-search",
|
|
265
|
-
title:
|
|
266
|
-
description:
|
|
267
|
-
action: /* @__PURE__ */
|
|
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:
|
|
278
|
+
children: j("botlit.a2aRegistry.filters.clear", "Clear filters")
|
|
271
279
|
})
|
|
272
|
-
}) : /* @__PURE__ */
|
|
280
|
+
}) : /* @__PURE__ */ _(u, {
|
|
273
281
|
illustration: "empty-people",
|
|
274
|
-
title:
|
|
275
|
-
description:
|
|
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__ */
|
|
286
|
+
/* @__PURE__ */ v(ue, {
|
|
279
287
|
treatment: "glass",
|
|
280
288
|
glow: !0,
|
|
281
289
|
className: "p-6",
|
|
282
|
-
children: [/* @__PURE__ */
|
|
290
|
+
children: [/* @__PURE__ */ v("div", {
|
|
283
291
|
className: "mb-4",
|
|
284
|
-
children: [/* @__PURE__ */
|
|
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__ */
|
|
287
|
-
}), /* @__PURE__ */
|
|
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:
|
|
297
|
+
children: j("botlit.a2aRegistry.overview.description", "What a registry entry records, and how it is used today")
|
|
290
298
|
})]
|
|
291
|
-
}), /* @__PURE__ */
|
|
299
|
+
}), /* @__PURE__ */ v("div", {
|
|
292
300
|
className: "grid grid-cols-1 md:grid-cols-3 gap-6",
|
|
293
301
|
children: [
|
|
294
|
-
/* @__PURE__ */
|
|
302
|
+
/* @__PURE__ */ v("div", {
|
|
295
303
|
className: "space-y-2",
|
|
296
|
-
children: [/* @__PURE__ */
|
|
304
|
+
children: [/* @__PURE__ */ v("h4", {
|
|
297
305
|
className: "font-medium flex items-center gap-2",
|
|
298
|
-
children: [/* @__PURE__ */
|
|
306
|
+
children: [/* @__PURE__ */ _(C, {
|
|
299
307
|
size: 16,
|
|
300
308
|
className: "text-primary"
|
|
301
|
-
}),
|
|
302
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
315
|
+
/* @__PURE__ */ v("div", {
|
|
308
316
|
className: "space-y-2",
|
|
309
|
-
children: [/* @__PURE__ */
|
|
317
|
+
children: [/* @__PURE__ */ v("h4", {
|
|
310
318
|
className: "font-medium flex items-center gap-2",
|
|
311
|
-
children: [/* @__PURE__ */
|
|
319
|
+
children: [/* @__PURE__ */ _(T, {
|
|
312
320
|
size: 16,
|
|
313
321
|
className: "text-primary"
|
|
314
|
-
}),
|
|
315
|
-
}), /* @__PURE__ */
|
|
322
|
+
}), j("botlit.a2aRegistry.overview.capabilitiesTitle", "Capabilities")]
|
|
323
|
+
}), /* @__PURE__ */ _("ul", {
|
|
316
324
|
className: "text-sm text-text-secondary space-y-1",
|
|
317
|
-
children: /* @__PURE__ */
|
|
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__ */
|
|
328
|
+
/* @__PURE__ */ v("div", {
|
|
321
329
|
className: "space-y-2",
|
|
322
|
-
children: [/* @__PURE__ */
|
|
330
|
+
children: [/* @__PURE__ */ v("h4", {
|
|
323
331
|
className: "font-medium flex items-center gap-2",
|
|
324
|
-
children: [/* @__PURE__ */
|
|
332
|
+
children: [/* @__PURE__ */ _(y, {
|
|
325
333
|
size: 16,
|
|
326
334
|
className: "text-primary"
|
|
327
|
-
}),
|
|
328
|
-
}), /* @__PURE__ */
|
|
335
|
+
}), j("botlit.a2aRegistry.overview.integrationTitle", "Integration")]
|
|
336
|
+
}), /* @__PURE__ */ _("ul", {
|
|
329
337
|
className: "text-sm text-text-secondary space-y-1",
|
|
330
|
-
children: /* @__PURE__ */
|
|
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 {
|
|
348
|
+
export { j as A2ARegistryPage };
|
|
341
349
|
|
|
342
350
|
//# sourceMappingURL=A2ARegistryPage.js.map
|