@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,398 @@
1
+ {
2
+ "oneOf": [
3
+ {
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schemaVersion",
8
+ "kind",
9
+ "mapping",
10
+ "runtimePackage",
11
+ "adapterModule",
12
+ "conformance",
13
+ "receipt"
14
+ ],
15
+ "properties": {
16
+ "schemaVersion": {
17
+ "const": 1
18
+ },
19
+ "kind": {
20
+ "const": "techis-host-adapter-qualification"
21
+ },
22
+ "mapping": {
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "catalogId",
27
+ "provider",
28
+ "providerModelId",
29
+ "adapterId",
30
+ "adapterVersion",
31
+ "endpoint"
32
+ ],
33
+ "properties": {
34
+ "catalogId": {
35
+ "type": "string",
36
+ "minLength": 1
37
+ },
38
+ "provider": {
39
+ "type": "string",
40
+ "minLength": 1
41
+ },
42
+ "providerModelId": {
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "adapterId": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ },
50
+ "adapterVersion": {
51
+ "type": "string",
52
+ "minLength": 1
53
+ },
54
+ "endpoint": {
55
+ "type": "string",
56
+ "minLength": 1
57
+ }
58
+ }
59
+ },
60
+ "runtimePackage": {
61
+ "type": "object",
62
+ "additionalProperties": false,
63
+ "required": [
64
+ "name",
65
+ "version",
66
+ "sha256"
67
+ ],
68
+ "properties": {
69
+ "name": {
70
+ "type": "string",
71
+ "minLength": 1
72
+ },
73
+ "version": {
74
+ "type": "string",
75
+ "minLength": 1
76
+ },
77
+ "sha256": {
78
+ "type": "string",
79
+ "pattern": "^[a-f0-9]{64}$"
80
+ }
81
+ }
82
+ },
83
+ "adapterModule": {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "path",
88
+ "sha256"
89
+ ],
90
+ "properties": {
91
+ "path": {
92
+ "type": "string",
93
+ "minLength": 1
94
+ },
95
+ "sha256": {
96
+ "type": "string",
97
+ "pattern": "^[a-f0-9]{64}$"
98
+ }
99
+ }
100
+ },
101
+ "conformance": {
102
+ "type": "object",
103
+ "additionalProperties": false,
104
+ "required": [
105
+ "runtimePackageSha256",
106
+ "adapterModuleSha256",
107
+ "adapterId",
108
+ "adapterVersion",
109
+ "provider",
110
+ "providerModelId",
111
+ "endpoint",
112
+ "wireModel",
113
+ "structuredOutputValidated",
114
+ "networkCalls",
115
+ "outcome"
116
+ ],
117
+ "properties": {
118
+ "runtimePackageSha256": {
119
+ "type": "string",
120
+ "pattern": "^[a-f0-9]{64}$"
121
+ },
122
+ "adapterModuleSha256": {
123
+ "type": "string",
124
+ "pattern": "^[a-f0-9]{64}$"
125
+ },
126
+ "adapterId": {
127
+ "type": "string",
128
+ "minLength": 1
129
+ },
130
+ "adapterVersion": {
131
+ "type": "string",
132
+ "minLength": 1
133
+ },
134
+ "provider": {
135
+ "type": "string",
136
+ "minLength": 1
137
+ },
138
+ "providerModelId": {
139
+ "type": "string",
140
+ "minLength": 1
141
+ },
142
+ "endpoint": {
143
+ "type": "string",
144
+ "minLength": 1
145
+ },
146
+ "wireModel": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ },
150
+ "structuredOutputValidated": {
151
+ "const": true
152
+ },
153
+ "networkCalls": {
154
+ "const": 0
155
+ },
156
+ "outcome": {
157
+ "const": "succeeded"
158
+ }
159
+ }
160
+ },
161
+ "receipt": {}
162
+ }
163
+ },
164
+ {
165
+ "type": "object",
166
+ "additionalProperties": false,
167
+ "required": [
168
+ "schemaVersion",
169
+ "kind",
170
+ "mapping",
171
+ "runtimePackage",
172
+ "adapterModule",
173
+ "conformance",
174
+ "receipt",
175
+ "runtimeTools"
176
+ ],
177
+ "properties": {
178
+ "schemaVersion": {
179
+ "const": 2
180
+ },
181
+ "kind": {
182
+ "const": "techis-host-adapter-qualification"
183
+ },
184
+ "mapping": {
185
+ "type": "object",
186
+ "additionalProperties": false,
187
+ "required": [
188
+ "catalogId",
189
+ "provider",
190
+ "providerModelId",
191
+ "adapterId",
192
+ "adapterVersion",
193
+ "endpoint"
194
+ ],
195
+ "properties": {
196
+ "catalogId": {
197
+ "type": "string",
198
+ "minLength": 1
199
+ },
200
+ "provider": {
201
+ "type": "string",
202
+ "minLength": 1
203
+ },
204
+ "providerModelId": {
205
+ "type": "string",
206
+ "minLength": 1
207
+ },
208
+ "adapterId": {
209
+ "type": "string",
210
+ "minLength": 1
211
+ },
212
+ "adapterVersion": {
213
+ "type": "string",
214
+ "minLength": 1
215
+ },
216
+ "endpoint": {
217
+ "type": "string",
218
+ "minLength": 1
219
+ }
220
+ }
221
+ },
222
+ "runtimePackage": {
223
+ "type": "object",
224
+ "additionalProperties": false,
225
+ "required": [
226
+ "name",
227
+ "version",
228
+ "sha256"
229
+ ],
230
+ "properties": {
231
+ "name": {
232
+ "type": "string",
233
+ "minLength": 1
234
+ },
235
+ "version": {
236
+ "type": "string",
237
+ "minLength": 1
238
+ },
239
+ "sha256": {
240
+ "type": "string",
241
+ "pattern": "^[a-f0-9]{64}$"
242
+ }
243
+ }
244
+ },
245
+ "adapterModule": {
246
+ "type": "object",
247
+ "additionalProperties": false,
248
+ "required": [
249
+ "path",
250
+ "sha256"
251
+ ],
252
+ "properties": {
253
+ "path": {
254
+ "type": "string",
255
+ "minLength": 1
256
+ },
257
+ "sha256": {
258
+ "type": "string",
259
+ "pattern": "^[a-f0-9]{64}$"
260
+ }
261
+ }
262
+ },
263
+ "conformance": {
264
+ "type": "object",
265
+ "additionalProperties": false,
266
+ "required": [
267
+ "runtimePackageSha256",
268
+ "adapterModuleSha256",
269
+ "adapterId",
270
+ "adapterVersion",
271
+ "provider",
272
+ "providerModelId",
273
+ "endpoint",
274
+ "wireModel",
275
+ "structuredOutputValidated",
276
+ "networkCalls",
277
+ "outcome"
278
+ ],
279
+ "properties": {
280
+ "runtimePackageSha256": {
281
+ "type": "string",
282
+ "pattern": "^[a-f0-9]{64}$"
283
+ },
284
+ "adapterModuleSha256": {
285
+ "type": "string",
286
+ "pattern": "^[a-f0-9]{64}$"
287
+ },
288
+ "adapterId": {
289
+ "type": "string",
290
+ "minLength": 1
291
+ },
292
+ "adapterVersion": {
293
+ "type": "string",
294
+ "minLength": 1
295
+ },
296
+ "provider": {
297
+ "type": "string",
298
+ "minLength": 1
299
+ },
300
+ "providerModelId": {
301
+ "type": "string",
302
+ "minLength": 1
303
+ },
304
+ "endpoint": {
305
+ "type": "string",
306
+ "minLength": 1
307
+ },
308
+ "wireModel": {
309
+ "type": "string",
310
+ "minLength": 1
311
+ },
312
+ "structuredOutputValidated": {
313
+ "const": true
314
+ },
315
+ "networkCalls": {
316
+ "const": 0
317
+ },
318
+ "outcome": {
319
+ "const": "succeeded"
320
+ }
321
+ }
322
+ },
323
+ "receipt": {},
324
+ "runtimeTools": {
325
+ "type": "object",
326
+ "additionalProperties": false,
327
+ "required": [
328
+ "modelHash",
329
+ "nativeTools",
330
+ "adapterTools",
331
+ "executableTools",
332
+ "unavailableTools",
333
+ "qualifiedTools"
334
+ ],
335
+ "properties": {
336
+ "modelHash": {
337
+ "type": "string",
338
+ "pattern": "^[a-f0-9]{64}$"
339
+ },
340
+ "nativeTools": {
341
+ "type": "array",
342
+ "uniqueItems": true,
343
+ "items": {
344
+ "type": "string",
345
+ "minLength": 1
346
+ }
347
+ },
348
+ "adapterTools": {
349
+ "type": "array",
350
+ "uniqueItems": true,
351
+ "items": {
352
+ "type": "string",
353
+ "minLength": 1
354
+ }
355
+ },
356
+ "executableTools": {
357
+ "type": "array",
358
+ "uniqueItems": true,
359
+ "items": {
360
+ "type": "string",
361
+ "minLength": 1
362
+ }
363
+ },
364
+ "unavailableTools": {
365
+ "type": "array",
366
+ "uniqueItems": true,
367
+ "items": {
368
+ "type": "string",
369
+ "minLength": 1
370
+ }
371
+ },
372
+ "qualifiedTools": {
373
+ "type": "array",
374
+ "items": {
375
+ "type": "object",
376
+ "additionalProperties": false,
377
+ "required": [
378
+ "tool",
379
+ "synthetic",
380
+ "receipt"
381
+ ],
382
+ "properties": {
383
+ "tool": {
384
+ "const": "web_search"
385
+ },
386
+ "synthetic": {
387
+ "type": "boolean"
388
+ },
389
+ "receipt": {}
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ }
397
+ ]
398
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "type": "object",
3
+ "additionalProperties": false,
4
+ "required": [
5
+ "schemaVersion",
6
+ "artifactPins"
7
+ ],
8
+ "properties": {
9
+ "schemaVersion": {
10
+ "const": 1
11
+ },
12
+ "artifactPins": {
13
+ "type": "array",
14
+ "minItems": 1,
15
+ "items": {
16
+ "type": "object",
17
+ "additionalProperties": false,
18
+ "required": [
19
+ "qualificationSha256",
20
+ "runtimePackageSha256",
21
+ "adapterModuleSha256",
22
+ "receiptSha256",
23
+ "conformanceSha256"
24
+ ],
25
+ "properties": {
26
+ "qualificationSha256": {
27
+ "type": "string",
28
+ "pattern": "^[a-f0-9]{64}$"
29
+ },
30
+ "runtimePackageSha256": {
31
+ "type": "string",
32
+ "pattern": "^[a-f0-9]{64}$"
33
+ },
34
+ "adapterModuleSha256": {
35
+ "type": "string",
36
+ "pattern": "^[a-f0-9]{64}$"
37
+ },
38
+ "receiptSha256": {
39
+ "type": "string",
40
+ "pattern": "^[a-f0-9]{64}$"
41
+ },
42
+ "conformanceSha256": {
43
+ "type": "string",
44
+ "pattern": "^[a-f0-9]{64}$"
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,11 @@
1
+ import { commonSchema, commonSchemaId } from "./core.js";
2
+ export type EntityKind = "model-definition" | "price-revision" | "catalog-release" | "persona-specification" | "execution-profile-revision" | "profile-assessment" | "persona-assignments" | "connection" | "configuration-manifest" | "execution-receipt" | "usage-query" | "usage-page" | "usage-aggregate-query" | "usage-summary" | "desktop-configuration-revision-v2" | "persona-source-document-v2" | "operation-contract-document-v2" | "adoption-change-set-v2" | "configuration-bundle-manifest" | "persona-registry-overlay" | "client-persona-inventory";
3
+ export declare const entitySchemas: Record<EntityKind, {
4
+ $id: string;
5
+ schema: object;
6
+ }>;
7
+ export { commonSchema, commonSchemaId };
8
+ export { usageAggregateQuerySchema, usageAggregateQuerySchemaId, usagePageSchema, usagePageSchemaId, usageQuerySchema, usageQuerySchemaId, usageSummarySchema, usageSummarySchemaId } from "./usage.js";
9
+ export { SCHEMA_BASE } from "./core.js";
10
+ export { desktopConfigurationRevisionV2Schema, desktopConfigurationRevisionV2SchemaId, personaSourceDocumentV2Schema, personaSourceDocumentV2SchemaId, operationContractDocumentV2Schema, operationContractDocumentV2SchemaId, adoptionChangeSetV2Schema, adoptionChangeSetV2SchemaId, exactProfileRefSchema, exactProfileRefSchemaId, exactDocumentRefSchema, exactDocumentRefSchemaId, reservedRevisionWords } from "./scoped.js";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EAOf,MAAM,WAAW,CAAC;AAoDnB,MAAM,MAAM,UAAU,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,iBAAiB,GACjB,uBAAuB,GACvB,4BAA4B,GAC5B,oBAAoB,GACpB,qBAAqB,GACrB,YAAY,GACZ,wBAAwB,GACxB,mBAAmB,GACnB,aAAa,GACb,YAAY,GACZ,uBAAuB,GACvB,eAAe,GACf,mCAAmC,GACnC,4BAA4B,GAC5B,gCAAgC,GAChC,wBAAwB,GACxB,+BAA+B,GAC/B,0BAA0B,GAC1B,0BAA0B,CAAC;AAE/B,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,UAAU,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAsB7E,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AACxC,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,oCAAoC,EACpC,sCAAsC,EACtC,6BAA6B,EAC7B,+BAA+B,EAC/B,iCAAiC,EACjC,mCAAmC,EACnC,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,aAAa,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { commonSchema, commonSchemaId, modelDefinitionSchema, modelDefinitionSchemaId, priceRevisionSchema, priceRevisionSchemaId, catalogReleaseSchema, catalogReleaseSchemaId } from "./core.js";
2
+ import { personaSpecificationSchema, personaSpecificationSchemaId, executionProfileRevisionSchema, executionProfileRevisionSchemaId, profileAssessmentSchema, profileAssessmentSchemaId, personaAssignmentsSchema, personaAssignmentsSchemaId, connectionSchema, connectionSchemaId, configurationManifestSchema, configurationManifestSchemaId, executionReceiptSchema, executionReceiptSchemaId } from "./config.js";
3
+ import { desktopConfigurationRevisionV2Schema, desktopConfigurationRevisionV2SchemaId, personaSourceDocumentV2Schema, personaSourceDocumentV2SchemaId, operationContractDocumentV2Schema, operationContractDocumentV2SchemaId, adoptionChangeSetV2Schema, adoptionChangeSetV2SchemaId } from "./scoped.js";
4
+ import { usageAggregateQuerySchema, usageAggregateQuerySchemaId, usagePageSchema, usagePageSchemaId, usageQuerySchema, usageQuerySchemaId, usageSummarySchema, usageSummarySchemaId } from "./usage.js";
5
+ import { configurationBundleManifestSchema, configurationBundleManifestSchemaId } from "./bundle.js";
6
+ import { personaRegistryOverlaySchema, personaRegistryOverlaySchemaId, clientPersonaInventorySchema, clientPersonaInventorySchemaId } from "./inventory.js";
7
+ export const entitySchemas = {
8
+ "model-definition": { $id: modelDefinitionSchemaId, schema: modelDefinitionSchema },
9
+ "price-revision": { $id: priceRevisionSchemaId, schema: priceRevisionSchema },
10
+ "catalog-release": { $id: catalogReleaseSchemaId, schema: catalogReleaseSchema },
11
+ "persona-specification": { $id: personaSpecificationSchemaId, schema: personaSpecificationSchema },
12
+ "execution-profile-revision": { $id: executionProfileRevisionSchemaId, schema: executionProfileRevisionSchema },
13
+ "profile-assessment": { $id: profileAssessmentSchemaId, schema: profileAssessmentSchema },
14
+ "persona-assignments": { $id: personaAssignmentsSchemaId, schema: personaAssignmentsSchema },
15
+ connection: { $id: connectionSchemaId, schema: connectionSchema },
16
+ "configuration-manifest": { $id: configurationManifestSchemaId, schema: configurationManifestSchema },
17
+ "execution-receipt": { $id: executionReceiptSchemaId, schema: executionReceiptSchema },
18
+ "usage-query": { $id: usageQuerySchemaId, schema: usageQuerySchema },
19
+ "usage-page": { $id: usagePageSchemaId, schema: usagePageSchema },
20
+ "usage-aggregate-query": { $id: usageAggregateQuerySchemaId, schema: usageAggregateQuerySchema },
21
+ "usage-summary": { $id: usageSummarySchemaId, schema: usageSummarySchema },
22
+ "desktop-configuration-revision-v2": { $id: desktopConfigurationRevisionV2SchemaId, schema: desktopConfigurationRevisionV2Schema },
23
+ "persona-source-document-v2": { $id: personaSourceDocumentV2SchemaId, schema: personaSourceDocumentV2Schema },
24
+ "operation-contract-document-v2": { $id: operationContractDocumentV2SchemaId, schema: operationContractDocumentV2Schema },
25
+ "adoption-change-set-v2": { $id: adoptionChangeSetV2SchemaId, schema: adoptionChangeSetV2Schema },
26
+ "configuration-bundle-manifest": { $id: configurationBundleManifestSchemaId, schema: configurationBundleManifestSchema },
27
+ "persona-registry-overlay": { $id: personaRegistryOverlaySchemaId, schema: personaRegistryOverlaySchema },
28
+ "client-persona-inventory": { $id: clientPersonaInventorySchemaId, schema: clientPersonaInventorySchema }
29
+ };
30
+ export { commonSchema, commonSchemaId };
31
+ export { usageAggregateQuerySchema, usageAggregateQuerySchemaId, usagePageSchema, usagePageSchemaId, usageQuerySchema, usageQuerySchemaId, usageSummarySchema, usageSummarySchemaId } from "./usage.js";
32
+ export { SCHEMA_BASE } from "./core.js";
33
+ export { desktopConfigurationRevisionV2Schema, desktopConfigurationRevisionV2SchemaId, personaSourceDocumentV2Schema, personaSourceDocumentV2SchemaId, operationContractDocumentV2Schema, operationContractDocumentV2SchemaId, adoptionChangeSetV2Schema, adoptionChangeSetV2SchemaId, exactProfileRefSchema, exactProfileRefSchemaId, exactDocumentRefSchema, exactDocumentRefSchemaId, reservedRevisionWords } from "./scoped.js";
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACvB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,0BAA0B,EAC1B,4BAA4B,EAC5B,8BAA8B,EAC9B,gCAAgC,EAChC,uBAAuB,EACvB,yBAAyB,EACzB,wBAAwB,EACxB,0BAA0B,E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,EACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EACL,oCAAoC,EACpC,sCAAsC,EACtC,6BAA6B,EAC7B,+BAA+B,EAC/B,iCAAiC,EACjC,mCAAmC,EACnC,yBAAyB,EACzB,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,aAAa,CAAC"}
@@ -0,0 +1,170 @@
1
+ export declare const personaRegistryOverlaySchemaId = "https://techis.dev/ai/contracts/persona-registry-overlay.schema.json";
2
+ export declare const personaRegistryOverlaySchema: {
3
+ readonly $id: "https://techis.dev/ai/contracts/persona-registry-overlay.schema.json";
4
+ readonly type: "object";
5
+ readonly additionalProperties: false;
6
+ readonly required: readonly ["schemaVersion", "kind", "applicationId", "personaId", "lifecycle", "scope", "sourceLinks", "curated"];
7
+ readonly properties: {
8
+ readonly schemaVersion: {
9
+ readonly const: 1;
10
+ };
11
+ readonly kind: {
12
+ readonly const: "persona-registry-overlay";
13
+ };
14
+ readonly applicationId: {
15
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
16
+ };
17
+ readonly personaId: {
18
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
19
+ };
20
+ readonly owner: {
21
+ readonly type: "object";
22
+ readonly additionalProperties: false;
23
+ readonly properties: {
24
+ readonly team: {
25
+ readonly type: "string";
26
+ readonly minLength: 1;
27
+ readonly maxLength: 200;
28
+ };
29
+ readonly contact: {
30
+ readonly type: "string";
31
+ readonly minLength: 1;
32
+ readonly maxLength: 320;
33
+ };
34
+ };
35
+ };
36
+ readonly lifecycle: {
37
+ readonly enum: readonly ["active", "deprecated", "retired"];
38
+ };
39
+ readonly scope: {
40
+ readonly enum: readonly ["application", "shared"];
41
+ };
42
+ readonly sourceLinks: {
43
+ readonly type: "array";
44
+ readonly maxItems: 20;
45
+ readonly items: {
46
+ readonly type: "string";
47
+ readonly minLength: 1;
48
+ readonly maxLength: 500;
49
+ };
50
+ };
51
+ readonly summary: {
52
+ readonly type: "string";
53
+ readonly maxLength: 1000;
54
+ };
55
+ readonly notes: {
56
+ readonly type: "string";
57
+ readonly maxLength: 2000;
58
+ };
59
+ readonly curated: {
60
+ readonly type: "object";
61
+ readonly additionalProperties: false;
62
+ readonly required: readonly ["by", "at"];
63
+ readonly properties: {
64
+ readonly by: {
65
+ readonly type: "string";
66
+ readonly minLength: 1;
67
+ readonly maxLength: 200;
68
+ };
69
+ readonly at: {
70
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
71
+ };
72
+ };
73
+ };
74
+ };
75
+ };
76
+ export declare const clientPersonaInventorySchemaId = "https://techis.dev/ai/contracts/client-persona-inventory.schema.json";
77
+ export declare const clientPersonaInventorySchema: {
78
+ readonly $id: "https://techis.dev/ai/contracts/client-persona-inventory.schema.json";
79
+ readonly type: "object";
80
+ readonly additionalProperties: false;
81
+ readonly required: readonly ["schemaVersion", "kind", "applicationId", "published", "personas"];
82
+ readonly properties: {
83
+ readonly schemaVersion: {
84
+ readonly const: 1;
85
+ };
86
+ readonly kind: {
87
+ readonly const: "client-persona-inventory";
88
+ };
89
+ readonly applicationId: {
90
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
91
+ };
92
+ readonly published: {
93
+ readonly type: "object";
94
+ readonly additionalProperties: false;
95
+ readonly required: readonly ["by", "at"];
96
+ readonly properties: {
97
+ readonly by: {
98
+ readonly type: "string";
99
+ readonly minLength: 1;
100
+ readonly maxLength: 200;
101
+ };
102
+ readonly at: {
103
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
104
+ };
105
+ };
106
+ };
107
+ readonly personas: {
108
+ readonly type: "array";
109
+ readonly maxItems: 2000;
110
+ readonly items: {
111
+ readonly type: "object";
112
+ readonly additionalProperties: false;
113
+ readonly required: readonly ["personaId"];
114
+ readonly properties: {
115
+ readonly personaId: {
116
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
117
+ };
118
+ readonly name: {
119
+ readonly type: "string";
120
+ readonly minLength: 1;
121
+ readonly maxLength: 200;
122
+ };
123
+ readonly summary: {
124
+ readonly type: "string";
125
+ readonly maxLength: 1000;
126
+ };
127
+ readonly domains: {
128
+ readonly type: "array";
129
+ readonly maxItems: 50;
130
+ readonly items: {
131
+ readonly type: "string";
132
+ readonly minLength: 1;
133
+ readonly maxLength: 100;
134
+ };
135
+ };
136
+ readonly instructionHash: {
137
+ readonly type: "string";
138
+ readonly pattern: "^[a-f0-9]{64}$";
139
+ };
140
+ readonly sourceVersion: {
141
+ readonly type: "string";
142
+ readonly minLength: 1;
143
+ readonly maxLength: 200;
144
+ };
145
+ readonly inheritsPersonaId: {
146
+ readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
147
+ };
148
+ readonly locallyBoundProfiles: {
149
+ readonly type: "array";
150
+ readonly maxItems: 100;
151
+ readonly items: {
152
+ type: string;
153
+ additionalProperties: boolean;
154
+ required: string[];
155
+ properties: {
156
+ profileId: {
157
+ $ref: string;
158
+ };
159
+ revision: {
160
+ $ref: string;
161
+ };
162
+ };
163
+ };
164
+ };
165
+ };
166
+ };
167
+ };
168
+ };
169
+ };
170
+ //# sourceMappingURL=inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory.d.ts","sourceRoot":"","sources":["../../src/schemas/inventory.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,8BAA8B,yEAAwD,CAAC;AAEpG,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC/B,CAAC;AAEX,eAAO,MAAM,8BAA8B,yEAAwD,CAAC;AAYpG,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC/B,CAAC"}