@techis/ai-contracts 0.0.0-stage → 0.3.0-rc.15
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.
- package/LICENSE +122 -0
- package/README.md +28 -3
- package/THIRD_PARTY_NOTICES +34 -0
- package/dist/availability.d.ts +21 -0
- package/dist/availability.d.ts.map +1 -0
- package/dist/availability.js +2 -0
- package/dist/availability.js.map +1 -0
- package/dist/catalog-adoption.d.ts +20 -0
- package/dist/catalog-adoption.d.ts.map +1 -0
- package/dist/catalog-adoption.js +76 -0
- package/dist/catalog-adoption.js.map +1 -0
- package/dist/catalog-composition.d.ts +10 -0
- package/dist/catalog-composition.d.ts.map +1 -0
- package/dist/catalog-composition.js +58 -0
- package/dist/catalog-composition.js.map +1 -0
- package/dist/catalog-delivery.d.ts +47 -0
- package/dist/catalog-delivery.d.ts.map +1 -0
- package/dist/catalog-delivery.js +83 -0
- package/dist/catalog-delivery.js.map +1 -0
- package/dist/catalog-package-data.d.ts +8 -0
- package/dist/catalog-package-data.d.ts.map +1 -0
- package/dist/catalog-package-data.js +2640 -0
- package/dist/catalog-package-data.js.map +1 -0
- package/dist/compatibility.d.ts +68 -0
- package/dist/compatibility.d.ts.map +1 -0
- package/dist/compatibility.js +207 -0
- package/dist/compatibility.js.map +1 -0
- package/dist/configuration-bundle.d.ts +201 -0
- package/dist/configuration-bundle.d.ts.map +1 -0
- package/dist/configuration-bundle.js +619 -0
- package/dist/configuration-bundle.js.map +1 -0
- package/dist/entities.d.ts +619 -0
- package/dist/entities.d.ts.map +1 -0
- package/dist/entities.js +2 -0
- package/dist/entities.js.map +1 -0
- package/dist/fixtures.d.ts +25 -0
- package/dist/fixtures.d.ts.map +1 -0
- package/dist/fixtures.js +546 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/hash.d.ts +8 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +13 -0
- package/dist/hash.js.map +1 -0
- package/dist/host-qualification.d.ts +90 -0
- package/dist/host-qualification.d.ts.map +1 -0
- package/dist/host-qualification.js +65 -0
- package/dist/host-qualification.js.map +1 -0
- package/dist/icc-catalog.d.ts +31 -0
- package/dist/icc-catalog.d.ts.map +1 -0
- package/dist/icc-catalog.js +321 -0
- package/dist/icc-catalog.js.map +1 -0
- package/dist/icc-csf-profiles.d.ts +28 -0
- package/dist/icc-csf-profiles.d.ts.map +1 -0
- package/dist/icc-csf-profiles.js +394 -0
- package/dist/icc-csf-profiles.js.map +1 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/model-maintenance.d.ts +216 -0
- package/dist/model-maintenance.d.ts.map +1 -0
- package/dist/model-maintenance.js +387 -0
- package/dist/model-maintenance.js.map +1 -0
- package/dist/model-package-data.d.ts +3 -0
- package/dist/model-package-data.d.ts.map +1 -0
- package/dist/model-package-data.js +867 -0
- package/dist/model-package-data.js.map +1 -0
- package/dist/persona-inventory.d.ts +143 -0
- package/dist/persona-inventory.d.ts.map +1 -0
- package/dist/persona-inventory.js +56 -0
- package/dist/persona-inventory.js.map +1 -0
- package/dist/profile-identity.d.ts +27 -0
- package/dist/profile-identity.d.ts.map +1 -0
- package/dist/profile-identity.js +30 -0
- package/dist/profile-identity.js.map +1 -0
- package/dist/reasoning-validation.d.ts +9 -0
- package/dist/reasoning-validation.d.ts.map +1 -0
- package/dist/reasoning-validation.js +79 -0
- package/dist/reasoning-validation.js.map +1 -0
- package/dist/reasoning.d.ts +55 -0
- package/dist/reasoning.d.ts.map +1 -0
- package/dist/reasoning.js +13 -0
- package/dist/reasoning.js.map +1 -0
- package/dist/receipt.d.ts +16 -0
- package/dist/receipt.d.ts.map +1 -0
- package/dist/receipt.js +18 -0
- package/dist/receipt.js.map +1 -0
- package/dist/schemas/adoption-change-set.schema.json +91 -0
- package/dist/schemas/bundle.d.ts +124 -0
- package/dist/schemas/bundle.d.ts.map +1 -0
- package/dist/schemas/bundle.js +84 -0
- package/dist/schemas/bundle.js.map +1 -0
- package/dist/schemas/catalog-release.schema.json +110 -0
- package/dist/schemas/catalog-review-input.schema.json +179 -0
- package/dist/schemas/catalog-review-output.schema.json +259 -0
- package/dist/schemas/catalog-review-output.v2.schema.json +251 -0
- package/dist/schemas/catalog-review-record.schema.json +391 -0
- package/dist/schemas/client-persona-inventory.schema.json +107 -0
- package/dist/schemas/common.schema.json +324 -0
- package/dist/schemas/config.d.ts +1106 -0
- package/dist/schemas/config.d.ts.map +1 -0
- package/dist/schemas/config.js +496 -0
- package/dist/schemas/config.js.map +1 -0
- package/dist/schemas/configuration-bundle-manifest.schema.json +143 -0
- package/dist/schemas/configuration-manifest.schema.json +109 -0
- package/dist/schemas/connection.schema.json +49 -0
- package/dist/schemas/core.d.ts +1333 -0
- package/dist/schemas/core.d.ts.map +1 -0
- package/dist/schemas/core.js +341 -0
- package/dist/schemas/core.js.map +1 -0
- package/dist/schemas/desktop-configuration-revision.schema.json +146 -0
- package/dist/schemas/execution-profile-revision.schema.json +235 -0
- package/dist/schemas/execution-receipt.schema.json +431 -0
- package/dist/schemas/host-adapter-qualification.schema.json +161 -0
- package/dist/schemas/host-qualification-policy.schema.json +50 -0
- package/dist/schemas/index.d.ts +11 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +34 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/inventory.d.ts +170 -0
- package/dist/schemas/inventory.d.ts.map +1 -0
- package/dist/schemas/inventory.js +87 -0
- package/dist/schemas/inventory.js.map +1 -0
- package/dist/schemas/model-definition.schema.json +429 -0
- package/dist/schemas/model-package-release.schema.json +594 -0
- package/dist/schemas/model-upgrade-advisory.schema.json +191 -0
- package/dist/schemas/operation-contract-document.schema.json +153 -0
- package/dist/schemas/persona-assignments.schema.json +125 -0
- package/dist/schemas/persona-registry-overlay.schema.json +93 -0
- package/dist/schemas/persona-source-document.schema.json +86 -0
- package/dist/schemas/persona-specification.schema.json +122 -0
- package/dist/schemas/price-revision.schema.json +299 -0
- package/dist/schemas/profile-assessment.schema.json +288 -0
- package/dist/schemas/scoped.d.ts +424 -0
- package/dist/schemas/scoped.d.ts.map +1 -0
- package/dist/schemas/scoped.js +203 -0
- package/dist/schemas/scoped.js.map +1 -0
- package/dist/schemas/usage-aggregate-query.schema.json +86 -0
- package/dist/schemas/usage-page.schema.json +22 -0
- package/dist/schemas/usage-query.schema.json +77 -0
- package/dist/schemas/usage-summary.schema.json +468 -0
- package/dist/schemas/usage.d.ts +527 -0
- package/dist/schemas/usage.d.ts.map +1 -0
- package/dist/schemas/usage.js +142 -0
- package/dist/schemas/usage.js.map +1 -0
- package/dist/scoped-configuration.d.ts +208 -0
- package/dist/scoped-configuration.d.ts.map +1 -0
- package/dist/scoped-configuration.js +425 -0
- package/dist/scoped-configuration.js.map +1 -0
- package/dist/scripts/emit-schemas.d.ts +2 -0
- package/dist/scripts/emit-schemas.d.ts.map +1 -0
- package/dist/scripts/emit-schemas.js +24 -0
- package/dist/scripts/emit-schemas.js.map +1 -0
- package/dist/scripts/verify-bundle.d.ts +3 -0
- package/dist/scripts/verify-bundle.d.ts.map +1 -0
- package/dist/scripts/verify-bundle.js +59 -0
- package/dist/scripts/verify-bundle.js.map +1 -0
- package/dist/validation.d.ts +11 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +41 -0
- package/dist/validation.js.map +1 -0
- package/package.json +33 -6
- package/third-party-licenses/ajv-formats@3.0.1/LICENSE +21 -0
- package/third-party-licenses/ajv@8.20.0/LICENSE +22 -0
- package/third-party-licenses/fast-deep-equal@3.1.3/LICENSE +21 -0
- package/third-party-licenses/fast-uri@3.1.7/LICENSE +30 -0
- package/third-party-licenses/json-schema-traverse@1.0.0/LICENSE +21 -0
- package/third-party-licenses/require-from-string@2.0.2/license +21 -0
- package/third-party-licenses/typescript@5.9.3/LICENSE.txt +55 -0
- package/third-party-licenses/typescript@5.9.3/ThirdPartyNoticeText.txt +193 -0
- package/third-party-licenses.json +102 -0
|
@@ -0,0 +1,1106 @@
|
|
|
1
|
+
export declare const personaSpecificationSchemaId = "https://techis.dev/ai/contracts/persona-specification.schema.json";
|
|
2
|
+
export declare const personaSpecificationSchema: {
|
|
3
|
+
readonly $id: "https://techis.dev/ai/contracts/persona-specification.schema.json";
|
|
4
|
+
readonly type: "object";
|
|
5
|
+
readonly additionalProperties: false;
|
|
6
|
+
readonly required: readonly ["schemaVersion", "applicationId", "personaId", "name", "systemInstructions", "instructionVersion", "instructionHash", "tools", "inputRequirements", "outputRequirements"];
|
|
7
|
+
readonly properties: {
|
|
8
|
+
readonly schemaVersion: {
|
|
9
|
+
readonly const: 1;
|
|
10
|
+
};
|
|
11
|
+
readonly applicationId: {
|
|
12
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
|
|
13
|
+
};
|
|
14
|
+
readonly personaId: {
|
|
15
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
|
|
16
|
+
};
|
|
17
|
+
readonly name: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly minLength: 1;
|
|
20
|
+
};
|
|
21
|
+
readonly systemInstructions: {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly minLength: 1;
|
|
24
|
+
};
|
|
25
|
+
readonly instructionVersion: {
|
|
26
|
+
readonly type: "integer";
|
|
27
|
+
readonly minimum: 1;
|
|
28
|
+
};
|
|
29
|
+
readonly instructionHash: {
|
|
30
|
+
readonly type: "string";
|
|
31
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
32
|
+
};
|
|
33
|
+
readonly registeredBy: {
|
|
34
|
+
readonly type: "string";
|
|
35
|
+
readonly minLength: 1;
|
|
36
|
+
};
|
|
37
|
+
readonly registeredAt: {
|
|
38
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
39
|
+
};
|
|
40
|
+
readonly tools: {
|
|
41
|
+
readonly type: "array";
|
|
42
|
+
readonly items: {
|
|
43
|
+
readonly type: "string";
|
|
44
|
+
readonly minLength: 1;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
readonly inputRequirements: {
|
|
48
|
+
readonly type: "object";
|
|
49
|
+
readonly additionalProperties: false;
|
|
50
|
+
readonly required: readonly ["modalities"];
|
|
51
|
+
readonly properties: {
|
|
52
|
+
readonly modalities: {
|
|
53
|
+
readonly type: "array";
|
|
54
|
+
readonly minItems: 1;
|
|
55
|
+
readonly items: {
|
|
56
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
readonly description: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly outputRequirements: {
|
|
65
|
+
readonly type: "object";
|
|
66
|
+
readonly additionalProperties: false;
|
|
67
|
+
readonly required: readonly ["kind"];
|
|
68
|
+
readonly properties: {
|
|
69
|
+
readonly kind: {
|
|
70
|
+
readonly enum: readonly ["text", "structured"];
|
|
71
|
+
};
|
|
72
|
+
readonly schema: {
|
|
73
|
+
readonly type: "object";
|
|
74
|
+
};
|
|
75
|
+
readonly description: {
|
|
76
|
+
readonly type: "string";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
readonly constraints: {
|
|
81
|
+
readonly type: "object";
|
|
82
|
+
readonly additionalProperties: false;
|
|
83
|
+
readonly properties: {
|
|
84
|
+
readonly latencyPreference: {
|
|
85
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/latencyPreference";
|
|
86
|
+
};
|
|
87
|
+
readonly costPreference: {
|
|
88
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/costPreference";
|
|
89
|
+
};
|
|
90
|
+
readonly notes: {
|
|
91
|
+
readonly type: "array";
|
|
92
|
+
readonly items: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
readonly assumptions: {
|
|
99
|
+
readonly type: "array";
|
|
100
|
+
readonly items: {
|
|
101
|
+
readonly type: "string";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export declare const executionProfileRevisionSchemaId = "https://techis.dev/ai/contracts/execution-profile-revision.schema.json";
|
|
107
|
+
export declare const executionProfileRevisionSchema: {
|
|
108
|
+
readonly $id: "https://techis.dev/ai/contracts/execution-profile-revision.schema.json";
|
|
109
|
+
readonly type: "object";
|
|
110
|
+
readonly additionalProperties: false;
|
|
111
|
+
readonly required: readonly ["schemaVersion", "profileId", "revision", "owner", "visibility", "purpose", "primary", "fallbacks", "requiredCapabilities", "execution", "status", "createdAt"];
|
|
112
|
+
readonly properties: {
|
|
113
|
+
readonly schemaVersion: {
|
|
114
|
+
readonly const: 2;
|
|
115
|
+
};
|
|
116
|
+
readonly profileId: {
|
|
117
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/profileId";
|
|
118
|
+
};
|
|
119
|
+
readonly revision: {
|
|
120
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
121
|
+
};
|
|
122
|
+
readonly owner: {
|
|
123
|
+
readonly type: "object";
|
|
124
|
+
readonly additionalProperties: false;
|
|
125
|
+
readonly required: readonly ["applicationId"];
|
|
126
|
+
readonly properties: {
|
|
127
|
+
readonly applicationId: {
|
|
128
|
+
readonly type: "string";
|
|
129
|
+
readonly minLength: 1;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
readonly visibility: {
|
|
134
|
+
readonly enum: readonly ["private", "shared"];
|
|
135
|
+
};
|
|
136
|
+
readonly purpose: {
|
|
137
|
+
readonly type: "string";
|
|
138
|
+
readonly minLength: 1;
|
|
139
|
+
};
|
|
140
|
+
readonly primary: {
|
|
141
|
+
type: string;
|
|
142
|
+
additionalProperties: boolean;
|
|
143
|
+
required: string[];
|
|
144
|
+
properties: {
|
|
145
|
+
catalogId: {
|
|
146
|
+
type: string;
|
|
147
|
+
minLength: number;
|
|
148
|
+
};
|
|
149
|
+
settings: {
|
|
150
|
+
$ref: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
readonly fallbacks: {
|
|
155
|
+
readonly type: "array";
|
|
156
|
+
readonly items: {
|
|
157
|
+
type: string;
|
|
158
|
+
additionalProperties: boolean;
|
|
159
|
+
required: string[];
|
|
160
|
+
properties: {
|
|
161
|
+
catalogId: {
|
|
162
|
+
type: string;
|
|
163
|
+
minLength: number;
|
|
164
|
+
};
|
|
165
|
+
settings: {
|
|
166
|
+
$ref: string;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
readonly requiredCapabilities: {
|
|
172
|
+
readonly type: "object";
|
|
173
|
+
readonly additionalProperties: false;
|
|
174
|
+
readonly required: readonly ["inputModalities"];
|
|
175
|
+
readonly properties: {
|
|
176
|
+
readonly inputModalities: {
|
|
177
|
+
readonly type: "array";
|
|
178
|
+
readonly minItems: 1;
|
|
179
|
+
readonly items: {
|
|
180
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly structuredOutput: {
|
|
184
|
+
readonly type: "boolean";
|
|
185
|
+
};
|
|
186
|
+
readonly providerTools: {
|
|
187
|
+
readonly type: "array";
|
|
188
|
+
readonly items: {
|
|
189
|
+
readonly type: "string";
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly defaults: {
|
|
195
|
+
readonly type: "object";
|
|
196
|
+
readonly additionalProperties: false;
|
|
197
|
+
readonly properties: {
|
|
198
|
+
readonly maxOutputTokens: {
|
|
199
|
+
readonly type: "integer";
|
|
200
|
+
readonly minimum: 1;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
readonly caps: {
|
|
205
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/executionCaps";
|
|
206
|
+
};
|
|
207
|
+
readonly execution: {
|
|
208
|
+
readonly type: "object";
|
|
209
|
+
readonly additionalProperties: false;
|
|
210
|
+
readonly required: readonly ["retry"];
|
|
211
|
+
readonly properties: {
|
|
212
|
+
readonly deadlineMs: {
|
|
213
|
+
readonly type: "integer";
|
|
214
|
+
readonly minimum: 1;
|
|
215
|
+
};
|
|
216
|
+
readonly attemptTimeoutMs: {
|
|
217
|
+
readonly type: "integer";
|
|
218
|
+
readonly minimum: 1;
|
|
219
|
+
};
|
|
220
|
+
readonly fallbackPolicy: {
|
|
221
|
+
readonly enum: readonly ["cycle", "forward-only"];
|
|
222
|
+
};
|
|
223
|
+
readonly maxAttempts: {
|
|
224
|
+
readonly type: "integer";
|
|
225
|
+
readonly minimum: 1;
|
|
226
|
+
};
|
|
227
|
+
readonly retry: {
|
|
228
|
+
readonly type: "object";
|
|
229
|
+
readonly additionalProperties: false;
|
|
230
|
+
readonly required: readonly ["retryableErrorClasses"];
|
|
231
|
+
readonly properties: {
|
|
232
|
+
readonly retryableErrorClasses: {
|
|
233
|
+
readonly type: "array";
|
|
234
|
+
readonly minItems: 1;
|
|
235
|
+
readonly items: {
|
|
236
|
+
readonly enum: readonly ["provider-timeout", "provider-rate-limit", "provider-server-error", "network-error"];
|
|
237
|
+
};
|
|
238
|
+
readonly uniqueItems: true;
|
|
239
|
+
};
|
|
240
|
+
readonly minRetryDelayMs: {
|
|
241
|
+
readonly type: "integer";
|
|
242
|
+
readonly minimum: 0;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly effortPolicy: {
|
|
249
|
+
readonly type: "object";
|
|
250
|
+
readonly additionalProperties: false;
|
|
251
|
+
readonly required: readonly ["enabled"];
|
|
252
|
+
readonly properties: {
|
|
253
|
+
readonly enabled: {
|
|
254
|
+
readonly type: "boolean";
|
|
255
|
+
};
|
|
256
|
+
readonly byModel: {
|
|
257
|
+
readonly type: "object";
|
|
258
|
+
readonly minProperties: 1;
|
|
259
|
+
readonly additionalProperties: {
|
|
260
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/effortPolicyForModel";
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly catalogCompatibility: {
|
|
266
|
+
readonly type: "object";
|
|
267
|
+
readonly additionalProperties: false;
|
|
268
|
+
readonly properties: {
|
|
269
|
+
readonly minCatalogRevision: {
|
|
270
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
271
|
+
};
|
|
272
|
+
readonly excludedCatalogIds: {
|
|
273
|
+
readonly type: "array";
|
|
274
|
+
readonly items: {
|
|
275
|
+
readonly type: "string";
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
readonly status: {
|
|
281
|
+
readonly enum: readonly ["draft", "published", "retired"];
|
|
282
|
+
};
|
|
283
|
+
readonly basedOnRevision: {
|
|
284
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
285
|
+
};
|
|
286
|
+
readonly createdAt: {
|
|
287
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
288
|
+
};
|
|
289
|
+
readonly publishedBy: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly minLength: 1;
|
|
292
|
+
};
|
|
293
|
+
readonly publishedAt: {
|
|
294
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
export declare const profileAssessmentSchemaId = "https://techis.dev/ai/contracts/profile-assessment.schema.json";
|
|
299
|
+
export declare const personaAssignmentsSchemaId = "https://techis.dev/ai/contracts/persona-assignments.schema.json";
|
|
300
|
+
export declare const personaAssignmentsSchema: {
|
|
301
|
+
readonly $id: "https://techis.dev/ai/contracts/persona-assignments.schema.json";
|
|
302
|
+
readonly type: "object";
|
|
303
|
+
readonly additionalProperties: false;
|
|
304
|
+
readonly required: readonly ["schemaVersion", "applicationId", "environmentId", "assignmentRevision", "entries", "updatedBy", "updatedAt"];
|
|
305
|
+
readonly properties: {
|
|
306
|
+
readonly schemaVersion: {
|
|
307
|
+
readonly const: 1;
|
|
308
|
+
};
|
|
309
|
+
readonly applicationId: {
|
|
310
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
|
|
311
|
+
};
|
|
312
|
+
readonly environmentId: {
|
|
313
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/environmentId";
|
|
314
|
+
};
|
|
315
|
+
readonly assignmentRevision: {
|
|
316
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
317
|
+
};
|
|
318
|
+
readonly applicationDefault: {
|
|
319
|
+
anyOf: ({
|
|
320
|
+
type: string;
|
|
321
|
+
additionalProperties: boolean;
|
|
322
|
+
required: string[];
|
|
323
|
+
properties: {
|
|
324
|
+
profileId: {
|
|
325
|
+
$ref: string;
|
|
326
|
+
};
|
|
327
|
+
revision: {
|
|
328
|
+
$ref: string;
|
|
329
|
+
};
|
|
330
|
+
channel?: undefined;
|
|
331
|
+
};
|
|
332
|
+
} | {
|
|
333
|
+
type: string;
|
|
334
|
+
additionalProperties: boolean;
|
|
335
|
+
required: string[];
|
|
336
|
+
properties: {
|
|
337
|
+
profileId: {
|
|
338
|
+
$ref: string;
|
|
339
|
+
};
|
|
340
|
+
channel: {
|
|
341
|
+
type: string;
|
|
342
|
+
minLength: number;
|
|
343
|
+
};
|
|
344
|
+
revision?: undefined;
|
|
345
|
+
};
|
|
346
|
+
})[];
|
|
347
|
+
};
|
|
348
|
+
readonly entries: {
|
|
349
|
+
readonly type: "array";
|
|
350
|
+
readonly items: {
|
|
351
|
+
readonly type: "object";
|
|
352
|
+
readonly additionalProperties: false;
|
|
353
|
+
readonly required: readonly ["personaId", "profile"];
|
|
354
|
+
readonly properties: {
|
|
355
|
+
readonly personaId: {
|
|
356
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
|
|
357
|
+
};
|
|
358
|
+
readonly profile: {
|
|
359
|
+
anyOf: ({
|
|
360
|
+
type: string;
|
|
361
|
+
additionalProperties: boolean;
|
|
362
|
+
required: string[];
|
|
363
|
+
properties: {
|
|
364
|
+
profileId: {
|
|
365
|
+
$ref: string;
|
|
366
|
+
};
|
|
367
|
+
revision: {
|
|
368
|
+
$ref: string;
|
|
369
|
+
};
|
|
370
|
+
channel?: undefined;
|
|
371
|
+
};
|
|
372
|
+
} | {
|
|
373
|
+
type: string;
|
|
374
|
+
additionalProperties: boolean;
|
|
375
|
+
required: string[];
|
|
376
|
+
properties: {
|
|
377
|
+
profileId: {
|
|
378
|
+
$ref: string;
|
|
379
|
+
};
|
|
380
|
+
channel: {
|
|
381
|
+
type: string;
|
|
382
|
+
minLength: number;
|
|
383
|
+
};
|
|
384
|
+
revision?: undefined;
|
|
385
|
+
};
|
|
386
|
+
})[];
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
readonly updatedBy: {
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly minLength: 1;
|
|
394
|
+
};
|
|
395
|
+
readonly updatedAt: {
|
|
396
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
};
|
|
400
|
+
export declare const profileAssessmentSchema: {
|
|
401
|
+
readonly $id: "https://techis.dev/ai/contracts/profile-assessment.schema.json";
|
|
402
|
+
readonly type: "object";
|
|
403
|
+
readonly additionalProperties: false;
|
|
404
|
+
readonly required: readonly ["schemaVersion", "assessmentId", "applicationId", "personaId", "instructionHash", "catalogRevision", "profileRevisionsAssessed", "extractedRequirements", "recommendation", "gaps", "assumptions", "evidence", "status", "createdAt"];
|
|
405
|
+
readonly properties: {
|
|
406
|
+
readonly schemaVersion: {
|
|
407
|
+
readonly const: 1;
|
|
408
|
+
};
|
|
409
|
+
readonly assessmentId: {
|
|
410
|
+
readonly type: "string";
|
|
411
|
+
readonly minLength: 1;
|
|
412
|
+
};
|
|
413
|
+
readonly applicationId: {
|
|
414
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
|
|
415
|
+
};
|
|
416
|
+
readonly personaId: {
|
|
417
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
|
|
418
|
+
};
|
|
419
|
+
readonly instructionHash: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
422
|
+
};
|
|
423
|
+
readonly catalogRevision: {
|
|
424
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
425
|
+
};
|
|
426
|
+
readonly profileRevisionsAssessed: {
|
|
427
|
+
readonly type: "array";
|
|
428
|
+
readonly items: {
|
|
429
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
readonly extractedRequirements: {
|
|
433
|
+
readonly type: "object";
|
|
434
|
+
readonly additionalProperties: false;
|
|
435
|
+
readonly required: readonly ["purpose", "inputModalities", "outputKind", "providerTools"];
|
|
436
|
+
readonly properties: {
|
|
437
|
+
readonly purpose: {
|
|
438
|
+
readonly type: "string";
|
|
439
|
+
readonly minLength: 1;
|
|
440
|
+
};
|
|
441
|
+
readonly inputModalities: {
|
|
442
|
+
readonly type: "array";
|
|
443
|
+
readonly minItems: 1;
|
|
444
|
+
readonly items: {
|
|
445
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/modality";
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
readonly outputKind: {
|
|
449
|
+
readonly enum: readonly ["text", "structured"];
|
|
450
|
+
};
|
|
451
|
+
readonly providerTools: {
|
|
452
|
+
readonly type: "array";
|
|
453
|
+
readonly items: {
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
readonly latencyPreference: {
|
|
458
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/latencyPreference";
|
|
459
|
+
};
|
|
460
|
+
readonly costPreference: {
|
|
461
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/costPreference";
|
|
462
|
+
};
|
|
463
|
+
readonly observations: {
|
|
464
|
+
readonly type: "array";
|
|
465
|
+
readonly items: {
|
|
466
|
+
readonly type: "string";
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
readonly recommendation: {
|
|
472
|
+
readonly anyOf: readonly [{
|
|
473
|
+
readonly type: "object";
|
|
474
|
+
readonly additionalProperties: false;
|
|
475
|
+
readonly required: readonly ["kind", "profileId", "profileRevision", "suitability", "rationale", "tradeoffs"];
|
|
476
|
+
readonly properties: {
|
|
477
|
+
readonly kind: {
|
|
478
|
+
readonly const: "reuse";
|
|
479
|
+
};
|
|
480
|
+
readonly profileId: {
|
|
481
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/profileId";
|
|
482
|
+
};
|
|
483
|
+
readonly profileRevision: {
|
|
484
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
485
|
+
};
|
|
486
|
+
readonly suitability: {
|
|
487
|
+
readonly enum: readonly ["high", "moderate"];
|
|
488
|
+
};
|
|
489
|
+
readonly rationale: {
|
|
490
|
+
readonly type: "string";
|
|
491
|
+
readonly minLength: 1;
|
|
492
|
+
};
|
|
493
|
+
readonly tradeoffs: {
|
|
494
|
+
readonly type: "array";
|
|
495
|
+
readonly items: {
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
};
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
}, {
|
|
501
|
+
readonly type: "object";
|
|
502
|
+
readonly additionalProperties: false;
|
|
503
|
+
readonly required: readonly ["kind", "draftProfile", "rationale"];
|
|
504
|
+
readonly properties: {
|
|
505
|
+
readonly kind: {
|
|
506
|
+
readonly const: "draft";
|
|
507
|
+
};
|
|
508
|
+
readonly draftProfile: {
|
|
509
|
+
readonly $ref: "https://techis.dev/ai/contracts/execution-profile-revision.schema.json";
|
|
510
|
+
};
|
|
511
|
+
readonly rationale: {
|
|
512
|
+
readonly type: "string";
|
|
513
|
+
readonly minLength: 1;
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
}, {
|
|
517
|
+
readonly type: "object";
|
|
518
|
+
readonly additionalProperties: false;
|
|
519
|
+
readonly required: readonly ["kind", "questions", "rationale"];
|
|
520
|
+
readonly properties: {
|
|
521
|
+
readonly kind: {
|
|
522
|
+
readonly const: "needs-information";
|
|
523
|
+
};
|
|
524
|
+
readonly questions: {
|
|
525
|
+
readonly type: "array";
|
|
526
|
+
readonly minItems: 1;
|
|
527
|
+
readonly items: {
|
|
528
|
+
readonly type: "string";
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
readonly rationale: {
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly minLength: 1;
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
}];
|
|
537
|
+
};
|
|
538
|
+
readonly gaps: {
|
|
539
|
+
readonly type: "array";
|
|
540
|
+
readonly items: {
|
|
541
|
+
readonly type: "string";
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
readonly assumptions: {
|
|
545
|
+
readonly type: "array";
|
|
546
|
+
readonly items: {
|
|
547
|
+
readonly type: "string";
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
readonly evidence: {
|
|
551
|
+
readonly type: "object";
|
|
552
|
+
readonly additionalProperties: false;
|
|
553
|
+
readonly required: readonly ["status", "records"];
|
|
554
|
+
readonly properties: {
|
|
555
|
+
readonly status: {
|
|
556
|
+
readonly enum: readonly ["none", "provisional", "evaluated"];
|
|
557
|
+
};
|
|
558
|
+
readonly records: {
|
|
559
|
+
readonly type: "array";
|
|
560
|
+
readonly items: {
|
|
561
|
+
readonly type: "object";
|
|
562
|
+
readonly additionalProperties: false;
|
|
563
|
+
readonly required: readonly ["evaluationId", "basis", "performedAt", "workloadDescription", "results"];
|
|
564
|
+
readonly properties: {
|
|
565
|
+
readonly evaluationId: {
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
readonly minLength: 1;
|
|
568
|
+
};
|
|
569
|
+
readonly basis: {
|
|
570
|
+
readonly enum: readonly ["live", "simulated"];
|
|
571
|
+
};
|
|
572
|
+
readonly performedAt: {
|
|
573
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
574
|
+
};
|
|
575
|
+
readonly workloadDescription: {
|
|
576
|
+
readonly type: "string";
|
|
577
|
+
readonly minLength: 1;
|
|
578
|
+
};
|
|
579
|
+
readonly results: {
|
|
580
|
+
readonly type: "object";
|
|
581
|
+
readonly additionalProperties: false;
|
|
582
|
+
readonly properties: {
|
|
583
|
+
readonly costEstimate: {
|
|
584
|
+
readonly type: "object";
|
|
585
|
+
readonly additionalProperties: false;
|
|
586
|
+
readonly required: readonly ["currency", "amount"];
|
|
587
|
+
readonly properties: {
|
|
588
|
+
readonly currency: {
|
|
589
|
+
readonly type: "string";
|
|
590
|
+
};
|
|
591
|
+
readonly amount: {
|
|
592
|
+
readonly type: "number";
|
|
593
|
+
};
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
readonly latencyMs: {
|
|
597
|
+
readonly type: "integer";
|
|
598
|
+
readonly minimum: 0;
|
|
599
|
+
};
|
|
600
|
+
readonly qualityNotes: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
readonly status: {
|
|
611
|
+
readonly enum: readonly ["active", "stale"];
|
|
612
|
+
};
|
|
613
|
+
readonly staleReason: {
|
|
614
|
+
readonly type: "string";
|
|
615
|
+
};
|
|
616
|
+
readonly createdAt: {
|
|
617
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
export declare const connectionSchemaId = "https://techis.dev/ai/contracts/connection.schema.json";
|
|
622
|
+
export declare const connectionSchema: {
|
|
623
|
+
readonly $id: "https://techis.dev/ai/contracts/connection.schema.json";
|
|
624
|
+
readonly type: "object";
|
|
625
|
+
readonly additionalProperties: false;
|
|
626
|
+
readonly required: readonly ["schemaVersion", "applicationId", "environmentId", "provider", "credentialReference"];
|
|
627
|
+
readonly properties: {
|
|
628
|
+
readonly schemaVersion: {
|
|
629
|
+
readonly const: 1;
|
|
630
|
+
};
|
|
631
|
+
readonly applicationId: {
|
|
632
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
|
|
633
|
+
};
|
|
634
|
+
readonly environmentId: {
|
|
635
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/environmentId";
|
|
636
|
+
};
|
|
637
|
+
readonly provider: {
|
|
638
|
+
readonly type: "string";
|
|
639
|
+
readonly minLength: 1;
|
|
640
|
+
};
|
|
641
|
+
readonly endpoint: {
|
|
642
|
+
readonly type: "string";
|
|
643
|
+
readonly minLength: 1;
|
|
644
|
+
};
|
|
645
|
+
readonly credentialReference: {
|
|
646
|
+
readonly type: "string";
|
|
647
|
+
readonly minLength: 1;
|
|
648
|
+
};
|
|
649
|
+
readonly operationalLimits: {
|
|
650
|
+
readonly type: "object";
|
|
651
|
+
readonly additionalProperties: false;
|
|
652
|
+
readonly properties: {
|
|
653
|
+
readonly concurrency: {
|
|
654
|
+
readonly type: "integer";
|
|
655
|
+
readonly minimum: 1;
|
|
656
|
+
};
|
|
657
|
+
readonly requestsPerMinute: {
|
|
658
|
+
readonly type: "integer";
|
|
659
|
+
readonly minimum: 1;
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
};
|
|
665
|
+
export declare const configurationManifestSchemaId = "https://techis.dev/ai/contracts/configuration-manifest.schema.json";
|
|
666
|
+
export declare const configurationManifestSchema: {
|
|
667
|
+
readonly $id: "https://techis.dev/ai/contracts/configuration-manifest.schema.json";
|
|
668
|
+
readonly type: "object";
|
|
669
|
+
readonly additionalProperties: false;
|
|
670
|
+
readonly required: readonly ["schemaVersion", "applicationId", "environmentId", "manifestRevision", "references", "adapterRequirements", "publication"];
|
|
671
|
+
readonly properties: {
|
|
672
|
+
readonly schemaVersion: {
|
|
673
|
+
readonly const: 1;
|
|
674
|
+
};
|
|
675
|
+
readonly applicationId: {
|
|
676
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
|
|
677
|
+
};
|
|
678
|
+
readonly environmentId: {
|
|
679
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/environmentId";
|
|
680
|
+
};
|
|
681
|
+
readonly manifestRevision: {
|
|
682
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
683
|
+
};
|
|
684
|
+
readonly references: {
|
|
685
|
+
readonly type: "object";
|
|
686
|
+
readonly additionalProperties: false;
|
|
687
|
+
readonly required: readonly ["catalogRevision", "priceRevisions", "profiles", "personas", "assignmentRevision", "connections"];
|
|
688
|
+
readonly properties: {
|
|
689
|
+
readonly catalogRevision: {
|
|
690
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
691
|
+
};
|
|
692
|
+
readonly priceRevisions: {
|
|
693
|
+
readonly type: "object";
|
|
694
|
+
readonly additionalProperties: {
|
|
695
|
+
readonly type: "string";
|
|
696
|
+
readonly minLength: 1;
|
|
697
|
+
};
|
|
698
|
+
};
|
|
699
|
+
readonly profiles: {
|
|
700
|
+
readonly type: "object";
|
|
701
|
+
readonly additionalProperties: {
|
|
702
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
703
|
+
};
|
|
704
|
+
};
|
|
705
|
+
readonly personas: {
|
|
706
|
+
readonly type: "object";
|
|
707
|
+
readonly additionalProperties: {
|
|
708
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
readonly assignmentRevision: {
|
|
712
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
713
|
+
};
|
|
714
|
+
readonly connections: {
|
|
715
|
+
readonly type: "array";
|
|
716
|
+
readonly items: {
|
|
717
|
+
readonly $ref: "https://techis.dev/ai/contracts/connection.schema.json";
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly adapterRequirements: {
|
|
723
|
+
readonly type: "object";
|
|
724
|
+
readonly additionalProperties: {
|
|
725
|
+
readonly type: "object";
|
|
726
|
+
readonly additionalProperties: false;
|
|
727
|
+
readonly required: readonly ["minVersion"];
|
|
728
|
+
readonly properties: {
|
|
729
|
+
readonly minVersion: {
|
|
730
|
+
readonly type: "string";
|
|
731
|
+
readonly minLength: 1;
|
|
732
|
+
};
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
readonly publication: {
|
|
737
|
+
readonly type: "object";
|
|
738
|
+
readonly additionalProperties: false;
|
|
739
|
+
readonly required: readonly ["publishedAt", "publishedBy"];
|
|
740
|
+
readonly properties: {
|
|
741
|
+
readonly publishedAt: {
|
|
742
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
743
|
+
};
|
|
744
|
+
readonly publishedBy: {
|
|
745
|
+
readonly type: "string";
|
|
746
|
+
readonly minLength: 1;
|
|
747
|
+
};
|
|
748
|
+
readonly supersedes: {
|
|
749
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
export declare const executionReceiptSchemaId = "https://techis.dev/ai/contracts/execution-receipt.schema.json";
|
|
756
|
+
export declare const executionReceiptSchema: {
|
|
757
|
+
readonly $id: "https://techis.dev/ai/contracts/execution-receipt.schema.json";
|
|
758
|
+
readonly type: "object";
|
|
759
|
+
readonly additionalProperties: false;
|
|
760
|
+
readonly required: readonly ["schemaVersion", "receiptId", "runId", "requestId", "applicationId", "environmentId", "personaId", "operationId", "status", "instructionHash", "requested", "attempts", "latencyMs", "fallbackUsed", "completedAt"];
|
|
761
|
+
readonly properties: {
|
|
762
|
+
readonly schemaVersion: {
|
|
763
|
+
readonly const: 1;
|
|
764
|
+
};
|
|
765
|
+
readonly receiptId: {
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
768
|
+
};
|
|
769
|
+
readonly runId: {
|
|
770
|
+
readonly type: "string";
|
|
771
|
+
readonly minLength: 1;
|
|
772
|
+
};
|
|
773
|
+
readonly requestId: {
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
readonly pattern: "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,127}$";
|
|
776
|
+
};
|
|
777
|
+
readonly applicationId: {
|
|
778
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/applicationId";
|
|
779
|
+
};
|
|
780
|
+
readonly environmentId: {
|
|
781
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/environmentId";
|
|
782
|
+
};
|
|
783
|
+
readonly desktopConfigurationId: {
|
|
784
|
+
readonly type: "string";
|
|
785
|
+
readonly minLength: 1;
|
|
786
|
+
};
|
|
787
|
+
readonly workspaceId: {
|
|
788
|
+
readonly type: "string";
|
|
789
|
+
readonly minLength: 1;
|
|
790
|
+
};
|
|
791
|
+
readonly personaId: {
|
|
792
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/personaId";
|
|
793
|
+
};
|
|
794
|
+
readonly operationId: {
|
|
795
|
+
readonly type: "string";
|
|
796
|
+
readonly pattern: "^[a-zA-Z0-9][a-zA-Z0-9._-]{0,127}$";
|
|
797
|
+
};
|
|
798
|
+
readonly status: {
|
|
799
|
+
readonly enum: readonly ["succeeded", "failed", "cancelled", "rejected"];
|
|
800
|
+
};
|
|
801
|
+
readonly instructionHash: {
|
|
802
|
+
readonly type: "string";
|
|
803
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
804
|
+
};
|
|
805
|
+
readonly effectiveInstructionHash: {
|
|
806
|
+
readonly type: "string";
|
|
807
|
+
readonly pattern: "^[a-f0-9]{64}$";
|
|
808
|
+
};
|
|
809
|
+
readonly manifestRevision: {
|
|
810
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
811
|
+
};
|
|
812
|
+
readonly profileId: {
|
|
813
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/profileId";
|
|
814
|
+
};
|
|
815
|
+
readonly profileRevision: {
|
|
816
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
817
|
+
};
|
|
818
|
+
readonly catalogRevision: {
|
|
819
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/revision";
|
|
820
|
+
};
|
|
821
|
+
readonly adapterId: {
|
|
822
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/adapterId";
|
|
823
|
+
};
|
|
824
|
+
readonly adapterVersion: {
|
|
825
|
+
readonly type: "string";
|
|
826
|
+
readonly minLength: 1;
|
|
827
|
+
};
|
|
828
|
+
readonly providerModelId: {
|
|
829
|
+
readonly type: "string";
|
|
830
|
+
readonly minLength: 1;
|
|
831
|
+
};
|
|
832
|
+
readonly provider: {
|
|
833
|
+
readonly type: "string";
|
|
834
|
+
readonly minLength: 1;
|
|
835
|
+
};
|
|
836
|
+
readonly requested: {
|
|
837
|
+
readonly type: "object";
|
|
838
|
+
readonly additionalProperties: false;
|
|
839
|
+
readonly required: readonly ["outputSchemaPresent"];
|
|
840
|
+
readonly properties: {
|
|
841
|
+
readonly effortHint: {
|
|
842
|
+
readonly type: "string";
|
|
843
|
+
readonly minLength: 1;
|
|
844
|
+
};
|
|
845
|
+
readonly effortByModel: {
|
|
846
|
+
readonly type: "object";
|
|
847
|
+
readonly additionalProperties: {
|
|
848
|
+
readonly type: "string";
|
|
849
|
+
readonly minLength: 1;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
readonly maxOutputTokens: {
|
|
853
|
+
readonly type: "integer";
|
|
854
|
+
readonly minimum: 1;
|
|
855
|
+
};
|
|
856
|
+
readonly outputSchemaPresent: {
|
|
857
|
+
readonly type: "boolean";
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
readonly effective: {
|
|
862
|
+
type: string;
|
|
863
|
+
additionalProperties: boolean;
|
|
864
|
+
properties: {
|
|
865
|
+
reasoning: {
|
|
866
|
+
$ref: string;
|
|
867
|
+
};
|
|
868
|
+
requestedEffort: {
|
|
869
|
+
type: string;
|
|
870
|
+
minLength: number;
|
|
871
|
+
};
|
|
872
|
+
effectiveEffort: {
|
|
873
|
+
type: string;
|
|
874
|
+
minLength: number;
|
|
875
|
+
};
|
|
876
|
+
profileDefaultMaxOutputTokens: {
|
|
877
|
+
type: string;
|
|
878
|
+
minimum: number;
|
|
879
|
+
};
|
|
880
|
+
slotDefaultMaxOutputTokens: {
|
|
881
|
+
type: string;
|
|
882
|
+
minimum: number;
|
|
883
|
+
};
|
|
884
|
+
maxOutputTokens: {
|
|
885
|
+
type: string;
|
|
886
|
+
minimum: number;
|
|
887
|
+
};
|
|
888
|
+
appliedCaps: {
|
|
889
|
+
type: string;
|
|
890
|
+
items: {
|
|
891
|
+
type: string;
|
|
892
|
+
additionalProperties: boolean;
|
|
893
|
+
required: string[];
|
|
894
|
+
properties: {
|
|
895
|
+
source: {
|
|
896
|
+
enum: string[];
|
|
897
|
+
};
|
|
898
|
+
dimension: {
|
|
899
|
+
enum: string[];
|
|
900
|
+
};
|
|
901
|
+
value: {
|
|
902
|
+
type: string;
|
|
903
|
+
minimum: number;
|
|
904
|
+
};
|
|
905
|
+
requested: {
|
|
906
|
+
type: string;
|
|
907
|
+
minimum: number;
|
|
908
|
+
};
|
|
909
|
+
effective: {
|
|
910
|
+
type: string;
|
|
911
|
+
minimum: number;
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
};
|
|
918
|
+
readonly attempts: {
|
|
919
|
+
readonly type: "array";
|
|
920
|
+
readonly items: {
|
|
921
|
+
type: string;
|
|
922
|
+
additionalProperties: boolean;
|
|
923
|
+
required: string[];
|
|
924
|
+
properties: {
|
|
925
|
+
attempt: {
|
|
926
|
+
type: string;
|
|
927
|
+
minimum: number;
|
|
928
|
+
};
|
|
929
|
+
catalogId: {
|
|
930
|
+
type: string;
|
|
931
|
+
minLength: number;
|
|
932
|
+
};
|
|
933
|
+
providerModelId: {
|
|
934
|
+
type: string;
|
|
935
|
+
minLength: number;
|
|
936
|
+
};
|
|
937
|
+
role: {
|
|
938
|
+
enum: string[];
|
|
939
|
+
};
|
|
940
|
+
latencyMs: {
|
|
941
|
+
type: string;
|
|
942
|
+
minimum: number;
|
|
943
|
+
};
|
|
944
|
+
outcome: {
|
|
945
|
+
enum: string[];
|
|
946
|
+
};
|
|
947
|
+
providerRequestStarted: {
|
|
948
|
+
type: string;
|
|
949
|
+
};
|
|
950
|
+
effective: {
|
|
951
|
+
type: string;
|
|
952
|
+
additionalProperties: boolean;
|
|
953
|
+
properties: {
|
|
954
|
+
reasoning: {
|
|
955
|
+
$ref: string;
|
|
956
|
+
};
|
|
957
|
+
requestedEffort: {
|
|
958
|
+
type: string;
|
|
959
|
+
minLength: number;
|
|
960
|
+
};
|
|
961
|
+
effectiveEffort: {
|
|
962
|
+
type: string;
|
|
963
|
+
minLength: number;
|
|
964
|
+
};
|
|
965
|
+
profileDefaultMaxOutputTokens: {
|
|
966
|
+
type: string;
|
|
967
|
+
minimum: number;
|
|
968
|
+
};
|
|
969
|
+
slotDefaultMaxOutputTokens: {
|
|
970
|
+
type: string;
|
|
971
|
+
minimum: number;
|
|
972
|
+
};
|
|
973
|
+
maxOutputTokens: {
|
|
974
|
+
type: string;
|
|
975
|
+
minimum: number;
|
|
976
|
+
};
|
|
977
|
+
appliedCaps: {
|
|
978
|
+
type: string;
|
|
979
|
+
items: {
|
|
980
|
+
type: string;
|
|
981
|
+
additionalProperties: boolean;
|
|
982
|
+
required: string[];
|
|
983
|
+
properties: {
|
|
984
|
+
source: {
|
|
985
|
+
enum: string[];
|
|
986
|
+
};
|
|
987
|
+
dimension: {
|
|
988
|
+
enum: string[];
|
|
989
|
+
};
|
|
990
|
+
value: {
|
|
991
|
+
type: string;
|
|
992
|
+
minimum: number;
|
|
993
|
+
};
|
|
994
|
+
requested: {
|
|
995
|
+
type: string;
|
|
996
|
+
minimum: number;
|
|
997
|
+
};
|
|
998
|
+
effective: {
|
|
999
|
+
type: string;
|
|
1000
|
+
minimum: number;
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
};
|
|
1006
|
+
};
|
|
1007
|
+
errorClass: {
|
|
1008
|
+
type: string;
|
|
1009
|
+
};
|
|
1010
|
+
errorMessage: {
|
|
1011
|
+
type: string;
|
|
1012
|
+
};
|
|
1013
|
+
usage: {
|
|
1014
|
+
$ref: string;
|
|
1015
|
+
};
|
|
1016
|
+
costEstimate: {
|
|
1017
|
+
type: string;
|
|
1018
|
+
additionalProperties: boolean;
|
|
1019
|
+
required: string[];
|
|
1020
|
+
properties: {
|
|
1021
|
+
currency: {
|
|
1022
|
+
type: string;
|
|
1023
|
+
minLength: number;
|
|
1024
|
+
maxLength: number;
|
|
1025
|
+
};
|
|
1026
|
+
amount: {
|
|
1027
|
+
type: string;
|
|
1028
|
+
minimum: number;
|
|
1029
|
+
};
|
|
1030
|
+
priceRevisionId: {
|
|
1031
|
+
$ref: string;
|
|
1032
|
+
};
|
|
1033
|
+
priceKnown: {
|
|
1034
|
+
type: string;
|
|
1035
|
+
};
|
|
1036
|
+
basis: {
|
|
1037
|
+
enum: string[];
|
|
1038
|
+
};
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
readonly usage: {
|
|
1045
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/usageDimensions";
|
|
1046
|
+
};
|
|
1047
|
+
readonly costEstimate: {
|
|
1048
|
+
type: string;
|
|
1049
|
+
additionalProperties: boolean;
|
|
1050
|
+
required: string[];
|
|
1051
|
+
properties: {
|
|
1052
|
+
currency: {
|
|
1053
|
+
type: string;
|
|
1054
|
+
minLength: number;
|
|
1055
|
+
maxLength: number;
|
|
1056
|
+
};
|
|
1057
|
+
amount: {
|
|
1058
|
+
type: string;
|
|
1059
|
+
minimum: number;
|
|
1060
|
+
};
|
|
1061
|
+
priceRevisionId: {
|
|
1062
|
+
$ref: string;
|
|
1063
|
+
};
|
|
1064
|
+
priceKnown: {
|
|
1065
|
+
type: string;
|
|
1066
|
+
};
|
|
1067
|
+
basis: {
|
|
1068
|
+
enum: string[];
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
readonly latencyMs: {
|
|
1073
|
+
readonly type: "integer";
|
|
1074
|
+
readonly minimum: 0;
|
|
1075
|
+
};
|
|
1076
|
+
readonly fallbackUsed: {
|
|
1077
|
+
readonly type: "boolean";
|
|
1078
|
+
};
|
|
1079
|
+
readonly error: {
|
|
1080
|
+
readonly type: "object";
|
|
1081
|
+
readonly additionalProperties: false;
|
|
1082
|
+
readonly required: readonly ["code", "message"];
|
|
1083
|
+
readonly properties: {
|
|
1084
|
+
readonly code: {
|
|
1085
|
+
readonly type: "string";
|
|
1086
|
+
readonly minLength: 1;
|
|
1087
|
+
};
|
|
1088
|
+
readonly message: {
|
|
1089
|
+
readonly type: "string";
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
readonly warnings: {
|
|
1094
|
+
readonly type: "array";
|
|
1095
|
+
readonly items: {
|
|
1096
|
+
readonly type: "string";
|
|
1097
|
+
};
|
|
1098
|
+
};
|
|
1099
|
+
readonly completedAt: {
|
|
1100
|
+
readonly $ref: "https://techis.dev/ai/contracts/common.schema.json#/definitions/isoDateTime";
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
};
|
|
1104
|
+
/** Referenced for completeness; model schemas validate via catalog-release. */
|
|
1105
|
+
export declare const modelDefinitionRef = "https://techis.dev/ai/contracts/model-definition.schema.json";
|
|
1106
|
+
//# sourceMappingURL=config.d.ts.map
|