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

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 (60) 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 +10 -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 +6683 -6
  9. package/dist/catalog-package-data.js.map +1 -1
  10. package/dist/catalog-source-completeness.d.ts +27 -0
  11. package/dist/catalog-source-completeness.d.ts.map +1 -0
  12. package/dist/catalog-source-completeness.js +75 -0
  13. package/dist/catalog-source-completeness.js.map +1 -0
  14. package/dist/configuration-bundle.d.ts +4 -1
  15. package/dist/configuration-bundle.d.ts.map +1 -1
  16. package/dist/configuration-bundle.js +11 -4
  17. package/dist/configuration-bundle.js.map +1 -1
  18. package/dist/entities.d.ts +25 -3
  19. package/dist/entities.d.ts.map +1 -1
  20. package/dist/host-qualification.d.ts +22 -5
  21. package/dist/host-qualification.d.ts.map +1 -1
  22. package/dist/host-qualification.js +24 -1
  23. package/dist/host-qualification.js.map +1 -1
  24. package/dist/incremental-catalog-review.d.ts +152 -0
  25. package/dist/incremental-catalog-review.d.ts.map +1 -0
  26. package/dist/incremental-catalog-review.js +283 -0
  27. package/dist/incremental-catalog-review.js.map +1 -0
  28. package/dist/index.d.ts +3 -0
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +3 -0
  31. package/dist/index.js.map +1 -1
  32. package/dist/model-maintenance.d.ts +14 -2
  33. package/dist/model-maintenance.d.ts.map +1 -1
  34. package/dist/model-maintenance.js +74 -18
  35. package/dist/model-maintenance.js.map +1 -1
  36. package/dist/model-package-data.d.ts.map +1 -1
  37. package/dist/model-package-data.js +36831 -621
  38. package/dist/model-package-data.js.map +1 -1
  39. package/dist/provider-listings.d.ts +9 -0
  40. package/dist/provider-listings.d.ts.map +1 -0
  41. package/dist/provider-listings.js +48 -0
  42. package/dist/provider-listings.js.map +1 -0
  43. package/dist/schemas/bundle.d.ts +1 -1
  44. package/dist/schemas/bundle.js +1 -1
  45. package/dist/schemas/bundle.js.map +1 -1
  46. package/dist/schemas/catalog-delta-output.schema.json +146 -0
  47. package/dist/schemas/catalog-delta-record.schema.json +242 -0
  48. package/dist/schemas/catalog-release.schema.json +266 -1
  49. package/dist/schemas/configuration-bundle-manifest.schema.json +2 -1
  50. package/dist/schemas/core.d.ts +966 -31
  51. package/dist/schemas/core.d.ts.map +1 -1
  52. package/dist/schemas/core.js +29 -3
  53. package/dist/schemas/core.js.map +1 -1
  54. package/dist/schemas/host-adapter-qualification.schema.json +370 -133
  55. package/dist/schemas/incremental-catalog-review.schema.json +645 -0
  56. package/dist/schemas/model-definition.schema.json +199 -0
  57. package/dist/schemas/model-package-release.schema.json +645 -0
  58. package/dist/scripts/emit-schemas.js +3 -0
  59. package/dist/scripts/emit-schemas.js.map +1 -1
  60. package/package.json +33 -33
@@ -424,6 +424,205 @@
424
424
  }
425
425
  },
426
426
  "$id": "https://techis.dev/ai/contracts/v2/model-definition.schema.json"
427
+ },
428
+ {
429
+ "type": "object",
430
+ "additionalProperties": false,
431
+ "required": [
432
+ "schemaVersion",
433
+ "catalogId",
434
+ "providerModelId",
435
+ "provider",
436
+ "adapterId",
437
+ "displayName",
438
+ "capabilities",
439
+ "nativeReasoning",
440
+ "lifecycle",
441
+ "source"
442
+ ],
443
+ "properties": {
444
+ "schemaVersion": {
445
+ "const": 3
446
+ },
447
+ "catalogId": {
448
+ "type": "string",
449
+ "minLength": 1
450
+ },
451
+ "providerModelId": {
452
+ "type": "string",
453
+ "minLength": 1
454
+ },
455
+ "provider": {
456
+ "type": "string",
457
+ "minLength": 1
458
+ },
459
+ "adapterId": {
460
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId"
461
+ },
462
+ "displayName": {
463
+ "type": "string",
464
+ "minLength": 1
465
+ },
466
+ "aliases": {
467
+ "type": "array",
468
+ "items": {
469
+ "type": "string",
470
+ "minLength": 1
471
+ }
472
+ },
473
+ "capabilities": {
474
+ "type": "object",
475
+ "additionalProperties": false,
476
+ "required": [
477
+ "inputModalities",
478
+ "outputModalities",
479
+ "structuredOutput",
480
+ "providerTools",
481
+ "contextWindowTokens",
482
+ "maxInputTokens",
483
+ "maxOutputTokens"
484
+ ],
485
+ "properties": {
486
+ "inputModalities": {
487
+ "type": "array",
488
+ "minItems": 1,
489
+ "items": {
490
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality"
491
+ }
492
+ },
493
+ "outputModalities": {
494
+ "type": "array",
495
+ "minItems": 1,
496
+ "items": {
497
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality"
498
+ }
499
+ },
500
+ "structuredOutput": {
501
+ "type": "boolean"
502
+ },
503
+ "providerTools": {
504
+ "type": "array",
505
+ "items": {
506
+ "type": "string",
507
+ "minLength": 1
508
+ }
509
+ },
510
+ "contextWindowTokens": {
511
+ "type": "integer",
512
+ "minimum": 1
513
+ },
514
+ "maxInputTokens": {
515
+ "type": "integer",
516
+ "minimum": 1
517
+ },
518
+ "maxOutputTokens": {
519
+ "type": "integer",
520
+ "minimum": 1
521
+ }
522
+ }
523
+ },
524
+ "nativeReasoning": {
525
+ "type": "object",
526
+ "additionalProperties": false,
527
+ "required": [
528
+ "supportedControls",
529
+ "disableSupported"
530
+ ],
531
+ "properties": {
532
+ "supportedControls": {
533
+ "type": "array",
534
+ "items": {
535
+ "enum": [
536
+ "effort",
537
+ "thinking",
538
+ "token-budget"
539
+ ]
540
+ },
541
+ "uniqueItems": true
542
+ },
543
+ "disableSupported": {
544
+ "type": "boolean"
545
+ },
546
+ "supportedEffortLevels": {
547
+ "type": "array",
548
+ "minItems": 1,
549
+ "items": {
550
+ "type": "string",
551
+ "minLength": 1
552
+ }
553
+ },
554
+ "defaultEffort": {
555
+ "type": "string",
556
+ "minLength": 1
557
+ },
558
+ "defaultThinkingEnabled": {
559
+ "type": "boolean"
560
+ },
561
+ "defaultBudgetTokens": {
562
+ "type": "integer",
563
+ "minimum": 0
564
+ },
565
+ "budgetTokensRange": {
566
+ "type": "object",
567
+ "additionalProperties": false,
568
+ "required": [
569
+ "min",
570
+ "max"
571
+ ],
572
+ "properties": {
573
+ "min": {
574
+ "type": "integer",
575
+ "minimum": 0
576
+ },
577
+ "max": {
578
+ "type": "integer",
579
+ "minimum": 0
580
+ }
581
+ }
582
+ },
583
+ "notes": {
584
+ "type": "string"
585
+ }
586
+ }
587
+ },
588
+ "lifecycle": {
589
+ "type": "object",
590
+ "additionalProperties": false,
591
+ "required": [
592
+ "status"
593
+ ],
594
+ "properties": {
595
+ "status": {
596
+ "enum": [
597
+ "preview",
598
+ "ga",
599
+ "deprecated",
600
+ "retired",
601
+ "unknown"
602
+ ]
603
+ },
604
+ "deprecatedAt": {
605
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
606
+ },
607
+ "sunsetAt": {
608
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime"
609
+ },
610
+ "replacementCatalogId": {
611
+ "type": "string",
612
+ "minLength": 1
613
+ }
614
+ }
615
+ },
616
+ "activePriceRevisionId": {
617
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/priceRevisionId"
618
+ },
619
+ "source": {
620
+ "$ref": "https://techis.dev/ai/contracts/common.schema.json#/definitions/source"
621
+ },
622
+ "notes": {
623
+ "type": "string"
624
+ }
625
+ }
427
626
  }
428
627
  ]
429
628
  }