@kya-os/contracts 1.7.0 → 1.7.2

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.
@@ -442,12 +442,12 @@ export declare const deployedProjectSchema: z.ZodObject<{
442
442
  apiKey: z.ZodString;
443
443
  }, "strip", z.ZodTypeAny, {
444
444
  id: string;
445
- apiKey: string;
446
445
  friendlyId: string;
446
+ apiKey: string;
447
447
  }, {
448
448
  id: string;
449
- apiKey: string;
450
449
  friendlyId: string;
450
+ apiKey: string;
451
451
  }>;
452
452
  /**
453
453
  * Deploy to GitHub data schema
@@ -461,12 +461,12 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
461
461
  apiKey: z.ZodString;
462
462
  }, "strip", z.ZodTypeAny, {
463
463
  id: string;
464
- apiKey: string;
465
464
  friendlyId: string;
465
+ apiKey: string;
466
466
  }, {
467
467
  id: string;
468
- apiKey: string;
469
468
  friendlyId: string;
469
+ apiKey: string;
470
470
  }>;
471
471
  deployUrl: z.ZodString;
472
472
  nextSteps: z.ZodArray<z.ZodString, "many">;
@@ -475,8 +475,8 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
475
475
  repoFullName: string;
476
476
  project: {
477
477
  id: string;
478
- apiKey: string;
479
478
  friendlyId: string;
479
+ apiKey: string;
480
480
  };
481
481
  deployUrl: string;
482
482
  nextSteps: string[];
@@ -485,8 +485,8 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
485
485
  repoFullName: string;
486
486
  project: {
487
487
  id: string;
488
- apiKey: string;
489
488
  friendlyId: string;
489
+ apiKey: string;
490
490
  };
491
491
  deployUrl: string;
492
492
  nextSteps: string[];
@@ -505,12 +505,12 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
505
505
  apiKey: z.ZodString;
506
506
  }, "strip", z.ZodTypeAny, {
507
507
  id: string;
508
- apiKey: string;
509
508
  friendlyId: string;
509
+ apiKey: string;
510
510
  }, {
511
511
  id: string;
512
- apiKey: string;
513
512
  friendlyId: string;
513
+ apiKey: string;
514
514
  }>;
515
515
  deployUrl: z.ZodString;
516
516
  nextSteps: z.ZodArray<z.ZodString, "many">;
@@ -519,8 +519,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
519
519
  repoFullName: string;
520
520
  project: {
521
521
  id: string;
522
- apiKey: string;
523
522
  friendlyId: string;
523
+ apiKey: string;
524
524
  };
525
525
  deployUrl: string;
526
526
  nextSteps: string[];
@@ -529,8 +529,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
529
529
  repoFullName: string;
530
530
  project: {
531
531
  id: string;
532
- apiKey: string;
533
532
  friendlyId: string;
533
+ apiKey: string;
534
534
  };
535
535
  deployUrl: string;
536
536
  nextSteps: string[];
@@ -542,8 +542,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
542
542
  repoFullName: string;
543
543
  project: {
544
544
  id: string;
545
- apiKey: string;
546
545
  friendlyId: string;
546
+ apiKey: string;
547
547
  };
548
548
  deployUrl: string;
549
549
  nextSteps: string[];
@@ -555,8 +555,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
555
555
  repoFullName: string;
556
556
  project: {
557
557
  id: string;
558
- apiKey: string;
559
558
  friendlyId: string;
559
+ apiKey: string;
560
560
  };
561
561
  deployUrl: string;
562
562
  nextSteps: string[];
@@ -609,12 +609,12 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
609
609
  apiKey: z.ZodString;
610
610
  }, "strip", z.ZodTypeAny, {
611
611
  id: string;
612
- apiKey: string;
613
612
  friendlyId: string;
613
+ apiKey: string;
614
614
  }, {
615
615
  id: string;
616
- apiKey: string;
617
616
  friendlyId: string;
617
+ apiKey: string;
618
618
  }>;
619
619
  deployUrl: z.ZodString;
620
620
  nextSteps: z.ZodArray<z.ZodString, "many">;
@@ -623,8 +623,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
623
623
  repoFullName: string;
624
624
  project: {
625
625
  id: string;
626
- apiKey: string;
627
626
  friendlyId: string;
627
+ apiKey: string;
628
628
  };
629
629
  deployUrl: string;
630
630
  nextSteps: string[];
@@ -633,8 +633,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
633
633
  repoFullName: string;
634
634
  project: {
635
635
  id: string;
636
- apiKey: string;
637
636
  friendlyId: string;
637
+ apiKey: string;
638
638
  };
639
639
  deployUrl: string;
640
640
  nextSteps: string[];
@@ -646,8 +646,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
646
646
  repoFullName: string;
647
647
  project: {
648
648
  id: string;
649
- apiKey: string;
650
649
  friendlyId: string;
650
+ apiKey: string;
651
651
  };
652
652
  deployUrl: string;
653
653
  nextSteps: string[];
@@ -659,8 +659,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
659
659
  repoFullName: string;
660
660
  project: {
661
661
  id: string;
662
- apiKey: string;
663
662
  friendlyId: string;
663
+ apiKey: string;
664
664
  };
665
665
  deployUrl: string;
666
666
  nextSteps: string[];
@@ -712,29 +712,29 @@ export declare const deployedRepositorySchema: z.ZodObject<{
712
712
  createdAt: z.ZodString;
713
713
  updatedAt: z.ZodString;
714
714
  }, "strip", z.ZodTypeAny, {
715
- userId: string;
716
- createdAt: string;
717
715
  platform: "cloudflare" | "vercel";
718
- id: string;
716
+ createdAt: string;
719
717
  projectId: string;
718
+ id: string;
720
719
  installationId: string;
721
720
  updatedAt: string;
722
721
  template: "blank" | "ecommerce" | "hardware-world";
723
722
  repoUrl: string;
724
723
  repoFullName: string;
724
+ userId: string;
725
725
  cloudflareDeployed: boolean;
726
726
  cloudflareUrl?: string | null | undefined;
727
727
  }, {
728
- userId: string;
729
- createdAt: string;
730
728
  platform: "cloudflare" | "vercel";
731
- id: string;
729
+ createdAt: string;
732
730
  projectId: string;
731
+ id: string;
733
732
  installationId: string;
734
733
  updatedAt: string;
735
734
  template: "blank" | "ecommerce" | "hardware-world";
736
735
  repoUrl: string;
737
736
  repoFullName: string;
737
+ userId: string;
738
738
  cloudflareDeployed: boolean;
739
739
  cloudflareUrl?: string | null | undefined;
740
740
  }>;
@@ -757,61 +757,61 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
757
757
  createdAt: z.ZodString;
758
758
  updatedAt: z.ZodString;
759
759
  }, "strip", z.ZodTypeAny, {
760
- userId: string;
761
- createdAt: string;
762
760
  platform: "cloudflare" | "vercel";
763
- id: string;
761
+ createdAt: string;
764
762
  projectId: string;
763
+ id: string;
765
764
  installationId: string;
766
765
  updatedAt: string;
767
766
  template: "blank" | "ecommerce" | "hardware-world";
768
767
  repoUrl: string;
769
768
  repoFullName: string;
769
+ userId: string;
770
770
  cloudflareDeployed: boolean;
771
771
  cloudflareUrl?: string | null | undefined;
772
772
  }, {
773
- userId: string;
774
- createdAt: string;
775
773
  platform: "cloudflare" | "vercel";
776
- id: string;
774
+ createdAt: string;
777
775
  projectId: string;
776
+ id: string;
778
777
  installationId: string;
779
778
  updatedAt: string;
780
779
  template: "blank" | "ecommerce" | "hardware-world";
781
780
  repoUrl: string;
782
781
  repoFullName: string;
782
+ userId: string;
783
783
  cloudflareDeployed: boolean;
784
784
  cloudflareUrl?: string | null | undefined;
785
785
  }>, "many">;
786
786
  }, "strip", z.ZodTypeAny, {
787
787
  success: true;
788
788
  data: {
789
- userId: string;
790
- createdAt: string;
791
789
  platform: "cloudflare" | "vercel";
792
- id: string;
790
+ createdAt: string;
793
791
  projectId: string;
792
+ id: string;
794
793
  installationId: string;
795
794
  updatedAt: string;
796
795
  template: "blank" | "ecommerce" | "hardware-world";
797
796
  repoUrl: string;
798
797
  repoFullName: string;
798
+ userId: string;
799
799
  cloudflareDeployed: boolean;
800
800
  cloudflareUrl?: string | null | undefined;
801
801
  }[];
802
802
  }, {
803
803
  success: true;
804
804
  data: {
805
- userId: string;
806
- createdAt: string;
807
805
  platform: "cloudflare" | "vercel";
808
- id: string;
806
+ createdAt: string;
809
807
  projectId: string;
808
+ id: string;
810
809
  installationId: string;
811
810
  updatedAt: string;
812
811
  template: "blank" | "ecommerce" | "hardware-world";
813
812
  repoUrl: string;
814
813
  repoFullName: string;
814
+ userId: string;
815
815
  cloudflareDeployed: boolean;
816
816
  cloudflareUrl?: string | null | undefined;
817
817
  }[];
@@ -843,16 +843,16 @@ export declare const scaffolderOptionsSchema: z.ZodObject<{
843
843
  agentShieldApiKey: z.ZodOptional<z.ZodString>;
844
844
  skipIdentity: z.ZodOptional<z.ZodBoolean>;
845
845
  }, "strip", z.ZodTypeAny, {
846
- projectName: string;
847
846
  platform: "cloudflare" | "vercel";
848
847
  template: "blank" | "ecommerce" | "hardware-world";
848
+ projectName: string;
849
849
  agentShieldProjectId?: string | undefined;
850
850
  agentShieldApiKey?: string | undefined;
851
851
  skipIdentity?: boolean | undefined;
852
852
  }, {
853
- projectName: string;
854
853
  platform: "cloudflare" | "vercel";
855
854
  template: "blank" | "ecommerce" | "hardware-world";
855
+ projectName: string;
856
856
  agentShieldProjectId?: string | undefined;
857
857
  agentShieldApiKey?: string | undefined;
858
858
  skipIdentity?: boolean | undefined;
@@ -896,12 +896,12 @@ export declare const scaffolderResultSchema: z.ZodObject<{
896
896
  content: string;
897
897
  isBase64?: boolean | undefined;
898
898
  }[];
899
- warnings?: string[] | undefined;
900
899
  identity?: {
901
900
  did: string;
902
901
  publicKey: string;
903
902
  privateKey: string;
904
903
  } | undefined;
904
+ warnings?: string[] | undefined;
905
905
  }, {
906
906
  success: boolean;
907
907
  files: {
@@ -909,12 +909,12 @@ export declare const scaffolderResultSchema: z.ZodObject<{
909
909
  content: string;
910
910
  isBase64?: boolean | undefined;
911
911
  }[];
912
- warnings?: string[] | undefined;
913
912
  identity?: {
914
913
  did: string;
915
914
  publicKey: string;
916
915
  privateKey: string;
917
916
  } | undefined;
917
+ warnings?: string[] | undefined;
918
918
  }>;
919
919
  /**
920
920
  * Deploy step status schema
@@ -931,15 +931,15 @@ export declare const deployStepSchema: z.ZodObject<{
931
931
  startedAt: z.ZodOptional<z.ZodString>;
932
932
  completedAt: z.ZodOptional<z.ZodString>;
933
933
  }, "strip", z.ZodTypeAny, {
934
- status: "pending" | "failed" | "in_progress" | "completed";
935
934
  name: string;
935
+ status: "pending" | "in_progress" | "completed" | "failed";
936
936
  id: string;
937
937
  message?: string | undefined;
938
938
  startedAt?: string | undefined;
939
939
  completedAt?: string | undefined;
940
940
  }, {
941
- status: "pending" | "failed" | "in_progress" | "completed";
942
941
  name: string;
942
+ status: "pending" | "in_progress" | "completed" | "failed";
943
943
  id: string;
944
944
  message?: string | undefined;
945
945
  startedAt?: string | undefined;
@@ -957,15 +957,15 @@ export declare const deploymentProgressSchema: z.ZodObject<{
957
957
  startedAt: z.ZodOptional<z.ZodString>;
958
958
  completedAt: z.ZodOptional<z.ZodString>;
959
959
  }, "strip", z.ZodTypeAny, {
960
- status: "pending" | "failed" | "in_progress" | "completed";
961
960
  name: string;
961
+ status: "pending" | "in_progress" | "completed" | "failed";
962
962
  id: string;
963
963
  message?: string | undefined;
964
964
  startedAt?: string | undefined;
965
965
  completedAt?: string | undefined;
966
966
  }, {
967
- status: "pending" | "failed" | "in_progress" | "completed";
968
967
  name: string;
968
+ status: "pending" | "in_progress" | "completed" | "failed";
969
969
  id: string;
970
970
  message?: string | undefined;
971
971
  startedAt?: string | undefined;
@@ -976,8 +976,8 @@ export declare const deploymentProgressSchema: z.ZodObject<{
976
976
  overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
977
977
  }, "strip", z.ZodTypeAny, {
978
978
  steps: {
979
- status: "pending" | "failed" | "in_progress" | "completed";
980
979
  name: string;
980
+ status: "pending" | "in_progress" | "completed" | "failed";
981
981
  id: string;
982
982
  message?: string | undefined;
983
983
  startedAt?: string | undefined;
@@ -985,11 +985,11 @@ export declare const deploymentProgressSchema: z.ZodObject<{
985
985
  }[];
986
986
  currentStep: number;
987
987
  totalSteps: number;
988
- overallStatus: "pending" | "failed" | "in_progress" | "completed";
988
+ overallStatus: "pending" | "in_progress" | "completed" | "failed";
989
989
  }, {
990
990
  steps: {
991
- status: "pending" | "failed" | "in_progress" | "completed";
992
991
  name: string;
992
+ status: "pending" | "in_progress" | "completed" | "failed";
993
993
  id: string;
994
994
  message?: string | undefined;
995
995
  startedAt?: string | undefined;
@@ -997,5 +997,5 @@ export declare const deploymentProgressSchema: z.ZodObject<{
997
997
  }[];
998
998
  currentStep: number;
999
999
  totalSteps: number;
1000
- overallStatus: "pending" | "failed" | "in_progress" | "completed";
1000
+ overallStatus: "pending" | "in_progress" | "completed" | "failed";
1001
1001
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/contracts",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
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",