@kya-os/contracts 1.7.13 → 1.7.15

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.
@@ -300,14 +300,14 @@ export declare const DIDDocumentSchema: z.ZodObject<{
300
300
  type: string;
301
301
  id: string;
302
302
  controller: string;
303
- publicKeyBase64?: string | undefined;
304
303
  publicKeyMultibase?: string | undefined;
304
+ publicKeyBase64?: string | undefined;
305
305
  }, {
306
306
  type: string;
307
307
  id: string;
308
308
  controller: string;
309
- publicKeyBase64?: string | undefined;
310
309
  publicKeyMultibase?: string | undefined;
310
+ publicKeyBase64?: 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">>;
@@ -329,19 +329,19 @@ export declare const DIDDocumentSchema: z.ZodObject<{
329
329
  }>, "many">>;
330
330
  }, "strip", z.ZodTypeAny, {
331
331
  id: string;
332
- '@context': string[];
333
332
  verificationMethod: {
334
333
  type: string;
335
334
  id: string;
336
335
  controller: string;
337
- publicKeyBase64?: string | undefined;
338
336
  publicKeyMultibase?: string | undefined;
337
+ publicKeyBase64?: string | undefined;
339
338
  }[];
339
+ '@context': string[];
340
340
  authentication?: string[] | undefined;
341
341
  assertionMethod?: string[] | undefined;
342
+ keyAgreement?: string[] | undefined;
342
343
  capabilityInvocation?: string[] | undefined;
343
344
  capabilityDelegation?: string[] | undefined;
344
- keyAgreement?: string[] | undefined;
345
345
  service?: {
346
346
  type: string;
347
347
  id: string;
@@ -349,19 +349,19 @@ export declare const DIDDocumentSchema: z.ZodObject<{
349
349
  }[] | undefined;
350
350
  }, {
351
351
  id: string;
352
- '@context': string[];
353
352
  verificationMethod: {
354
353
  type: string;
355
354
  id: string;
356
355
  controller: string;
357
- publicKeyBase64?: string | undefined;
358
356
  publicKeyMultibase?: string | undefined;
357
+ publicKeyBase64?: string | undefined;
359
358
  }[];
359
+ '@context': string[];
360
360
  authentication?: string[] | undefined;
361
361
  assertionMethod?: string[] | undefined;
362
+ keyAgreement?: string[] | undefined;
362
363
  capabilityInvocation?: string[] | undefined;
363
364
  capabilityDelegation?: string[] | undefined;
364
- keyAgreement?: string[] | undefined;
365
365
  service?: {
366
366
  type: string;
367
367
  id: string;
@@ -395,7 +395,7 @@ export declare const AgentDocumentSchema: z.ZodObject<{
395
395
  }>>;
396
396
  }, "strip", z.ZodTypeAny, {
397
397
  capabilities: {
398
- 'mcp-i': ("delegation" | "handshake" | "signing" | "verification" | "proof-generation")[];
398
+ 'mcp-i': ("handshake" | "signing" | "verification" | "delegation" | "proof-generation")[];
399
399
  } & {
400
400
  [k: string]: string[];
401
401
  };
@@ -408,7 +408,7 @@ export declare const AgentDocumentSchema: z.ZodObject<{
408
408
  } | undefined;
409
409
  }, {
410
410
  capabilities: {
411
- 'mcp-i': ("delegation" | "handshake" | "signing" | "verification" | "proof-generation")[];
411
+ 'mcp-i': ("handshake" | "signing" | "verification" | "delegation" | "proof-generation")[];
412
412
  } & {
413
413
  [k: string]: string[];
414
414
  };
@@ -656,6 +656,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
656
656
  completions?: Record<string, unknown> | undefined;
657
657
  experimental?: Record<string, unknown> | undefined;
658
658
  } | undefined;
659
+ $schema?: string | undefined;
659
660
  tools?: "dynamic" | {
660
661
  name: string;
661
662
  title?: string | undefined;
@@ -667,7 +668,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
667
668
  required: boolean;
668
669
  schemes: string[];
669
670
  } | undefined;
670
- $schema?: string | undefined;
671
+ instructions?: string | undefined;
671
672
  iconUrl?: string | undefined;
672
673
  documentationUrl?: string | undefined;
673
674
  prompts?: "dynamic" | {
@@ -693,7 +694,6 @@ export declare const MCPServerCardSchema: z.ZodObject<{
693
694
  roots?: Record<string, unknown> | undefined;
694
695
  elicitation?: Record<string, unknown> | undefined;
695
696
  } | undefined;
696
- instructions?: string | undefined;
697
697
  _meta?: Record<string, unknown> | undefined;
698
698
  }, {
699
699
  version: string;
@@ -722,6 +722,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
722
722
  completions?: Record<string, unknown> | undefined;
723
723
  experimental?: Record<string, unknown> | undefined;
724
724
  } | undefined;
725
+ $schema?: string | undefined;
725
726
  tools?: "dynamic" | {
726
727
  name: string;
727
728
  title?: string | undefined;
@@ -733,7 +734,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
733
734
  required: boolean;
734
735
  schemes: string[];
735
736
  } | undefined;
736
- $schema?: string | undefined;
737
+ instructions?: string | undefined;
737
738
  iconUrl?: string | undefined;
738
739
  documentationUrl?: string | undefined;
739
740
  prompts?: "dynamic" | {
@@ -759,7 +760,6 @@ export declare const MCPServerCardSchema: z.ZodObject<{
759
760
  roots?: Record<string, unknown> | undefined;
760
761
  elicitation?: Record<string, unknown> | undefined;
761
762
  } | undefined;
762
- instructions?: string | undefined;
763
763
  _meta?: Record<string, unknown> | undefined;
764
764
  }>;
765
765
  /** Legacy MCP Server Config Schema */
@@ -780,8 +780,8 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
780
780
  transport: "sse" | "stdio" | "http";
781
781
  metadata?: Record<string, unknown> | undefined;
782
782
  version?: string | undefined;
783
- agentDid?: string | undefined;
784
783
  capabilities?: string[] | undefined;
784
+ agentDid?: string | undefined;
785
785
  description?: string | undefined;
786
786
  requiresAuth?: boolean | undefined;
787
787
  authProvider?: string | undefined;
@@ -791,8 +791,8 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
791
791
  transport: "sse" | "stdio" | "http";
792
792
  metadata?: Record<string, unknown> | undefined;
793
793
  version?: string | undefined;
794
- agentDid?: string | undefined;
795
794
  capabilities?: string[] | undefined;
795
+ agentDid?: string | undefined;
796
796
  description?: string | undefined;
797
797
  requiresAuth?: boolean | undefined;
798
798
  authProvider?: string | undefined;
@@ -929,10 +929,10 @@ export declare const WellKnownConfigSchema: z.ZodObject<{
929
929
  protocolVersion?: string | undefined;
930
930
  description?: string | undefined;
931
931
  serviceEndpoint?: string | undefined;
932
+ instructions?: string | undefined;
932
933
  serviceName?: string | undefined;
933
934
  iconUrl?: string | undefined;
934
935
  documentationUrl?: string | undefined;
935
- instructions?: string | undefined;
936
936
  requiresAuth?: boolean | undefined;
937
937
  serviceTitle?: string | undefined;
938
938
  serverVersion?: string | undefined;
@@ -942,10 +942,10 @@ export declare const WellKnownConfigSchema: z.ZodObject<{
942
942
  protocolVersion?: string | undefined;
943
943
  description?: string | undefined;
944
944
  serviceEndpoint?: string | undefined;
945
+ instructions?: string | undefined;
945
946
  serviceName?: string | undefined;
946
947
  iconUrl?: string | undefined;
947
948
  documentationUrl?: string | undefined;
948
- instructions?: string | undefined;
949
949
  requiresAuth?: boolean | undefined;
950
950
  serviceTitle?: string | undefined;
951
951
  serverVersion?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/contracts",
3
- "version": "1.7.13",
3
+ "version": "1.7.15",
4
4
  "description": "Shared contracts, types, and schemas for MCP-I framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",