@techis/ai-contracts 0.3.0-rc.15 → 0.3.0-rc.16

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 (46) hide show
  1. package/dist/catalog-composition.d.ts.map +1 -1
  2. package/dist/catalog-composition.js +9 -1
  3. package/dist/catalog-composition.js.map +1 -1
  4. package/dist/catalog-delivery.d.ts.map +1 -1
  5. package/dist/catalog-delivery.js +8 -4
  6. package/dist/catalog-delivery.js.map +1 -1
  7. package/dist/catalog-package-data.d.ts.map +1 -1
  8. package/dist/catalog-package-data.js +1211 -6
  9. package/dist/catalog-package-data.js.map +1 -1
  10. package/dist/configuration-bundle.d.ts +4 -1
  11. package/dist/configuration-bundle.d.ts.map +1 -1
  12. package/dist/configuration-bundle.js +11 -4
  13. package/dist/configuration-bundle.js.map +1 -1
  14. package/dist/entities.d.ts +25 -3
  15. package/dist/entities.d.ts.map +1 -1
  16. package/dist/host-qualification.d.ts +22 -5
  17. package/dist/host-qualification.d.ts.map +1 -1
  18. package/dist/host-qualification.js +24 -1
  19. package/dist/host-qualification.js.map +1 -1
  20. package/dist/index.d.ts +1 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +1 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/model-maintenance.d.ts +1 -1
  25. package/dist/model-maintenance.d.ts.map +1 -1
  26. package/dist/model-maintenance.js +40 -2
  27. package/dist/model-maintenance.js.map +1 -1
  28. package/dist/model-package-data.d.ts.map +1 -1
  29. package/dist/model-package-data.js +4547 -460
  30. package/dist/model-package-data.js.map +1 -1
  31. package/dist/provider-listings.d.ts +9 -0
  32. package/dist/provider-listings.d.ts.map +1 -0
  33. package/dist/provider-listings.js +48 -0
  34. package/dist/provider-listings.js.map +1 -0
  35. package/dist/schemas/bundle.d.ts +1 -1
  36. package/dist/schemas/bundle.js +1 -1
  37. package/dist/schemas/bundle.js.map +1 -1
  38. package/dist/schemas/catalog-release.schema.json +266 -1
  39. package/dist/schemas/configuration-bundle-manifest.schema.json +2 -1
  40. package/dist/schemas/core.d.ts +966 -31
  41. package/dist/schemas/core.d.ts.map +1 -1
  42. package/dist/schemas/core.js +29 -3
  43. package/dist/schemas/core.js.map +1 -1
  44. package/dist/schemas/host-adapter-qualification.schema.json +370 -133
  45. package/dist/schemas/model-definition.schema.json +199 -0
  46. package/package.json +33 -33
@@ -465,6 +465,337 @@ export declare const modelDefinitionV2Schema: {
465
465
  readonly additionalProperties: false;
466
466
  };
467
467
  /** New readers accept both versions; v1 keeps its closed lifecycle and has no availability field. */
468
+ export declare const modelDefinitionV3Schema: {
469
+ readonly properties: {
470
+ readonly schemaVersion: {
471
+ readonly const: 3;
472
+ };
473
+ readonly lifecycle: {
474
+ readonly properties: {
475
+ readonly status: {
476
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
477
+ };
478
+ readonly deprecatedAt: {
479
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
480
+ };
481
+ readonly sunsetAt: {
482
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
483
+ };
484
+ readonly replacementCatalogId: {
485
+ readonly type: "string";
486
+ readonly minLength: 1;
487
+ };
488
+ };
489
+ readonly type: "object";
490
+ readonly additionalProperties: false;
491
+ readonly required: readonly ["status"];
492
+ };
493
+ readonly catalogId: {
494
+ readonly type: "string";
495
+ readonly minLength: 1;
496
+ };
497
+ readonly providerModelId: {
498
+ readonly type: "string";
499
+ readonly minLength: 1;
500
+ };
501
+ readonly provider: {
502
+ readonly type: "string";
503
+ readonly minLength: 1;
504
+ };
505
+ readonly adapterId: {
506
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
507
+ };
508
+ readonly displayName: {
509
+ readonly type: "string";
510
+ readonly minLength: 1;
511
+ };
512
+ readonly aliases: {
513
+ readonly type: "array";
514
+ readonly items: {
515
+ readonly type: "string";
516
+ readonly minLength: 1;
517
+ };
518
+ };
519
+ readonly capabilities: {
520
+ readonly type: "object";
521
+ readonly additionalProperties: false;
522
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
523
+ readonly properties: {
524
+ readonly inputModalities: {
525
+ readonly type: "array";
526
+ readonly minItems: 1;
527
+ readonly items: {
528
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
529
+ };
530
+ };
531
+ readonly outputModalities: {
532
+ readonly type: "array";
533
+ readonly minItems: 1;
534
+ readonly items: {
535
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
536
+ };
537
+ };
538
+ readonly structuredOutput: {
539
+ readonly type: "boolean";
540
+ };
541
+ readonly providerTools: {
542
+ readonly type: "array";
543
+ readonly items: {
544
+ readonly type: "string";
545
+ readonly minLength: 1;
546
+ };
547
+ };
548
+ readonly contextWindowTokens: {
549
+ readonly type: "integer";
550
+ readonly minimum: 1;
551
+ };
552
+ readonly maxInputTokens: {
553
+ readonly type: "integer";
554
+ readonly minimum: 1;
555
+ };
556
+ readonly maxOutputTokens: {
557
+ readonly type: "integer";
558
+ readonly minimum: 1;
559
+ };
560
+ };
561
+ };
562
+ readonly nativeReasoning: {
563
+ readonly type: "object";
564
+ readonly additionalProperties: false;
565
+ readonly required: readonly ["supportedControls", "disableSupported"];
566
+ readonly properties: {
567
+ readonly supportedControls: {
568
+ readonly type: "array";
569
+ readonly items: {
570
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
571
+ };
572
+ readonly uniqueItems: true;
573
+ };
574
+ readonly disableSupported: {
575
+ readonly type: "boolean";
576
+ };
577
+ readonly supportedEffortLevels: {
578
+ readonly type: "array";
579
+ readonly minItems: 1;
580
+ readonly items: {
581
+ readonly type: "string";
582
+ readonly minLength: 1;
583
+ };
584
+ };
585
+ readonly defaultEffort: {
586
+ readonly type: "string";
587
+ readonly minLength: 1;
588
+ };
589
+ readonly defaultThinkingEnabled: {
590
+ readonly type: "boolean";
591
+ };
592
+ readonly defaultBudgetTokens: {
593
+ readonly type: "integer";
594
+ readonly minimum: 0;
595
+ };
596
+ readonly budgetTokensRange: {
597
+ readonly type: "object";
598
+ readonly additionalProperties: false;
599
+ readonly required: readonly ["min", "max"];
600
+ readonly properties: {
601
+ readonly min: {
602
+ readonly type: "integer";
603
+ readonly minimum: 0;
604
+ };
605
+ readonly max: {
606
+ readonly type: "integer";
607
+ readonly minimum: 0;
608
+ };
609
+ };
610
+ };
611
+ readonly notes: {
612
+ readonly type: "string";
613
+ };
614
+ };
615
+ };
616
+ readonly activePriceRevisionId: {
617
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
618
+ };
619
+ readonly source: {
620
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
621
+ };
622
+ readonly notes: {
623
+ readonly type: "string";
624
+ };
625
+ };
626
+ readonly type: "object";
627
+ readonly additionalProperties: false;
628
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source"];
629
+ };
630
+ export declare const providerModelListingSchema: {
631
+ readonly type: "object";
632
+ readonly additionalProperties: false;
633
+ readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
634
+ readonly properties: {
635
+ readonly schemaVersion: {
636
+ readonly const: 1;
637
+ };
638
+ readonly catalogId: {
639
+ readonly type: "string";
640
+ readonly minLength: 1;
641
+ };
642
+ readonly provider: {
643
+ readonly type: "string";
644
+ readonly minLength: 1;
645
+ };
646
+ readonly displayName: {
647
+ readonly type: "string";
648
+ readonly minLength: 1;
649
+ };
650
+ readonly providerModelId: {
651
+ readonly type: "string";
652
+ readonly minLength: 1;
653
+ };
654
+ readonly aliases: {
655
+ readonly type: "array";
656
+ readonly items: {
657
+ readonly type: "string";
658
+ readonly minLength: 1;
659
+ };
660
+ };
661
+ readonly capabilities: {
662
+ readonly required: readonly [];
663
+ readonly type: "object";
664
+ readonly additionalProperties: false;
665
+ readonly properties: {
666
+ readonly inputModalities: {
667
+ readonly type: "array";
668
+ readonly minItems: 1;
669
+ readonly items: {
670
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
671
+ };
672
+ };
673
+ readonly outputModalities: {
674
+ readonly type: "array";
675
+ readonly minItems: 1;
676
+ readonly items: {
677
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
678
+ };
679
+ };
680
+ readonly structuredOutput: {
681
+ readonly type: "boolean";
682
+ };
683
+ readonly providerTools: {
684
+ readonly type: "array";
685
+ readonly items: {
686
+ readonly type: "string";
687
+ readonly minLength: 1;
688
+ };
689
+ };
690
+ readonly contextWindowTokens: {
691
+ readonly type: "integer";
692
+ readonly minimum: 1;
693
+ };
694
+ readonly maxInputTokens: {
695
+ readonly type: "integer";
696
+ readonly minimum: 1;
697
+ };
698
+ readonly maxOutputTokens: {
699
+ readonly type: "integer";
700
+ readonly minimum: 1;
701
+ };
702
+ };
703
+ };
704
+ readonly nativeReasoning: {
705
+ readonly required: readonly [];
706
+ readonly type: "object";
707
+ readonly additionalProperties: false;
708
+ readonly properties: {
709
+ readonly supportedControls: {
710
+ readonly type: "array";
711
+ readonly items: {
712
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
713
+ };
714
+ readonly uniqueItems: true;
715
+ };
716
+ readonly disableSupported: {
717
+ readonly type: "boolean";
718
+ };
719
+ readonly supportedEffortLevels: {
720
+ readonly type: "array";
721
+ readonly minItems: 1;
722
+ readonly items: {
723
+ readonly type: "string";
724
+ readonly minLength: 1;
725
+ };
726
+ };
727
+ readonly defaultEffort: {
728
+ readonly type: "string";
729
+ readonly minLength: 1;
730
+ };
731
+ readonly defaultThinkingEnabled: {
732
+ readonly type: "boolean";
733
+ };
734
+ readonly defaultBudgetTokens: {
735
+ readonly type: "integer";
736
+ readonly minimum: 0;
737
+ };
738
+ readonly budgetTokensRange: {
739
+ readonly type: "object";
740
+ readonly additionalProperties: false;
741
+ readonly required: readonly ["min", "max"];
742
+ readonly properties: {
743
+ readonly min: {
744
+ readonly type: "integer";
745
+ readonly minimum: 0;
746
+ };
747
+ readonly max: {
748
+ readonly type: "integer";
749
+ readonly minimum: 0;
750
+ };
751
+ };
752
+ };
753
+ readonly notes: {
754
+ readonly type: "string";
755
+ };
756
+ };
757
+ };
758
+ readonly lifecycle: {
759
+ readonly properties: {
760
+ readonly status: {
761
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
762
+ };
763
+ readonly deprecatedAt: {
764
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
765
+ };
766
+ readonly sunsetAt: {
767
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
768
+ };
769
+ readonly replacementCatalogId: {
770
+ readonly type: "string";
771
+ readonly minLength: 1;
772
+ };
773
+ };
774
+ readonly type: "object";
775
+ readonly additionalProperties: false;
776
+ readonly required: readonly ["status"];
777
+ };
778
+ readonly availability: {
779
+ readonly type: "object";
780
+ readonly additionalProperties: false;
781
+ readonly required: readonly ["status"];
782
+ readonly properties: {
783
+ readonly status: {
784
+ readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
785
+ };
786
+ };
787
+ };
788
+ readonly activePriceRevisionId: {
789
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
790
+ };
791
+ readonly source: {
792
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
793
+ };
794
+ readonly notes: {
795
+ readonly type: "string";
796
+ };
797
+ };
798
+ };
468
799
  export declare const modelDefinitionSchema: {
469
800
  readonly $id: "https://techis.dev/ai/contracts/model-definition.schema.json";
470
801
  readonly anyOf: readonly [{
@@ -612,9 +943,193 @@ export declare const modelDefinitionSchema: {
612
943
  readonly sunsetAt: {
613
944
  readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
614
945
  };
615
- readonly replacementCatalogId: {
946
+ readonly replacementCatalogId: {
947
+ readonly type: "string";
948
+ readonly minLength: 1;
949
+ };
950
+ };
951
+ };
952
+ readonly activePriceRevisionId: {
953
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
954
+ };
955
+ readonly source: {
956
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
957
+ };
958
+ readonly notes: {
959
+ readonly type: "string";
960
+ };
961
+ };
962
+ }, {
963
+ readonly $id: "https://techis.dev/ai/contracts/v2/model-definition.schema.json";
964
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source", "availability"];
965
+ readonly properties: {
966
+ readonly schemaVersion: {
967
+ readonly const: 2;
968
+ };
969
+ readonly lifecycle: {
970
+ readonly properties: {
971
+ readonly status: {
972
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
973
+ };
974
+ readonly deprecatedAt: {
975
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
976
+ };
977
+ readonly sunsetAt: {
978
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
979
+ };
980
+ readonly replacementCatalogId: {
981
+ readonly type: "string";
982
+ readonly minLength: 1;
983
+ };
984
+ };
985
+ readonly type: "object";
986
+ readonly additionalProperties: false;
987
+ readonly required: readonly ["status"];
988
+ };
989
+ readonly availability: {
990
+ readonly type: "object";
991
+ readonly additionalProperties: false;
992
+ readonly required: readonly ["status", "source"];
993
+ readonly properties: {
994
+ readonly status: {
995
+ readonly const: "available";
996
+ };
997
+ readonly source: {
998
+ readonly type: "object";
999
+ readonly additionalProperties: false;
1000
+ readonly required: readonly ["uri", "verifiedAt"];
1001
+ readonly properties: {
1002
+ readonly uri: {
1003
+ readonly type: "string";
1004
+ readonly minLength: 1;
1005
+ };
1006
+ readonly verifiedAt: {
1007
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1008
+ };
1009
+ };
1010
+ };
1011
+ };
1012
+ };
1013
+ readonly catalogId: {
1014
+ readonly type: "string";
1015
+ readonly minLength: 1;
1016
+ };
1017
+ readonly providerModelId: {
1018
+ readonly type: "string";
1019
+ readonly minLength: 1;
1020
+ };
1021
+ readonly provider: {
1022
+ readonly type: "string";
1023
+ readonly minLength: 1;
1024
+ };
1025
+ readonly adapterId: {
1026
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
1027
+ };
1028
+ readonly displayName: {
1029
+ readonly type: "string";
1030
+ readonly minLength: 1;
1031
+ };
1032
+ readonly aliases: {
1033
+ readonly type: "array";
1034
+ readonly items: {
1035
+ readonly type: "string";
1036
+ readonly minLength: 1;
1037
+ };
1038
+ };
1039
+ readonly capabilities: {
1040
+ readonly type: "object";
1041
+ readonly additionalProperties: false;
1042
+ readonly required: readonly ["inputModalities", "outputModalities", "structuredOutput", "providerTools", "contextWindowTokens", "maxInputTokens", "maxOutputTokens"];
1043
+ readonly properties: {
1044
+ readonly inputModalities: {
1045
+ readonly type: "array";
1046
+ readonly minItems: 1;
1047
+ readonly items: {
1048
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1049
+ };
1050
+ };
1051
+ readonly outputModalities: {
1052
+ readonly type: "array";
1053
+ readonly minItems: 1;
1054
+ readonly items: {
1055
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1056
+ };
1057
+ };
1058
+ readonly structuredOutput: {
1059
+ readonly type: "boolean";
1060
+ };
1061
+ readonly providerTools: {
1062
+ readonly type: "array";
1063
+ readonly items: {
1064
+ readonly type: "string";
1065
+ readonly minLength: 1;
1066
+ };
1067
+ };
1068
+ readonly contextWindowTokens: {
1069
+ readonly type: "integer";
1070
+ readonly minimum: 1;
1071
+ };
1072
+ readonly maxInputTokens: {
1073
+ readonly type: "integer";
1074
+ readonly minimum: 1;
1075
+ };
1076
+ readonly maxOutputTokens: {
1077
+ readonly type: "integer";
1078
+ readonly minimum: 1;
1079
+ };
1080
+ };
1081
+ };
1082
+ readonly nativeReasoning: {
1083
+ readonly type: "object";
1084
+ readonly additionalProperties: false;
1085
+ readonly required: readonly ["supportedControls", "disableSupported"];
1086
+ readonly properties: {
1087
+ readonly supportedControls: {
1088
+ readonly type: "array";
1089
+ readonly items: {
1090
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
1091
+ };
1092
+ readonly uniqueItems: true;
1093
+ };
1094
+ readonly disableSupported: {
1095
+ readonly type: "boolean";
1096
+ };
1097
+ readonly supportedEffortLevels: {
1098
+ readonly type: "array";
1099
+ readonly minItems: 1;
1100
+ readonly items: {
1101
+ readonly type: "string";
1102
+ readonly minLength: 1;
1103
+ };
1104
+ };
1105
+ readonly defaultEffort: {
1106
+ readonly type: "string";
1107
+ readonly minLength: 1;
1108
+ };
1109
+ readonly defaultThinkingEnabled: {
1110
+ readonly type: "boolean";
1111
+ };
1112
+ readonly defaultBudgetTokens: {
1113
+ readonly type: "integer";
1114
+ readonly minimum: 0;
1115
+ };
1116
+ readonly budgetTokensRange: {
1117
+ readonly type: "object";
1118
+ readonly additionalProperties: false;
1119
+ readonly required: readonly ["min", "max"];
1120
+ readonly properties: {
1121
+ readonly min: {
1122
+ readonly type: "integer";
1123
+ readonly minimum: 0;
1124
+ };
1125
+ readonly max: {
1126
+ readonly type: "integer";
1127
+ readonly minimum: 0;
1128
+ };
1129
+ };
1130
+ };
1131
+ readonly notes: {
616
1132
  readonly type: "string";
617
- readonly minLength: 1;
618
1133
  };
619
1134
  };
620
1135
  };
@@ -628,12 +1143,12 @@ export declare const modelDefinitionSchema: {
628
1143
  readonly type: "string";
629
1144
  };
630
1145
  };
1146
+ readonly type: "object";
1147
+ readonly additionalProperties: false;
631
1148
  }, {
632
- readonly $id: "https://techis.dev/ai/contracts/v2/model-definition.schema.json";
633
- readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source", "availability"];
634
1149
  readonly properties: {
635
1150
  readonly schemaVersion: {
636
- readonly const: 2;
1151
+ readonly const: 3;
637
1152
  };
638
1153
  readonly lifecycle: {
639
1154
  readonly properties: {
@@ -655,30 +1170,6 @@ export declare const modelDefinitionSchema: {
655
1170
  readonly additionalProperties: false;
656
1171
  readonly required: readonly ["status"];
657
1172
  };
658
- readonly availability: {
659
- readonly type: "object";
660
- readonly additionalProperties: false;
661
- readonly required: readonly ["status", "source"];
662
- readonly properties: {
663
- readonly status: {
664
- readonly const: "available";
665
- };
666
- readonly source: {
667
- readonly type: "object";
668
- readonly additionalProperties: false;
669
- readonly required: readonly ["uri", "verifiedAt"];
670
- readonly properties: {
671
- readonly uri: {
672
- readonly type: "string";
673
- readonly minLength: 1;
674
- };
675
- readonly verifiedAt: {
676
- readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
677
- };
678
- };
679
- };
680
- };
681
- };
682
1173
  readonly catalogId: {
683
1174
  readonly type: "string";
684
1175
  readonly minLength: 1;
@@ -814,6 +1305,7 @@ export declare const modelDefinitionSchema: {
814
1305
  };
815
1306
  readonly type: "object";
816
1307
  readonly additionalProperties: false;
1308
+ readonly required: readonly ["schemaVersion", "catalogId", "providerModelId", "provider", "adapterId", "displayName", "capabilities", "nativeReasoning", "lifecycle", "source"];
817
1309
  }];
818
1310
  };
819
1311
  export declare const priceRevisionSchemaId = "https://techis.dev/ai/contracts/price-revision.schema.json";
@@ -1214,7 +1706,15 @@ export declare const catalogReleaseV2Schema: {
1214
1706
  readonly models: {
1215
1707
  readonly type: "array";
1216
1708
  readonly items: {
1217
- readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
1709
+ readonly allOf: readonly [{
1710
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
1711
+ }, {
1712
+ readonly properties: {
1713
+ readonly schemaVersion: {
1714
+ readonly enum: readonly [1, 2];
1715
+ };
1716
+ };
1717
+ }];
1218
1718
  };
1219
1719
  };
1220
1720
  readonly prices: {
@@ -1241,6 +1741,220 @@ export declare const catalogReleaseV2Schema: {
1241
1741
  readonly additionalProperties: false;
1242
1742
  readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
1243
1743
  };
1744
+ export declare const catalogReleaseV3Schema: {
1745
+ readonly $id: string;
1746
+ readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
1747
+ readonly properties: {
1748
+ readonly schemaVersion: {
1749
+ readonly const: 3;
1750
+ };
1751
+ readonly models: {
1752
+ readonly type: "array";
1753
+ readonly items: {
1754
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
1755
+ };
1756
+ };
1757
+ readonly listings: {
1758
+ readonly type: "array";
1759
+ readonly items: {
1760
+ readonly type: "object";
1761
+ readonly additionalProperties: false;
1762
+ readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
1763
+ readonly properties: {
1764
+ readonly schemaVersion: {
1765
+ readonly const: 1;
1766
+ };
1767
+ readonly catalogId: {
1768
+ readonly type: "string";
1769
+ readonly minLength: 1;
1770
+ };
1771
+ readonly provider: {
1772
+ readonly type: "string";
1773
+ readonly minLength: 1;
1774
+ };
1775
+ readonly displayName: {
1776
+ readonly type: "string";
1777
+ readonly minLength: 1;
1778
+ };
1779
+ readonly providerModelId: {
1780
+ readonly type: "string";
1781
+ readonly minLength: 1;
1782
+ };
1783
+ readonly aliases: {
1784
+ readonly type: "array";
1785
+ readonly items: {
1786
+ readonly type: "string";
1787
+ readonly minLength: 1;
1788
+ };
1789
+ };
1790
+ readonly capabilities: {
1791
+ readonly required: readonly [];
1792
+ readonly type: "object";
1793
+ readonly additionalProperties: false;
1794
+ readonly properties: {
1795
+ readonly inputModalities: {
1796
+ readonly type: "array";
1797
+ readonly minItems: 1;
1798
+ readonly items: {
1799
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1800
+ };
1801
+ };
1802
+ readonly outputModalities: {
1803
+ readonly type: "array";
1804
+ readonly minItems: 1;
1805
+ readonly items: {
1806
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
1807
+ };
1808
+ };
1809
+ readonly structuredOutput: {
1810
+ readonly type: "boolean";
1811
+ };
1812
+ readonly providerTools: {
1813
+ readonly type: "array";
1814
+ readonly items: {
1815
+ readonly type: "string";
1816
+ readonly minLength: 1;
1817
+ };
1818
+ };
1819
+ readonly contextWindowTokens: {
1820
+ readonly type: "integer";
1821
+ readonly minimum: 1;
1822
+ };
1823
+ readonly maxInputTokens: {
1824
+ readonly type: "integer";
1825
+ readonly minimum: 1;
1826
+ };
1827
+ readonly maxOutputTokens: {
1828
+ readonly type: "integer";
1829
+ readonly minimum: 1;
1830
+ };
1831
+ };
1832
+ };
1833
+ readonly nativeReasoning: {
1834
+ readonly required: readonly [];
1835
+ readonly type: "object";
1836
+ readonly additionalProperties: false;
1837
+ readonly properties: {
1838
+ readonly supportedControls: {
1839
+ readonly type: "array";
1840
+ readonly items: {
1841
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
1842
+ };
1843
+ readonly uniqueItems: true;
1844
+ };
1845
+ readonly disableSupported: {
1846
+ readonly type: "boolean";
1847
+ };
1848
+ readonly supportedEffortLevels: {
1849
+ readonly type: "array";
1850
+ readonly minItems: 1;
1851
+ readonly items: {
1852
+ readonly type: "string";
1853
+ readonly minLength: 1;
1854
+ };
1855
+ };
1856
+ readonly defaultEffort: {
1857
+ readonly type: "string";
1858
+ readonly minLength: 1;
1859
+ };
1860
+ readonly defaultThinkingEnabled: {
1861
+ readonly type: "boolean";
1862
+ };
1863
+ readonly defaultBudgetTokens: {
1864
+ readonly type: "integer";
1865
+ readonly minimum: 0;
1866
+ };
1867
+ readonly budgetTokensRange: {
1868
+ readonly type: "object";
1869
+ readonly additionalProperties: false;
1870
+ readonly required: readonly ["min", "max"];
1871
+ readonly properties: {
1872
+ readonly min: {
1873
+ readonly type: "integer";
1874
+ readonly minimum: 0;
1875
+ };
1876
+ readonly max: {
1877
+ readonly type: "integer";
1878
+ readonly minimum: 0;
1879
+ };
1880
+ };
1881
+ };
1882
+ readonly notes: {
1883
+ readonly type: "string";
1884
+ };
1885
+ };
1886
+ };
1887
+ readonly lifecycle: {
1888
+ readonly properties: {
1889
+ readonly status: {
1890
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
1891
+ };
1892
+ readonly deprecatedAt: {
1893
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1894
+ };
1895
+ readonly sunsetAt: {
1896
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1897
+ };
1898
+ readonly replacementCatalogId: {
1899
+ readonly type: "string";
1900
+ readonly minLength: 1;
1901
+ };
1902
+ };
1903
+ readonly type: "object";
1904
+ readonly additionalProperties: false;
1905
+ readonly required: readonly ["status"];
1906
+ };
1907
+ readonly availability: {
1908
+ readonly type: "object";
1909
+ readonly additionalProperties: false;
1910
+ readonly required: readonly ["status"];
1911
+ readonly properties: {
1912
+ readonly status: {
1913
+ readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
1914
+ };
1915
+ };
1916
+ };
1917
+ readonly activePriceRevisionId: {
1918
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
1919
+ };
1920
+ readonly source: {
1921
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
1922
+ };
1923
+ readonly notes: {
1924
+ readonly type: "string";
1925
+ };
1926
+ };
1927
+ };
1928
+ };
1929
+ readonly runtimeMappings: {
1930
+ readonly type: "object";
1931
+ readonly additionalProperties: {
1932
+ readonly $ref: string;
1933
+ };
1934
+ };
1935
+ readonly prices: {
1936
+ readonly type: "array";
1937
+ readonly items: {
1938
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
1939
+ };
1940
+ };
1941
+ readonly catalogRevision: {
1942
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
1943
+ };
1944
+ readonly releaseSequence: {
1945
+ readonly type: "integer";
1946
+ readonly minimum: 1;
1947
+ };
1948
+ readonly publishedAt: {
1949
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
1950
+ };
1951
+ readonly notes: {
1952
+ readonly type: "string";
1953
+ };
1954
+ };
1955
+ readonly type: "object";
1956
+ readonly additionalProperties: false;
1957
+ };
1244
1958
  export declare const catalogReleaseSchema: {
1245
1959
  readonly $id: "https://techis.dev/ai/contracts/catalog-release.schema.json";
1246
1960
  readonly anyOf: readonly [{
@@ -1302,7 +2016,15 @@ export declare const catalogReleaseSchema: {
1302
2016
  readonly models: {
1303
2017
  readonly type: "array";
1304
2018
  readonly items: {
1305
- readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
2019
+ readonly allOf: readonly [{
2020
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
2021
+ }, {
2022
+ readonly properties: {
2023
+ readonly schemaVersion: {
2024
+ readonly enum: readonly [1, 2];
2025
+ };
2026
+ };
2027
+ }];
1306
2028
  };
1307
2029
  };
1308
2030
  readonly prices: {
@@ -1328,6 +2050,219 @@ export declare const catalogReleaseSchema: {
1328
2050
  readonly type: "object";
1329
2051
  readonly additionalProperties: false;
1330
2052
  readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices"];
2053
+ }, {
2054
+ readonly $id: string;
2055
+ readonly required: readonly ["schemaVersion", "catalogRevision", "publishedAt", "models", "prices", "listings", "runtimeMappings"];
2056
+ readonly properties: {
2057
+ readonly schemaVersion: {
2058
+ readonly const: 3;
2059
+ };
2060
+ readonly models: {
2061
+ readonly type: "array";
2062
+ readonly items: {
2063
+ readonly $ref: "https://techis.dev/ai/contracts/model-definition.schema.json";
2064
+ };
2065
+ };
2066
+ readonly listings: {
2067
+ readonly type: "array";
2068
+ readonly items: {
2069
+ readonly type: "object";
2070
+ readonly additionalProperties: false;
2071
+ readonly required: readonly ["schemaVersion", "catalogId", "provider", "displayName", "source"];
2072
+ readonly properties: {
2073
+ readonly schemaVersion: {
2074
+ readonly const: 1;
2075
+ };
2076
+ readonly catalogId: {
2077
+ readonly type: "string";
2078
+ readonly minLength: 1;
2079
+ };
2080
+ readonly provider: {
2081
+ readonly type: "string";
2082
+ readonly minLength: 1;
2083
+ };
2084
+ readonly displayName: {
2085
+ readonly type: "string";
2086
+ readonly minLength: 1;
2087
+ };
2088
+ readonly providerModelId: {
2089
+ readonly type: "string";
2090
+ readonly minLength: 1;
2091
+ };
2092
+ readonly aliases: {
2093
+ readonly type: "array";
2094
+ readonly items: {
2095
+ readonly type: "string";
2096
+ readonly minLength: 1;
2097
+ };
2098
+ };
2099
+ readonly capabilities: {
2100
+ readonly required: readonly [];
2101
+ readonly type: "object";
2102
+ readonly additionalProperties: false;
2103
+ readonly properties: {
2104
+ readonly inputModalities: {
2105
+ readonly type: "array";
2106
+ readonly minItems: 1;
2107
+ readonly items: {
2108
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
2109
+ };
2110
+ };
2111
+ readonly outputModalities: {
2112
+ readonly type: "array";
2113
+ readonly minItems: 1;
2114
+ readonly items: {
2115
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
2116
+ };
2117
+ };
2118
+ readonly structuredOutput: {
2119
+ readonly type: "boolean";
2120
+ };
2121
+ readonly providerTools: {
2122
+ readonly type: "array";
2123
+ readonly items: {
2124
+ readonly type: "string";
2125
+ readonly minLength: 1;
2126
+ };
2127
+ };
2128
+ readonly contextWindowTokens: {
2129
+ readonly type: "integer";
2130
+ readonly minimum: 1;
2131
+ };
2132
+ readonly maxInputTokens: {
2133
+ readonly type: "integer";
2134
+ readonly minimum: 1;
2135
+ };
2136
+ readonly maxOutputTokens: {
2137
+ readonly type: "integer";
2138
+ readonly minimum: 1;
2139
+ };
2140
+ };
2141
+ };
2142
+ readonly nativeReasoning: {
2143
+ readonly required: readonly [];
2144
+ readonly type: "object";
2145
+ readonly additionalProperties: false;
2146
+ readonly properties: {
2147
+ readonly supportedControls: {
2148
+ readonly type: "array";
2149
+ readonly items: {
2150
+ readonly enum: readonly ["effort", "thinking", "token-budget"];
2151
+ };
2152
+ readonly uniqueItems: true;
2153
+ };
2154
+ readonly disableSupported: {
2155
+ readonly type: "boolean";
2156
+ };
2157
+ readonly supportedEffortLevels: {
2158
+ readonly type: "array";
2159
+ readonly minItems: 1;
2160
+ readonly items: {
2161
+ readonly type: "string";
2162
+ readonly minLength: 1;
2163
+ };
2164
+ };
2165
+ readonly defaultEffort: {
2166
+ readonly type: "string";
2167
+ readonly minLength: 1;
2168
+ };
2169
+ readonly defaultThinkingEnabled: {
2170
+ readonly type: "boolean";
2171
+ };
2172
+ readonly defaultBudgetTokens: {
2173
+ readonly type: "integer";
2174
+ readonly minimum: 0;
2175
+ };
2176
+ readonly budgetTokensRange: {
2177
+ readonly type: "object";
2178
+ readonly additionalProperties: false;
2179
+ readonly required: readonly ["min", "max"];
2180
+ readonly properties: {
2181
+ readonly min: {
2182
+ readonly type: "integer";
2183
+ readonly minimum: 0;
2184
+ };
2185
+ readonly max: {
2186
+ readonly type: "integer";
2187
+ readonly minimum: 0;
2188
+ };
2189
+ };
2190
+ };
2191
+ readonly notes: {
2192
+ readonly type: "string";
2193
+ };
2194
+ };
2195
+ };
2196
+ readonly lifecycle: {
2197
+ readonly properties: {
2198
+ readonly status: {
2199
+ readonly enum: readonly ["preview", "ga", "deprecated", "retired", "unknown"];
2200
+ };
2201
+ readonly deprecatedAt: {
2202
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2203
+ };
2204
+ readonly sunsetAt: {
2205
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2206
+ };
2207
+ readonly replacementCatalogId: {
2208
+ readonly type: "string";
2209
+ readonly minLength: 1;
2210
+ };
2211
+ };
2212
+ readonly type: "object";
2213
+ readonly additionalProperties: false;
2214
+ readonly required: readonly ["status"];
2215
+ };
2216
+ readonly availability: {
2217
+ readonly type: "object";
2218
+ readonly additionalProperties: false;
2219
+ readonly required: readonly ["status"];
2220
+ readonly properties: {
2221
+ readonly status: {
2222
+ readonly enum: readonly ["available", "unavailable", "restricted", "announced", "unknown"];
2223
+ };
2224
+ };
2225
+ };
2226
+ readonly activePriceRevisionId: {
2227
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId";
2228
+ };
2229
+ readonly source: {
2230
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/source";
2231
+ };
2232
+ readonly notes: {
2233
+ readonly type: "string";
2234
+ };
2235
+ };
2236
+ };
2237
+ };
2238
+ readonly runtimeMappings: {
2239
+ readonly type: "object";
2240
+ readonly additionalProperties: {
2241
+ readonly $ref: string;
2242
+ };
2243
+ };
2244
+ readonly prices: {
2245
+ readonly type: "array";
2246
+ readonly items: {
2247
+ readonly $ref: "https://techis.dev/ai/contracts/price-revision.schema.json";
2248
+ };
2249
+ };
2250
+ readonly catalogRevision: {
2251
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
2252
+ };
2253
+ readonly releaseSequence: {
2254
+ readonly type: "integer";
2255
+ readonly minimum: 1;
2256
+ };
2257
+ readonly publishedAt: {
2258
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
2259
+ };
2260
+ readonly notes: {
2261
+ readonly type: "string";
2262
+ };
2263
+ };
2264
+ readonly type: "object";
2265
+ readonly additionalProperties: false;
1331
2266
  }];
1332
2267
  };
1333
2268
  //# sourceMappingURL=core.d.ts.map