v0-api 0.0.2 → 0.0.4

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 (49) hide show
  1. package/dist/index.cjs +548 -0
  2. package/dist/index.d.cts +4394 -0
  3. package/dist/index.d.mts +4295 -129
  4. package/dist/index.d.ts +4295 -129
  5. package/dist/index.mjs +541 -5
  6. package/dist/mcp.cjs +519 -0
  7. package/dist/mcp.d.cts +5 -0
  8. package/dist/mcp.d.mts +5 -0
  9. package/dist/mcp.d.ts +5 -0
  10. package/dist/mcp.mjs +517 -0
  11. package/dist/shared/v0-api.B8nEbJhM.d.cts +36 -0
  12. package/dist/shared/v0-api.B8nEbJhM.d.mts +36 -0
  13. package/dist/shared/v0-api.B8nEbJhM.d.ts +36 -0
  14. package/dist/shared/v0-api.D3CFh7k4.cjs +833 -0
  15. package/dist/shared/v0-api.mzMaOyDB.mjs +814 -0
  16. package/package.json +31 -12
  17. package/dist/client.d.mts +0 -57
  18. package/dist/client.d.ts +0 -57
  19. package/dist/client.js +0 -53
  20. package/dist/client.mjs +0 -46
  21. package/dist/generated/components.d.mts +0 -341
  22. package/dist/generated/components.d.ts +0 -341
  23. package/dist/generated/components.js +0 -391
  24. package/dist/generated/components.mjs +0 -362
  25. package/dist/generated/schemas.d.mts +0 -1115
  26. package/dist/generated/schemas.d.ts +0 -1115
  27. package/dist/generated/schemas.js +0 -1096
  28. package/dist/generated/schemas.mjs +0 -1088
  29. package/dist/generated/types.d.mts +0 -1628
  30. package/dist/generated/types.d.ts +0 -1628
  31. package/dist/generated/types.js +0 -93
  32. package/dist/generated/types.mjs +0 -90
  33. package/dist/index.js +0 -49
  34. package/dist/utils/fetch.d.mts +0 -18
  35. package/dist/utils/fetch.d.ts +0 -18
  36. package/dist/utils/fetch.js +0 -8
  37. package/dist/utils/fetch.mjs +0 -5
  38. package/dist/utils/fetcher.d.mts +0 -22
  39. package/dist/utils/fetcher.d.ts +0 -22
  40. package/dist/utils/fetcher.js +0 -68
  41. package/dist/utils/fetcher.mjs +0 -65
  42. package/dist/utils/lang.d.mts +0 -1
  43. package/dist/utils/lang.d.ts +0 -1
  44. package/dist/utils/lang.js +0 -9
  45. package/dist/utils/lang.mjs +0 -6
  46. package/dist/utils/types.d.mts +0 -3
  47. package/dist/utils/types.d.ts +0 -3
  48. package/dist/utils/types.js +0 -2
  49. package/dist/utils/types.mjs +0 -1
package/dist/mcp.cjs ADDED
@@ -0,0 +1,519 @@
1
+ 'use strict';
2
+
3
+ const schemas = require('./shared/v0-api.D3CFh7k4.cjs');
4
+ require('zod');
5
+
6
+ async function chatsCreate({
7
+ config = {}
8
+ }) {
9
+ const { client: request = schemas.client, ...requestConfig } = config;
10
+ const data = await request({
11
+ method: "POST",
12
+ url: `/chats`,
13
+ ...requestConfig,
14
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
15
+ });
16
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
17
+ }
18
+ async function chatsFind({
19
+ queryParams,
20
+ config = {}
21
+ }) {
22
+ const { client: request = schemas.client, ...requestConfig } = config;
23
+ const data = await request({ method: "GET", url: `/chats`, queryParams, ...requestConfig });
24
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
25
+ }
26
+ async function chatsInitCreate({
27
+ config = {}
28
+ }) {
29
+ const { client: request = schemas.client, ...requestConfig } = config;
30
+ const data = await request({
31
+ method: "POST",
32
+ url: `/chats/init`,
33
+ ...requestConfig,
34
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
35
+ });
36
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
37
+ }
38
+ async function chatsDelete({
39
+ pathParams: { chatId },
40
+ config = {}
41
+ }) {
42
+ const { client: request = schemas.client, ...requestConfig } = config;
43
+ if (!chatId) {
44
+ throw new Error(`Missing required path parameter: chatId`);
45
+ }
46
+ const data = await request({ method: "DELETE", url: `/chats/${chatId}`, ...requestConfig });
47
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
48
+ }
49
+ async function chatsGetById({
50
+ pathParams: { chatId },
51
+ config = {}
52
+ }) {
53
+ const { client: request = schemas.client, ...requestConfig } = config;
54
+ if (!chatId) {
55
+ throw new Error(`Missing required path parameter: chatId`);
56
+ }
57
+ const data = await request({ method: "GET", url: `/chats/${chatId}`, ...requestConfig });
58
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
59
+ }
60
+ async function chatsUpdate({
61
+ pathParams: { chatId },
62
+ config = {}
63
+ }) {
64
+ const { client: request = schemas.client, ...requestConfig } = config;
65
+ if (!chatId) {
66
+ throw new Error(`Missing required path parameter: chatId`);
67
+ }
68
+ const data = await request({
69
+ method: "PATCH",
70
+ url: `/chats/${chatId}`,
71
+ ...requestConfig,
72
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
73
+ });
74
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
75
+ }
76
+ async function chatsFavorite({
77
+ pathParams: { chatId },
78
+ config = {}
79
+ }) {
80
+ const { client: request = schemas.client, ...requestConfig } = config;
81
+ if (!chatId) {
82
+ throw new Error(`Missing required path parameter: chatId`);
83
+ }
84
+ const data = await request({
85
+ method: "PUT",
86
+ url: `/chats/${chatId}/favorite`,
87
+ ...requestConfig,
88
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
89
+ });
90
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
91
+ }
92
+ async function chatsFork({
93
+ pathParams: { chatId },
94
+ config = {}
95
+ }) {
96
+ const { client: request = schemas.client, ...requestConfig } = config;
97
+ if (!chatId) {
98
+ throw new Error(`Missing required path parameter: chatId`);
99
+ }
100
+ const data = await request({
101
+ method: "POST",
102
+ url: `/chats/${chatId}/fork`,
103
+ ...requestConfig,
104
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
105
+ });
106
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
107
+ }
108
+ async function projectsGetByChatId({
109
+ pathParams: { chatId },
110
+ config = {}
111
+ }) {
112
+ const { client: request = schemas.client, ...requestConfig } = config;
113
+ if (!chatId) {
114
+ throw new Error(`Missing required path parameter: chatId`);
115
+ }
116
+ const data = await request({ method: "GET", url: `/chats/${chatId}/project`, ...requestConfig });
117
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
118
+ }
119
+ async function chatsSendMessage({
120
+ pathParams: { chatId },
121
+ config = {}
122
+ }) {
123
+ const { client: request = schemas.client, ...requestConfig } = config;
124
+ if (!chatId) {
125
+ throw new Error(`Missing required path parameter: chatId`);
126
+ }
127
+ const data = await request({
128
+ method: "POST",
129
+ url: `/chats/${chatId}/messages`,
130
+ ...requestConfig,
131
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
132
+ });
133
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
134
+ }
135
+ async function chatsGetMetadata({
136
+ pathParams: { chatId },
137
+ config = {}
138
+ }) {
139
+ const { client: request = schemas.client, ...requestConfig } = config;
140
+ if (!chatId) {
141
+ throw new Error(`Missing required path parameter: chatId`);
142
+ }
143
+ const data = await request({ method: "GET", url: `/chats/${chatId}/metadata`, ...requestConfig });
144
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
145
+ }
146
+ async function chatsResume({
147
+ pathParams: { chatId, messageId },
148
+ config = {}
149
+ }) {
150
+ const { client: request = schemas.client, ...requestConfig } = config;
151
+ if (!chatId) {
152
+ throw new Error(`Missing required path parameter: chatId`);
153
+ }
154
+ if (!messageId) {
155
+ throw new Error(`Missing required path parameter: messageId`);
156
+ }
157
+ const data = await request({ method: "POST", url: `/chats/${chatId}/messages/${messageId}/resume`, ...requestConfig });
158
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
159
+ }
160
+ async function deploymentsFindLogs({
161
+ pathParams: { deploymentId },
162
+ queryParams,
163
+ config = {}
164
+ }) {
165
+ const { client: request = schemas.client, ...requestConfig } = config;
166
+ if (!deploymentId) {
167
+ throw new Error(`Missing required path parameter: deploymentId`);
168
+ }
169
+ const data = await request({ method: "GET", url: `/deployments/${deploymentId}/logs`, queryParams, ...requestConfig });
170
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
171
+ }
172
+ async function deploymentsFindErrors({
173
+ pathParams: { deploymentId },
174
+ config = {}
175
+ }) {
176
+ const { client: request = schemas.client, ...requestConfig } = config;
177
+ if (!deploymentId) {
178
+ throw new Error(`Missing required path parameter: deploymentId`);
179
+ }
180
+ const data = await request({ method: "GET", url: `/deployments/${deploymentId}/errors`, ...requestConfig });
181
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
182
+ }
183
+ async function integrationsVercelProjectsFind({
184
+ config = {}
185
+ }) {
186
+ const { client: request = schemas.client, ...requestConfig } = config;
187
+ const data = await request({ method: "GET", url: `/integrations/vercel/projects`, ...requestConfig });
188
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
189
+ }
190
+ async function integrationsVercelProjectsCreate({
191
+ config = {}
192
+ }) {
193
+ const { client: request = schemas.client, ...requestConfig } = config;
194
+ const data = await request({
195
+ method: "POST",
196
+ url: `/integrations/vercel/projects`,
197
+ ...requestConfig,
198
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
199
+ });
200
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
201
+ }
202
+ async function projectsFind({
203
+ config = {}
204
+ }) {
205
+ const { client: request = schemas.client, ...requestConfig } = config;
206
+ const data = await request({ method: "GET", url: `/projects`, ...requestConfig });
207
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
208
+ }
209
+ async function projectsCreate({
210
+ config = {}
211
+ }) {
212
+ const { client: request = schemas.client, ...requestConfig } = config;
213
+ const data = await request({
214
+ method: "POST",
215
+ url: `/projects`,
216
+ ...requestConfig,
217
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
218
+ });
219
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
220
+ }
221
+ async function projectsAssign({
222
+ pathParams: { projectId },
223
+ config = {}
224
+ }) {
225
+ const { client: request = schemas.client, ...requestConfig } = config;
226
+ if (!projectId) {
227
+ throw new Error(`Missing required path parameter: projectId`);
228
+ }
229
+ const data = await request({
230
+ method: "POST",
231
+ url: `/projects/${projectId}/assign`,
232
+ ...requestConfig,
233
+ headers: { "Content-Type": "applicationJson", ...requestConfig.headers }
234
+ });
235
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
236
+ }
237
+ async function rateLimitsFind({
238
+ queryParams,
239
+ config = {}
240
+ }) {
241
+ const { client: request = schemas.client, ...requestConfig } = config;
242
+ const data = await request({ method: "GET", url: `/rate-limits`, queryParams, ...requestConfig });
243
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
244
+ }
245
+ async function userGet({
246
+ config = {}
247
+ }) {
248
+ const { client: request = schemas.client, ...requestConfig } = config;
249
+ const data = await request({ method: "GET", url: `/user`, ...requestConfig });
250
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
251
+ }
252
+ async function userGetBilling({
253
+ queryParams,
254
+ config = {}
255
+ }) {
256
+ const { client: request = schemas.client, ...requestConfig } = config;
257
+ const data = await request({ method: "GET", url: `/user/billing`, queryParams, ...requestConfig });
258
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
259
+ }
260
+ async function userGetPlan({
261
+ config = {}
262
+ }) {
263
+ const { client: request = schemas.client, ...requestConfig } = config;
264
+ const data = await request({ method: "GET", url: `/user/plan`, ...requestConfig });
265
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
266
+ }
267
+ async function userGetScopes({
268
+ config = {}
269
+ }) {
270
+ const { client: request = schemas.client, ...requestConfig } = config;
271
+ const data = await request({ method: "GET", url: `/user/scopes`, ...requestConfig });
272
+ return { content: [{ type: "text", text: JSON.stringify(data) }] };
273
+ }
274
+ function initMcpTools(serverLike, config) {
275
+ const server = serverLike;
276
+ server.tool("chatsCreate", "Create a new chat", async () => {
277
+ try {
278
+ return await chatsCreate({ config });
279
+ } catch (error) {
280
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
281
+ }
282
+ });
283
+ server.tool("chatsFind", "Find all chats", { queryParams: schemas.chatsFindQueryParamsSchema }, async ({ queryParams }) => {
284
+ try {
285
+ return await chatsFind({ queryParams, config });
286
+ } catch (error) {
287
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
288
+ }
289
+ });
290
+ server.tool("chatsInitCreate", "Initialize a new chat from files", async () => {
291
+ try {
292
+ return await chatsInitCreate({ config });
293
+ } catch (error) {
294
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
295
+ }
296
+ });
297
+ server.tool(
298
+ "chatsDelete",
299
+ "Delete a chat",
300
+ { chatId: schemas.chatsDeletePathParamsSchema.shape.chatId },
301
+ async ({ chatId }) => {
302
+ try {
303
+ return await chatsDelete({ pathParams: { chatId }, config });
304
+ } catch (error) {
305
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
306
+ }
307
+ }
308
+ );
309
+ server.tool(
310
+ "chatsGetById",
311
+ "Get a chat",
312
+ { chatId: schemas.chatsGetByIdPathParamsSchema.shape.chatId },
313
+ async ({ chatId }) => {
314
+ try {
315
+ return await chatsGetById({ pathParams: { chatId }, config });
316
+ } catch (error) {
317
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
318
+ }
319
+ }
320
+ );
321
+ server.tool(
322
+ "chatsUpdate",
323
+ "Update a chat",
324
+ { chatId: schemas.chatsUpdatePathParamsSchema.shape.chatId },
325
+ async ({ chatId }) => {
326
+ try {
327
+ return await chatsUpdate({ pathParams: { chatId }, config });
328
+ } catch (error) {
329
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
330
+ }
331
+ }
332
+ );
333
+ server.tool(
334
+ "chatsFavorite",
335
+ "Favorite a chat",
336
+ { chatId: schemas.chatsFavoritePathParamsSchema.shape.chatId },
337
+ async ({ chatId }) => {
338
+ try {
339
+ return await chatsFavorite({ pathParams: { chatId }, config });
340
+ } catch (error) {
341
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
342
+ }
343
+ }
344
+ );
345
+ server.tool(
346
+ "chatsFork",
347
+ "Fork a version in a chat",
348
+ { chatId: schemas.chatsForkPathParamsSchema.shape.chatId },
349
+ async ({ chatId }) => {
350
+ try {
351
+ return await chatsFork({ pathParams: { chatId }, config });
352
+ } catch (error) {
353
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
354
+ }
355
+ }
356
+ );
357
+ server.tool(
358
+ "projectsGetByChatId",
359
+ "Get the project for a chat",
360
+ { chatId: schemas.projectsGetByChatIdPathParamsSchema.shape.chatId },
361
+ async ({ chatId }) => {
362
+ try {
363
+ return await projectsGetByChatId({ pathParams: { chatId }, config });
364
+ } catch (error) {
365
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
366
+ }
367
+ }
368
+ );
369
+ server.tool(
370
+ "chatsSendMessage",
371
+ "Create a new message in a chat",
372
+ { chatId: schemas.chatsSendMessagePathParamsSchema.shape.chatId },
373
+ async ({ chatId }) => {
374
+ try {
375
+ return await chatsSendMessage({ pathParams: { chatId }, config });
376
+ } catch (error) {
377
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
378
+ }
379
+ }
380
+ );
381
+ server.tool(
382
+ "chatsGetMetadata",
383
+ "Get the metadata for a chat",
384
+ { chatId: schemas.chatsGetMetadataPathParamsSchema.shape.chatId },
385
+ async ({ chatId }) => {
386
+ try {
387
+ return await chatsGetMetadata({ pathParams: { chatId }, config });
388
+ } catch (error) {
389
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
390
+ }
391
+ }
392
+ );
393
+ server.tool(
394
+ "chatsResume",
395
+ "Resume a chat message",
396
+ { chatId: schemas.chatsResumePathParamsSchema.shape.chatId, messageId: schemas.chatsResumePathParamsSchema.shape.messageId },
397
+ async ({ chatId, messageId }) => {
398
+ try {
399
+ return await chatsResume({ pathParams: { chatId, messageId }, config });
400
+ } catch (error) {
401
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
402
+ }
403
+ }
404
+ );
405
+ server.tool(
406
+ "deploymentsFindLogs",
407
+ "Find logs for a deployment",
408
+ {
409
+ deploymentId: schemas.deploymentsFindLogsPathParamsSchema.shape.deploymentId,
410
+ queryParams: schemas.deploymentsFindLogsQueryParamsSchema
411
+ },
412
+ async ({ deploymentId, queryParams }) => {
413
+ try {
414
+ return await deploymentsFindLogs({ pathParams: { deploymentId }, queryParams, config });
415
+ } catch (error) {
416
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
417
+ }
418
+ }
419
+ );
420
+ server.tool(
421
+ "deploymentsFindErrors",
422
+ "Find errors for a deployment",
423
+ { deploymentId: schemas.deploymentsFindErrorsPathParamsSchema.shape.deploymentId },
424
+ async ({ deploymentId }) => {
425
+ try {
426
+ return await deploymentsFindErrors({ pathParams: { deploymentId }, config });
427
+ } catch (error) {
428
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
429
+ }
430
+ }
431
+ );
432
+ server.tool("integrationsVercelProjectsFind", "Find all Vercel projects", async () => {
433
+ try {
434
+ return await integrationsVercelProjectsFind({ config });
435
+ } catch (error) {
436
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
437
+ }
438
+ });
439
+ server.tool("integrationsVercelProjectsCreate", "Create a new Vercel project", async () => {
440
+ try {
441
+ return await integrationsVercelProjectsCreate({ config });
442
+ } catch (error) {
443
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
444
+ }
445
+ });
446
+ server.tool("projectsFind", "Find all projects", async () => {
447
+ try {
448
+ return await projectsFind({ config });
449
+ } catch (error) {
450
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
451
+ }
452
+ });
453
+ server.tool("projectsCreate", "Create a new project", async () => {
454
+ try {
455
+ return await projectsCreate({ config });
456
+ } catch (error) {
457
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
458
+ }
459
+ });
460
+ server.tool(
461
+ "projectsAssign",
462
+ "Assign a project to a chat",
463
+ { projectId: schemas.projectsAssignPathParamsSchema.shape.projectId },
464
+ async ({ projectId }) => {
465
+ try {
466
+ return await projectsAssign({ pathParams: { projectId }, config });
467
+ } catch (error) {
468
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
469
+ }
470
+ }
471
+ );
472
+ server.tool(
473
+ "rateLimitsFind",
474
+ "Find the rate limit for a scope",
475
+ { queryParams: schemas.rateLimitsFindQueryParamsSchema },
476
+ async ({ queryParams }) => {
477
+ try {
478
+ return await rateLimitsFind({ queryParams, config });
479
+ } catch (error) {
480
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
481
+ }
482
+ }
483
+ );
484
+ server.tool("userGet", "Get the user", async () => {
485
+ try {
486
+ return await userGet({ config });
487
+ } catch (error) {
488
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
489
+ }
490
+ });
491
+ server.tool(
492
+ "userGetBilling",
493
+ "Get the billing for the user",
494
+ { queryParams: schemas.userGetBillingQueryParamsSchema },
495
+ async ({ queryParams }) => {
496
+ try {
497
+ return await userGetBilling({ queryParams, config });
498
+ } catch (error) {
499
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
500
+ }
501
+ }
502
+ );
503
+ server.tool("userGetPlan", "Get the plan for the user", async () => {
504
+ try {
505
+ return await userGetPlan({ config });
506
+ } catch (error) {
507
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
508
+ }
509
+ });
510
+ server.tool("userGetScopes", "Get all scopes for the user", async () => {
511
+ try {
512
+ return await userGetScopes({ config });
513
+ } catch (error) {
514
+ return { isError: true, content: [{ type: "text", text: JSON.stringify(error) }] };
515
+ }
516
+ });
517
+ }
518
+
519
+ exports.initMcpTools = initMcpTools;
package/dist/mcp.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ import { F as FetcherConfig } from './shared/v0-api.B8nEbJhM.cjs';
2
+
3
+ declare function initMcpTools<Server>(serverLike: Server, config: FetcherConfig): void;
4
+
5
+ export { initMcpTools };
package/dist/mcp.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ import { F as FetcherConfig } from './shared/v0-api.B8nEbJhM.mjs';
2
+
3
+ declare function initMcpTools<Server>(serverLike: Server, config: FetcherConfig): void;
4
+
5
+ export { initMcpTools };
package/dist/mcp.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { F as FetcherConfig } from './shared/v0-api.B8nEbJhM.js';
2
+
3
+ declare function initMcpTools<Server>(serverLike: Server, config: FetcherConfig): void;
4
+
5
+ export { initMcpTools };