@toolsdk.ai/registry 1.0.97 → 1.0.98

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/helper.js CHANGED
@@ -76,8 +76,10 @@ export function updatePackageJsonDependencies({ packageDeps, enableValidation =
76
76
  const newDeps = {
77
77
  '@modelcontextprotocol/sdk': '^1.12.0',
78
78
  '@hono/node-server': '1.15.0',
79
+ '@hono/swagger-ui': '^0.5.2',
80
+ '@hono/zod-openapi': '^0.16.4',
79
81
  lodash: '^4.17.21',
80
- zod: '^3.23.30',
82
+ zod: '^3.25.67',
81
83
  axios: '^1.9.0',
82
84
  hono: '4.8.3',
83
85
  semver: '^7.5.4',
package/dist/schema.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import { z } from '@hono/zod-openapi';
2
2
  export declare const PackageKeySchema: z.ZodString;
3
3
  export declare const HostingBlackListSchema: z.ZodArray<z.ZodString, "many">;
4
4
  export declare const FeaturedListSchema: z.ZodArray<z.ZodString, "many">;
@@ -23,12 +23,12 @@ export declare const CategoryConfigSchema: z.ZodObject<{
23
23
  name: z.ZodString;
24
24
  description: z.ZodOptional<z.ZodString>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- key: string;
27
26
  name: string;
27
+ key: string;
28
28
  description?: string | undefined;
29
29
  }, {
30
- key: string;
31
30
  name: string;
31
+ key: string;
32
32
  description?: string | undefined;
33
33
  }>;
34
34
  export declare const MCPServerPackageConfigSchema: z.ZodObject<{
@@ -60,9 +60,9 @@ export declare const MCPServerPackageConfigSchema: z.ZodObject<{
60
60
  type: "mcp-server";
61
61
  packageName: string;
62
62
  runtime: "node" | "python" | "java" | "go";
63
- key?: string | undefined;
64
- name?: string | undefined;
65
63
  description?: string | undefined;
64
+ name?: string | undefined;
65
+ key?: string | undefined;
66
66
  packageVersion?: string | undefined;
67
67
  bin?: string | undefined;
68
68
  binArgs?: string[] | undefined;
@@ -79,9 +79,9 @@ export declare const MCPServerPackageConfigSchema: z.ZodObject<{
79
79
  type: "mcp-server";
80
80
  packageName: string;
81
81
  runtime: "node" | "python" | "java" | "go";
82
- key?: string | undefined;
83
- name?: string | undefined;
84
82
  description?: string | undefined;
83
+ name?: string | undefined;
84
+ key?: string | undefined;
85
85
  packageVersion?: string | undefined;
86
86
  bin?: string | undefined;
87
87
  binArgs?: string[] | undefined;
@@ -124,9 +124,9 @@ export declare const PackageConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
124
124
  type: "mcp-server";
125
125
  packageName: string;
126
126
  runtime: "node" | "python" | "java" | "go";
127
- key?: string | undefined;
128
- name?: string | undefined;
129
127
  description?: string | undefined;
128
+ name?: string | undefined;
129
+ key?: string | undefined;
130
130
  packageVersion?: string | undefined;
131
131
  bin?: string | undefined;
132
132
  binArgs?: string[] | undefined;
@@ -143,9 +143,9 @@ export declare const PackageConfigSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
143
143
  type: "mcp-server";
144
144
  packageName: string;
145
145
  runtime: "node" | "python" | "java" | "go";
146
- key?: string | undefined;
147
- name?: string | undefined;
148
146
  description?: string | undefined;
147
+ name?: string | undefined;
148
+ key?: string | undefined;
149
149
  packageVersion?: string | undefined;
150
150
  bin?: string | undefined;
151
151
  binArgs?: string[] | undefined;
@@ -179,26 +179,628 @@ export declare const PackagesListSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
179
179
  name: z.ZodOptional<z.ZodString>;
180
180
  description: z.ZodOptional<z.ZodString>;
181
181
  }, "strip", z.ZodTypeAny, {
182
- name?: string | undefined;
183
182
  description?: string | undefined;
184
- }, {
185
183
  name?: string | undefined;
184
+ }, {
186
185
  description?: string | undefined;
186
+ name?: string | undefined;
187
187
  }>>>;
188
188
  }, "strip", z.ZodTypeAny, {
189
189
  path: string;
190
190
  category?: string | undefined;
191
191
  validated?: boolean | undefined;
192
192
  tools?: Record<string, {
193
- name?: string | undefined;
194
193
  description?: string | undefined;
194
+ name?: string | undefined;
195
195
  }> | undefined;
196
196
  }, {
197
197
  path: string;
198
198
  category?: string | undefined;
199
199
  validated?: boolean | undefined;
200
200
  tools?: Record<string, {
201
- name?: string | undefined;
202
201
  description?: string | undefined;
202
+ name?: string | undefined;
203
203
  }> | undefined;
204
204
  }>>;
205
+ export declare const BaseResponseSchema: z.ZodObject<{
206
+ success: z.ZodBoolean;
207
+ code: z.ZodNumber;
208
+ message: z.ZodString;
209
+ }, "strip", z.ZodTypeAny, {
210
+ code: number;
211
+ message: string;
212
+ success: boolean;
213
+ }, {
214
+ code: number;
215
+ message: string;
216
+ success: boolean;
217
+ }>;
218
+ export declare const ErrorResponseSchema: z.ZodObject<Omit<{
219
+ success: z.ZodBoolean;
220
+ code: z.ZodNumber;
221
+ message: z.ZodString;
222
+ }, "success"> & {
223
+ success: z.ZodLiteral<false>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ code: number;
226
+ message: string;
227
+ success: false;
228
+ }, {
229
+ code: number;
230
+ message: string;
231
+ success: false;
232
+ }>;
233
+ export declare const FeaturedResponseSchema: z.ZodObject<{
234
+ success: z.ZodBoolean;
235
+ code: z.ZodNumber;
236
+ message: z.ZodString;
237
+ } & {
238
+ data: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
239
+ }, "strip", z.ZodTypeAny, {
240
+ code: number;
241
+ message: string;
242
+ success: boolean;
243
+ data?: string[] | undefined;
244
+ }, {
245
+ code: number;
246
+ message: string;
247
+ success: boolean;
248
+ data?: string[] | undefined;
249
+ }>;
250
+ export declare const CategoriesResponseSchema: z.ZodObject<{
251
+ success: z.ZodBoolean;
252
+ code: z.ZodNumber;
253
+ message: z.ZodString;
254
+ } & {
255
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
256
+ key: z.ZodString;
257
+ name: z.ZodString;
258
+ description: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ name: string;
261
+ key: string;
262
+ description?: string | undefined;
263
+ }, {
264
+ name: string;
265
+ key: string;
266
+ description?: string | undefined;
267
+ }>, "many">>;
268
+ }, "strip", z.ZodTypeAny, {
269
+ code: number;
270
+ message: string;
271
+ success: boolean;
272
+ data?: {
273
+ name: string;
274
+ key: string;
275
+ description?: string | undefined;
276
+ }[] | undefined;
277
+ }, {
278
+ code: number;
279
+ message: string;
280
+ success: boolean;
281
+ data?: {
282
+ name: string;
283
+ key: string;
284
+ description?: string | undefined;
285
+ }[] | undefined;
286
+ }>;
287
+ export declare const PackagesListResponseSchema: z.ZodObject<{
288
+ success: z.ZodBoolean;
289
+ code: z.ZodNumber;
290
+ message: z.ZodString;
291
+ } & {
292
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
293
+ category: z.ZodOptional<z.ZodString>;
294
+ path: z.ZodString;
295
+ validated: z.ZodOptional<z.ZodBoolean>;
296
+ tools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
297
+ name: z.ZodOptional<z.ZodString>;
298
+ description: z.ZodOptional<z.ZodString>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ description?: string | undefined;
301
+ name?: string | undefined;
302
+ }, {
303
+ description?: string | undefined;
304
+ name?: string | undefined;
305
+ }>>>;
306
+ }, "strip", z.ZodTypeAny, {
307
+ path: string;
308
+ category?: string | undefined;
309
+ validated?: boolean | undefined;
310
+ tools?: Record<string, {
311
+ description?: string | undefined;
312
+ name?: string | undefined;
313
+ }> | undefined;
314
+ }, {
315
+ path: string;
316
+ category?: string | undefined;
317
+ validated?: boolean | undefined;
318
+ tools?: Record<string, {
319
+ description?: string | undefined;
320
+ name?: string | undefined;
321
+ }> | undefined;
322
+ }>>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ code: number;
325
+ message: string;
326
+ success: boolean;
327
+ data?: Record<string, {
328
+ path: string;
329
+ category?: string | undefined;
330
+ validated?: boolean | undefined;
331
+ tools?: Record<string, {
332
+ description?: string | undefined;
333
+ name?: string | undefined;
334
+ }> | undefined;
335
+ }> | undefined;
336
+ }, {
337
+ code: number;
338
+ message: string;
339
+ success: boolean;
340
+ data?: Record<string, {
341
+ path: string;
342
+ category?: string | undefined;
343
+ validated?: boolean | undefined;
344
+ tools?: Record<string, {
345
+ description?: string | undefined;
346
+ name?: string | undefined;
347
+ }> | undefined;
348
+ }> | undefined;
349
+ }>;
350
+ export declare const PackageDetailDataSchema: z.ZodObject<{
351
+ type: z.ZodLiteral<"mcp-server">;
352
+ runtime: z.ZodEnum<["node", "python", "java", "go"]>;
353
+ packageName: z.ZodString;
354
+ packageVersion: z.ZodOptional<z.ZodString>;
355
+ bin: z.ZodOptional<z.ZodString>;
356
+ binArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
357
+ key: z.ZodOptional<z.ZodString>;
358
+ name: z.ZodOptional<z.ZodString>;
359
+ description: z.ZodOptional<z.ZodString>;
360
+ readme: z.ZodOptional<z.ZodString>;
361
+ url: z.ZodOptional<z.ZodString>;
362
+ license: z.ZodOptional<z.ZodString>;
363
+ logo: z.ZodOptional<z.ZodString>;
364
+ author: z.ZodOptional<z.ZodString>;
365
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
366
+ description: z.ZodString;
367
+ required: z.ZodBoolean;
368
+ }, "strip", z.ZodTypeAny, {
369
+ description: string;
370
+ required: boolean;
371
+ }, {
372
+ description: string;
373
+ required: boolean;
374
+ }>>>;
375
+ } & {
376
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
377
+ name: z.ZodString;
378
+ description: z.ZodOptional<z.ZodString>;
379
+ inputSchema: z.ZodOptional<z.ZodObject<{
380
+ type: z.ZodString;
381
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
382
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
383
+ }, "strip", z.ZodTypeAny, {
384
+ type: string;
385
+ properties?: Record<string, unknown> | undefined;
386
+ required?: string[] | undefined;
387
+ }, {
388
+ type: string;
389
+ properties?: Record<string, unknown> | undefined;
390
+ required?: string[] | undefined;
391
+ }>>;
392
+ }, "strip", z.ZodTypeAny, {
393
+ name: string;
394
+ description?: string | undefined;
395
+ inputSchema?: {
396
+ type: string;
397
+ properties?: Record<string, unknown> | undefined;
398
+ required?: string[] | undefined;
399
+ } | undefined;
400
+ }, {
401
+ name: string;
402
+ description?: string | undefined;
403
+ inputSchema?: {
404
+ type: string;
405
+ properties?: Record<string, unknown> | undefined;
406
+ required?: string[] | undefined;
407
+ } | undefined;
408
+ }>, "many">>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ type: "mcp-server";
411
+ packageName: string;
412
+ runtime: "node" | "python" | "java" | "go";
413
+ description?: string | undefined;
414
+ name?: string | undefined;
415
+ key?: string | undefined;
416
+ packageVersion?: string | undefined;
417
+ bin?: string | undefined;
418
+ binArgs?: string[] | undefined;
419
+ readme?: string | undefined;
420
+ url?: string | undefined;
421
+ license?: string | undefined;
422
+ logo?: string | undefined;
423
+ author?: string | undefined;
424
+ env?: Record<string, {
425
+ description: string;
426
+ required: boolean;
427
+ }> | undefined;
428
+ tools?: {
429
+ name: string;
430
+ description?: string | undefined;
431
+ inputSchema?: {
432
+ type: string;
433
+ properties?: Record<string, unknown> | undefined;
434
+ required?: string[] | undefined;
435
+ } | undefined;
436
+ }[] | undefined;
437
+ }, {
438
+ type: "mcp-server";
439
+ packageName: string;
440
+ runtime: "node" | "python" | "java" | "go";
441
+ description?: string | undefined;
442
+ name?: string | undefined;
443
+ key?: string | undefined;
444
+ packageVersion?: string | undefined;
445
+ bin?: string | undefined;
446
+ binArgs?: string[] | undefined;
447
+ readme?: string | undefined;
448
+ url?: string | undefined;
449
+ license?: string | undefined;
450
+ logo?: string | undefined;
451
+ author?: string | undefined;
452
+ env?: Record<string, {
453
+ description: string;
454
+ required: boolean;
455
+ }> | undefined;
456
+ tools?: {
457
+ name: string;
458
+ description?: string | undefined;
459
+ inputSchema?: {
460
+ type: string;
461
+ properties?: Record<string, unknown> | undefined;
462
+ required?: string[] | undefined;
463
+ } | undefined;
464
+ }[] | undefined;
465
+ }>;
466
+ export declare const PackageDetailResponseSchema: z.ZodObject<{
467
+ success: z.ZodBoolean;
468
+ code: z.ZodNumber;
469
+ message: z.ZodString;
470
+ } & {
471
+ data: z.ZodOptional<z.ZodObject<{
472
+ type: z.ZodLiteral<"mcp-server">;
473
+ runtime: z.ZodEnum<["node", "python", "java", "go"]>;
474
+ packageName: z.ZodString;
475
+ packageVersion: z.ZodOptional<z.ZodString>;
476
+ bin: z.ZodOptional<z.ZodString>;
477
+ binArgs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
478
+ key: z.ZodOptional<z.ZodString>;
479
+ name: z.ZodOptional<z.ZodString>;
480
+ description: z.ZodOptional<z.ZodString>;
481
+ readme: z.ZodOptional<z.ZodString>;
482
+ url: z.ZodOptional<z.ZodString>;
483
+ license: z.ZodOptional<z.ZodString>;
484
+ logo: z.ZodOptional<z.ZodString>;
485
+ author: z.ZodOptional<z.ZodString>;
486
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
487
+ description: z.ZodString;
488
+ required: z.ZodBoolean;
489
+ }, "strip", z.ZodTypeAny, {
490
+ description: string;
491
+ required: boolean;
492
+ }, {
493
+ description: string;
494
+ required: boolean;
495
+ }>>>;
496
+ } & {
497
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
498
+ name: z.ZodString;
499
+ description: z.ZodOptional<z.ZodString>;
500
+ inputSchema: z.ZodOptional<z.ZodObject<{
501
+ type: z.ZodString;
502
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
503
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ type: string;
506
+ properties?: Record<string, unknown> | undefined;
507
+ required?: string[] | undefined;
508
+ }, {
509
+ type: string;
510
+ properties?: Record<string, unknown> | undefined;
511
+ required?: string[] | undefined;
512
+ }>>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ name: string;
515
+ description?: string | undefined;
516
+ inputSchema?: {
517
+ type: string;
518
+ properties?: Record<string, unknown> | undefined;
519
+ required?: string[] | undefined;
520
+ } | undefined;
521
+ }, {
522
+ name: string;
523
+ description?: string | undefined;
524
+ inputSchema?: {
525
+ type: string;
526
+ properties?: Record<string, unknown> | undefined;
527
+ required?: string[] | undefined;
528
+ } | undefined;
529
+ }>, "many">>;
530
+ }, "strip", z.ZodTypeAny, {
531
+ type: "mcp-server";
532
+ packageName: string;
533
+ runtime: "node" | "python" | "java" | "go";
534
+ description?: string | undefined;
535
+ name?: string | undefined;
536
+ key?: string | undefined;
537
+ packageVersion?: string | undefined;
538
+ bin?: string | undefined;
539
+ binArgs?: string[] | undefined;
540
+ readme?: string | undefined;
541
+ url?: string | undefined;
542
+ license?: string | undefined;
543
+ logo?: string | undefined;
544
+ author?: string | undefined;
545
+ env?: Record<string, {
546
+ description: string;
547
+ required: boolean;
548
+ }> | undefined;
549
+ tools?: {
550
+ name: string;
551
+ description?: string | undefined;
552
+ inputSchema?: {
553
+ type: string;
554
+ properties?: Record<string, unknown> | undefined;
555
+ required?: string[] | undefined;
556
+ } | undefined;
557
+ }[] | undefined;
558
+ }, {
559
+ type: "mcp-server";
560
+ packageName: string;
561
+ runtime: "node" | "python" | "java" | "go";
562
+ description?: string | undefined;
563
+ name?: string | undefined;
564
+ key?: string | undefined;
565
+ packageVersion?: string | undefined;
566
+ bin?: string | undefined;
567
+ binArgs?: string[] | undefined;
568
+ readme?: string | undefined;
569
+ url?: string | undefined;
570
+ license?: string | undefined;
571
+ logo?: string | undefined;
572
+ author?: string | undefined;
573
+ env?: Record<string, {
574
+ description: string;
575
+ required: boolean;
576
+ }> | undefined;
577
+ tools?: {
578
+ name: string;
579
+ description?: string | undefined;
580
+ inputSchema?: {
581
+ type: string;
582
+ properties?: Record<string, unknown> | undefined;
583
+ required?: string[] | undefined;
584
+ } | undefined;
585
+ }[] | undefined;
586
+ }>>;
587
+ }, "strip", z.ZodTypeAny, {
588
+ code: number;
589
+ message: string;
590
+ success: boolean;
591
+ data?: {
592
+ type: "mcp-server";
593
+ packageName: string;
594
+ runtime: "node" | "python" | "java" | "go";
595
+ description?: string | undefined;
596
+ name?: string | undefined;
597
+ key?: string | undefined;
598
+ packageVersion?: string | undefined;
599
+ bin?: string | undefined;
600
+ binArgs?: string[] | undefined;
601
+ readme?: string | undefined;
602
+ url?: string | undefined;
603
+ license?: string | undefined;
604
+ logo?: string | undefined;
605
+ author?: string | undefined;
606
+ env?: Record<string, {
607
+ description: string;
608
+ required: boolean;
609
+ }> | undefined;
610
+ tools?: {
611
+ name: string;
612
+ description?: string | undefined;
613
+ inputSchema?: {
614
+ type: string;
615
+ properties?: Record<string, unknown> | undefined;
616
+ required?: string[] | undefined;
617
+ } | undefined;
618
+ }[] | undefined;
619
+ } | undefined;
620
+ }, {
621
+ code: number;
622
+ message: string;
623
+ success: boolean;
624
+ data?: {
625
+ type: "mcp-server";
626
+ packageName: string;
627
+ runtime: "node" | "python" | "java" | "go";
628
+ description?: string | undefined;
629
+ name?: string | undefined;
630
+ key?: string | undefined;
631
+ packageVersion?: string | undefined;
632
+ bin?: string | undefined;
633
+ binArgs?: string[] | undefined;
634
+ readme?: string | undefined;
635
+ url?: string | undefined;
636
+ license?: string | undefined;
637
+ logo?: string | undefined;
638
+ author?: string | undefined;
639
+ env?: Record<string, {
640
+ description: string;
641
+ required: boolean;
642
+ }> | undefined;
643
+ tools?: {
644
+ name: string;
645
+ description?: string | undefined;
646
+ inputSchema?: {
647
+ type: string;
648
+ properties?: Record<string, unknown> | undefined;
649
+ required?: string[] | undefined;
650
+ } | undefined;
651
+ }[] | undefined;
652
+ } | undefined;
653
+ }>;
654
+ export declare const ToolDataSchema: z.ZodObject<{
655
+ name: z.ZodString;
656
+ description: z.ZodOptional<z.ZodString>;
657
+ inputSchema: z.ZodOptional<z.ZodObject<{
658
+ type: z.ZodString;
659
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
660
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
661
+ }, "strip", z.ZodTypeAny, {
662
+ type: string;
663
+ properties?: Record<string, unknown> | undefined;
664
+ required?: string[] | undefined;
665
+ }, {
666
+ type: string;
667
+ properties?: Record<string, unknown> | undefined;
668
+ required?: string[] | undefined;
669
+ }>>;
670
+ }, "strip", z.ZodTypeAny, {
671
+ name: string;
672
+ description?: string | undefined;
673
+ inputSchema?: {
674
+ type: string;
675
+ properties?: Record<string, unknown> | undefined;
676
+ required?: string[] | undefined;
677
+ } | undefined;
678
+ }, {
679
+ name: string;
680
+ description?: string | undefined;
681
+ inputSchema?: {
682
+ type: string;
683
+ properties?: Record<string, unknown> | undefined;
684
+ required?: string[] | undefined;
685
+ } | undefined;
686
+ }>;
687
+ export declare const ToolsResponseSchema: z.ZodObject<{
688
+ success: z.ZodBoolean;
689
+ code: z.ZodNumber;
690
+ message: z.ZodString;
691
+ } & {
692
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
693
+ name: z.ZodString;
694
+ description: z.ZodOptional<z.ZodString>;
695
+ inputSchema: z.ZodOptional<z.ZodObject<{
696
+ type: z.ZodString;
697
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
698
+ required: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
699
+ }, "strip", z.ZodTypeAny, {
700
+ type: string;
701
+ properties?: Record<string, unknown> | undefined;
702
+ required?: string[] | undefined;
703
+ }, {
704
+ type: string;
705
+ properties?: Record<string, unknown> | undefined;
706
+ required?: string[] | undefined;
707
+ }>>;
708
+ }, "strip", z.ZodTypeAny, {
709
+ name: string;
710
+ description?: string | undefined;
711
+ inputSchema?: {
712
+ type: string;
713
+ properties?: Record<string, unknown> | undefined;
714
+ required?: string[] | undefined;
715
+ } | undefined;
716
+ }, {
717
+ name: string;
718
+ description?: string | undefined;
719
+ inputSchema?: {
720
+ type: string;
721
+ properties?: Record<string, unknown> | undefined;
722
+ required?: string[] | undefined;
723
+ } | undefined;
724
+ }>, "many">>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ code: number;
727
+ message: string;
728
+ success: boolean;
729
+ data?: {
730
+ name: string;
731
+ description?: string | undefined;
732
+ inputSchema?: {
733
+ type: string;
734
+ properties?: Record<string, unknown> | undefined;
735
+ required?: string[] | undefined;
736
+ } | undefined;
737
+ }[] | undefined;
738
+ }, {
739
+ code: number;
740
+ message: string;
741
+ success: boolean;
742
+ data?: {
743
+ name: string;
744
+ description?: string | undefined;
745
+ inputSchema?: {
746
+ type: string;
747
+ properties?: Record<string, unknown> | undefined;
748
+ required?: string[] | undefined;
749
+ } | undefined;
750
+ }[] | undefined;
751
+ }>;
752
+ export declare const ExecuteToolResponseSchema: z.ZodObject<{
753
+ success: z.ZodBoolean;
754
+ code: z.ZodNumber;
755
+ message: z.ZodString;
756
+ } & {
757
+ data: z.ZodOptional<z.ZodUnknown>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ code: number;
760
+ message: string;
761
+ success: boolean;
762
+ data?: unknown;
763
+ }, {
764
+ code: number;
765
+ message: string;
766
+ success: boolean;
767
+ data?: unknown;
768
+ }>;
769
+ export declare const createSuccessResponseSchema: <T extends z.ZodTypeAny>(dataSchema: T) => z.ZodObject<{
770
+ success: z.ZodBoolean;
771
+ code: z.ZodNumber;
772
+ message: z.ZodString;
773
+ } & {
774
+ data: z.ZodOptional<T>;
775
+ }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
776
+ success: z.ZodBoolean;
777
+ code: z.ZodNumber;
778
+ message: z.ZodString;
779
+ } & {
780
+ data: z.ZodOptional<T>;
781
+ }>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
782
+ success: z.ZodBoolean;
783
+ code: z.ZodNumber;
784
+ message: z.ZodString;
785
+ } & {
786
+ data: z.ZodOptional<T>;
787
+ }>, any>[k]; } : never, z.baseObjectInputType<{
788
+ success: z.ZodBoolean;
789
+ code: z.ZodNumber;
790
+ message: z.ZodString;
791
+ } & {
792
+ data: z.ZodOptional<T>;
793
+ }> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{
794
+ success: z.ZodBoolean;
795
+ code: z.ZodNumber;
796
+ message: z.ZodString;
797
+ } & {
798
+ data: z.ZodOptional<T>;
799
+ }>[k_1]; } : never>;
800
+ export declare const packageNameQuerySchema: z.ZodObject<{
801
+ packageName: z.ZodOptional<z.ZodString>;
802
+ }, "strip", z.ZodTypeAny, {
803
+ packageName?: string | undefined;
804
+ }, {
805
+ packageName?: string | undefined;
806
+ }>;