@techis/ai-contracts 0.0.0-stage → 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 (175) hide show
  1. package/LICENSE +122 -0
  2. package/README.md +28 -3
  3. package/THIRD_PARTY_NOTICES +34 -0
  4. package/dist/availability.d.ts +21 -0
  5. package/dist/availability.d.ts.map +1 -0
  6. package/dist/availability.js +2 -0
  7. package/dist/availability.js.map +1 -0
  8. package/dist/catalog-adoption.d.ts +20 -0
  9. package/dist/catalog-adoption.d.ts.map +1 -0
  10. package/dist/catalog-adoption.js +76 -0
  11. package/dist/catalog-adoption.js.map +1 -0
  12. package/dist/catalog-composition.d.ts +10 -0
  13. package/dist/catalog-composition.d.ts.map +1 -0
  14. package/dist/catalog-composition.js +66 -0
  15. package/dist/catalog-composition.js.map +1 -0
  16. package/dist/catalog-delivery.d.ts +47 -0
  17. package/dist/catalog-delivery.d.ts.map +1 -0
  18. package/dist/catalog-delivery.js +87 -0
  19. package/dist/catalog-delivery.js.map +1 -0
  20. package/dist/catalog-package-data.d.ts +8 -0
  21. package/dist/catalog-package-data.d.ts.map +1 -0
  22. package/dist/catalog-package-data.js +3845 -0
  23. package/dist/catalog-package-data.js.map +1 -0
  24. package/dist/compatibility.d.ts +68 -0
  25. package/dist/compatibility.d.ts.map +1 -0
  26. package/dist/compatibility.js +207 -0
  27. package/dist/compatibility.js.map +1 -0
  28. package/dist/configuration-bundle.d.ts +204 -0
  29. package/dist/configuration-bundle.d.ts.map +1 -0
  30. package/dist/configuration-bundle.js +626 -0
  31. package/dist/configuration-bundle.js.map +1 -0
  32. package/dist/entities.d.ts +641 -0
  33. package/dist/entities.d.ts.map +1 -0
  34. package/dist/entities.js +2 -0
  35. package/dist/entities.js.map +1 -0
  36. package/dist/fixtures.d.ts +25 -0
  37. package/dist/fixtures.d.ts.map +1 -0
  38. package/dist/fixtures.js +546 -0
  39. package/dist/fixtures.js.map +1 -0
  40. package/dist/hash.d.ts +8 -0
  41. package/dist/hash.d.ts.map +1 -0
  42. package/dist/hash.js +13 -0
  43. package/dist/hash.js.map +1 -0
  44. package/dist/host-qualification.d.ts +107 -0
  45. package/dist/host-qualification.d.ts.map +1 -0
  46. package/dist/host-qualification.js +88 -0
  47. package/dist/host-qualification.js.map +1 -0
  48. package/dist/icc-catalog.d.ts +31 -0
  49. package/dist/icc-catalog.d.ts.map +1 -0
  50. package/dist/icc-catalog.js +321 -0
  51. package/dist/icc-catalog.js.map +1 -0
  52. package/dist/icc-csf-profiles.d.ts +28 -0
  53. package/dist/icc-csf-profiles.d.ts.map +1 -0
  54. package/dist/icc-csf-profiles.js +394 -0
  55. package/dist/icc-csf-profiles.js.map +1 -0
  56. package/dist/index.d.ts +25 -0
  57. package/dist/index.d.ts.map +1 -0
  58. package/dist/index.js +25 -0
  59. package/dist/index.js.map +1 -0
  60. package/dist/model-maintenance.d.ts +216 -0
  61. package/dist/model-maintenance.d.ts.map +1 -0
  62. package/dist/model-maintenance.js +425 -0
  63. package/dist/model-maintenance.js.map +1 -0
  64. package/dist/model-package-data.d.ts +3 -0
  65. package/dist/model-package-data.d.ts.map +1 -0
  66. package/dist/model-package-data.js +4954 -0
  67. package/dist/model-package-data.js.map +1 -0
  68. package/dist/persona-inventory.d.ts +143 -0
  69. package/dist/persona-inventory.d.ts.map +1 -0
  70. package/dist/persona-inventory.js +56 -0
  71. package/dist/persona-inventory.js.map +1 -0
  72. package/dist/profile-identity.d.ts +27 -0
  73. package/dist/profile-identity.d.ts.map +1 -0
  74. package/dist/profile-identity.js +30 -0
  75. package/dist/profile-identity.js.map +1 -0
  76. package/dist/provider-listings.d.ts +9 -0
  77. package/dist/provider-listings.d.ts.map +1 -0
  78. package/dist/provider-listings.js +48 -0
  79. package/dist/provider-listings.js.map +1 -0
  80. package/dist/reasoning-validation.d.ts +9 -0
  81. package/dist/reasoning-validation.d.ts.map +1 -0
  82. package/dist/reasoning-validation.js +79 -0
  83. package/dist/reasoning-validation.js.map +1 -0
  84. package/dist/reasoning.d.ts +55 -0
  85. package/dist/reasoning.d.ts.map +1 -0
  86. package/dist/reasoning.js +13 -0
  87. package/dist/reasoning.js.map +1 -0
  88. package/dist/receipt.d.ts +16 -0
  89. package/dist/receipt.d.ts.map +1 -0
  90. package/dist/receipt.js +18 -0
  91. package/dist/receipt.js.map +1 -0
  92. package/dist/schemas/adoption-change-set.schema.json +91 -0
  93. package/dist/schemas/bundle.d.ts +124 -0
  94. package/dist/schemas/bundle.d.ts.map +1 -0
  95. package/dist/schemas/bundle.js +84 -0
  96. package/dist/schemas/bundle.js.map +1 -0
  97. package/dist/schemas/catalog-release.schema.json +375 -0
  98. package/dist/schemas/catalog-review-input.schema.json +179 -0
  99. package/dist/schemas/catalog-review-output.schema.json +259 -0
  100. package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
  101. package/dist/schemas/catalog-review-record.schema.json +391 -0
  102. package/dist/schemas/client-persona-inventory.schema.json +107 -0
  103. package/dist/schemas/common.schema.json +324 -0
  104. package/dist/schemas/config.d.ts +1106 -0
  105. package/dist/schemas/config.d.ts.map +1 -0
  106. package/dist/schemas/config.js +496 -0
  107. package/dist/schemas/config.js.map +1 -0
  108. package/dist/schemas/configuration-bundle-manifest.schema.json +144 -0
  109. package/dist/schemas/configuration-manifest.schema.json +109 -0
  110. package/dist/schemas/connection.schema.json +49 -0
  111. package/dist/schemas/core.d.ts +2268 -0
  112. package/dist/schemas/core.d.ts.map +1 -0
  113. package/dist/schemas/core.js +367 -0
  114. package/dist/schemas/core.js.map +1 -0
  115. package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
  116. package/dist/schemas/execution-profile-revision.schema.json +235 -0
  117. package/dist/schemas/execution-receipt.schema.json +431 -0
  118. package/dist/schemas/host-adapter-qualification.schema.json +398 -0
  119. package/dist/schemas/host-qualification-policy.schema.json +50 -0
  120. package/dist/schemas/index.d.ts +11 -0
  121. package/dist/schemas/index.d.ts.map +1 -0
  122. package/dist/schemas/index.js +34 -0
  123. package/dist/schemas/index.js.map +1 -0
  124. package/dist/schemas/inventory.d.ts +170 -0
  125. package/dist/schemas/inventory.d.ts.map +1 -0
  126. package/dist/schemas/inventory.js +87 -0
  127. package/dist/schemas/inventory.js.map +1 -0
  128. package/dist/schemas/model-definition.schema.json +628 -0
  129. package/dist/schemas/model-package-release.schema.json +594 -0
  130. package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
  131. package/dist/schemas/operation-contract-document.schema.json +153 -0
  132. package/dist/schemas/persona-assignments.schema.json +125 -0
  133. package/dist/schemas/persona-registry-overlay.schema.json +93 -0
  134. package/dist/schemas/persona-source-document.schema.json +86 -0
  135. package/dist/schemas/persona-specification.schema.json +122 -0
  136. package/dist/schemas/price-revision.schema.json +299 -0
  137. package/dist/schemas/profile-assessment.schema.json +288 -0
  138. package/dist/schemas/scoped.d.ts +424 -0
  139. package/dist/schemas/scoped.d.ts.map +1 -0
  140. package/dist/schemas/scoped.js +203 -0
  141. package/dist/schemas/scoped.js.map +1 -0
  142. package/dist/schemas/usage-aggregate-query.schema.json +86 -0
  143. package/dist/schemas/usage-page.schema.json +22 -0
  144. package/dist/schemas/usage-query.schema.json +77 -0
  145. package/dist/schemas/usage-summary.schema.json +468 -0
  146. package/dist/schemas/usage.d.ts +527 -0
  147. package/dist/schemas/usage.d.ts.map +1 -0
  148. package/dist/schemas/usage.js +142 -0
  149. package/dist/schemas/usage.js.map +1 -0
  150. package/dist/scoped-configuration.d.ts +208 -0
  151. package/dist/scoped-configuration.d.ts.map +1 -0
  152. package/dist/scoped-configuration.js +425 -0
  153. package/dist/scoped-configuration.js.map +1 -0
  154. package/dist/scripts/emit-schemas.d.ts +2 -0
  155. package/dist/scripts/emit-schemas.d.ts.map +1 -0
  156. package/dist/scripts/emit-schemas.js +24 -0
  157. package/dist/scripts/emit-schemas.js.map +1 -0
  158. package/dist/scripts/verify-bundle.d.ts +3 -0
  159. package/dist/scripts/verify-bundle.d.ts.map +1 -0
  160. package/dist/scripts/verify-bundle.js +59 -0
  161. package/dist/scripts/verify-bundle.js.map +1 -0
  162. package/dist/validation.d.ts +11 -0
  163. package/dist/validation.d.ts.map +1 -0
  164. package/dist/validation.js +41 -0
  165. package/dist/validation.js.map +1 -0
  166. package/package.json +31 -4
  167. package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
  168. package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
  169. package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
  170. package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
  171. package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
  172. package/third-party-licenses/require-from-string@2.0.2/license +21 -0
  173. package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
  174. package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
  175. package/third-party-licenses.json +102 -0
@@ -0,0 +1,259 @@
1
+ {
2
+ "type": "object",
3
+ "additionalProperties": false,
4
+ "required": [
5
+ "outcome",
6
+ "findings",
7
+ "advisories",
8
+ "issues"
9
+ ],
10
+ "properties": {
11
+ "outcome": {
12
+ "type": "string",
13
+ "enum": [
14
+ "accepted",
15
+ "needs-evidence",
16
+ "rejected"
17
+ ]
18
+ },
19
+ "findings": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "factKey",
26
+ "status",
27
+ "evidenceIds",
28
+ "reason"
29
+ ],
30
+ "properties": {
31
+ "factKey": {
32
+ "type": "string",
33
+ "minLength": 1
34
+ },
35
+ "status": {
36
+ "type": "string",
37
+ "enum": [
38
+ "supported",
39
+ "insufficient",
40
+ "contradicted"
41
+ ]
42
+ },
43
+ "evidenceIds": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "string",
47
+ "minLength": 1
48
+ }
49
+ },
50
+ "reason": {
51
+ "type": "string",
52
+ "minLength": 1
53
+ }
54
+ }
55
+ }
56
+ },
57
+ "advisories": {
58
+ "type": "array",
59
+ "items": {
60
+ "type": "object",
61
+ "additionalProperties": false,
62
+ "required": [
63
+ "fromModel",
64
+ "toModel",
65
+ "relationship",
66
+ "migrationClass",
67
+ "better",
68
+ "cheaper",
69
+ "highlights",
70
+ "caveats",
71
+ "migrationSteps",
72
+ "evidenceIds"
73
+ ],
74
+ "properties": {
75
+ "fromModel": {
76
+ "type": "string",
77
+ "minLength": 1
78
+ },
79
+ "toModel": {
80
+ "type": "string",
81
+ "minLength": 1
82
+ },
83
+ "relationship": {
84
+ "type": "string",
85
+ "enum": [
86
+ "successor",
87
+ "alternative",
88
+ "unknown"
89
+ ]
90
+ },
91
+ "migrationClass": {
92
+ "type": "string",
93
+ "enum": [
94
+ "compatible-upgrade",
95
+ "adaptation-required",
96
+ "incompatible",
97
+ "unverified"
98
+ ]
99
+ },
100
+ "better": {
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "verdict",
105
+ "scope",
106
+ "basis",
107
+ "reason",
108
+ "evidenceIds"
109
+ ],
110
+ "properties": {
111
+ "verdict": {
112
+ "type": "string",
113
+ "enum": [
114
+ "yes",
115
+ "no",
116
+ "mixed",
117
+ "unknown"
118
+ ]
119
+ },
120
+ "scope": {
121
+ "type": "string",
122
+ "enum": [
123
+ "model-quality",
124
+ "comparable-tasks",
125
+ "cost-per-successful-task"
126
+ ]
127
+ },
128
+ "basis": {
129
+ "type": "string",
130
+ "enum": [
131
+ "provider-reported",
132
+ "independently-measured",
133
+ "insufficient-evidence"
134
+ ]
135
+ },
136
+ "reason": {
137
+ "type": "string",
138
+ "minLength": 1
139
+ },
140
+ "evidenceIds": {
141
+ "type": "array",
142
+ "items": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ }
146
+ }
147
+ }
148
+ },
149
+ "cheaper": {
150
+ "type": "object",
151
+ "additionalProperties": false,
152
+ "required": [
153
+ "verdict",
154
+ "scope",
155
+ "basis",
156
+ "reason",
157
+ "evidenceIds"
158
+ ],
159
+ "properties": {
160
+ "verdict": {
161
+ "type": "string",
162
+ "enum": [
163
+ "yes",
164
+ "no",
165
+ "mixed",
166
+ "unknown"
167
+ ]
168
+ },
169
+ "scope": {
170
+ "type": "string",
171
+ "enum": [
172
+ "model-quality",
173
+ "comparable-tasks",
174
+ "cost-per-successful-task"
175
+ ]
176
+ },
177
+ "basis": {
178
+ "type": "string",
179
+ "enum": [
180
+ "provider-reported",
181
+ "independently-measured",
182
+ "insufficient-evidence"
183
+ ]
184
+ },
185
+ "reason": {
186
+ "type": "string",
187
+ "minLength": 1
188
+ },
189
+ "evidenceIds": {
190
+ "type": "array",
191
+ "items": {
192
+ "type": "string",
193
+ "minLength": 1
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "highlights": {
199
+ "type": "array",
200
+ "items": {
201
+ "type": "object",
202
+ "additionalProperties": false,
203
+ "required": [
204
+ "text",
205
+ "claimKey",
206
+ "evidenceIds"
207
+ ],
208
+ "properties": {
209
+ "text": {
210
+ "type": "string",
211
+ "minLength": 1
212
+ },
213
+ "claimKey": {
214
+ "type": "string",
215
+ "minLength": 1
216
+ },
217
+ "evidenceIds": {
218
+ "type": "array",
219
+ "items": {
220
+ "type": "string",
221
+ "minLength": 1
222
+ }
223
+ }
224
+ }
225
+ }
226
+ },
227
+ "caveats": {
228
+ "type": "array",
229
+ "items": {
230
+ "type": "string",
231
+ "minLength": 1
232
+ }
233
+ },
234
+ "migrationSteps": {
235
+ "type": "array",
236
+ "items": {
237
+ "type": "string",
238
+ "minLength": 1
239
+ }
240
+ },
241
+ "evidenceIds": {
242
+ "type": "array",
243
+ "items": {
244
+ "type": "string",
245
+ "minLength": 1
246
+ }
247
+ }
248
+ }
249
+ }
250
+ },
251
+ "issues": {
252
+ "type": "array",
253
+ "items": {
254
+ "type": "string",
255
+ "minLength": 1
256
+ }
257
+ }
258
+ }
259
+ }
@@ -0,0 +1,251 @@
1
+ {
2
+ "type": "object",
3
+ "additionalProperties": false,
4
+ "required": [
5
+ "outcome",
6
+ "findings",
7
+ "advisories",
8
+ "issues",
9
+ "schemaVersion"
10
+ ],
11
+ "properties": {
12
+ "outcome": {
13
+ "type": "string",
14
+ "enum": [
15
+ "accepted",
16
+ "needs-evidence",
17
+ "rejected"
18
+ ]
19
+ },
20
+ "findings": {
21
+ "type": "array",
22
+ "items": {
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "factKey",
27
+ "status",
28
+ "evidenceIds",
29
+ "reason"
30
+ ],
31
+ "properties": {
32
+ "factKey": {
33
+ "type": "string",
34
+ "minLength": 1
35
+ },
36
+ "status": {
37
+ "type": "string",
38
+ "enum": [
39
+ "supported",
40
+ "insufficient",
41
+ "contradicted"
42
+ ]
43
+ },
44
+ "evidenceIds": {
45
+ "type": "array",
46
+ "items": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ }
50
+ },
51
+ "reason": {
52
+ "type": "string",
53
+ "minLength": 1
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "advisories": {
59
+ "type": "array",
60
+ "items": {
61
+ "type": "object",
62
+ "additionalProperties": false,
63
+ "required": [
64
+ "fromModel",
65
+ "toModel",
66
+ "relationship",
67
+ "migrationClass",
68
+ "better",
69
+ "cheaper",
70
+ "highlights",
71
+ "caveats",
72
+ "migrationSteps",
73
+ "evidenceIds"
74
+ ],
75
+ "properties": {
76
+ "fromModel": {
77
+ "type": "string",
78
+ "minLength": 1
79
+ },
80
+ "toModel": {
81
+ "type": "string",
82
+ "minLength": 1
83
+ },
84
+ "relationship": {
85
+ "type": "string",
86
+ "enum": [
87
+ "successor",
88
+ "alternative",
89
+ "unknown"
90
+ ]
91
+ },
92
+ "migrationClass": {
93
+ "type": "string",
94
+ "enum": [
95
+ "compatible-upgrade",
96
+ "adaptation-required",
97
+ "incompatible",
98
+ "unverified"
99
+ ]
100
+ },
101
+ "better": {
102
+ "type": "object",
103
+ "additionalProperties": false,
104
+ "required": [
105
+ "verdict",
106
+ "scope",
107
+ "basis",
108
+ "reason",
109
+ "evidenceIds"
110
+ ],
111
+ "properties": {
112
+ "verdict": {
113
+ "type": "string",
114
+ "enum": [
115
+ "yes",
116
+ "no",
117
+ "mixed",
118
+ "unknown"
119
+ ]
120
+ },
121
+ "scope": {
122
+ "type": "string",
123
+ "enum": [
124
+ "model-quality",
125
+ "comparable-tasks",
126
+ "cost-per-successful-task"
127
+ ]
128
+ },
129
+ "basis": {
130
+ "type": "string",
131
+ "enum": [
132
+ "provider-reported",
133
+ "independently-measured",
134
+ "insufficient-evidence"
135
+ ]
136
+ },
137
+ "reason": {
138
+ "type": "string",
139
+ "minLength": 1
140
+ },
141
+ "evidenceIds": {
142
+ "type": "array",
143
+ "items": {
144
+ "type": "string",
145
+ "minLength": 1
146
+ }
147
+ }
148
+ }
149
+ },
150
+ "cheaper": {
151
+ "type": "object",
152
+ "additionalProperties": false,
153
+ "required": [
154
+ "verdict",
155
+ "scope",
156
+ "basis",
157
+ "reason",
158
+ "evidenceIds"
159
+ ],
160
+ "properties": {
161
+ "verdict": {
162
+ "type": "string",
163
+ "enum": [
164
+ "yes",
165
+ "no",
166
+ "mixed",
167
+ "unknown"
168
+ ]
169
+ },
170
+ "scope": {
171
+ "type": "string",
172
+ "enum": [
173
+ "model-quality",
174
+ "comparable-tasks",
175
+ "cost-per-successful-task"
176
+ ]
177
+ },
178
+ "basis": {
179
+ "type": "string",
180
+ "enum": [
181
+ "provider-reported",
182
+ "independently-measured",
183
+ "insufficient-evidence"
184
+ ]
185
+ },
186
+ "reason": {
187
+ "type": "string",
188
+ "minLength": 1
189
+ },
190
+ "evidenceIds": {
191
+ "type": "array",
192
+ "items": {
193
+ "type": "string",
194
+ "minLength": 1
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "highlights": {
200
+ "type": "array",
201
+ "items": {
202
+ "type": "object",
203
+ "additionalProperties": false,
204
+ "required": [
205
+ "referenceId"
206
+ ],
207
+ "properties": {
208
+ "referenceId": {
209
+ "type": "string",
210
+ "pattern": "^[a-f0-9]{64}$"
211
+ }
212
+ }
213
+ }
214
+ },
215
+ "caveats": {
216
+ "type": "array",
217
+ "items": {
218
+ "type": "string",
219
+ "minLength": 1
220
+ }
221
+ },
222
+ "migrationSteps": {
223
+ "type": "array",
224
+ "items": {
225
+ "type": "string",
226
+ "minLength": 1
227
+ }
228
+ },
229
+ "evidenceIds": {
230
+ "type": "array",
231
+ "items": {
232
+ "type": "string",
233
+ "minLength": 1
234
+ }
235
+ }
236
+ }
237
+ }
238
+ },
239
+ "issues": {
240
+ "type": "array",
241
+ "items": {
242
+ "type": "string",
243
+ "minLength": 1
244
+ }
245
+ },
246
+ "schemaVersion": {
247
+ "type": "integer",
248
+ "const": 2
249
+ }
250
+ }
251
+ }