@burdenoff/microfe-botmanor 2026.1118.7 → 2026.1119.1
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/A2ATrustBadge.d.ts +9 -0
- package/dist/botlit/components/A2ATrustBadge.js +55 -0
- package/dist/botlit/components/A2ATrustBadge.js.map +1 -0
- package/dist/botlit/components/ChannelSelectorSheet.d.ts +9 -2
- package/dist/botlit/components/ChannelSelectorSheet.js.map +1 -1
- package/dist/botlit/hooks/index.d.ts +1 -1
- package/dist/botlit/hooks/index.js +14 -14
- package/dist/botlit/hooks/internal/globalWorkspaceScope.d.ts +15 -0
- package/dist/botlit/hooks/internal/globalWorkspaceScope.js +21 -0
- package/dist/botlit/hooks/internal/globalWorkspaceScope.js.map +1 -0
- package/dist/botlit/hooks/internal/workspaceGateway.d.ts +7 -0
- package/dist/botlit/hooks/internal/workspaceGateway.js +42 -22
- package/dist/botlit/hooks/internal/workspaceGateway.js.map +1 -1
- package/dist/botlit/hooks/useA2A.d.ts +107 -9
- package/dist/botlit/hooks/useA2A.js +215 -80
- package/dist/botlit/hooks/useA2A.js.map +1 -1
- package/dist/botlit/hooks/useChannelSetup.d.ts +2 -1
- package/dist/botlit/hooks/useChannelSetup.js +61 -52
- package/dist/botlit/hooks/useChannelSetup.js.map +1 -1
- package/dist/botlit/hooks/useChannels.d.ts +9 -0
- package/dist/botlit/hooks/useChannels.js +83 -73
- package/dist/botlit/hooks/useChannels.js.map +1 -1
- package/dist/botlit/hooks/useUserPlatformConnection.js +98 -78
- package/dist/botlit/hooks/useUserPlatformConnection.js.map +1 -1
- package/dist/botlit/pages/A2AAgentDetailPage.js +715 -503
- package/dist/botlit/pages/A2AAgentDetailPage.js.map +1 -1
- package/dist/botlit/pages/A2ARegistryPage.js +278 -179
- package/dist/botlit/pages/A2ARegistryPage.js.map +1 -1
- package/dist/botlit/pages/BotChannelsTab.js +457 -242
- package/dist/botlit/pages/BotChannelsTab.js.map +1 -1
- package/dist/botlit/pages/ExecutionsPage.js +1 -1
- package/dist/botlit/pages/InstalledPackagesPage.js +154 -154
- package/dist/botlit/pages/InstalledPackagesPage.js.map +1 -1
- package/dist/botlit/pages/PromptStudioPage.js +172 -172
- package/dist/botlit/pages/PromptStudioPage.js.map +1 -1
- package/dist/botlit/pages/StorePage.js +8 -8
- package/dist/botlit/pages/StorePage.js.map +1 -1
- package/dist/botlit/permissions/index.js +3 -3
- package/dist/botlit/permissions/useBotmanorPermissions.js +5 -2
- package/dist/botlit/permissions/useBotmanorPermissions.js.map +1 -1
- 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
|
|
6
|
-
import { Card as
|
|
7
|
-
import { Button as
|
|
8
|
-
import { Input as
|
|
9
|
-
import { Badge as
|
|
10
|
-
import { EmptyState as
|
|
11
|
-
import { ErrorState as
|
|
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 {
|
|
14
|
-
import {
|
|
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
|
|
17
|
-
import { GlassCard as
|
|
18
|
-
import { jsx as
|
|
19
|
-
import { Link as
|
|
20
|
-
import {
|
|
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
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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__ */
|
|
59
|
-
icon: /* @__PURE__ */
|
|
60
|
-
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.")
|
|
61
81
|
}),
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
className: "flex items-
|
|
64
|
-
children: [
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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
|
-
|
|
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__ */
|
|
86
|
-
}) :
|
|
87
|
-
resource: "the A2A registry",
|
|
88
|
-
error:
|
|
89
|
-
onRetry: () => void
|
|
90
|
-
}) :
|
|
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:
|
|
93
|
-
|
|
94
|
-
children: /* @__PURE__ */
|
|
95
|
-
className: "
|
|
96
|
-
children: [/* @__PURE__ */
|
|
97
|
-
className: "flex items-
|
|
98
|
-
children: [/* @__PURE__ */
|
|
99
|
-
className: "
|
|
100
|
-
children:
|
|
101
|
-
className: "
|
|
102
|
-
|
|
103
|
-
})
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
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
|
-
})
|
|
111
|
-
})
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
/* @__PURE__ */
|
|
125
|
-
className: "
|
|
126
|
-
children:
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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
|
-
})
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
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__ */
|
|
278
|
+
/* @__PURE__ */ _(ue, {
|
|
180
279
|
treatment: "glass",
|
|
181
280
|
glow: !0,
|
|
182
281
|
className: "p-6",
|
|
183
|
-
children: [/* @__PURE__ */
|
|
282
|
+
children: [/* @__PURE__ */ _("div", {
|
|
184
283
|
className: "mb-4",
|
|
185
|
-
children: [/* @__PURE__ */
|
|
284
|
+
children: [/* @__PURE__ */ _("h2", {
|
|
186
285
|
className: "flex items-center gap-2 text-lg font-semibold tracking-tight text-text-primary",
|
|
187
|
-
children: [/* @__PURE__ */
|
|
188
|
-
}), /* @__PURE__ */
|
|
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:
|
|
289
|
+
children: A("botlit.a2aRegistry.overview.description", "What a registry entry records, and how it is used today")
|
|
191
290
|
})]
|
|
192
|
-
}), /* @__PURE__ */
|
|
291
|
+
}), /* @__PURE__ */ _("div", {
|
|
193
292
|
className: "grid grid-cols-1 md:grid-cols-3 gap-6",
|
|
194
293
|
children: [
|
|
195
|
-
/* @__PURE__ */
|
|
294
|
+
/* @__PURE__ */ _("div", {
|
|
196
295
|
className: "space-y-2",
|
|
197
|
-
children: [/* @__PURE__ */
|
|
296
|
+
children: [/* @__PURE__ */ _("h4", {
|
|
198
297
|
className: "font-medium flex items-center gap-2",
|
|
199
|
-
children: [/* @__PURE__ */ S
|
|
298
|
+
children: [/* @__PURE__ */ g(S, {
|
|
200
299
|
size: 16,
|
|
201
300
|
className: "text-primary"
|
|
202
|
-
}),
|
|
203
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
307
|
+
/* @__PURE__ */ _("div", {
|
|
209
308
|
className: "space-y-2",
|
|
210
|
-
children: [/* @__PURE__ */
|
|
309
|
+
children: [/* @__PURE__ */ _("h4", {
|
|
211
310
|
className: "font-medium flex items-center gap-2",
|
|
212
|
-
children: [/* @__PURE__ */
|
|
311
|
+
children: [/* @__PURE__ */ g(w, {
|
|
213
312
|
size: 16,
|
|
214
313
|
className: "text-primary"
|
|
215
|
-
}),
|
|
216
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
320
|
+
/* @__PURE__ */ _("div", {
|
|
222
321
|
className: "space-y-2",
|
|
223
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ _("h4", {
|
|
224
323
|
className: "font-medium flex items-center gap-2",
|
|
225
|
-
children: [/* @__PURE__ */
|
|
324
|
+
children: [/* @__PURE__ */ g(v, {
|
|
226
325
|
size: 16,
|
|
227
326
|
className: "text-primary"
|
|
228
|
-
}),
|
|
229
|
-
}), /* @__PURE__ */
|
|
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__ */
|
|
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 {
|
|
340
|
+
export { A as A2ARegistryPage };
|
|
242
341
|
|
|
243
342
|
//# sourceMappingURL=A2ARegistryPage.js.map
|