@kya-os/contracts 1.7.12 → 1.7.13

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
- 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">>;
@@ -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[];
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;
@@ -349,19 +349,19 @@ export declare const DIDDocumentSchema: z.ZodObject<{
349
349
  }[] | undefined;
350
350
  }, {
351
351
  id: string;
352
+ '@context': 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;
@@ -395,7 +395,7 @@ export declare const AgentDocumentSchema: z.ZodObject<{
395
395
  }>>;
396
396
  }, "strip", z.ZodTypeAny, {
397
397
  capabilities: {
398
- 'mcp-i': ("handshake" | "signing" | "verification" | "delegation" | "proof-generation")[];
398
+ 'mcp-i': ("delegation" | "handshake" | "signing" | "verification" | "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': ("handshake" | "signing" | "verification" | "delegation" | "proof-generation")[];
411
+ 'mcp-i': ("delegation" | "handshake" | "signing" | "verification" | "proof-generation")[];
412
412
  } & {
413
413
  [k: string]: string[];
414
414
  };
@@ -656,7 +656,6 @@ 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;
660
659
  tools?: "dynamic" | {
661
660
  name: string;
662
661
  title?: string | undefined;
@@ -668,7 +667,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
668
667
  required: boolean;
669
668
  schemes: string[];
670
669
  } | undefined;
671
- instructions?: string | undefined;
670
+ $schema?: string | undefined;
672
671
  iconUrl?: string | undefined;
673
672
  documentationUrl?: string | undefined;
674
673
  prompts?: "dynamic" | {
@@ -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;
@@ -722,7 +722,6 @@ 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;
726
725
  tools?: "dynamic" | {
727
726
  name: string;
728
727
  title?: string | undefined;
@@ -734,7 +733,7 @@ export declare const MCPServerCardSchema: z.ZodObject<{
734
733
  required: boolean;
735
734
  schemes: string[];
736
735
  } | undefined;
737
- instructions?: string | undefined;
736
+ $schema?: string | undefined;
738
737
  iconUrl?: string | undefined;
739
738
  documentationUrl?: string | undefined;
740
739
  prompts?: "dynamic" | {
@@ -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 */
@@ -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
- capabilities?: string[] | undefined;
784
783
  agentDid?: string | undefined;
784
+ capabilities?: 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
- capabilities?: string[] | undefined;
795
794
  agentDid?: string | undefined;
795
+ capabilities?: 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;
933
932
  serviceName?: 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;
@@ -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;
946
945
  serviceName?: 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/contracts",
3
- "version": "1.7.12",
3
+ "version": "1.7.13",
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",