@agentdiscuss/mcp-server 0.1.0
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/.env.example +4 -0
- package/README.md +387 -0
- package/dist/agentic-api/client.d.ts +34 -0
- package/dist/agentic-api/client.js +143 -0
- package/dist/agentic-api/client.js.map +1 -0
- package/dist/agentic-api/types.d.ts +125 -0
- package/dist/agentic-api/types.js +2 -0
- package/dist/agentic-api/types.js.map +1 -0
- package/dist/catalog/discovery.d.ts +5 -0
- package/dist/catalog/discovery.js +83 -0
- package/dist/catalog/discovery.js.map +1 -0
- package/dist/config/capabilities.d.ts +4 -0
- package/dist/config/capabilities.js +881 -0
- package/dist/config/capabilities.js.map +1 -0
- package/dist/config/constants.d.ts +13 -0
- package/dist/config/constants.js +79 -0
- package/dist/config/constants.js.map +1 -0
- package/dist/config/domains.d.ts +3 -0
- package/dist/config/domains.js +79 -0
- package/dist/config/domains.js.map +1 -0
- package/dist/config/env.d.ts +8 -0
- package/dist/config/env.js +26 -0
- package/dist/config/env.js.map +1 -0
- package/dist/http/app.d.ts +3 -0
- package/dist/http/app.js +81 -0
- package/dist/http/app.js.map +1 -0
- package/dist/http/routes/capabilities.d.ts +3 -0
- package/dist/http/routes/capabilities.js +55 -0
- package/dist/http/routes/capabilities.js.map +1 -0
- package/dist/http/routes/domains.d.ts +3 -0
- package/dist/http/routes/domains.js +17 -0
- package/dist/http/routes/domains.js.map +1 -0
- package/dist/http/routes/health.d.ts +2 -0
- package/dist/http/routes/health.js +15 -0
- package/dist/http/routes/health.js.map +1 -0
- package/dist/http/routes/manifest.d.ts +3 -0
- package/dist/http/routes/manifest.js +16 -0
- package/dist/http/routes/manifest.js.map +1 -0
- package/dist/http/routes/root.d.ts +3 -0
- package/dist/http/routes/root.js +338 -0
- package/dist/http/routes/root.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +43 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/server.d.ts +4 -0
- package/dist/mcp/server.js +41 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tool-catalog.d.ts +27 -0
- package/dist/mcp/tool-catalog.js +204 -0
- package/dist/mcp/tool-catalog.js.map +1 -0
- package/dist/mcp/tools/execute-capability.d.ts +3 -0
- package/dist/mcp/tools/execute-capability.js +50 -0
- package/dist/mcp/tools/execute-capability.js.map +1 -0
- package/dist/mcp/tools/generated-capability-tool.d.ts +4 -0
- package/dist/mcp/tools/generated-capability-tool.js +51 -0
- package/dist/mcp/tools/generated-capability-tool.js.map +1 -0
- package/dist/mcp/tools/get-capability-contract.d.ts +3 -0
- package/dist/mcp/tools/get-capability-contract.js +20 -0
- package/dist/mcp/tools/get-capability-contract.js.map +1 -0
- package/dist/mcp/tools/list-capability-tools.d.ts +3 -0
- package/dist/mcp/tools/list-capability-tools.js +36 -0
- package/dist/mcp/tools/list-capability-tools.js.map +1 -0
- package/dist/mcp/tools/list-domains.d.ts +3 -0
- package/dist/mcp/tools/list-domains.js +24 -0
- package/dist/mcp/tools/list-domains.js.map +1 -0
- package/dist/mcp/tools/recommend-capability-route.d.ts +3 -0
- package/dist/mcp/tools/recommend-capability-route.js +50 -0
- package/dist/mcp/tools/recommend-capability-route.js.map +1 -0
- package/dist/mcp/tools/schemas.d.ts +56 -0
- package/dist/mcp/tools/schemas.js +141 -0
- package/dist/mcp/tools/schemas.js.map +1 -0
- package/dist/mcp/tools/utils.d.ts +58 -0
- package/dist/mcp/tools/utils.js +194 -0
- package/dist/mcp/tools/utils.js.map +1 -0
- package/package.json +49 -0
|
@@ -0,0 +1,881 @@
|
|
|
1
|
+
function defineCapabilities(domain, capabilities) {
|
|
2
|
+
return capabilities.map((capability) => ({
|
|
3
|
+
...capability,
|
|
4
|
+
domain,
|
|
5
|
+
}));
|
|
6
|
+
}
|
|
7
|
+
// TODO: Replace this static fallback map with upstream-first discovery once the
|
|
8
|
+
// public Agentic API capability catalog is guaranteed across all environments.
|
|
9
|
+
export const FALLBACK_CAPABILITIES_BY_DOMAIN = {
|
|
10
|
+
email: defineCapabilities("email", [
|
|
11
|
+
{
|
|
12
|
+
capability: "send",
|
|
13
|
+
key: "email.send",
|
|
14
|
+
label: "Send Email",
|
|
15
|
+
description: "Send an outbound email through the routed email surface.",
|
|
16
|
+
status: "live",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
capability: "inbox-acquire",
|
|
20
|
+
key: "email.inbox.acquire",
|
|
21
|
+
label: "Acquire Inbox",
|
|
22
|
+
description: "Provision a managed inbox for future reads and sends.",
|
|
23
|
+
status: "live",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
capability: "inbox-status",
|
|
27
|
+
key: "email.inbox.status",
|
|
28
|
+
label: "Inbox Status",
|
|
29
|
+
description: "Inspect the lifecycle state of a managed inbox.",
|
|
30
|
+
status: "live",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
capability: "inbox-topup",
|
|
34
|
+
key: "email.inbox.topup",
|
|
35
|
+
label: "Inbox Topup",
|
|
36
|
+
description: "Extend or top up a managed inbox lifecycle.",
|
|
37
|
+
status: "live",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
capability: "inbox-update",
|
|
41
|
+
key: "email.inbox.update",
|
|
42
|
+
label: "Inbox Update",
|
|
43
|
+
description: "Update inbox forwarding or retention configuration.",
|
|
44
|
+
status: "live",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
capability: "inbox-cancel",
|
|
48
|
+
key: "email.inbox.cancel",
|
|
49
|
+
label: "Inbox Cancel",
|
|
50
|
+
description: "Cancel a managed inbox lifecycle.",
|
|
51
|
+
status: "live",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
capability: "inbox-messages-list",
|
|
55
|
+
key: "email.inbox.messages.list",
|
|
56
|
+
label: "List Inbox Messages",
|
|
57
|
+
description: "List messages inside a managed inbox.",
|
|
58
|
+
status: "live",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
capability: "inbox-messages-read",
|
|
62
|
+
key: "email.inbox.messages.read",
|
|
63
|
+
label: "Read Inbox Message",
|
|
64
|
+
description: "Read one managed inbox message.",
|
|
65
|
+
status: "live",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
capability: "inbox-messages-delete",
|
|
69
|
+
key: "email.inbox.messages.delete",
|
|
70
|
+
label: "Delete Inbox Message",
|
|
71
|
+
description: "Delete one message from a managed inbox.",
|
|
72
|
+
status: "live",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
capability: "subdomain-buy",
|
|
76
|
+
key: "email.subdomain.buy",
|
|
77
|
+
label: "Buy Email Subdomain",
|
|
78
|
+
description: "Provision a branded email subdomain.",
|
|
79
|
+
status: "live",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
capability: "subdomain-status",
|
|
83
|
+
key: "email.subdomain.status",
|
|
84
|
+
label: "Subdomain Status",
|
|
85
|
+
description: "Inspect branded subdomain status and readiness.",
|
|
86
|
+
status: "live",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
capability: "subdomain-update",
|
|
90
|
+
key: "email.subdomain.update",
|
|
91
|
+
label: "Subdomain Update",
|
|
92
|
+
description: "Update settings for a branded subdomain.",
|
|
93
|
+
status: "live",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
capability: "subdomain-send",
|
|
97
|
+
key: "email.subdomain.send",
|
|
98
|
+
label: "Subdomain Send",
|
|
99
|
+
description: "Send mail from a branded subdomain flow.",
|
|
100
|
+
status: "live",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
capability: "subdomain-signers-list",
|
|
104
|
+
key: "email.subdomain.signers.list",
|
|
105
|
+
label: "List Subdomain Signers",
|
|
106
|
+
description: "List verified signers for a branded subdomain.",
|
|
107
|
+
status: "live",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
capability: "subdomain-signers-create",
|
|
111
|
+
key: "email.subdomain.signers.create",
|
|
112
|
+
label: "Create Subdomain Signer",
|
|
113
|
+
description: "Create a signer identity for a branded subdomain.",
|
|
114
|
+
status: "live",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
capability: "subdomain-signers-delete",
|
|
118
|
+
key: "email.subdomain.signers.delete",
|
|
119
|
+
label: "Delete Subdomain Signer",
|
|
120
|
+
description: "Delete a signer identity from a branded subdomain.",
|
|
121
|
+
status: "live",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
capability: "subdomain-inbox-create",
|
|
125
|
+
key: "email.subdomain.inbox.create",
|
|
126
|
+
label: "Create Subdomain Inbox",
|
|
127
|
+
description: "Create an inbox under a branded email subdomain.",
|
|
128
|
+
status: "live",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
capability: "subdomain-inbox-list",
|
|
132
|
+
key: "email.subdomain.inbox.list",
|
|
133
|
+
label: "List Subdomain Inboxes",
|
|
134
|
+
description: "List inboxes provisioned under a branded subdomain.",
|
|
135
|
+
status: "live",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
capability: "subdomain-inbox-update",
|
|
139
|
+
key: "email.subdomain.inbox.update",
|
|
140
|
+
label: "Update Subdomain Inbox",
|
|
141
|
+
description: "Update inbox configuration under a branded subdomain.",
|
|
142
|
+
status: "live",
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
capability: "subdomain-inbox-delete",
|
|
146
|
+
key: "email.subdomain.inbox.delete",
|
|
147
|
+
label: "Delete Subdomain Inbox",
|
|
148
|
+
description: "Delete an inbox under a branded subdomain.",
|
|
149
|
+
status: "live",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
capability: "subdomain-inbox-messages-list",
|
|
153
|
+
key: "email.subdomain.inbox.messages.list",
|
|
154
|
+
label: "List Subdomain Inbox Messages",
|
|
155
|
+
description: "List messages for a branded subdomain inbox.",
|
|
156
|
+
status: "live",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
capability: "subdomain-inbox-messages-read",
|
|
160
|
+
key: "email.subdomain.inbox.messages.read",
|
|
161
|
+
label: "Read Subdomain Inbox Message",
|
|
162
|
+
description: "Read one message from a branded subdomain inbox.",
|
|
163
|
+
status: "live",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
capability: "subdomain-inbox-messages-delete",
|
|
167
|
+
key: "email.subdomain.inbox.messages.delete",
|
|
168
|
+
label: "Delete Subdomain Inbox Message",
|
|
169
|
+
description: "Delete one message from a branded subdomain inbox.",
|
|
170
|
+
status: "live",
|
|
171
|
+
},
|
|
172
|
+
]),
|
|
173
|
+
enrichment: defineCapabilities("enrichment", [
|
|
174
|
+
{
|
|
175
|
+
capability: "people-search",
|
|
176
|
+
key: "enrichment.people.search",
|
|
177
|
+
label: "People Search",
|
|
178
|
+
description: "Search for candidate people records.",
|
|
179
|
+
status: "live",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
capability: "people-enrich",
|
|
183
|
+
key: "enrichment.people.enrich",
|
|
184
|
+
label: "People Enrich",
|
|
185
|
+
description: "Normalize and enrich one person record.",
|
|
186
|
+
status: "live",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
capability: "company-search",
|
|
190
|
+
key: "enrichment.company.search",
|
|
191
|
+
label: "Company Search",
|
|
192
|
+
description: "Search for company records by query or filters.",
|
|
193
|
+
status: "live",
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
capability: "company-enrich",
|
|
197
|
+
key: "enrichment.company.enrich",
|
|
198
|
+
label: "Company Enrich",
|
|
199
|
+
description: "Enrich one company profile.",
|
|
200
|
+
status: "live",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
capability: "contact-enrich",
|
|
204
|
+
key: "enrichment.contact.enrich",
|
|
205
|
+
label: "Contact Enrich",
|
|
206
|
+
description: "Enrich direct contact details for a known target.",
|
|
207
|
+
status: "live",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
capability: "email-find",
|
|
211
|
+
key: "enrichment.email.find",
|
|
212
|
+
label: "Email Find",
|
|
213
|
+
description: "Find candidate email addresses for a person.",
|
|
214
|
+
status: "live",
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
capability: "email-verify",
|
|
218
|
+
key: "enrichment.email.verify",
|
|
219
|
+
label: "Email Verify",
|
|
220
|
+
description: "Verify whether an email address is deliverable.",
|
|
221
|
+
status: "live",
|
|
222
|
+
},
|
|
223
|
+
]),
|
|
224
|
+
social: defineCapabilities("social", [
|
|
225
|
+
{
|
|
226
|
+
capability: "profile-lookup",
|
|
227
|
+
key: "social.profile.lookup",
|
|
228
|
+
label: "Profile Lookup",
|
|
229
|
+
description: "Look up one profile by handle or URL.",
|
|
230
|
+
status: "live",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
capability: "profile-search",
|
|
234
|
+
key: "social.profile.search",
|
|
235
|
+
label: "Profile Search",
|
|
236
|
+
description: "Search for matching social profiles.",
|
|
237
|
+
status: "live",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
capability: "content-search",
|
|
241
|
+
key: "social.content.search",
|
|
242
|
+
label: "Content Search",
|
|
243
|
+
description: "Search social content across supported platforms.",
|
|
244
|
+
status: "live",
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
capability: "content-list",
|
|
248
|
+
key: "social.content.list",
|
|
249
|
+
label: "Content List",
|
|
250
|
+
description: "List posts or content for a profile or target.",
|
|
251
|
+
status: "live",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
capability: "content-get",
|
|
255
|
+
key: "social.content.get",
|
|
256
|
+
label: "Content Get",
|
|
257
|
+
description: "Fetch one normalized content item.",
|
|
258
|
+
status: "live",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
capability: "comments-list",
|
|
262
|
+
key: "social.comments.list",
|
|
263
|
+
label: "Comments List",
|
|
264
|
+
description: "List comments for a social content item.",
|
|
265
|
+
status: "live",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
capability: "comments-replies",
|
|
269
|
+
key: "social.comments.replies",
|
|
270
|
+
label: "Comment Replies",
|
|
271
|
+
description: "List replies beneath a social comment.",
|
|
272
|
+
status: "live",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
capability: "network-connections",
|
|
276
|
+
key: "social.network.connections",
|
|
277
|
+
label: "Network Connections",
|
|
278
|
+
description: "Inspect network relationships around a profile.",
|
|
279
|
+
status: "live",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
capability: "ephemeral-list",
|
|
283
|
+
key: "social.ephemeral.list",
|
|
284
|
+
label: "Ephemeral List",
|
|
285
|
+
description: "List ephemeral content such as stories when available.",
|
|
286
|
+
status: "live",
|
|
287
|
+
},
|
|
288
|
+
]),
|
|
289
|
+
web: defineCapabilities("web", [
|
|
290
|
+
{
|
|
291
|
+
capability: "fetch",
|
|
292
|
+
key: "web.fetch",
|
|
293
|
+
label: "Fetch",
|
|
294
|
+
description: "Fetch raw page content from a single URL.",
|
|
295
|
+
status: "live",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
capability: "scrape",
|
|
299
|
+
key: "web.scrape",
|
|
300
|
+
label: "Scrape",
|
|
301
|
+
description: "Scrape a page into cleaned text and metadata.",
|
|
302
|
+
status: "live",
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
capability: "extract",
|
|
306
|
+
key: "web.extract",
|
|
307
|
+
label: "Extract",
|
|
308
|
+
description: "Extract structured fields from a web page.",
|
|
309
|
+
status: "live",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
capability: "crawl",
|
|
313
|
+
key: "web.crawl",
|
|
314
|
+
label: "Crawl",
|
|
315
|
+
description: "Crawl a site or path set for multiple pages.",
|
|
316
|
+
status: "live",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
capability: "map",
|
|
320
|
+
key: "web.map",
|
|
321
|
+
label: "Map",
|
|
322
|
+
description: "Map site structure or discovered endpoints.",
|
|
323
|
+
status: "live",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
capability: "browser-session-create",
|
|
327
|
+
key: "web.browser.session.create",
|
|
328
|
+
label: "Browser Session Create",
|
|
329
|
+
description: "Create a browser session for interactive web tasks.",
|
|
330
|
+
status: "live",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
capability: "browser-session-status",
|
|
334
|
+
key: "web.browser.session.status",
|
|
335
|
+
label: "Browser Session Status",
|
|
336
|
+
description: "Inspect an interactive browser session.",
|
|
337
|
+
status: "live",
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
capability: "browser-session-extend",
|
|
341
|
+
key: "web.browser.session.extend",
|
|
342
|
+
label: "Browser Session Extend",
|
|
343
|
+
description: "Extend the lifetime of a browser session.",
|
|
344
|
+
status: "live",
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
capability: "browser-session-terminate",
|
|
348
|
+
key: "web.browser.session.terminate",
|
|
349
|
+
label: "Browser Session Terminate",
|
|
350
|
+
description: "Terminate an interactive browser session.",
|
|
351
|
+
status: "live",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
capability: "screenshot",
|
|
355
|
+
key: "web.screenshot",
|
|
356
|
+
label: "Screenshot",
|
|
357
|
+
description: "Capture a screenshot for a web page or session.",
|
|
358
|
+
status: "live",
|
|
359
|
+
},
|
|
360
|
+
]),
|
|
361
|
+
search: defineCapabilities("search", [
|
|
362
|
+
{
|
|
363
|
+
capability: "web",
|
|
364
|
+
key: "search.web",
|
|
365
|
+
label: "Web Search",
|
|
366
|
+
description: "Run general web search.",
|
|
367
|
+
status: "live",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
capability: "news",
|
|
371
|
+
key: "search.news",
|
|
372
|
+
label: "News Search",
|
|
373
|
+
description: "Run news-focused search.",
|
|
374
|
+
status: "live",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
capability: "images",
|
|
378
|
+
key: "search.images",
|
|
379
|
+
label: "Image Search",
|
|
380
|
+
description: "Run image search queries.",
|
|
381
|
+
status: "live",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
capability: "video",
|
|
385
|
+
key: "search.video",
|
|
386
|
+
label: "Video Search",
|
|
387
|
+
description: "Run video search queries.",
|
|
388
|
+
status: "live",
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
capability: "answer",
|
|
392
|
+
key: "search.answer",
|
|
393
|
+
label: "Answer Engine",
|
|
394
|
+
description: "Return grounded answer-engine style responses.",
|
|
395
|
+
status: "live",
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
capability: "context",
|
|
399
|
+
key: "search.context",
|
|
400
|
+
label: "Context Search",
|
|
401
|
+
description: "Gather multi-result context around a query.",
|
|
402
|
+
status: "live",
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
capability: "similar",
|
|
406
|
+
key: "search.similar",
|
|
407
|
+
label: "Similar Pages",
|
|
408
|
+
description: "Find similar pages to a seed URL or result.",
|
|
409
|
+
status: "live",
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
capability: "research",
|
|
413
|
+
key: "search.research",
|
|
414
|
+
label: "Research Search",
|
|
415
|
+
description: "Run more research-oriented answer/search flows.",
|
|
416
|
+
status: "live",
|
|
417
|
+
},
|
|
418
|
+
]),
|
|
419
|
+
document: defineCapabilities("document", [
|
|
420
|
+
{
|
|
421
|
+
capability: "ocr",
|
|
422
|
+
key: "document.ocr",
|
|
423
|
+
label: "OCR",
|
|
424
|
+
description: "Extract text from images or scanned documents.",
|
|
425
|
+
status: "live",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
capability: "equation-parse",
|
|
429
|
+
key: "document.equation.parse",
|
|
430
|
+
label: "Equation Parse",
|
|
431
|
+
description: "Parse mathematical equations from document images.",
|
|
432
|
+
status: "live",
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
capability: "layout-extract",
|
|
436
|
+
key: "document.layout.extract",
|
|
437
|
+
label: "Layout Extract",
|
|
438
|
+
description: "Extract document layout, blocks, and tables.",
|
|
439
|
+
status: "live",
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
capability: "handwriting-parse",
|
|
443
|
+
key: "document.handwriting.parse",
|
|
444
|
+
label: "Handwriting Parse",
|
|
445
|
+
description: "Parse handwritten text from images or documents.",
|
|
446
|
+
status: "live",
|
|
447
|
+
},
|
|
448
|
+
]),
|
|
449
|
+
media: defineCapabilities("media", [
|
|
450
|
+
{
|
|
451
|
+
capability: "image-generate",
|
|
452
|
+
key: "media.image.generate",
|
|
453
|
+
label: "Image Generate",
|
|
454
|
+
description: "Generate an image from a prompt.",
|
|
455
|
+
status: "live",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
capability: "image-edit",
|
|
459
|
+
key: "media.image.edit",
|
|
460
|
+
label: "Image Edit",
|
|
461
|
+
description: "Edit an existing image with instructions.",
|
|
462
|
+
status: "live",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
capability: "video-generate",
|
|
466
|
+
key: "media.video.generate",
|
|
467
|
+
label: "Video Generate",
|
|
468
|
+
description: "Generate a short video from a prompt or source.",
|
|
469
|
+
status: "live",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
capability: "background-remove",
|
|
473
|
+
key: "media.background.remove",
|
|
474
|
+
label: "Background Remove",
|
|
475
|
+
description: "Remove image background layers.",
|
|
476
|
+
status: "recommend_only",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
capability: "background-replace",
|
|
480
|
+
key: "media.background.replace",
|
|
481
|
+
label: "Background Replace",
|
|
482
|
+
description: "Replace an image background with a new scene.",
|
|
483
|
+
status: "recommend_only",
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
capability: "image-upscale",
|
|
487
|
+
key: "media.image.upscale",
|
|
488
|
+
label: "Image Upscale",
|
|
489
|
+
description: "Upscale an image.",
|
|
490
|
+
status: "recommend_only",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
capability: "video-interpolate",
|
|
494
|
+
key: "media.video.interpolate",
|
|
495
|
+
label: "Video Interpolate",
|
|
496
|
+
description: "Interpolate frames for a smoother video output.",
|
|
497
|
+
status: "recommend_only",
|
|
498
|
+
},
|
|
499
|
+
]),
|
|
500
|
+
travel: defineCapabilities("travel", [
|
|
501
|
+
{
|
|
502
|
+
capability: "flight-search",
|
|
503
|
+
key: "travel.flight.search",
|
|
504
|
+
label: "Flight Search",
|
|
505
|
+
description: "Search live flight options.",
|
|
506
|
+
status: "live",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
capability: "flight-booking-options",
|
|
510
|
+
key: "travel.flight.booking.options",
|
|
511
|
+
label: "Flight Booking Options",
|
|
512
|
+
description: "Inspect booking options for a selected itinerary.",
|
|
513
|
+
status: "live",
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
capability: "flight-price",
|
|
517
|
+
key: "travel.flight.price",
|
|
518
|
+
label: "Flight Price",
|
|
519
|
+
description: "Quote or refresh flight pricing.",
|
|
520
|
+
status: "live",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
capability: "flight-upsell",
|
|
524
|
+
key: "travel.flight.upsell",
|
|
525
|
+
label: "Flight Upsell",
|
|
526
|
+
description: "Inspect upsells for a flight itinerary.",
|
|
527
|
+
status: "live",
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
capability: "flight-availability",
|
|
531
|
+
key: "travel.flight.availability",
|
|
532
|
+
label: "Flight Availability",
|
|
533
|
+
description: "Check flight availability details.",
|
|
534
|
+
status: "live",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
capability: "flight-status",
|
|
538
|
+
key: "travel.flight.status",
|
|
539
|
+
label: "Flight Status",
|
|
540
|
+
description: "Inspect status for a flight number or itinerary.",
|
|
541
|
+
status: "live",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
capability: "flight-checkin-links",
|
|
545
|
+
key: "travel.flight.checkin.links",
|
|
546
|
+
label: "Flight Check-in Links",
|
|
547
|
+
description: "Retrieve check-in links for a trip.",
|
|
548
|
+
status: "live",
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
capability: "flight-track",
|
|
552
|
+
key: "travel.flight.track",
|
|
553
|
+
label: "Flight Track",
|
|
554
|
+
description: "Track a flight in near-real time.",
|
|
555
|
+
status: "live",
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
capability: "flight-disruptions",
|
|
559
|
+
key: "travel.flight.disruptions",
|
|
560
|
+
label: "Flight Disruptions",
|
|
561
|
+
description: "Inspect disruption or irregular operation signals.",
|
|
562
|
+
status: "live",
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
capability: "airport-search",
|
|
566
|
+
key: "travel.airport.search",
|
|
567
|
+
label: "Airport Search",
|
|
568
|
+
description: "Search airports by name, code, or location.",
|
|
569
|
+
status: "live",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
capability: "airport-get",
|
|
573
|
+
key: "travel.airport.get",
|
|
574
|
+
label: "Airport Get",
|
|
575
|
+
description: "Get detailed airport information.",
|
|
576
|
+
status: "live",
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
capability: "airport-delays",
|
|
580
|
+
key: "travel.airport.delays",
|
|
581
|
+
label: "Airport Delays",
|
|
582
|
+
description: "Inspect airport delay posture.",
|
|
583
|
+
status: "live",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
capability: "airport-operations",
|
|
587
|
+
key: "travel.airport.operations",
|
|
588
|
+
label: "Airport Operations",
|
|
589
|
+
description: "Inspect airport operations activity.",
|
|
590
|
+
status: "live",
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
capability: "airport-weather",
|
|
594
|
+
key: "travel.airport.weather",
|
|
595
|
+
label: "Airport Weather",
|
|
596
|
+
description: "Inspect weather for an airport.",
|
|
597
|
+
status: "live",
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
capability: "airport-routes",
|
|
601
|
+
key: "travel.airport.routes",
|
|
602
|
+
label: "Airport Routes",
|
|
603
|
+
description: "Inspect routes connected to an airport.",
|
|
604
|
+
status: "live",
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
capability: "hotel-list",
|
|
608
|
+
key: "travel.hotel.list",
|
|
609
|
+
label: "Hotel List",
|
|
610
|
+
description: "List hotels for a market or itinerary.",
|
|
611
|
+
status: "live",
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
capability: "hotel-search",
|
|
615
|
+
key: "travel.hotel.search",
|
|
616
|
+
label: "Hotel Search",
|
|
617
|
+
description: "Search hotel options for a destination.",
|
|
618
|
+
status: "live",
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
capability: "hotel-offer-get",
|
|
622
|
+
key: "travel.hotel.offer.get",
|
|
623
|
+
label: "Hotel Offer Get",
|
|
624
|
+
description: "Inspect one hotel offer.",
|
|
625
|
+
status: "live",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
capability: "hotel-autocomplete",
|
|
629
|
+
key: "travel.hotel.autocomplete",
|
|
630
|
+
label: "Hotel Autocomplete",
|
|
631
|
+
description: "Resolve hotel search input or suggestions.",
|
|
632
|
+
status: "live",
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
capability: "activity-search",
|
|
636
|
+
key: "travel.activity.search",
|
|
637
|
+
label: "Activity Search",
|
|
638
|
+
description: "Search attractions or activities.",
|
|
639
|
+
status: "live",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
capability: "activity-get",
|
|
643
|
+
key: "travel.activity.get",
|
|
644
|
+
label: "Activity Get",
|
|
645
|
+
description: "Inspect one activity option.",
|
|
646
|
+
status: "live",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
capability: "transfer-search",
|
|
650
|
+
key: "travel.transfer.search",
|
|
651
|
+
label: "Transfer Search",
|
|
652
|
+
description: "Search ground transfer options.",
|
|
653
|
+
status: "live",
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
capability: "reference-city-search",
|
|
657
|
+
key: "travel.reference.city.search",
|
|
658
|
+
label: "Reference City Search",
|
|
659
|
+
description: "Search normalized city reference data.",
|
|
660
|
+
status: "live",
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
capability: "reference-location-search",
|
|
664
|
+
key: "travel.reference.location.search",
|
|
665
|
+
label: "Reference Location Search",
|
|
666
|
+
description: "Search normalized location reference data.",
|
|
667
|
+
status: "live",
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
capability: "reference-airline-get",
|
|
671
|
+
key: "travel.reference.airline.get",
|
|
672
|
+
label: "Reference Airline Get",
|
|
673
|
+
description: "Get normalized airline metadata.",
|
|
674
|
+
status: "live",
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
capability: "reference-airline-routes",
|
|
678
|
+
key: "travel.reference.airline.routes",
|
|
679
|
+
label: "Reference Airline Routes",
|
|
680
|
+
description: "Inspect routes served by an airline.",
|
|
681
|
+
status: "live",
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
capability: "reference-airport-routes",
|
|
685
|
+
key: "travel.reference.airport.routes",
|
|
686
|
+
label: "Reference Airport Routes",
|
|
687
|
+
description: "Inspect route networks for an airport.",
|
|
688
|
+
status: "live",
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
capability: "flight-book",
|
|
692
|
+
key: "travel.flight.book",
|
|
693
|
+
label: "Flight Book",
|
|
694
|
+
description: "Book a flight itinerary.",
|
|
695
|
+
status: "recommend_only",
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
capability: "hotel-book",
|
|
699
|
+
key: "travel.hotel.book",
|
|
700
|
+
label: "Hotel Book",
|
|
701
|
+
description: "Book a hotel option.",
|
|
702
|
+
status: "recommend_only",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
capability: "transfer-book",
|
|
706
|
+
key: "travel.transfer.book",
|
|
707
|
+
label: "Transfer Book",
|
|
708
|
+
description: "Book a transfer option.",
|
|
709
|
+
status: "recommend_only",
|
|
710
|
+
},
|
|
711
|
+
]),
|
|
712
|
+
speech: defineCapabilities("speech", [
|
|
713
|
+
{
|
|
714
|
+
capability: "transcribe",
|
|
715
|
+
key: "speech.transcribe",
|
|
716
|
+
label: "Transcribe",
|
|
717
|
+
description: "Transcribe speech to text.",
|
|
718
|
+
status: "live",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
capability: "speak",
|
|
722
|
+
key: "speech.speak",
|
|
723
|
+
label: "Speak",
|
|
724
|
+
description: "Generate spoken audio from text.",
|
|
725
|
+
status: "live",
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
capability: "models-list",
|
|
729
|
+
key: "speech.models.list",
|
|
730
|
+
label: "List Speech Models",
|
|
731
|
+
description: "List supported speech or voice models.",
|
|
732
|
+
status: "live",
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
capability: "analyze",
|
|
736
|
+
key: "speech.analyze",
|
|
737
|
+
label: "Speech Analyze",
|
|
738
|
+
description: "Run higher-level speech analysis workflows.",
|
|
739
|
+
status: "recommend_only",
|
|
740
|
+
},
|
|
741
|
+
]),
|
|
742
|
+
translation: defineCapabilities("translation", [
|
|
743
|
+
{
|
|
744
|
+
capability: "text-translate",
|
|
745
|
+
key: "translation.text.translate",
|
|
746
|
+
label: "Text Translate",
|
|
747
|
+
description: "Translate text between languages.",
|
|
748
|
+
status: "live",
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
capability: "languages-list",
|
|
752
|
+
key: "translation.languages.list",
|
|
753
|
+
label: "List Translation Languages",
|
|
754
|
+
description: "List supported translation languages.",
|
|
755
|
+
status: "live",
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
capability: "text-rephrase",
|
|
759
|
+
key: "translation.text.rephrase",
|
|
760
|
+
label: "Text Rephrase",
|
|
761
|
+
description: "Rewrite or rephrase text with translation-oriented providers.",
|
|
762
|
+
status: "recommend_only",
|
|
763
|
+
},
|
|
764
|
+
]),
|
|
765
|
+
chain: defineCapabilities("chain", [
|
|
766
|
+
{
|
|
767
|
+
capability: "rpc-call",
|
|
768
|
+
key: "chain.rpc.call",
|
|
769
|
+
label: "RPC Call",
|
|
770
|
+
description: "Execute a normalized onchain RPC call.",
|
|
771
|
+
status: "live",
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
capability: "token-search",
|
|
775
|
+
key: "chain.token.search",
|
|
776
|
+
label: "Token Search",
|
|
777
|
+
description: "Search for token contracts or assets.",
|
|
778
|
+
status: "live",
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
capability: "token-get",
|
|
782
|
+
key: "chain.token.get",
|
|
783
|
+
label: "Token Get",
|
|
784
|
+
description: "Inspect one token contract or asset.",
|
|
785
|
+
status: "live",
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
capability: "price-quote",
|
|
789
|
+
key: "chain.price.quote",
|
|
790
|
+
label: "Price Quote",
|
|
791
|
+
description: "Quote a token price.",
|
|
792
|
+
status: "live",
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
capability: "price-history",
|
|
796
|
+
key: "chain.price.history",
|
|
797
|
+
label: "Price History",
|
|
798
|
+
description: "Fetch historical token price data.",
|
|
799
|
+
status: "live",
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
capability: "wallet-balances",
|
|
803
|
+
key: "chain.wallet.balances",
|
|
804
|
+
label: "Wallet Balances",
|
|
805
|
+
description: "List balances for a wallet.",
|
|
806
|
+
status: "live",
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
capability: "wallet-transactions",
|
|
810
|
+
key: "chain.wallet.transactions",
|
|
811
|
+
label: "Wallet Transactions",
|
|
812
|
+
description: "List normalized transactions for a wallet.",
|
|
813
|
+
status: "live",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
capability: "wallet-pnl",
|
|
817
|
+
key: "chain.wallet.pnl",
|
|
818
|
+
label: "Wallet PnL",
|
|
819
|
+
description: "Estimate wallet profit and loss.",
|
|
820
|
+
status: "live",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
capability: "entity-search",
|
|
824
|
+
key: "chain.entity.search",
|
|
825
|
+
label: "Entity Search",
|
|
826
|
+
description: "Search normalized onchain entities.",
|
|
827
|
+
status: "live",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
capability: "analytics-query",
|
|
831
|
+
key: "chain.analytics.query",
|
|
832
|
+
label: "Analytics Query",
|
|
833
|
+
description: "Run higher-level onchain analytics queries.",
|
|
834
|
+
status: "live",
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
capability: "smartmoney-flows",
|
|
838
|
+
key: "chain.smartmoney.flows",
|
|
839
|
+
label: "Smart Money Flows",
|
|
840
|
+
description: "Inspect smart-money flow analytics.",
|
|
841
|
+
status: "recommend_only",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
capability: "smartmoney-trades",
|
|
845
|
+
key: "chain.smartmoney.trades",
|
|
846
|
+
label: "Smart Money Trades",
|
|
847
|
+
description: "Inspect smart-money trade analytics.",
|
|
848
|
+
status: "recommend_only",
|
|
849
|
+
},
|
|
850
|
+
]),
|
|
851
|
+
research: defineCapabilities("research", [
|
|
852
|
+
{
|
|
853
|
+
capability: "sota",
|
|
854
|
+
key: "research.sota",
|
|
855
|
+
label: "SOTA Lookup",
|
|
856
|
+
description: "Pending state-of-the-art research lookup workflows.",
|
|
857
|
+
status: "pending",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
capability: "benchmark-timeline",
|
|
861
|
+
key: "research.benchmark.timeline",
|
|
862
|
+
label: "Benchmark Timeline",
|
|
863
|
+
description: "Pending benchmark timeline and change-tracking workflows.",
|
|
864
|
+
status: "pending",
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
capability: "market-map",
|
|
868
|
+
key: "research.market.map",
|
|
869
|
+
label: "Research Market Map",
|
|
870
|
+
description: "Pending provider or research landscape mapping workflows.",
|
|
871
|
+
status: "pending",
|
|
872
|
+
},
|
|
873
|
+
]),
|
|
874
|
+
};
|
|
875
|
+
export function getFallbackCapabilities(domain) {
|
|
876
|
+
return FALLBACK_CAPABILITIES_BY_DOMAIN[domain] ?? [];
|
|
877
|
+
}
|
|
878
|
+
export function getAllFallbackCapabilities() {
|
|
879
|
+
return Object.values(FALLBACK_CAPABILITIES_BY_DOMAIN).flat();
|
|
880
|
+
}
|
|
881
|
+
//# sourceMappingURL=capabilities.js.map
|