@kya-os/contracts 1.7.26 → 1.7.32

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 (44) hide show
  1. package/dist/agent-deployment-utils.d.ts +20 -0
  2. package/dist/agent-deployment-utils.js +37 -0
  3. package/dist/agent-deployment.d.ts +19 -19
  4. package/dist/agent-deployment.js +2 -1
  5. package/dist/agentshield-api/admin-schemas.d.ts +2 -2
  6. package/dist/agentshield-api/schemas.d.ts +462 -462
  7. package/dist/audit/index.d.ts +24 -24
  8. package/dist/cli.d.ts +44 -44
  9. package/dist/compute-binding.d.ts +6 -6
  10. package/dist/compute.d.ts +27 -8
  11. package/dist/compute.js +6 -0
  12. package/dist/config/identity.d.ts +98 -98
  13. package/dist/consent/schemas.d.ts +72 -72
  14. package/dist/dashboard-config/schemas.d.ts +2191 -2191
  15. package/dist/delegation/constraints.d.ts +32 -32
  16. package/dist/delegation/schemas.d.ts +610 -610
  17. package/dist/deploy/schemas.d.ts +84 -84
  18. package/dist/gateway/index.d.ts +579 -0
  19. package/dist/gateway/index.js +103 -0
  20. package/dist/handshake.d.ts +42 -42
  21. package/dist/index.d.ts +1 -0
  22. package/dist/index.js +2 -0
  23. package/dist/molti/admin-ws.d.ts +116 -116
  24. package/dist/molti/schemas.d.ts +98 -98
  25. package/dist/openclaw/index.d.ts +20 -0
  26. package/dist/openclaw/index.js +28 -0
  27. package/dist/openclaw/types.d.ts +714 -0
  28. package/dist/openclaw/types.js +122 -0
  29. package/dist/pairing/index.d.ts +44 -0
  30. package/dist/pairing/index.js +11 -0
  31. package/dist/policy/schemas.d.ts +553 -553
  32. package/dist/proof/proof-record.d.ts +48 -48
  33. package/dist/proof/signing-spec.d.ts +8 -8
  34. package/dist/proof.d.ts +68 -68
  35. package/dist/registry.d.ts +24 -24
  36. package/dist/reputation/api.d.ts +156 -156
  37. package/dist/reputation/credentials.d.ts +48 -48
  38. package/dist/reputation/schemas.d.ts +48 -48
  39. package/dist/test.d.ts +22 -22
  40. package/dist/tlkrc/rotation.d.ts +12 -12
  41. package/dist/tool-protection/index.d.ts +22 -22
  42. package/dist/verifier.d.ts +17 -17
  43. package/dist/well-known/index.d.ts +72 -72
  44. package/package.json +10 -2
@@ -311,12 +311,12 @@ export declare const AuthorizationRequirementSchema: z.ZodDiscriminatedUnion<"ty
311
311
  domain: z.ZodOptional<z.ZodString>;
312
312
  }, "strip", z.ZodTypeAny, {
313
313
  type: "siwe";
314
- chainId?: number | undefined;
315
314
  domain?: string | undefined;
315
+ chainId?: number | undefined;
316
316
  }, {
317
317
  type: "siwe";
318
- chainId?: number | undefined;
319
318
  domain?: string | undefined;
319
+ chainId?: number | undefined;
320
320
  }>, z.ZodObject<{
321
321
  type: z.ZodLiteral<"none">;
322
322
  }, "strip", z.ZodTypeAny, {
@@ -428,12 +428,12 @@ export declare const ToolProtectionSchema: z.ZodObject<{
428
428
  domain: z.ZodOptional<z.ZodString>;
429
429
  }, "strip", z.ZodTypeAny, {
430
430
  type: "siwe";
431
- chainId?: number | undefined;
432
431
  domain?: string | undefined;
432
+ chainId?: number | undefined;
433
433
  }, {
434
434
  type: "siwe";
435
- chainId?: number | undefined;
436
435
  domain?: string | undefined;
436
+ chainId?: number | undefined;
437
437
  }>, z.ZodObject<{
438
438
  type: z.ZodLiteral<"none">;
439
439
  }, "strip", z.ZodTypeAny, {
@@ -477,8 +477,8 @@ export declare const ToolProtectionSchema: z.ZodObject<{
477
477
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
478
478
  } | {
479
479
  type: "siwe";
480
- chainId?: number | undefined;
481
480
  domain?: string | undefined;
481
+ chainId?: number | undefined;
482
482
  } | {
483
483
  type: "none";
484
484
  } | undefined;
@@ -520,8 +520,8 @@ export declare const ToolProtectionSchema: z.ZodObject<{
520
520
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
521
521
  } | {
522
522
  type: "siwe";
523
- chainId?: number | undefined;
524
523
  domain?: string | undefined;
524
+ chainId?: number | undefined;
525
525
  } | {
526
526
  type: "none";
527
527
  } | undefined;
@@ -632,12 +632,12 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
632
632
  domain: z.ZodOptional<z.ZodString>;
633
633
  }, "strip", z.ZodTypeAny, {
634
634
  type: "siwe";
635
- chainId?: number | undefined;
636
635
  domain?: string | undefined;
636
+ chainId?: number | undefined;
637
637
  }, {
638
638
  type: "siwe";
639
- chainId?: number | undefined;
640
639
  domain?: string | undefined;
640
+ chainId?: number | undefined;
641
641
  }>, z.ZodObject<{
642
642
  type: z.ZodLiteral<"none">;
643
643
  }, "strip", z.ZodTypeAny, {
@@ -681,8 +681,8 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
681
681
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
682
682
  } | {
683
683
  type: "siwe";
684
- chainId?: number | undefined;
685
684
  domain?: string | undefined;
685
+ chainId?: number | undefined;
686
686
  } | {
687
687
  type: "none";
688
688
  } | undefined;
@@ -724,8 +724,8 @@ export declare const ToolProtectionMapSchema: z.ZodRecord<z.ZodString, z.ZodObje
724
724
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
725
725
  } | {
726
726
  type: "siwe";
727
- chainId?: number | undefined;
728
727
  domain?: string | undefined;
728
+ chainId?: number | undefined;
729
729
  } | {
730
730
  type: "none";
731
731
  } | undefined;
@@ -837,12 +837,12 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
837
837
  domain: z.ZodOptional<z.ZodString>;
838
838
  }, "strip", z.ZodTypeAny, {
839
839
  type: "siwe";
840
- chainId?: number | undefined;
841
840
  domain?: string | undefined;
841
+ chainId?: number | undefined;
842
842
  }, {
843
843
  type: "siwe";
844
- chainId?: number | undefined;
845
844
  domain?: string | undefined;
845
+ chainId?: number | undefined;
846
846
  }>, z.ZodObject<{
847
847
  type: z.ZodLiteral<"none">;
848
848
  }, "strip", z.ZodTypeAny, {
@@ -886,8 +886,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
886
886
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
887
887
  } | {
888
888
  type: "siwe";
889
- chainId?: number | undefined;
890
889
  domain?: string | undefined;
890
+ chainId?: number | undefined;
891
891
  } | {
892
892
  type: "none";
893
893
  } | undefined;
@@ -929,8 +929,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
929
929
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
930
930
  } | {
931
931
  type: "siwe";
932
- chainId?: number | undefined;
933
932
  domain?: string | undefined;
933
+ chainId?: number | undefined;
934
934
  } | {
935
935
  type: "none";
936
936
  } | undefined;
@@ -943,12 +943,12 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
943
943
  source: z.ZodOptional<z.ZodString>;
944
944
  }, "strip", z.ZodTypeAny, {
945
945
  version?: string | undefined;
946
- lastUpdated?: string | undefined;
947
946
  source?: string | undefined;
947
+ lastUpdated?: string | undefined;
948
948
  }, {
949
949
  version?: string | undefined;
950
- lastUpdated?: string | undefined;
951
950
  source?: string | undefined;
951
+ lastUpdated?: string | undefined;
952
952
  }>>;
953
953
  }, "strip", z.ZodTypeAny, {
954
954
  toolProtections: Record<string, {
@@ -987,8 +987,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
987
987
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
988
988
  } | {
989
989
  type: "siwe";
990
- chainId?: number | undefined;
991
990
  domain?: string | undefined;
991
+ chainId?: number | undefined;
992
992
  } | {
993
993
  type: "none";
994
994
  } | undefined;
@@ -997,8 +997,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
997
997
  }>;
998
998
  metadata?: {
999
999
  version?: string | undefined;
1000
- lastUpdated?: string | undefined;
1001
1000
  source?: string | undefined;
1001
+ lastUpdated?: string | undefined;
1002
1002
  } | undefined;
1003
1003
  }, {
1004
1004
  toolProtections: Record<string, {
@@ -1037,8 +1037,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
1037
1037
  userVerification?: "required" | "preferred" | "discouraged" | undefined;
1038
1038
  } | {
1039
1039
  type: "siwe";
1040
- chainId?: number | undefined;
1041
1040
  domain?: string | undefined;
1041
+ chainId?: number | undefined;
1042
1042
  } | {
1043
1043
  type: "none";
1044
1044
  } | undefined;
@@ -1047,8 +1047,8 @@ export declare const ToolProtectionResponseSchema: z.ZodObject<{
1047
1047
  }>;
1048
1048
  metadata?: {
1049
1049
  version?: string | undefined;
1050
- lastUpdated?: string | undefined;
1051
1050
  source?: string | undefined;
1051
+ lastUpdated?: string | undefined;
1052
1052
  } | undefined;
1053
1053
  }>;
1054
1054
  export declare const DelegationRequiredErrorDataSchema: z.ZodObject<{
@@ -1058,14 +1058,14 @@ export declare const DelegationRequiredErrorDataSchema: z.ZodObject<{
1058
1058
  authorizationUrl: z.ZodOptional<z.ZodString>;
1059
1059
  reason: z.ZodOptional<z.ZodString>;
1060
1060
  }, "strip", z.ZodTypeAny, {
1061
- requiredScopes: string[];
1062
1061
  toolName: string;
1062
+ requiredScopes: string[];
1063
1063
  authorizationUrl?: string | undefined;
1064
1064
  reason?: string | undefined;
1065
1065
  consentUrl?: string | undefined;
1066
1066
  }, {
1067
- requiredScopes: string[];
1068
1067
  toolName: string;
1068
+ requiredScopes: string[];
1069
1069
  authorizationUrl?: string | undefined;
1070
1070
  reason?: string | undefined;
1071
1071
  consentUrl?: string | undefined;
@@ -13,22 +13,22 @@ export declare const AgentContextSchema: z.ZodObject<{
13
13
  registry: z.ZodString;
14
14
  verifiedAt: z.ZodNumber;
15
15
  }, "strip", z.ZodTypeAny, {
16
- scopes: string[];
17
16
  did: string;
17
+ scopes: string[];
18
+ confidence: "verified";
18
19
  kid: string;
19
20
  session: string;
20
- confidence: "verified";
21
- registry: string;
22
21
  verifiedAt: number;
22
+ registry: string;
23
23
  subject?: string | undefined;
24
24
  delegationRef?: string | undefined;
25
25
  }, {
26
26
  did: string;
27
+ confidence: "verified";
27
28
  kid: string;
28
29
  session: string;
29
- confidence: "verified";
30
- registry: string;
31
30
  verifiedAt: number;
31
+ registry: string;
32
32
  scopes?: string[] | undefined;
33
33
  subject?: string | undefined;
34
34
  delegationRef?: string | undefined;
@@ -47,22 +47,22 @@ export declare const VerifierResultSchema: z.ZodObject<{
47
47
  registry: z.ZodString;
48
48
  verifiedAt: z.ZodNumber;
49
49
  }, "strip", z.ZodTypeAny, {
50
- scopes: string[];
51
50
  did: string;
51
+ scopes: string[];
52
+ confidence: "verified";
52
53
  kid: string;
53
54
  session: string;
54
- confidence: "verified";
55
- registry: string;
56
55
  verifiedAt: number;
56
+ registry: string;
57
57
  subject?: string | undefined;
58
58
  delegationRef?: string | undefined;
59
59
  }, {
60
60
  did: string;
61
+ confidence: "verified";
61
62
  kid: string;
62
63
  session: string;
63
- confidence: "verified";
64
- registry: string;
65
64
  verifiedAt: number;
65
+ registry: string;
66
66
  scopes?: string[] | undefined;
67
67
  subject?: string | undefined;
68
68
  delegationRef?: string | undefined;
@@ -85,40 +85,40 @@ export declare const VerifierResultSchema: z.ZodObject<{
85
85
  }>>;
86
86
  }, "strip", z.ZodTypeAny, {
87
87
  success: boolean;
88
+ headers?: Record<string, string> | undefined;
88
89
  error?: {
89
90
  code: string;
90
91
  message: string;
91
92
  httpStatus: number;
92
93
  details?: any;
93
94
  } | undefined;
94
- headers?: Record<string, string> | undefined;
95
95
  agentContext?: {
96
- scopes: string[];
97
96
  did: string;
97
+ scopes: string[];
98
+ confidence: "verified";
98
99
  kid: string;
99
100
  session: string;
100
- confidence: "verified";
101
- registry: string;
102
101
  verifiedAt: number;
102
+ registry: string;
103
103
  subject?: string | undefined;
104
104
  delegationRef?: string | undefined;
105
105
  } | undefined;
106
106
  }, {
107
107
  success: boolean;
108
+ headers?: Record<string, string> | undefined;
108
109
  error?: {
109
110
  code: string;
110
111
  message: string;
111
112
  httpStatus: number;
112
113
  details?: any;
113
114
  } | undefined;
114
- headers?: Record<string, string> | undefined;
115
115
  agentContext?: {
116
116
  did: string;
117
+ confidence: "verified";
117
118
  kid: string;
118
119
  session: string;
119
- confidence: "verified";
120
- registry: string;
121
120
  verifiedAt: number;
121
+ registry: string;
122
122
  scopes?: string[] | undefined;
123
123
  subject?: string | undefined;
124
124
  delegationRef?: string | undefined;
@@ -300,14 +300,14 @@ export declare const DIDDocumentSchema: z.ZodObject<{
300
300
  type: string;
301
301
  id: string;
302
302
  controller: string;
303
- publicKeyMultibase?: string | undefined;
304
303
  publicKeyBase64?: string | undefined;
304
+ publicKeyMultibase?: string | undefined;
305
305
  }, {
306
306
  type: string;
307
307
  id: string;
308
308
  controller: string;
309
- publicKeyMultibase?: string | undefined;
310
309
  publicKeyBase64?: string | undefined;
310
+ publicKeyMultibase?: string | undefined;
311
311
  }>, "many">;
312
312
  authentication: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
313
313
  assertionMethod: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -328,40 +328,40 @@ export declare const DIDDocumentSchema: z.ZodObject<{
328
328
  serviceEndpoint: string;
329
329
  }>, "many">>;
330
330
  }, "strip", z.ZodTypeAny, {
331
+ '@context': string[];
331
332
  id: string;
332
333
  verificationMethod: {
333
334
  type: string;
334
335
  id: string;
335
336
  controller: string;
336
- publicKeyMultibase?: string | undefined;
337
337
  publicKeyBase64?: string | undefined;
338
+ publicKeyMultibase?: string | undefined;
338
339
  }[];
339
- '@context': string[];
340
340
  authentication?: string[] | undefined;
341
341
  assertionMethod?: string[] | undefined;
342
- keyAgreement?: string[] | undefined;
343
342
  capabilityInvocation?: string[] | undefined;
344
343
  capabilityDelegation?: string[] | undefined;
344
+ keyAgreement?: string[] | undefined;
345
345
  service?: {
346
346
  type: string;
347
347
  id: string;
348
348
  serviceEndpoint: string;
349
349
  }[] | undefined;
350
350
  }, {
351
+ '@context': string[];
351
352
  id: string;
352
353
  verificationMethod: {
353
354
  type: string;
354
355
  id: string;
355
356
  controller: string;
356
- publicKeyMultibase?: string | undefined;
357
357
  publicKeyBase64?: string | undefined;
358
+ publicKeyMultibase?: string | undefined;
358
359
  }[];
359
- '@context': string[];
360
360
  authentication?: string[] | undefined;
361
361
  assertionMethod?: string[] | undefined;
362
- keyAgreement?: string[] | undefined;
363
362
  capabilityInvocation?: string[] | undefined;
364
363
  capabilityDelegation?: string[] | undefined;
364
+ keyAgreement?: string[] | undefined;
365
365
  service?: {
366
366
  type: string;
367
367
  id: string;
@@ -383,15 +383,15 @@ export declare const AgentDocumentSchema: z.ZodObject<{
383
383
  version: z.ZodOptional<z.ZodString>;
384
384
  description: z.ZodOptional<z.ZodString>;
385
385
  }, "strip", z.ZodTypeAny, {
386
+ serviceEndpoint?: string | undefined;
386
387
  name?: string | undefined;
387
388
  version?: string | undefined;
388
389
  description?: string | undefined;
389
- serviceEndpoint?: string | undefined;
390
390
  }, {
391
+ serviceEndpoint?: string | undefined;
391
392
  name?: string | undefined;
392
393
  version?: string | undefined;
393
394
  description?: string | undefined;
394
- serviceEndpoint?: string | undefined;
395
395
  }>>;
396
396
  }, "strip", z.ZodTypeAny, {
397
397
  id: string;
@@ -401,10 +401,10 @@ export declare const AgentDocumentSchema: z.ZodObject<{
401
401
  [k: string]: string[];
402
402
  };
403
403
  metadata?: {
404
+ serviceEndpoint?: string | undefined;
404
405
  name?: string | undefined;
405
406
  version?: string | undefined;
406
407
  description?: string | undefined;
407
- serviceEndpoint?: string | undefined;
408
408
  } | undefined;
409
409
  }, {
410
410
  id: string;
@@ -414,10 +414,10 @@ export declare const AgentDocumentSchema: z.ZodObject<{
414
414
  [k: string]: string[];
415
415
  };
416
416
  metadata?: {
417
+ serviceEndpoint?: string | undefined;
417
418
  name?: string | undefined;
418
419
  version?: string | undefined;
419
420
  description?: string | undefined;
420
- serviceEndpoint?: string | undefined;
421
421
  } | undefined;
422
422
  }>;
423
423
  export declare const MCPIdentitySchema: z.ZodObject<{
@@ -428,18 +428,18 @@ export declare const MCPIdentitySchema: z.ZodObject<{
428
428
  timestamp: z.ZodNumber;
429
429
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
430
430
  }, "strip", z.ZodTypeAny, {
431
- timestamp: number;
431
+ serviceEndpoint: string;
432
432
  did: string;
433
433
  publicKey: string;
434
- serviceEndpoint: string;
435
434
  serviceName: string;
435
+ timestamp: number;
436
436
  metadata?: Record<string, unknown> | undefined;
437
437
  }, {
438
- timestamp: number;
438
+ serviceEndpoint: string;
439
439
  did: string;
440
440
  publicKey: string;
441
- serviceEndpoint: string;
442
441
  serviceName: string;
442
+ timestamp: number;
443
443
  metadata?: Record<string, unknown> | undefined;
444
444
  }>;
445
445
  /** SEP-1649 MCP Server Card Schema */
@@ -566,14 +566,14 @@ export declare const MCPServerCardSchema: z.ZodObject<{
566
566
  }, "strip", z.ZodTypeAny, {
567
567
  name: string;
568
568
  uri: string;
569
- title?: string | undefined;
570
569
  description?: string | undefined;
570
+ title?: string | undefined;
571
571
  mimeType?: string | undefined;
572
572
  }, {
573
573
  name: string;
574
574
  uri: string;
575
- title?: string | undefined;
576
575
  description?: string | undefined;
576
+ title?: string | undefined;
577
577
  mimeType?: string | undefined;
578
578
  }>, "many">]>>;
579
579
  tools: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"dynamic">, z.ZodArray<z.ZodObject<{
@@ -583,13 +583,13 @@ export declare const MCPServerCardSchema: z.ZodObject<{
583
583
  inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
584
584
  }, "strip", z.ZodTypeAny, {
585
585
  name: string;
586
- title?: string | undefined;
587
586
  description?: string | undefined;
587
+ title?: string | undefined;
588
588
  inputSchema?: Record<string, unknown> | undefined;
589
589
  }, {
590
590
  name: string;
591
- title?: string | undefined;
592
591
  description?: string | undefined;
592
+ title?: string | undefined;
593
593
  inputSchema?: Record<string, unknown> | undefined;
594
594
  }>, "many">]>>;
595
595
  prompts: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"dynamic">, z.ZodArray<z.ZodObject<{
@@ -602,30 +602,30 @@ export declare const MCPServerCardSchema: z.ZodObject<{
602
602
  required: z.ZodOptional<z.ZodBoolean>;
603
603
  }, "strip", z.ZodTypeAny, {
604
604
  name: string;
605
- required?: boolean | undefined;
606
605
  description?: string | undefined;
606
+ required?: boolean | undefined;
607
607
  }, {
608
608
  name: string;
609
- required?: boolean | undefined;
610
609
  description?: string | undefined;
610
+ required?: boolean | undefined;
611
611
  }>, "many">>;
612
612
  }, "strip", z.ZodTypeAny, {
613
613
  name: string;
614
- title?: string | undefined;
615
614
  description?: string | undefined;
615
+ title?: string | undefined;
616
616
  arguments?: {
617
617
  name: string;
618
- required?: boolean | undefined;
619
618
  description?: string | undefined;
619
+ required?: boolean | undefined;
620
620
  }[] | undefined;
621
621
  }, {
622
622
  name: string;
623
- title?: string | undefined;
624
623
  description?: string | undefined;
624
+ title?: string | undefined;
625
625
  arguments?: {
626
626
  name: string;
627
- required?: boolean | undefined;
628
627
  description?: string | undefined;
628
+ required?: boolean | undefined;
629
629
  }[] | undefined;
630
630
  }>, "many">]>>;
631
631
  _meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -641,12 +641,10 @@ export declare const MCPServerCardSchema: z.ZodObject<{
641
641
  type: "streamable-http" | "sse" | "stdio";
642
642
  endpoint: string;
643
643
  };
644
- tools?: "dynamic" | {
645
- name: string;
646
- title?: string | undefined;
647
- description?: string | undefined;
648
- inputSchema?: Record<string, unknown> | undefined;
649
- }[] | undefined;
644
+ authentication?: {
645
+ required: boolean;
646
+ schemes: string[];
647
+ } | undefined;
650
648
  capabilities?: {
651
649
  tools?: {
652
650
  listChanged?: boolean | undefined;
@@ -662,30 +660,31 @@ export declare const MCPServerCardSchema: z.ZodObject<{
662
660
  completions?: Record<string, unknown> | undefined;
663
661
  experimental?: Record<string, unknown> | undefined;
664
662
  } | undefined;
665
- $schema?: string | undefined;
666
663
  description?: string | undefined;
667
- authentication?: {
668
- required: boolean;
669
- schemes: string[];
670
- } | undefined;
671
- instructions?: string | undefined;
664
+ $schema?: string | undefined;
672
665
  iconUrl?: string | undefined;
673
666
  documentationUrl?: string | undefined;
674
- prompts?: "dynamic" | {
667
+ tools?: "dynamic" | {
675
668
  name: string;
669
+ description?: string | undefined;
676
670
  title?: string | undefined;
671
+ inputSchema?: Record<string, unknown> | undefined;
672
+ }[] | undefined;
673
+ prompts?: "dynamic" | {
674
+ name: string;
677
675
  description?: string | undefined;
676
+ title?: string | undefined;
678
677
  arguments?: {
679
678
  name: string;
680
- required?: boolean | undefined;
681
679
  description?: string | undefined;
680
+ required?: boolean | undefined;
682
681
  }[] | undefined;
683
682
  }[] | undefined;
684
683
  resources?: "dynamic" | {
685
684
  name: string;
686
685
  uri: string;
687
- title?: string | undefined;
688
686
  description?: string | undefined;
687
+ title?: string | undefined;
689
688
  mimeType?: string | undefined;
690
689
  }[] | undefined;
691
690
  requires?: {
@@ -694,6 +693,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
694
693
  roots?: Record<string, unknown> | undefined;
695
694
  elicitation?: Record<string, unknown> | undefined;
696
695
  } | undefined;
696
+ instructions?: string | undefined;
697
697
  _meta?: Record<string, unknown> | undefined;
698
698
  }, {
699
699
  version: string;
@@ -707,12 +707,10 @@ export declare const MCPServerCardSchema: z.ZodObject<{
707
707
  type: "streamable-http" | "sse" | "stdio";
708
708
  endpoint: string;
709
709
  };
710
- tools?: "dynamic" | {
711
- name: string;
712
- title?: string | undefined;
713
- description?: string | undefined;
714
- inputSchema?: Record<string, unknown> | undefined;
715
- }[] | undefined;
710
+ authentication?: {
711
+ required: boolean;
712
+ schemes: string[];
713
+ } | undefined;
716
714
  capabilities?: {
717
715
  tools?: {
718
716
  listChanged?: boolean | undefined;
@@ -728,30 +726,31 @@ export declare const MCPServerCardSchema: z.ZodObject<{
728
726
  completions?: Record<string, unknown> | undefined;
729
727
  experimental?: Record<string, unknown> | undefined;
730
728
  } | undefined;
731
- $schema?: string | undefined;
732
729
  description?: string | undefined;
733
- authentication?: {
734
- required: boolean;
735
- schemes: string[];
736
- } | undefined;
737
- instructions?: string | undefined;
730
+ $schema?: string | undefined;
738
731
  iconUrl?: string | undefined;
739
732
  documentationUrl?: string | undefined;
740
- prompts?: "dynamic" | {
733
+ tools?: "dynamic" | {
741
734
  name: string;
735
+ description?: string | undefined;
742
736
  title?: string | undefined;
737
+ inputSchema?: Record<string, unknown> | undefined;
738
+ }[] | undefined;
739
+ prompts?: "dynamic" | {
740
+ name: string;
743
741
  description?: string | undefined;
742
+ title?: string | undefined;
744
743
  arguments?: {
745
744
  name: string;
746
- required?: boolean | undefined;
747
745
  description?: string | undefined;
746
+ required?: boolean | undefined;
748
747
  }[] | undefined;
749
748
  }[] | undefined;
750
749
  resources?: "dynamic" | {
751
750
  name: string;
752
751
  uri: string;
753
- title?: string | undefined;
754
752
  description?: string | undefined;
753
+ title?: string | undefined;
755
754
  mimeType?: string | undefined;
756
755
  }[] | undefined;
757
756
  requires?: {
@@ -760,6 +759,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
760
759
  roots?: Record<string, unknown> | undefined;
761
760
  elicitation?: Record<string, unknown> | undefined;
762
761
  } | undefined;
762
+ instructions?: string | undefined;
763
763
  _meta?: Record<string, unknown> | undefined;
764
764
  }>;
765
765
  /** Legacy MCP Server Config Schema */
@@ -776,24 +776,24 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
776
776
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
777
777
  }, "strip", z.ZodTypeAny, {
778
778
  name: string;
779
- url: string;
780
779
  transport: "sse" | "stdio" | "http";
781
- agentDid?: string | undefined;
782
- metadata?: Record<string, unknown> | undefined;
783
- version?: string | undefined;
780
+ url: string;
784
781
  capabilities?: string[] | undefined;
782
+ version?: string | undefined;
785
783
  description?: string | undefined;
784
+ metadata?: Record<string, unknown> | undefined;
785
+ agentDid?: string | undefined;
786
786
  requiresAuth?: boolean | undefined;
787
787
  authProvider?: string | undefined;
788
788
  }, {
789
789
  name: string;
790
- url: string;
791
790
  transport: "sse" | "stdio" | "http";
792
- agentDid?: string | undefined;
793
- metadata?: Record<string, unknown> | undefined;
794
- version?: string | undefined;
791
+ url: string;
795
792
  capabilities?: string[] | undefined;
793
+ version?: string | undefined;
796
794
  description?: string | undefined;
795
+ metadata?: Record<string, unknown> | undefined;
796
+ agentDid?: string | undefined;
797
797
  requiresAuth?: boolean | undefined;
798
798
  authProvider?: string | undefined;
799
799
  }>;
@@ -925,27 +925,27 @@ export declare const WellKnownConfigSchema: z.ZodObject<{
925
925
  instructions: z.ZodOptional<z.ZodString>;
926
926
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
927
927
  }, "strip", z.ZodTypeAny, {
928
- metadata?: Record<string, unknown> | undefined;
929
- protocolVersion?: string | undefined;
930
- description?: string | undefined;
931
928
  serviceEndpoint?: string | undefined;
932
- instructions?: string | undefined;
929
+ description?: string | undefined;
930
+ metadata?: Record<string, unknown> | undefined;
933
931
  serviceName?: string | undefined;
932
+ protocolVersion?: string | undefined;
934
933
  iconUrl?: string | undefined;
935
934
  documentationUrl?: string | undefined;
935
+ instructions?: string | undefined;
936
936
  requiresAuth?: boolean | undefined;
937
937
  serviceTitle?: string | undefined;
938
938
  serverVersion?: string | undefined;
939
939
  authSchemes?: string[] | undefined;
940
940
  }, {
941
- metadata?: Record<string, unknown> | undefined;
942
- protocolVersion?: string | undefined;
943
- description?: string | undefined;
944
941
  serviceEndpoint?: string | undefined;
945
- instructions?: string | undefined;
942
+ description?: string | undefined;
943
+ metadata?: Record<string, unknown> | undefined;
946
944
  serviceName?: string | undefined;
945
+ protocolVersion?: string | undefined;
947
946
  iconUrl?: string | undefined;
948
947
  documentationUrl?: string | undefined;
948
+ instructions?: string | undefined;
949
949
  requiresAuth?: boolean | undefined;
950
950
  serviceTitle?: string | undefined;
951
951
  serverVersion?: string | undefined;