@agent-earth/shared 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 (43) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/dist/index.js +1 -0
  3. package/dist/schemas/agent-system.schema.d.ts +11661 -0
  4. package/dist/schemas/agent-system.schema.js +1 -0
  5. package/dist/schemas/agent.schema.d.ts +901 -0
  6. package/dist/schemas/agent.schema.js +1 -0
  7. package/dist/schemas/cesium.schema.d.ts +517 -0
  8. package/dist/schemas/cesium.schema.js +1 -0
  9. package/dist/schemas/index.d.ts +10 -0
  10. package/dist/schemas/index.js +1 -0
  11. package/dist/schemas/mcp.schema.d.ts +1791 -0
  12. package/dist/schemas/mcp.schema.js +1 -0
  13. package/dist/schemas/service-config.schema.d.ts +1302 -0
  14. package/dist/schemas/service-config.schema.js +1 -0
  15. package/dist/schemas/skill.schema.d.ts +392 -0
  16. package/dist/schemas/skill.schema.js +1 -0
  17. package/dist/schemas/store.schema.d.ts +1242 -0
  18. package/dist/schemas/store.schema.js +1 -0
  19. package/dist/schemas/user.schema.d.ts +541 -0
  20. package/dist/schemas/user.schema.js +1 -0
  21. package/dist/schemas/websocket.schema.d.ts +1186 -0
  22. package/dist/schemas/websocket.schema.js +1 -0
  23. package/dist/schemas/wiki.schema.d.ts +865 -0
  24. package/dist/schemas/wiki.schema.js +1 -0
  25. package/dist/types/agent.d.ts +45 -0
  26. package/dist/types/agent.js +1 -0
  27. package/dist/types/at-file.d.ts +42 -0
  28. package/dist/types/at-file.js +1 -0
  29. package/dist/types/cesium.d.ts +116 -0
  30. package/dist/types/cesium.js +1 -0
  31. package/dist/types/hermes.d.ts +95 -0
  32. package/dist/types/hermes.js +1 -0
  33. package/dist/types/mcp.d.ts +202 -0
  34. package/dist/types/mcp.js +1 -0
  35. package/dist/types/skill.d.ts +29 -0
  36. package/dist/types/skill.js +1 -0
  37. package/dist/types/slash-command.d.ts +26 -0
  38. package/dist/types/slash-command.js +1 -0
  39. package/dist/types/websocket.d.ts +301 -0
  40. package/dist/types/websocket.js +1 -0
  41. package/dist/types/wiki.d.ts +66 -0
  42. package/dist/types/wiki.js +1 -0
  43. package/package.json +33 -0
@@ -0,0 +1,1791 @@
1
+ import { z } from 'zod';
2
+ export declare const MCPPropertySchema: z.ZodObject<{
3
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
4
+ description: z.ZodOptional<z.ZodString>;
5
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
+ default: z.ZodOptional<z.ZodAny>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ type: "string" | "number" | "boolean" | "object" | "array";
9
+ default?: any;
10
+ description?: string | undefined;
11
+ enum?: string[] | undefined;
12
+ }, {
13
+ type: "string" | "number" | "boolean" | "object" | "array";
14
+ default?: any;
15
+ description?: string | undefined;
16
+ enum?: string[] | undefined;
17
+ }>;
18
+ export declare const MCPSchemaSchema: z.ZodObject<{
19
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
20
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
21
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
22
+ description: z.ZodOptional<z.ZodString>;
23
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24
+ default: z.ZodOptional<z.ZodAny>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ type: "string" | "number" | "boolean" | "object" | "array";
27
+ default?: any;
28
+ description?: string | undefined;
29
+ enum?: string[] | undefined;
30
+ }, {
31
+ type: "string" | "number" | "boolean" | "object" | "array";
32
+ default?: any;
33
+ description?: string | undefined;
34
+ enum?: string[] | undefined;
35
+ }>>>;
36
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37
+ items: z.ZodOptional<z.ZodAny>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ type: "string" | "number" | "boolean" | "object" | "array";
40
+ required?: string[] | undefined;
41
+ properties?: Record<string, {
42
+ type: "string" | "number" | "boolean" | "object" | "array";
43
+ default?: any;
44
+ description?: string | undefined;
45
+ enum?: string[] | undefined;
46
+ }> | undefined;
47
+ items?: any;
48
+ }, {
49
+ type: "string" | "number" | "boolean" | "object" | "array";
50
+ required?: string[] | undefined;
51
+ properties?: Record<string, {
52
+ type: "string" | "number" | "boolean" | "object" | "array";
53
+ default?: any;
54
+ description?: string | undefined;
55
+ enum?: string[] | undefined;
56
+ }> | undefined;
57
+ items?: any;
58
+ }>;
59
+ export declare const MCPCapabilitySchema: z.ZodObject<{
60
+ name: z.ZodString;
61
+ description: z.ZodString;
62
+ inputSchema: z.ZodObject<{
63
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
64
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
65
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
66
+ description: z.ZodOptional<z.ZodString>;
67
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ default: z.ZodOptional<z.ZodAny>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ type: "string" | "number" | "boolean" | "object" | "array";
71
+ default?: any;
72
+ description?: string | undefined;
73
+ enum?: string[] | undefined;
74
+ }, {
75
+ type: "string" | "number" | "boolean" | "object" | "array";
76
+ default?: any;
77
+ description?: string | undefined;
78
+ enum?: string[] | undefined;
79
+ }>>>;
80
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
81
+ items: z.ZodOptional<z.ZodAny>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ type: "string" | "number" | "boolean" | "object" | "array";
84
+ required?: string[] | undefined;
85
+ properties?: Record<string, {
86
+ type: "string" | "number" | "boolean" | "object" | "array";
87
+ default?: any;
88
+ description?: string | undefined;
89
+ enum?: string[] | undefined;
90
+ }> | undefined;
91
+ items?: any;
92
+ }, {
93
+ type: "string" | "number" | "boolean" | "object" | "array";
94
+ required?: string[] | undefined;
95
+ properties?: Record<string, {
96
+ type: "string" | "number" | "boolean" | "object" | "array";
97
+ default?: any;
98
+ description?: string | undefined;
99
+ enum?: string[] | undefined;
100
+ }> | undefined;
101
+ items?: any;
102
+ }>;
103
+ outputSchema: z.ZodOptional<z.ZodObject<{
104
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
105
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
106
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
107
+ description: z.ZodOptional<z.ZodString>;
108
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
109
+ default: z.ZodOptional<z.ZodAny>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ type: "string" | "number" | "boolean" | "object" | "array";
112
+ default?: any;
113
+ description?: string | undefined;
114
+ enum?: string[] | undefined;
115
+ }, {
116
+ type: "string" | "number" | "boolean" | "object" | "array";
117
+ default?: any;
118
+ description?: string | undefined;
119
+ enum?: string[] | undefined;
120
+ }>>>;
121
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
+ items: z.ZodOptional<z.ZodAny>;
123
+ }, "strip", z.ZodTypeAny, {
124
+ type: "string" | "number" | "boolean" | "object" | "array";
125
+ required?: string[] | undefined;
126
+ properties?: Record<string, {
127
+ type: "string" | "number" | "boolean" | "object" | "array";
128
+ default?: any;
129
+ description?: string | undefined;
130
+ enum?: string[] | undefined;
131
+ }> | undefined;
132
+ items?: any;
133
+ }, {
134
+ type: "string" | "number" | "boolean" | "object" | "array";
135
+ required?: string[] | undefined;
136
+ properties?: Record<string, {
137
+ type: "string" | "number" | "boolean" | "object" | "array";
138
+ default?: any;
139
+ description?: string | undefined;
140
+ enum?: string[] | undefined;
141
+ }> | undefined;
142
+ items?: any;
143
+ }>>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ inputSchema: {
146
+ type: "string" | "number" | "boolean" | "object" | "array";
147
+ required?: string[] | undefined;
148
+ properties?: Record<string, {
149
+ type: "string" | "number" | "boolean" | "object" | "array";
150
+ default?: any;
151
+ description?: string | undefined;
152
+ enum?: string[] | undefined;
153
+ }> | undefined;
154
+ items?: any;
155
+ };
156
+ name: string;
157
+ description: string;
158
+ outputSchema?: {
159
+ type: "string" | "number" | "boolean" | "object" | "array";
160
+ required?: string[] | undefined;
161
+ properties?: Record<string, {
162
+ type: "string" | "number" | "boolean" | "object" | "array";
163
+ default?: any;
164
+ description?: string | undefined;
165
+ enum?: string[] | undefined;
166
+ }> | undefined;
167
+ items?: any;
168
+ } | undefined;
169
+ }, {
170
+ inputSchema: {
171
+ type: "string" | "number" | "boolean" | "object" | "array";
172
+ required?: string[] | undefined;
173
+ properties?: Record<string, {
174
+ type: "string" | "number" | "boolean" | "object" | "array";
175
+ default?: any;
176
+ description?: string | undefined;
177
+ enum?: string[] | undefined;
178
+ }> | undefined;
179
+ items?: any;
180
+ };
181
+ name: string;
182
+ description: string;
183
+ outputSchema?: {
184
+ type: "string" | "number" | "boolean" | "object" | "array";
185
+ required?: string[] | undefined;
186
+ properties?: Record<string, {
187
+ type: "string" | "number" | "boolean" | "object" | "array";
188
+ default?: any;
189
+ description?: string | undefined;
190
+ enum?: string[] | undefined;
191
+ }> | undefined;
192
+ items?: any;
193
+ } | undefined;
194
+ }>;
195
+ export declare const MCPConfigSchema: z.ZodObject<{
196
+ id: z.ZodString;
197
+ name: z.ZodString;
198
+ description: z.ZodString;
199
+ type: z.ZodEnum<["data_source", "external_service", "notification"]>;
200
+ protocol: z.ZodEnum<["stdio", "http", "streamable_http", "sse"]>;
201
+ endpoint: z.ZodOptional<z.ZodString>;
202
+ command: z.ZodOptional<z.ZodString>;
203
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
204
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
205
+ capabilities: z.ZodArray<z.ZodObject<{
206
+ name: z.ZodString;
207
+ description: z.ZodString;
208
+ inputSchema: z.ZodObject<{
209
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
210
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
211
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
212
+ description: z.ZodOptional<z.ZodString>;
213
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
214
+ default: z.ZodOptional<z.ZodAny>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ type: "string" | "number" | "boolean" | "object" | "array";
217
+ default?: any;
218
+ description?: string | undefined;
219
+ enum?: string[] | undefined;
220
+ }, {
221
+ type: "string" | "number" | "boolean" | "object" | "array";
222
+ default?: any;
223
+ description?: string | undefined;
224
+ enum?: string[] | undefined;
225
+ }>>>;
226
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
227
+ items: z.ZodOptional<z.ZodAny>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ type: "string" | "number" | "boolean" | "object" | "array";
230
+ required?: string[] | undefined;
231
+ properties?: Record<string, {
232
+ type: "string" | "number" | "boolean" | "object" | "array";
233
+ default?: any;
234
+ description?: string | undefined;
235
+ enum?: string[] | undefined;
236
+ }> | undefined;
237
+ items?: any;
238
+ }, {
239
+ type: "string" | "number" | "boolean" | "object" | "array";
240
+ required?: string[] | undefined;
241
+ properties?: Record<string, {
242
+ type: "string" | "number" | "boolean" | "object" | "array";
243
+ default?: any;
244
+ description?: string | undefined;
245
+ enum?: string[] | undefined;
246
+ }> | undefined;
247
+ items?: any;
248
+ }>;
249
+ outputSchema: z.ZodOptional<z.ZodObject<{
250
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
251
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
252
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
253
+ description: z.ZodOptional<z.ZodString>;
254
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
255
+ default: z.ZodOptional<z.ZodAny>;
256
+ }, "strip", z.ZodTypeAny, {
257
+ type: "string" | "number" | "boolean" | "object" | "array";
258
+ default?: any;
259
+ description?: string | undefined;
260
+ enum?: string[] | undefined;
261
+ }, {
262
+ type: "string" | "number" | "boolean" | "object" | "array";
263
+ default?: any;
264
+ description?: string | undefined;
265
+ enum?: string[] | undefined;
266
+ }>>>;
267
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
268
+ items: z.ZodOptional<z.ZodAny>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ type: "string" | "number" | "boolean" | "object" | "array";
271
+ required?: string[] | undefined;
272
+ properties?: Record<string, {
273
+ type: "string" | "number" | "boolean" | "object" | "array";
274
+ default?: any;
275
+ description?: string | undefined;
276
+ enum?: string[] | undefined;
277
+ }> | undefined;
278
+ items?: any;
279
+ }, {
280
+ type: "string" | "number" | "boolean" | "object" | "array";
281
+ required?: string[] | undefined;
282
+ properties?: Record<string, {
283
+ type: "string" | "number" | "boolean" | "object" | "array";
284
+ default?: any;
285
+ description?: string | undefined;
286
+ enum?: string[] | undefined;
287
+ }> | undefined;
288
+ items?: any;
289
+ }>>;
290
+ }, "strip", z.ZodTypeAny, {
291
+ inputSchema: {
292
+ type: "string" | "number" | "boolean" | "object" | "array";
293
+ required?: string[] | undefined;
294
+ properties?: Record<string, {
295
+ type: "string" | "number" | "boolean" | "object" | "array";
296
+ default?: any;
297
+ description?: string | undefined;
298
+ enum?: string[] | undefined;
299
+ }> | undefined;
300
+ items?: any;
301
+ };
302
+ name: string;
303
+ description: string;
304
+ outputSchema?: {
305
+ type: "string" | "number" | "boolean" | "object" | "array";
306
+ required?: string[] | undefined;
307
+ properties?: Record<string, {
308
+ type: "string" | "number" | "boolean" | "object" | "array";
309
+ default?: any;
310
+ description?: string | undefined;
311
+ enum?: string[] | undefined;
312
+ }> | undefined;
313
+ items?: any;
314
+ } | undefined;
315
+ }, {
316
+ inputSchema: {
317
+ type: "string" | "number" | "boolean" | "object" | "array";
318
+ required?: string[] | undefined;
319
+ properties?: Record<string, {
320
+ type: "string" | "number" | "boolean" | "object" | "array";
321
+ default?: any;
322
+ description?: string | undefined;
323
+ enum?: string[] | undefined;
324
+ }> | undefined;
325
+ items?: any;
326
+ };
327
+ name: string;
328
+ description: string;
329
+ outputSchema?: {
330
+ type: "string" | "number" | "boolean" | "object" | "array";
331
+ required?: string[] | undefined;
332
+ properties?: Record<string, {
333
+ type: "string" | "number" | "boolean" | "object" | "array";
334
+ default?: any;
335
+ description?: string | undefined;
336
+ enum?: string[] | undefined;
337
+ }> | undefined;
338
+ items?: any;
339
+ } | undefined;
340
+ }>, "many">;
341
+ }, "strip", z.ZodTypeAny, {
342
+ id: string;
343
+ type: "data_source" | "external_service" | "notification";
344
+ name: string;
345
+ description: string;
346
+ capabilities: {
347
+ inputSchema: {
348
+ type: "string" | "number" | "boolean" | "object" | "array";
349
+ required?: string[] | undefined;
350
+ properties?: Record<string, {
351
+ type: "string" | "number" | "boolean" | "object" | "array";
352
+ default?: any;
353
+ description?: string | undefined;
354
+ enum?: string[] | undefined;
355
+ }> | undefined;
356
+ items?: any;
357
+ };
358
+ name: string;
359
+ description: string;
360
+ outputSchema?: {
361
+ type: "string" | "number" | "boolean" | "object" | "array";
362
+ required?: string[] | undefined;
363
+ properties?: Record<string, {
364
+ type: "string" | "number" | "boolean" | "object" | "array";
365
+ default?: any;
366
+ description?: string | undefined;
367
+ enum?: string[] | undefined;
368
+ }> | undefined;
369
+ items?: any;
370
+ } | undefined;
371
+ }[];
372
+ protocol: "stdio" | "http" | "streamable_http" | "sse";
373
+ command?: string | undefined;
374
+ endpoint?: string | undefined;
375
+ args?: string[] | undefined;
376
+ env?: Record<string, string> | undefined;
377
+ }, {
378
+ id: string;
379
+ type: "data_source" | "external_service" | "notification";
380
+ name: string;
381
+ description: string;
382
+ capabilities: {
383
+ inputSchema: {
384
+ type: "string" | "number" | "boolean" | "object" | "array";
385
+ required?: string[] | undefined;
386
+ properties?: Record<string, {
387
+ type: "string" | "number" | "boolean" | "object" | "array";
388
+ default?: any;
389
+ description?: string | undefined;
390
+ enum?: string[] | undefined;
391
+ }> | undefined;
392
+ items?: any;
393
+ };
394
+ name: string;
395
+ description: string;
396
+ outputSchema?: {
397
+ type: "string" | "number" | "boolean" | "object" | "array";
398
+ required?: string[] | undefined;
399
+ properties?: Record<string, {
400
+ type: "string" | "number" | "boolean" | "object" | "array";
401
+ default?: any;
402
+ description?: string | undefined;
403
+ enum?: string[] | undefined;
404
+ }> | undefined;
405
+ items?: any;
406
+ } | undefined;
407
+ }[];
408
+ protocol: "stdio" | "http" | "streamable_http" | "sse";
409
+ command?: string | undefined;
410
+ endpoint?: string | undefined;
411
+ args?: string[] | undefined;
412
+ env?: Record<string, string> | undefined;
413
+ }>;
414
+ export declare const RadarMCPConfigSchema: z.ZodObject<{
415
+ id: z.ZodString;
416
+ name: z.ZodString;
417
+ description: z.ZodString;
418
+ endpoint: z.ZodOptional<z.ZodString>;
419
+ command: z.ZodOptional<z.ZodString>;
420
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
421
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
422
+ capabilities: z.ZodArray<z.ZodObject<{
423
+ name: z.ZodString;
424
+ description: z.ZodString;
425
+ inputSchema: z.ZodObject<{
426
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
427
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
428
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
429
+ description: z.ZodOptional<z.ZodString>;
430
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
431
+ default: z.ZodOptional<z.ZodAny>;
432
+ }, "strip", z.ZodTypeAny, {
433
+ type: "string" | "number" | "boolean" | "object" | "array";
434
+ default?: any;
435
+ description?: string | undefined;
436
+ enum?: string[] | undefined;
437
+ }, {
438
+ type: "string" | "number" | "boolean" | "object" | "array";
439
+ default?: any;
440
+ description?: string | undefined;
441
+ enum?: string[] | undefined;
442
+ }>>>;
443
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
444
+ items: z.ZodOptional<z.ZodAny>;
445
+ }, "strip", z.ZodTypeAny, {
446
+ type: "string" | "number" | "boolean" | "object" | "array";
447
+ required?: string[] | undefined;
448
+ properties?: Record<string, {
449
+ type: "string" | "number" | "boolean" | "object" | "array";
450
+ default?: any;
451
+ description?: string | undefined;
452
+ enum?: string[] | undefined;
453
+ }> | undefined;
454
+ items?: any;
455
+ }, {
456
+ type: "string" | "number" | "boolean" | "object" | "array";
457
+ required?: string[] | undefined;
458
+ properties?: Record<string, {
459
+ type: "string" | "number" | "boolean" | "object" | "array";
460
+ default?: any;
461
+ description?: string | undefined;
462
+ enum?: string[] | undefined;
463
+ }> | undefined;
464
+ items?: any;
465
+ }>;
466
+ outputSchema: z.ZodOptional<z.ZodObject<{
467
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
468
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
469
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
470
+ description: z.ZodOptional<z.ZodString>;
471
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
472
+ default: z.ZodOptional<z.ZodAny>;
473
+ }, "strip", z.ZodTypeAny, {
474
+ type: "string" | "number" | "boolean" | "object" | "array";
475
+ default?: any;
476
+ description?: string | undefined;
477
+ enum?: string[] | undefined;
478
+ }, {
479
+ type: "string" | "number" | "boolean" | "object" | "array";
480
+ default?: any;
481
+ description?: string | undefined;
482
+ enum?: string[] | undefined;
483
+ }>>>;
484
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
485
+ items: z.ZodOptional<z.ZodAny>;
486
+ }, "strip", z.ZodTypeAny, {
487
+ type: "string" | "number" | "boolean" | "object" | "array";
488
+ required?: string[] | undefined;
489
+ properties?: Record<string, {
490
+ type: "string" | "number" | "boolean" | "object" | "array";
491
+ default?: any;
492
+ description?: string | undefined;
493
+ enum?: string[] | undefined;
494
+ }> | undefined;
495
+ items?: any;
496
+ }, {
497
+ type: "string" | "number" | "boolean" | "object" | "array";
498
+ required?: string[] | undefined;
499
+ properties?: Record<string, {
500
+ type: "string" | "number" | "boolean" | "object" | "array";
501
+ default?: any;
502
+ description?: string | undefined;
503
+ enum?: string[] | undefined;
504
+ }> | undefined;
505
+ items?: any;
506
+ }>>;
507
+ }, "strip", z.ZodTypeAny, {
508
+ inputSchema: {
509
+ type: "string" | "number" | "boolean" | "object" | "array";
510
+ required?: string[] | undefined;
511
+ properties?: Record<string, {
512
+ type: "string" | "number" | "boolean" | "object" | "array";
513
+ default?: any;
514
+ description?: string | undefined;
515
+ enum?: string[] | undefined;
516
+ }> | undefined;
517
+ items?: any;
518
+ };
519
+ name: string;
520
+ description: string;
521
+ outputSchema?: {
522
+ type: "string" | "number" | "boolean" | "object" | "array";
523
+ required?: string[] | undefined;
524
+ properties?: Record<string, {
525
+ type: "string" | "number" | "boolean" | "object" | "array";
526
+ default?: any;
527
+ description?: string | undefined;
528
+ enum?: string[] | undefined;
529
+ }> | undefined;
530
+ items?: any;
531
+ } | undefined;
532
+ }, {
533
+ inputSchema: {
534
+ type: "string" | "number" | "boolean" | "object" | "array";
535
+ required?: string[] | undefined;
536
+ properties?: Record<string, {
537
+ type: "string" | "number" | "boolean" | "object" | "array";
538
+ default?: any;
539
+ description?: string | undefined;
540
+ enum?: string[] | undefined;
541
+ }> | undefined;
542
+ items?: any;
543
+ };
544
+ name: string;
545
+ description: string;
546
+ outputSchema?: {
547
+ type: "string" | "number" | "boolean" | "object" | "array";
548
+ required?: string[] | undefined;
549
+ properties?: Record<string, {
550
+ type: "string" | "number" | "boolean" | "object" | "array";
551
+ default?: any;
552
+ description?: string | undefined;
553
+ enum?: string[] | undefined;
554
+ }> | undefined;
555
+ items?: any;
556
+ } | undefined;
557
+ }>, "many">;
558
+ } & {
559
+ type: z.ZodLiteral<"data_source">;
560
+ protocol: z.ZodEnum<["http", "streamable_http"]>;
561
+ radarConfig: z.ZodObject<{
562
+ ipAddress: z.ZodString;
563
+ port: z.ZodNumber;
564
+ protocol: z.ZodEnum<["udp", "tcp"]>;
565
+ dataFormat: z.ZodEnum<["json", "binary"]>;
566
+ }, "strip", z.ZodTypeAny, {
567
+ protocol: "udp" | "tcp";
568
+ ipAddress: string;
569
+ port: number;
570
+ dataFormat: "json" | "binary";
571
+ }, {
572
+ protocol: "udp" | "tcp";
573
+ ipAddress: string;
574
+ port: number;
575
+ dataFormat: "json" | "binary";
576
+ }>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ id: string;
579
+ type: "data_source";
580
+ name: string;
581
+ description: string;
582
+ capabilities: {
583
+ inputSchema: {
584
+ type: "string" | "number" | "boolean" | "object" | "array";
585
+ required?: string[] | undefined;
586
+ properties?: Record<string, {
587
+ type: "string" | "number" | "boolean" | "object" | "array";
588
+ default?: any;
589
+ description?: string | undefined;
590
+ enum?: string[] | undefined;
591
+ }> | undefined;
592
+ items?: any;
593
+ };
594
+ name: string;
595
+ description: string;
596
+ outputSchema?: {
597
+ type: "string" | "number" | "boolean" | "object" | "array";
598
+ required?: string[] | undefined;
599
+ properties?: Record<string, {
600
+ type: "string" | "number" | "boolean" | "object" | "array";
601
+ default?: any;
602
+ description?: string | undefined;
603
+ enum?: string[] | undefined;
604
+ }> | undefined;
605
+ items?: any;
606
+ } | undefined;
607
+ }[];
608
+ protocol: "http" | "streamable_http";
609
+ radarConfig: {
610
+ protocol: "udp" | "tcp";
611
+ ipAddress: string;
612
+ port: number;
613
+ dataFormat: "json" | "binary";
614
+ };
615
+ command?: string | undefined;
616
+ endpoint?: string | undefined;
617
+ args?: string[] | undefined;
618
+ env?: Record<string, string> | undefined;
619
+ }, {
620
+ id: string;
621
+ type: "data_source";
622
+ name: string;
623
+ description: string;
624
+ capabilities: {
625
+ inputSchema: {
626
+ type: "string" | "number" | "boolean" | "object" | "array";
627
+ required?: string[] | undefined;
628
+ properties?: Record<string, {
629
+ type: "string" | "number" | "boolean" | "object" | "array";
630
+ default?: any;
631
+ description?: string | undefined;
632
+ enum?: string[] | undefined;
633
+ }> | undefined;
634
+ items?: any;
635
+ };
636
+ name: string;
637
+ description: string;
638
+ outputSchema?: {
639
+ type: "string" | "number" | "boolean" | "object" | "array";
640
+ required?: string[] | undefined;
641
+ properties?: Record<string, {
642
+ type: "string" | "number" | "boolean" | "object" | "array";
643
+ default?: any;
644
+ description?: string | undefined;
645
+ enum?: string[] | undefined;
646
+ }> | undefined;
647
+ items?: any;
648
+ } | undefined;
649
+ }[];
650
+ protocol: "http" | "streamable_http";
651
+ radarConfig: {
652
+ protocol: "udp" | "tcp";
653
+ ipAddress: string;
654
+ port: number;
655
+ dataFormat: "json" | "binary";
656
+ };
657
+ command?: string | undefined;
658
+ endpoint?: string | undefined;
659
+ args?: string[] | undefined;
660
+ env?: Record<string, string> | undefined;
661
+ }>;
662
+ export declare const WeatherMCPConfigSchema: z.ZodObject<{
663
+ id: z.ZodString;
664
+ name: z.ZodString;
665
+ description: z.ZodString;
666
+ endpoint: z.ZodOptional<z.ZodString>;
667
+ command: z.ZodOptional<z.ZodString>;
668
+ args: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
669
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
670
+ capabilities: z.ZodArray<z.ZodObject<{
671
+ name: z.ZodString;
672
+ description: z.ZodString;
673
+ inputSchema: z.ZodObject<{
674
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
675
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
676
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
677
+ description: z.ZodOptional<z.ZodString>;
678
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
679
+ default: z.ZodOptional<z.ZodAny>;
680
+ }, "strip", z.ZodTypeAny, {
681
+ type: "string" | "number" | "boolean" | "object" | "array";
682
+ default?: any;
683
+ description?: string | undefined;
684
+ enum?: string[] | undefined;
685
+ }, {
686
+ type: "string" | "number" | "boolean" | "object" | "array";
687
+ default?: any;
688
+ description?: string | undefined;
689
+ enum?: string[] | undefined;
690
+ }>>>;
691
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
692
+ items: z.ZodOptional<z.ZodAny>;
693
+ }, "strip", z.ZodTypeAny, {
694
+ type: "string" | "number" | "boolean" | "object" | "array";
695
+ required?: string[] | undefined;
696
+ properties?: Record<string, {
697
+ type: "string" | "number" | "boolean" | "object" | "array";
698
+ default?: any;
699
+ description?: string | undefined;
700
+ enum?: string[] | undefined;
701
+ }> | undefined;
702
+ items?: any;
703
+ }, {
704
+ type: "string" | "number" | "boolean" | "object" | "array";
705
+ required?: string[] | undefined;
706
+ properties?: Record<string, {
707
+ type: "string" | "number" | "boolean" | "object" | "array";
708
+ default?: any;
709
+ description?: string | undefined;
710
+ enum?: string[] | undefined;
711
+ }> | undefined;
712
+ items?: any;
713
+ }>;
714
+ outputSchema: z.ZodOptional<z.ZodObject<{
715
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
716
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
717
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
718
+ description: z.ZodOptional<z.ZodString>;
719
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
720
+ default: z.ZodOptional<z.ZodAny>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ type: "string" | "number" | "boolean" | "object" | "array";
723
+ default?: any;
724
+ description?: string | undefined;
725
+ enum?: string[] | undefined;
726
+ }, {
727
+ type: "string" | "number" | "boolean" | "object" | "array";
728
+ default?: any;
729
+ description?: string | undefined;
730
+ enum?: string[] | undefined;
731
+ }>>>;
732
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
733
+ items: z.ZodOptional<z.ZodAny>;
734
+ }, "strip", z.ZodTypeAny, {
735
+ type: "string" | "number" | "boolean" | "object" | "array";
736
+ required?: string[] | undefined;
737
+ properties?: Record<string, {
738
+ type: "string" | "number" | "boolean" | "object" | "array";
739
+ default?: any;
740
+ description?: string | undefined;
741
+ enum?: string[] | undefined;
742
+ }> | undefined;
743
+ items?: any;
744
+ }, {
745
+ type: "string" | "number" | "boolean" | "object" | "array";
746
+ required?: string[] | undefined;
747
+ properties?: Record<string, {
748
+ type: "string" | "number" | "boolean" | "object" | "array";
749
+ default?: any;
750
+ description?: string | undefined;
751
+ enum?: string[] | undefined;
752
+ }> | undefined;
753
+ items?: any;
754
+ }>>;
755
+ }, "strip", z.ZodTypeAny, {
756
+ inputSchema: {
757
+ type: "string" | "number" | "boolean" | "object" | "array";
758
+ required?: string[] | undefined;
759
+ properties?: Record<string, {
760
+ type: "string" | "number" | "boolean" | "object" | "array";
761
+ default?: any;
762
+ description?: string | undefined;
763
+ enum?: string[] | undefined;
764
+ }> | undefined;
765
+ items?: any;
766
+ };
767
+ name: string;
768
+ description: string;
769
+ outputSchema?: {
770
+ type: "string" | "number" | "boolean" | "object" | "array";
771
+ required?: string[] | undefined;
772
+ properties?: Record<string, {
773
+ type: "string" | "number" | "boolean" | "object" | "array";
774
+ default?: any;
775
+ description?: string | undefined;
776
+ enum?: string[] | undefined;
777
+ }> | undefined;
778
+ items?: any;
779
+ } | undefined;
780
+ }, {
781
+ inputSchema: {
782
+ type: "string" | "number" | "boolean" | "object" | "array";
783
+ required?: string[] | undefined;
784
+ properties?: Record<string, {
785
+ type: "string" | "number" | "boolean" | "object" | "array";
786
+ default?: any;
787
+ description?: string | undefined;
788
+ enum?: string[] | undefined;
789
+ }> | undefined;
790
+ items?: any;
791
+ };
792
+ name: string;
793
+ description: string;
794
+ outputSchema?: {
795
+ type: "string" | "number" | "boolean" | "object" | "array";
796
+ required?: string[] | undefined;
797
+ properties?: Record<string, {
798
+ type: "string" | "number" | "boolean" | "object" | "array";
799
+ default?: any;
800
+ description?: string | undefined;
801
+ enum?: string[] | undefined;
802
+ }> | undefined;
803
+ items?: any;
804
+ } | undefined;
805
+ }>, "many">;
806
+ } & {
807
+ type: z.ZodLiteral<"external_service">;
808
+ protocol: z.ZodEnum<["http", "streamable_http"]>;
809
+ weatherConfig: z.ZodObject<{
810
+ apiEndpoint: z.ZodString;
811
+ apiKey: z.ZodString;
812
+ updateInterval: z.ZodNumber;
813
+ }, "strip", z.ZodTypeAny, {
814
+ apiEndpoint: string;
815
+ apiKey: string;
816
+ updateInterval: number;
817
+ }, {
818
+ apiEndpoint: string;
819
+ apiKey: string;
820
+ updateInterval: number;
821
+ }>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ id: string;
824
+ type: "external_service";
825
+ name: string;
826
+ description: string;
827
+ capabilities: {
828
+ inputSchema: {
829
+ type: "string" | "number" | "boolean" | "object" | "array";
830
+ required?: string[] | undefined;
831
+ properties?: Record<string, {
832
+ type: "string" | "number" | "boolean" | "object" | "array";
833
+ default?: any;
834
+ description?: string | undefined;
835
+ enum?: string[] | undefined;
836
+ }> | undefined;
837
+ items?: any;
838
+ };
839
+ name: string;
840
+ description: string;
841
+ outputSchema?: {
842
+ type: "string" | "number" | "boolean" | "object" | "array";
843
+ required?: string[] | undefined;
844
+ properties?: Record<string, {
845
+ type: "string" | "number" | "boolean" | "object" | "array";
846
+ default?: any;
847
+ description?: string | undefined;
848
+ enum?: string[] | undefined;
849
+ }> | undefined;
850
+ items?: any;
851
+ } | undefined;
852
+ }[];
853
+ protocol: "http" | "streamable_http";
854
+ weatherConfig: {
855
+ apiEndpoint: string;
856
+ apiKey: string;
857
+ updateInterval: number;
858
+ };
859
+ command?: string | undefined;
860
+ endpoint?: string | undefined;
861
+ args?: string[] | undefined;
862
+ env?: Record<string, string> | undefined;
863
+ }, {
864
+ id: string;
865
+ type: "external_service";
866
+ name: string;
867
+ description: string;
868
+ capabilities: {
869
+ inputSchema: {
870
+ type: "string" | "number" | "boolean" | "object" | "array";
871
+ required?: string[] | undefined;
872
+ properties?: Record<string, {
873
+ type: "string" | "number" | "boolean" | "object" | "array";
874
+ default?: any;
875
+ description?: string | undefined;
876
+ enum?: string[] | undefined;
877
+ }> | undefined;
878
+ items?: any;
879
+ };
880
+ name: string;
881
+ description: string;
882
+ outputSchema?: {
883
+ type: "string" | "number" | "boolean" | "object" | "array";
884
+ required?: string[] | undefined;
885
+ properties?: Record<string, {
886
+ type: "string" | "number" | "boolean" | "object" | "array";
887
+ default?: any;
888
+ description?: string | undefined;
889
+ enum?: string[] | undefined;
890
+ }> | undefined;
891
+ items?: any;
892
+ } | undefined;
893
+ }[];
894
+ protocol: "http" | "streamable_http";
895
+ weatherConfig: {
896
+ apiEndpoint: string;
897
+ apiKey: string;
898
+ updateInterval: number;
899
+ };
900
+ command?: string | undefined;
901
+ endpoint?: string | undefined;
902
+ args?: string[] | undefined;
903
+ env?: Record<string, string> | undefined;
904
+ }>;
905
+ export declare const MCPMetadataSchema: z.ZodObject<{
906
+ id: z.ZodString;
907
+ name: z.ZodString;
908
+ displayName: z.ZodString;
909
+ description: z.ZodString;
910
+ category: z.ZodEnum<["data_source", "external_service", "notification", "ai_service"]>;
911
+ tags: z.ZodArray<z.ZodString, "many">;
912
+ author: z.ZodString;
913
+ version: z.ZodString;
914
+ createdAt: z.ZodString;
915
+ updatedAt: z.ZodString;
916
+ status: z.ZodEnum<["draft", "published", "deprecated"]>;
917
+ protocol: z.ZodEnum<["stdio", "http", "streamable_http", "sse"]>;
918
+ authRequired: z.ZodDefault<z.ZodBoolean>;
919
+ authType: z.ZodOptional<z.ZodEnum<["none", "api_key", "oauth", "basic", "custom"]>>;
920
+ setupComplexity: z.ZodDefault<z.ZodEnum<["simple", "medium", "complex"]>>;
921
+ documentationUrl: z.ZodOptional<z.ZodString>;
922
+ }, "strip", z.ZodTypeAny, {
923
+ status: "draft" | "published" | "deprecated";
924
+ id: string;
925
+ name: string;
926
+ description: string;
927
+ displayName: string;
928
+ category: "data_source" | "external_service" | "notification" | "ai_service";
929
+ tags: string[];
930
+ author: string;
931
+ version: string;
932
+ createdAt: string;
933
+ updatedAt: string;
934
+ protocol: "stdio" | "http" | "streamable_http" | "sse";
935
+ authRequired: boolean;
936
+ setupComplexity: "medium" | "simple" | "complex";
937
+ documentationUrl?: string | undefined;
938
+ authType?: "none" | "basic" | "api_key" | "custom" | "oauth" | undefined;
939
+ }, {
940
+ status: "draft" | "published" | "deprecated";
941
+ id: string;
942
+ name: string;
943
+ description: string;
944
+ displayName: string;
945
+ category: "data_source" | "external_service" | "notification" | "ai_service";
946
+ tags: string[];
947
+ author: string;
948
+ version: string;
949
+ createdAt: string;
950
+ updatedAt: string;
951
+ protocol: "stdio" | "http" | "streamable_http" | "sse";
952
+ documentationUrl?: string | undefined;
953
+ authRequired?: boolean | undefined;
954
+ authType?: "none" | "basic" | "api_key" | "custom" | "oauth" | undefined;
955
+ setupComplexity?: "medium" | "simple" | "complex" | undefined;
956
+ }>;
957
+ export declare const MCPTemplateSchema: z.ZodObject<{
958
+ id: z.ZodString;
959
+ name: z.ZodString;
960
+ description: z.ZodString;
961
+ category: z.ZodEnum<["data_source", "external_service", "notification", "ai_service", "demo"]>;
962
+ templateType: z.ZodEnum<["builtin", "custom"]>;
963
+ baseConfig: z.ZodObject<{
964
+ id: z.ZodOptional<z.ZodString>;
965
+ name: z.ZodOptional<z.ZodString>;
966
+ description: z.ZodOptional<z.ZodString>;
967
+ type: z.ZodOptional<z.ZodEnum<["data_source", "external_service", "notification"]>>;
968
+ protocol: z.ZodOptional<z.ZodEnum<["stdio", "http", "streamable_http", "sse"]>>;
969
+ endpoint: z.ZodOptional<z.ZodOptional<z.ZodString>>;
970
+ command: z.ZodOptional<z.ZodOptional<z.ZodString>>;
971
+ args: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
972
+ env: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
973
+ capabilities: z.ZodOptional<z.ZodArray<z.ZodObject<{
974
+ name: z.ZodString;
975
+ description: z.ZodString;
976
+ inputSchema: z.ZodObject<{
977
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
978
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
979
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
980
+ description: z.ZodOptional<z.ZodString>;
981
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
982
+ default: z.ZodOptional<z.ZodAny>;
983
+ }, "strip", z.ZodTypeAny, {
984
+ type: "string" | "number" | "boolean" | "object" | "array";
985
+ default?: any;
986
+ description?: string | undefined;
987
+ enum?: string[] | undefined;
988
+ }, {
989
+ type: "string" | "number" | "boolean" | "object" | "array";
990
+ default?: any;
991
+ description?: string | undefined;
992
+ enum?: string[] | undefined;
993
+ }>>>;
994
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
995
+ items: z.ZodOptional<z.ZodAny>;
996
+ }, "strip", z.ZodTypeAny, {
997
+ type: "string" | "number" | "boolean" | "object" | "array";
998
+ required?: string[] | undefined;
999
+ properties?: Record<string, {
1000
+ type: "string" | "number" | "boolean" | "object" | "array";
1001
+ default?: any;
1002
+ description?: string | undefined;
1003
+ enum?: string[] | undefined;
1004
+ }> | undefined;
1005
+ items?: any;
1006
+ }, {
1007
+ type: "string" | "number" | "boolean" | "object" | "array";
1008
+ required?: string[] | undefined;
1009
+ properties?: Record<string, {
1010
+ type: "string" | "number" | "boolean" | "object" | "array";
1011
+ default?: any;
1012
+ description?: string | undefined;
1013
+ enum?: string[] | undefined;
1014
+ }> | undefined;
1015
+ items?: any;
1016
+ }>;
1017
+ outputSchema: z.ZodOptional<z.ZodObject<{
1018
+ type: z.ZodEnum<["object", "array", "string", "number", "boolean"]>;
1019
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1020
+ type: z.ZodEnum<["string", "number", "boolean", "object", "array"]>;
1021
+ description: z.ZodOptional<z.ZodString>;
1022
+ enum: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1023
+ default: z.ZodOptional<z.ZodAny>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ type: "string" | "number" | "boolean" | "object" | "array";
1026
+ default?: any;
1027
+ description?: string | undefined;
1028
+ enum?: string[] | undefined;
1029
+ }, {
1030
+ type: "string" | "number" | "boolean" | "object" | "array";
1031
+ default?: any;
1032
+ description?: string | undefined;
1033
+ enum?: string[] | undefined;
1034
+ }>>>;
1035
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1036
+ items: z.ZodOptional<z.ZodAny>;
1037
+ }, "strip", z.ZodTypeAny, {
1038
+ type: "string" | "number" | "boolean" | "object" | "array";
1039
+ required?: string[] | undefined;
1040
+ properties?: Record<string, {
1041
+ type: "string" | "number" | "boolean" | "object" | "array";
1042
+ default?: any;
1043
+ description?: string | undefined;
1044
+ enum?: string[] | undefined;
1045
+ }> | undefined;
1046
+ items?: any;
1047
+ }, {
1048
+ type: "string" | "number" | "boolean" | "object" | "array";
1049
+ required?: string[] | undefined;
1050
+ properties?: Record<string, {
1051
+ type: "string" | "number" | "boolean" | "object" | "array";
1052
+ default?: any;
1053
+ description?: string | undefined;
1054
+ enum?: string[] | undefined;
1055
+ }> | undefined;
1056
+ items?: any;
1057
+ }>>;
1058
+ }, "strip", z.ZodTypeAny, {
1059
+ inputSchema: {
1060
+ type: "string" | "number" | "boolean" | "object" | "array";
1061
+ required?: string[] | undefined;
1062
+ properties?: Record<string, {
1063
+ type: "string" | "number" | "boolean" | "object" | "array";
1064
+ default?: any;
1065
+ description?: string | undefined;
1066
+ enum?: string[] | undefined;
1067
+ }> | undefined;
1068
+ items?: any;
1069
+ };
1070
+ name: string;
1071
+ description: string;
1072
+ outputSchema?: {
1073
+ type: "string" | "number" | "boolean" | "object" | "array";
1074
+ required?: string[] | undefined;
1075
+ properties?: Record<string, {
1076
+ type: "string" | "number" | "boolean" | "object" | "array";
1077
+ default?: any;
1078
+ description?: string | undefined;
1079
+ enum?: string[] | undefined;
1080
+ }> | undefined;
1081
+ items?: any;
1082
+ } | undefined;
1083
+ }, {
1084
+ inputSchema: {
1085
+ type: "string" | "number" | "boolean" | "object" | "array";
1086
+ required?: string[] | undefined;
1087
+ properties?: Record<string, {
1088
+ type: "string" | "number" | "boolean" | "object" | "array";
1089
+ default?: any;
1090
+ description?: string | undefined;
1091
+ enum?: string[] | undefined;
1092
+ }> | undefined;
1093
+ items?: any;
1094
+ };
1095
+ name: string;
1096
+ description: string;
1097
+ outputSchema?: {
1098
+ type: "string" | "number" | "boolean" | "object" | "array";
1099
+ required?: string[] | undefined;
1100
+ properties?: Record<string, {
1101
+ type: "string" | "number" | "boolean" | "object" | "array";
1102
+ default?: any;
1103
+ description?: string | undefined;
1104
+ enum?: string[] | undefined;
1105
+ }> | undefined;
1106
+ items?: any;
1107
+ } | undefined;
1108
+ }>, "many">>;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ command?: string | undefined;
1111
+ id?: string | undefined;
1112
+ type?: "data_source" | "external_service" | "notification" | undefined;
1113
+ name?: string | undefined;
1114
+ description?: string | undefined;
1115
+ capabilities?: {
1116
+ inputSchema: {
1117
+ type: "string" | "number" | "boolean" | "object" | "array";
1118
+ required?: string[] | undefined;
1119
+ properties?: Record<string, {
1120
+ type: "string" | "number" | "boolean" | "object" | "array";
1121
+ default?: any;
1122
+ description?: string | undefined;
1123
+ enum?: string[] | undefined;
1124
+ }> | undefined;
1125
+ items?: any;
1126
+ };
1127
+ name: string;
1128
+ description: string;
1129
+ outputSchema?: {
1130
+ type: "string" | "number" | "boolean" | "object" | "array";
1131
+ required?: string[] | undefined;
1132
+ properties?: Record<string, {
1133
+ type: "string" | "number" | "boolean" | "object" | "array";
1134
+ default?: any;
1135
+ description?: string | undefined;
1136
+ enum?: string[] | undefined;
1137
+ }> | undefined;
1138
+ items?: any;
1139
+ } | undefined;
1140
+ }[] | undefined;
1141
+ protocol?: "stdio" | "http" | "streamable_http" | "sse" | undefined;
1142
+ endpoint?: string | undefined;
1143
+ args?: string[] | undefined;
1144
+ env?: Record<string, string> | undefined;
1145
+ }, {
1146
+ command?: string | undefined;
1147
+ id?: string | undefined;
1148
+ type?: "data_source" | "external_service" | "notification" | undefined;
1149
+ name?: string | undefined;
1150
+ description?: string | undefined;
1151
+ capabilities?: {
1152
+ inputSchema: {
1153
+ type: "string" | "number" | "boolean" | "object" | "array";
1154
+ required?: string[] | undefined;
1155
+ properties?: Record<string, {
1156
+ type: "string" | "number" | "boolean" | "object" | "array";
1157
+ default?: any;
1158
+ description?: string | undefined;
1159
+ enum?: string[] | undefined;
1160
+ }> | undefined;
1161
+ items?: any;
1162
+ };
1163
+ name: string;
1164
+ description: string;
1165
+ outputSchema?: {
1166
+ type: "string" | "number" | "boolean" | "object" | "array";
1167
+ required?: string[] | undefined;
1168
+ properties?: Record<string, {
1169
+ type: "string" | "number" | "boolean" | "object" | "array";
1170
+ default?: any;
1171
+ description?: string | undefined;
1172
+ enum?: string[] | undefined;
1173
+ }> | undefined;
1174
+ items?: any;
1175
+ } | undefined;
1176
+ }[] | undefined;
1177
+ protocol?: "stdio" | "http" | "streamable_http" | "sse" | undefined;
1178
+ endpoint?: string | undefined;
1179
+ args?: string[] | undefined;
1180
+ env?: Record<string, string> | undefined;
1181
+ }>;
1182
+ customizableFields: z.ZodArray<z.ZodString, "many">;
1183
+ setupGuide: z.ZodOptional<z.ZodString>;
1184
+ authConfigTemplate: z.ZodOptional<z.ZodObject<{
1185
+ type: z.ZodEnum<["none", "api_key", "oauth", "basic", "custom"]>;
1186
+ fields: z.ZodArray<z.ZodObject<{
1187
+ name: z.ZodString;
1188
+ label: z.ZodString;
1189
+ type: z.ZodEnum<["text", "password", "select", "checkbox"]>;
1190
+ required: z.ZodBoolean;
1191
+ defaultValue: z.ZodOptional<z.ZodString>;
1192
+ description: z.ZodOptional<z.ZodString>;
1193
+ }, "strip", z.ZodTypeAny, {
1194
+ type: "text" | "password" | "select" | "checkbox";
1195
+ name: string;
1196
+ required: boolean;
1197
+ label: string;
1198
+ description?: string | undefined;
1199
+ defaultValue?: string | undefined;
1200
+ }, {
1201
+ type: "text" | "password" | "select" | "checkbox";
1202
+ name: string;
1203
+ required: boolean;
1204
+ label: string;
1205
+ description?: string | undefined;
1206
+ defaultValue?: string | undefined;
1207
+ }>, "many">;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ type: "none" | "basic" | "api_key" | "custom" | "oauth";
1210
+ fields: {
1211
+ type: "text" | "password" | "select" | "checkbox";
1212
+ name: string;
1213
+ required: boolean;
1214
+ label: string;
1215
+ description?: string | undefined;
1216
+ defaultValue?: string | undefined;
1217
+ }[];
1218
+ }, {
1219
+ type: "none" | "basic" | "api_key" | "custom" | "oauth";
1220
+ fields: {
1221
+ type: "text" | "password" | "select" | "checkbox";
1222
+ name: string;
1223
+ required: boolean;
1224
+ label: string;
1225
+ description?: string | undefined;
1226
+ defaultValue?: string | undefined;
1227
+ }[];
1228
+ }>>;
1229
+ testConnectionScript: z.ZodOptional<z.ZodString>;
1230
+ }, "strip", z.ZodTypeAny, {
1231
+ id: string;
1232
+ name: string;
1233
+ description: string;
1234
+ category: "data_source" | "external_service" | "notification" | "demo" | "ai_service";
1235
+ baseConfig: {
1236
+ command?: string | undefined;
1237
+ id?: string | undefined;
1238
+ type?: "data_source" | "external_service" | "notification" | undefined;
1239
+ name?: string | undefined;
1240
+ description?: string | undefined;
1241
+ capabilities?: {
1242
+ inputSchema: {
1243
+ type: "string" | "number" | "boolean" | "object" | "array";
1244
+ required?: string[] | undefined;
1245
+ properties?: Record<string, {
1246
+ type: "string" | "number" | "boolean" | "object" | "array";
1247
+ default?: any;
1248
+ description?: string | undefined;
1249
+ enum?: string[] | undefined;
1250
+ }> | undefined;
1251
+ items?: any;
1252
+ };
1253
+ name: string;
1254
+ description: string;
1255
+ outputSchema?: {
1256
+ type: "string" | "number" | "boolean" | "object" | "array";
1257
+ required?: string[] | undefined;
1258
+ properties?: Record<string, {
1259
+ type: "string" | "number" | "boolean" | "object" | "array";
1260
+ default?: any;
1261
+ description?: string | undefined;
1262
+ enum?: string[] | undefined;
1263
+ }> | undefined;
1264
+ items?: any;
1265
+ } | undefined;
1266
+ }[] | undefined;
1267
+ protocol?: "stdio" | "http" | "streamable_http" | "sse" | undefined;
1268
+ endpoint?: string | undefined;
1269
+ args?: string[] | undefined;
1270
+ env?: Record<string, string> | undefined;
1271
+ };
1272
+ customizableFields: string[];
1273
+ templateType: "custom" | "builtin";
1274
+ setupGuide?: string | undefined;
1275
+ authConfigTemplate?: {
1276
+ type: "none" | "basic" | "api_key" | "custom" | "oauth";
1277
+ fields: {
1278
+ type: "text" | "password" | "select" | "checkbox";
1279
+ name: string;
1280
+ required: boolean;
1281
+ label: string;
1282
+ description?: string | undefined;
1283
+ defaultValue?: string | undefined;
1284
+ }[];
1285
+ } | undefined;
1286
+ testConnectionScript?: string | undefined;
1287
+ }, {
1288
+ id: string;
1289
+ name: string;
1290
+ description: string;
1291
+ category: "data_source" | "external_service" | "notification" | "demo" | "ai_service";
1292
+ baseConfig: {
1293
+ command?: string | undefined;
1294
+ id?: string | undefined;
1295
+ type?: "data_source" | "external_service" | "notification" | undefined;
1296
+ name?: string | undefined;
1297
+ description?: string | undefined;
1298
+ capabilities?: {
1299
+ inputSchema: {
1300
+ type: "string" | "number" | "boolean" | "object" | "array";
1301
+ required?: string[] | undefined;
1302
+ properties?: Record<string, {
1303
+ type: "string" | "number" | "boolean" | "object" | "array";
1304
+ default?: any;
1305
+ description?: string | undefined;
1306
+ enum?: string[] | undefined;
1307
+ }> | undefined;
1308
+ items?: any;
1309
+ };
1310
+ name: string;
1311
+ description: string;
1312
+ outputSchema?: {
1313
+ type: "string" | "number" | "boolean" | "object" | "array";
1314
+ required?: string[] | undefined;
1315
+ properties?: Record<string, {
1316
+ type: "string" | "number" | "boolean" | "object" | "array";
1317
+ default?: any;
1318
+ description?: string | undefined;
1319
+ enum?: string[] | undefined;
1320
+ }> | undefined;
1321
+ items?: any;
1322
+ } | undefined;
1323
+ }[] | undefined;
1324
+ protocol?: "stdio" | "http" | "streamable_http" | "sse" | undefined;
1325
+ endpoint?: string | undefined;
1326
+ args?: string[] | undefined;
1327
+ env?: Record<string, string> | undefined;
1328
+ };
1329
+ customizableFields: string[];
1330
+ templateType: "custom" | "builtin";
1331
+ setupGuide?: string | undefined;
1332
+ authConfigTemplate?: {
1333
+ type: "none" | "basic" | "api_key" | "custom" | "oauth";
1334
+ fields: {
1335
+ type: "text" | "password" | "select" | "checkbox";
1336
+ name: string;
1337
+ required: boolean;
1338
+ label: string;
1339
+ description?: string | undefined;
1340
+ defaultValue?: string | undefined;
1341
+ }[];
1342
+ } | undefined;
1343
+ testConnectionScript?: string | undefined;
1344
+ }>;
1345
+ export declare const MCPServiceDefinitionSchema: z.ZodObject<{
1346
+ id: z.ZodString;
1347
+ mcpId: z.ZodString;
1348
+ mcpName: z.ZodString;
1349
+ serviceName: z.ZodString;
1350
+ serviceType: z.ZodEnum<["radar", "weather", "drone", "flight_plan", "notification", "ai", "database", "api"]>;
1351
+ endpoint: z.ZodString;
1352
+ protocol: z.ZodEnum<["http", "websocket", "tcp", "udp"]>;
1353
+ authConfig: z.ZodOptional<z.ZodAny>;
1354
+ capabilities: z.ZodArray<z.ZodString, "many">;
1355
+ rateLimits: z.ZodOptional<z.ZodObject<{
1356
+ requestsPerSecond: z.ZodOptional<z.ZodNumber>;
1357
+ requestsPerMinute: z.ZodOptional<z.ZodNumber>;
1358
+ requestsPerHour: z.ZodOptional<z.ZodNumber>;
1359
+ }, "strip", z.ZodTypeAny, {
1360
+ requestsPerSecond?: number | undefined;
1361
+ requestsPerMinute?: number | undefined;
1362
+ requestsPerHour?: number | undefined;
1363
+ }, {
1364
+ requestsPerSecond?: number | undefined;
1365
+ requestsPerMinute?: number | undefined;
1366
+ requestsPerHour?: number | undefined;
1367
+ }>>;
1368
+ timeout: z.ZodDefault<z.ZodNumber>;
1369
+ retryPolicy: z.ZodOptional<z.ZodObject<{
1370
+ maxRetries: z.ZodDefault<z.ZodNumber>;
1371
+ retryDelay: z.ZodDefault<z.ZodNumber>;
1372
+ backoffMultiplier: z.ZodDefault<z.ZodNumber>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ maxRetries: number;
1375
+ retryDelay: number;
1376
+ backoffMultiplier: number;
1377
+ }, {
1378
+ maxRetries?: number | undefined;
1379
+ retryDelay?: number | undefined;
1380
+ backoffMultiplier?: number | undefined;
1381
+ }>>;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ id: string;
1384
+ capabilities: string[];
1385
+ timeout: number;
1386
+ protocol: "http" | "udp" | "tcp" | "websocket";
1387
+ endpoint: string;
1388
+ mcpId: string;
1389
+ mcpName: string;
1390
+ serviceName: string;
1391
+ serviceType: "notification" | "api" | "radar" | "weather" | "drone" | "flight_plan" | "ai" | "database";
1392
+ authConfig?: any;
1393
+ rateLimits?: {
1394
+ requestsPerSecond?: number | undefined;
1395
+ requestsPerMinute?: number | undefined;
1396
+ requestsPerHour?: number | undefined;
1397
+ } | undefined;
1398
+ retryPolicy?: {
1399
+ maxRetries: number;
1400
+ retryDelay: number;
1401
+ backoffMultiplier: number;
1402
+ } | undefined;
1403
+ }, {
1404
+ id: string;
1405
+ capabilities: string[];
1406
+ protocol: "http" | "udp" | "tcp" | "websocket";
1407
+ endpoint: string;
1408
+ mcpId: string;
1409
+ mcpName: string;
1410
+ serviceName: string;
1411
+ serviceType: "notification" | "api" | "radar" | "weather" | "drone" | "flight_plan" | "ai" | "database";
1412
+ timeout?: number | undefined;
1413
+ authConfig?: any;
1414
+ rateLimits?: {
1415
+ requestsPerSecond?: number | undefined;
1416
+ requestsPerMinute?: number | undefined;
1417
+ requestsPerHour?: number | undefined;
1418
+ } | undefined;
1419
+ retryPolicy?: {
1420
+ maxRetries?: number | undefined;
1421
+ retryDelay?: number | undefined;
1422
+ backoffMultiplier?: number | undefined;
1423
+ } | undefined;
1424
+ }>;
1425
+ export declare const MCPConnectionTestSchema: z.ZodObject<{
1426
+ mcpId: z.ZodString;
1427
+ testType: z.ZodEnum<["connectivity", "capability", "auth", "full"]>;
1428
+ testTime: z.ZodString;
1429
+ status: z.ZodEnum<["success", "failure", "timeout"]>;
1430
+ responseTime: z.ZodOptional<z.ZodNumber>;
1431
+ capabilitiesTested: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1432
+ capabilitiesPassed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1433
+ capabilitiesFailed: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1434
+ errorDetails: z.ZodOptional<z.ZodString>;
1435
+ logs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ status: "success" | "failure" | "timeout";
1438
+ mcpId: string;
1439
+ testType: "connectivity" | "capability" | "auth" | "full";
1440
+ testTime: string;
1441
+ logs?: string[] | undefined;
1442
+ responseTime?: number | undefined;
1443
+ capabilitiesTested?: string[] | undefined;
1444
+ capabilitiesPassed?: string[] | undefined;
1445
+ capabilitiesFailed?: string[] | undefined;
1446
+ errorDetails?: string | undefined;
1447
+ }, {
1448
+ status: "success" | "failure" | "timeout";
1449
+ mcpId: string;
1450
+ testType: "connectivity" | "capability" | "auth" | "full";
1451
+ testTime: string;
1452
+ logs?: string[] | undefined;
1453
+ responseTime?: number | undefined;
1454
+ capabilitiesTested?: string[] | undefined;
1455
+ capabilitiesPassed?: string[] | undefined;
1456
+ capabilitiesFailed?: string[] | undefined;
1457
+ errorDetails?: string | undefined;
1458
+ }>;
1459
+ export declare const HttpToolParameterMappingSchema: z.ZodObject<{
1460
+ location: z.ZodEnum<["path", "query", "header", "body"]>;
1461
+ name: z.ZodOptional<z.ZodString>;
1462
+ }, "strip", z.ZodTypeAny, {
1463
+ location: "path" | "query" | "header" | "body";
1464
+ name?: string | undefined;
1465
+ }, {
1466
+ location: "path" | "query" | "header" | "body";
1467
+ name?: string | undefined;
1468
+ }>;
1469
+ export declare const HttpToolAuthConfigSchema: z.ZodObject<{
1470
+ type: z.ZodEnum<["none", "bearer", "basic", "api_key"]>;
1471
+ token: z.ZodOptional<z.ZodString>;
1472
+ username: z.ZodOptional<z.ZodString>;
1473
+ password: z.ZodOptional<z.ZodString>;
1474
+ headerName: z.ZodOptional<z.ZodString>;
1475
+ queryName: z.ZodOptional<z.ZodString>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ type: "none" | "bearer" | "basic" | "api_key";
1478
+ username?: string | undefined;
1479
+ password?: string | undefined;
1480
+ token?: string | undefined;
1481
+ headerName?: string | undefined;
1482
+ queryName?: string | undefined;
1483
+ }, {
1484
+ type: "none" | "bearer" | "basic" | "api_key";
1485
+ username?: string | undefined;
1486
+ password?: string | undefined;
1487
+ token?: string | undefined;
1488
+ headerName?: string | undefined;
1489
+ queryName?: string | undefined;
1490
+ }>;
1491
+ export declare const HttpToolRequestConfigSchema: z.ZodObject<{
1492
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1493
+ url: z.ZodOptional<z.ZodString>;
1494
+ baseUrl: z.ZodOptional<z.ZodString>;
1495
+ path: z.ZodOptional<z.ZodString>;
1496
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1497
+ auth: z.ZodOptional<z.ZodObject<{
1498
+ type: z.ZodEnum<["none", "bearer", "basic", "api_key"]>;
1499
+ token: z.ZodOptional<z.ZodString>;
1500
+ username: z.ZodOptional<z.ZodString>;
1501
+ password: z.ZodOptional<z.ZodString>;
1502
+ headerName: z.ZodOptional<z.ZodString>;
1503
+ queryName: z.ZodOptional<z.ZodString>;
1504
+ }, "strip", z.ZodTypeAny, {
1505
+ type: "none" | "bearer" | "basic" | "api_key";
1506
+ username?: string | undefined;
1507
+ password?: string | undefined;
1508
+ token?: string | undefined;
1509
+ headerName?: string | undefined;
1510
+ queryName?: string | undefined;
1511
+ }, {
1512
+ type: "none" | "bearer" | "basic" | "api_key";
1513
+ username?: string | undefined;
1514
+ password?: string | undefined;
1515
+ token?: string | undefined;
1516
+ headerName?: string | undefined;
1517
+ queryName?: string | undefined;
1518
+ }>>;
1519
+ contentType: z.ZodOptional<z.ZodEnum<["json", "form", "text"]>>;
1520
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1521
+ location: z.ZodEnum<["path", "query", "header", "body"]>;
1522
+ name: z.ZodOptional<z.ZodString>;
1523
+ }, "strip", z.ZodTypeAny, {
1524
+ location: "path" | "query" | "header" | "body";
1525
+ name?: string | undefined;
1526
+ }, {
1527
+ location: "path" | "query" | "header" | "body";
1528
+ name?: string | undefined;
1529
+ }>>>;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1532
+ path?: string | undefined;
1533
+ url?: string | undefined;
1534
+ auth?: {
1535
+ type: "none" | "bearer" | "basic" | "api_key";
1536
+ username?: string | undefined;
1537
+ password?: string | undefined;
1538
+ token?: string | undefined;
1539
+ headerName?: string | undefined;
1540
+ queryName?: string | undefined;
1541
+ } | undefined;
1542
+ baseUrl?: string | undefined;
1543
+ headers?: Record<string, string> | undefined;
1544
+ contentType?: "json" | "form" | "text" | undefined;
1545
+ parameters?: Record<string, {
1546
+ location: "path" | "query" | "header" | "body";
1547
+ name?: string | undefined;
1548
+ }> | undefined;
1549
+ }, {
1550
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1551
+ path?: string | undefined;
1552
+ url?: string | undefined;
1553
+ auth?: {
1554
+ type: "none" | "bearer" | "basic" | "api_key";
1555
+ username?: string | undefined;
1556
+ password?: string | undefined;
1557
+ token?: string | undefined;
1558
+ headerName?: string | undefined;
1559
+ queryName?: string | undefined;
1560
+ } | undefined;
1561
+ baseUrl?: string | undefined;
1562
+ headers?: Record<string, string> | undefined;
1563
+ contentType?: "json" | "form" | "text" | undefined;
1564
+ parameters?: Record<string, {
1565
+ location: "path" | "query" | "header" | "body";
1566
+ name?: string | undefined;
1567
+ }> | undefined;
1568
+ }>;
1569
+ export declare const HttpToolResponseConfigSchema: z.ZodObject<{
1570
+ dataPath: z.ZodOptional<z.ZodString>;
1571
+ contentType: z.ZodOptional<z.ZodEnum<["auto", "json", "text"]>>;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ contentType?: "json" | "auto" | "text" | undefined;
1574
+ dataPath?: string | undefined;
1575
+ }, {
1576
+ contentType?: "json" | "auto" | "text" | undefined;
1577
+ dataPath?: string | undefined;
1578
+ }>;
1579
+ export declare const HttpToolDefinitionSchema: z.ZodObject<{
1580
+ id: z.ZodString;
1581
+ name: z.ZodString;
1582
+ description: z.ZodOptional<z.ZodString>;
1583
+ enabled: z.ZodBoolean;
1584
+ riskLevel: z.ZodEnum<["safe", "read", "write", "dangerous"]>;
1585
+ inputSchema: z.ZodObject<{
1586
+ type: z.ZodLiteral<"object">;
1587
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
1588
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1589
+ additionalProperties: z.ZodOptional<z.ZodBoolean>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ type: "object";
1592
+ required?: string[] | undefined;
1593
+ properties?: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1594
+ additionalProperties?: boolean | undefined;
1595
+ }, {
1596
+ type: "object";
1597
+ required?: string[] | undefined;
1598
+ properties?: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1599
+ additionalProperties?: boolean | undefined;
1600
+ }>;
1601
+ request: z.ZodObject<{
1602
+ method: z.ZodEnum<["GET", "POST", "PUT", "PATCH", "DELETE"]>;
1603
+ url: z.ZodOptional<z.ZodString>;
1604
+ baseUrl: z.ZodOptional<z.ZodString>;
1605
+ path: z.ZodOptional<z.ZodString>;
1606
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1607
+ auth: z.ZodOptional<z.ZodObject<{
1608
+ type: z.ZodEnum<["none", "bearer", "basic", "api_key"]>;
1609
+ token: z.ZodOptional<z.ZodString>;
1610
+ username: z.ZodOptional<z.ZodString>;
1611
+ password: z.ZodOptional<z.ZodString>;
1612
+ headerName: z.ZodOptional<z.ZodString>;
1613
+ queryName: z.ZodOptional<z.ZodString>;
1614
+ }, "strip", z.ZodTypeAny, {
1615
+ type: "none" | "bearer" | "basic" | "api_key";
1616
+ username?: string | undefined;
1617
+ password?: string | undefined;
1618
+ token?: string | undefined;
1619
+ headerName?: string | undefined;
1620
+ queryName?: string | undefined;
1621
+ }, {
1622
+ type: "none" | "bearer" | "basic" | "api_key";
1623
+ username?: string | undefined;
1624
+ password?: string | undefined;
1625
+ token?: string | undefined;
1626
+ headerName?: string | undefined;
1627
+ queryName?: string | undefined;
1628
+ }>>;
1629
+ contentType: z.ZodOptional<z.ZodEnum<["json", "form", "text"]>>;
1630
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1631
+ location: z.ZodEnum<["path", "query", "header", "body"]>;
1632
+ name: z.ZodOptional<z.ZodString>;
1633
+ }, "strip", z.ZodTypeAny, {
1634
+ location: "path" | "query" | "header" | "body";
1635
+ name?: string | undefined;
1636
+ }, {
1637
+ location: "path" | "query" | "header" | "body";
1638
+ name?: string | undefined;
1639
+ }>>>;
1640
+ }, "strip", z.ZodTypeAny, {
1641
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1642
+ path?: string | undefined;
1643
+ url?: string | undefined;
1644
+ auth?: {
1645
+ type: "none" | "bearer" | "basic" | "api_key";
1646
+ username?: string | undefined;
1647
+ password?: string | undefined;
1648
+ token?: string | undefined;
1649
+ headerName?: string | undefined;
1650
+ queryName?: string | undefined;
1651
+ } | undefined;
1652
+ baseUrl?: string | undefined;
1653
+ headers?: Record<string, string> | undefined;
1654
+ contentType?: "json" | "form" | "text" | undefined;
1655
+ parameters?: Record<string, {
1656
+ location: "path" | "query" | "header" | "body";
1657
+ name?: string | undefined;
1658
+ }> | undefined;
1659
+ }, {
1660
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1661
+ path?: string | undefined;
1662
+ url?: string | undefined;
1663
+ auth?: {
1664
+ type: "none" | "bearer" | "basic" | "api_key";
1665
+ username?: string | undefined;
1666
+ password?: string | undefined;
1667
+ token?: string | undefined;
1668
+ headerName?: string | undefined;
1669
+ queryName?: string | undefined;
1670
+ } | undefined;
1671
+ baseUrl?: string | undefined;
1672
+ headers?: Record<string, string> | undefined;
1673
+ contentType?: "json" | "form" | "text" | undefined;
1674
+ parameters?: Record<string, {
1675
+ location: "path" | "query" | "header" | "body";
1676
+ name?: string | undefined;
1677
+ }> | undefined;
1678
+ }>;
1679
+ response: z.ZodOptional<z.ZodObject<{
1680
+ dataPath: z.ZodOptional<z.ZodString>;
1681
+ contentType: z.ZodOptional<z.ZodEnum<["auto", "json", "text"]>>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ contentType?: "json" | "auto" | "text" | undefined;
1684
+ dataPath?: string | undefined;
1685
+ }, {
1686
+ contentType?: "json" | "auto" | "text" | undefined;
1687
+ dataPath?: string | undefined;
1688
+ }>>;
1689
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
1690
+ retry: z.ZodOptional<z.ZodObject<{
1691
+ maxRetries: z.ZodOptional<z.ZodNumber>;
1692
+ retryDelayMs: z.ZodOptional<z.ZodNumber>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ maxRetries?: number | undefined;
1695
+ retryDelayMs?: number | undefined;
1696
+ }, {
1697
+ maxRetries?: number | undefined;
1698
+ retryDelayMs?: number | undefined;
1699
+ }>>;
1700
+ lastDebugResult: z.ZodOptional<z.ZodAny>;
1701
+ createdAt: z.ZodString;
1702
+ updatedAt: z.ZodString;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ inputSchema: {
1705
+ type: "object";
1706
+ required?: string[] | undefined;
1707
+ properties?: Record<string, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1708
+ additionalProperties?: boolean | undefined;
1709
+ };
1710
+ id: string;
1711
+ name: string;
1712
+ createdAt: string;
1713
+ updatedAt: string;
1714
+ enabled: boolean;
1715
+ riskLevel: "safe" | "read" | "write" | "dangerous";
1716
+ request: {
1717
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1718
+ path?: string | undefined;
1719
+ url?: string | undefined;
1720
+ auth?: {
1721
+ type: "none" | "bearer" | "basic" | "api_key";
1722
+ username?: string | undefined;
1723
+ password?: string | undefined;
1724
+ token?: string | undefined;
1725
+ headerName?: string | undefined;
1726
+ queryName?: string | undefined;
1727
+ } | undefined;
1728
+ baseUrl?: string | undefined;
1729
+ headers?: Record<string, string> | undefined;
1730
+ contentType?: "json" | "form" | "text" | undefined;
1731
+ parameters?: Record<string, {
1732
+ location: "path" | "query" | "header" | "body";
1733
+ name?: string | undefined;
1734
+ }> | undefined;
1735
+ };
1736
+ description?: string | undefined;
1737
+ response?: {
1738
+ contentType?: "json" | "auto" | "text" | undefined;
1739
+ dataPath?: string | undefined;
1740
+ } | undefined;
1741
+ timeoutMs?: number | undefined;
1742
+ retry?: {
1743
+ maxRetries?: number | undefined;
1744
+ retryDelayMs?: number | undefined;
1745
+ } | undefined;
1746
+ lastDebugResult?: any;
1747
+ }, {
1748
+ inputSchema: {
1749
+ type: "object";
1750
+ required?: string[] | undefined;
1751
+ properties?: Record<string, z.objectInputType<{}, z.ZodTypeAny, "passthrough">> | undefined;
1752
+ additionalProperties?: boolean | undefined;
1753
+ };
1754
+ id: string;
1755
+ name: string;
1756
+ createdAt: string;
1757
+ updatedAt: string;
1758
+ enabled: boolean;
1759
+ riskLevel: "safe" | "read" | "write" | "dangerous";
1760
+ request: {
1761
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
1762
+ path?: string | undefined;
1763
+ url?: string | undefined;
1764
+ auth?: {
1765
+ type: "none" | "bearer" | "basic" | "api_key";
1766
+ username?: string | undefined;
1767
+ password?: string | undefined;
1768
+ token?: string | undefined;
1769
+ headerName?: string | undefined;
1770
+ queryName?: string | undefined;
1771
+ } | undefined;
1772
+ baseUrl?: string | undefined;
1773
+ headers?: Record<string, string> | undefined;
1774
+ contentType?: "json" | "form" | "text" | undefined;
1775
+ parameters?: Record<string, {
1776
+ location: "path" | "query" | "header" | "body";
1777
+ name?: string | undefined;
1778
+ }> | undefined;
1779
+ };
1780
+ description?: string | undefined;
1781
+ response?: {
1782
+ contentType?: "json" | "auto" | "text" | undefined;
1783
+ dataPath?: string | undefined;
1784
+ } | undefined;
1785
+ timeoutMs?: number | undefined;
1786
+ retry?: {
1787
+ maxRetries?: number | undefined;
1788
+ retryDelayMs?: number | undefined;
1789
+ } | undefined;
1790
+ lastDebugResult?: any;
1791
+ }>;