@techis/ai-contracts 0.3.0-rc.17 → 0.4.0-rc.5
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/README.md +44 -18
- package/THIRD_PARTY_NOTICES +34 -34
- package/dist/adoption-common.d.ts +19 -0
- package/dist/adoption-common.d.ts.map +1 -0
- package/dist/adoption-common.js +27 -0
- package/dist/adoption-common.js.map +1 -0
- package/dist/application-execution-review.d.ts +34 -0
- package/dist/application-execution-review.d.ts.map +1 -0
- package/dist/application-execution-review.js +25 -0
- package/dist/application-execution-review.js.map +1 -0
- package/dist/application-route-adoption.d.ts +30 -0
- package/dist/application-route-adoption.d.ts.map +1 -0
- package/dist/application-route-adoption.js +21 -0
- package/dist/application-route-adoption.js.map +1 -0
- package/dist/catalog-delivery.d.ts +5 -0
- package/dist/catalog-delivery.d.ts.map +1 -1
- package/dist/catalog-delivery.js +24 -8
- package/dist/catalog-delivery.js.map +1 -1
- package/dist/catalog-package-data.d.ts.map +1 -1
- package/dist/catalog-package-data.js +37608 -7
- package/dist/catalog-package-data.js.map +1 -1
- package/dist/catalog-publication.d.ts +64 -0
- package/dist/catalog-publication.d.ts.map +1 -0
- package/dist/catalog-publication.js +113 -0
- package/dist/catalog-publication.js.map +1 -0
- package/dist/compatibility.d.ts +5 -2
- package/dist/compatibility.d.ts.map +1 -1
- package/dist/compatibility.js +42 -21
- package/dist/compatibility.js.map +1 -1
- package/dist/configuration-bundle.d.ts +7 -0
- package/dist/configuration-bundle.d.ts.map +1 -1
- package/dist/configuration-bundle.js +61 -16
- package/dist/configuration-bundle.js.map +1 -1
- package/dist/direct-model-receipt.d.ts +29 -0
- package/dist/direct-model-receipt.d.ts.map +1 -0
- package/dist/direct-model-receipt.js +21 -0
- package/dist/direct-model-receipt.js.map +1 -0
- package/dist/entities.d.ts +53 -19
- package/dist/entities.d.ts.map +1 -1
- package/dist/execution-provenance.d.ts +14 -0
- package/dist/execution-provenance.d.ts.map +1 -0
- package/dist/execution-provenance.js +15 -0
- package/dist/execution-provenance.js.map +1 -0
- package/dist/generation.d.ts +184 -0
- package/dist/generation.d.ts.map +1 -0
- package/dist/generation.js +2 -0
- package/dist/generation.js.map +1 -0
- package/dist/independent-validation.d.ts +8 -0
- package/dist/independent-validation.d.ts.map +1 -0
- package/dist/independent-validation.js +42 -0
- package/dist/independent-validation.js.map +1 -0
- package/dist/index.d.ts +24 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -3
- package/dist/index.js.map +1 -1
- package/dist/model-configuration.d.ts +79 -0
- package/dist/model-configuration.d.ts.map +1 -0
- package/dist/model-configuration.js +172 -0
- package/dist/model-configuration.js.map +1 -0
- package/dist/model-maintenance.d.ts.map +1 -1
- package/dist/model-maintenance.js +7 -6
- package/dist/model-maintenance.js.map +1 -1
- package/dist/model-package-data.d.ts.map +1 -1
- package/dist/model-package-data.js +5 -1
- package/dist/model-package-data.js.map +1 -1
- package/dist/model-receipt.d.ts +14 -0
- package/dist/model-receipt.d.ts.map +1 -0
- package/dist/model-receipt.js +16 -0
- package/dist/model-receipt.js.map +1 -0
- package/dist/model-resources.d.ts +206 -0
- package/dist/model-resources.d.ts.map +1 -0
- package/dist/model-resources.js +154 -0
- package/dist/model-resources.js.map +1 -0
- package/dist/named-configuration.d.ts +113 -0
- package/dist/named-configuration.d.ts.map +1 -0
- package/dist/named-configuration.js +226 -0
- package/dist/named-configuration.js.map +1 -0
- package/dist/native-receipt.d.ts +13 -0
- package/dist/native-receipt.d.ts.map +1 -0
- package/dist/native-receipt.js +7 -0
- package/dist/native-receipt.js.map +1 -0
- package/dist/profile-identity.js +2 -2
- package/dist/profile-identity.js.map +1 -1
- package/dist/profile-receipt.d.ts +8 -0
- package/dist/profile-receipt.d.ts.map +1 -0
- package/dist/profile-receipt.js +14 -0
- package/dist/profile-receipt.js.map +1 -0
- package/dist/provider-listings.d.ts +3 -3
- package/dist/provider-listings.d.ts.map +1 -1
- package/dist/provider-listings.js +46 -12
- package/dist/provider-listings.js.map +1 -1
- package/dist/reasoning-validation.d.ts +3 -1
- package/dist/reasoning-validation.d.ts.map +1 -1
- package/dist/reasoning-validation.js +34 -14
- package/dist/reasoning-validation.js.map +1 -1
- package/dist/reasoning.d.ts.map +1 -1
- package/dist/reasoning.js +18 -8
- package/dist/reasoning.js.map +1 -1
- package/dist/request-route.d.ts +34 -0
- package/dist/request-route.d.ts.map +1 -0
- package/dist/request-route.js +42 -0
- package/dist/request-route.js.map +1 -0
- package/dist/route-assessment.d.ts +34 -0
- package/dist/route-assessment.d.ts.map +1 -0
- package/dist/route-assessment.js +48 -0
- package/dist/route-assessment.js.map +1 -0
- package/dist/route-export.d.ts +20 -0
- package/dist/route-export.d.ts.map +1 -0
- package/dist/route-export.js +54 -0
- package/dist/route-export.js.map +1 -0
- package/dist/route-helpers.d.ts +51 -0
- package/dist/route-helpers.d.ts.map +1 -0
- package/dist/route-helpers.js +31 -0
- package/dist/route-helpers.js.map +1 -0
- package/dist/route-import.d.ts +98 -0
- package/dist/route-import.d.ts.map +1 -0
- package/dist/route-import.js +124 -0
- package/dist/route-import.js.map +1 -0
- package/dist/route-receipt.d.ts +46 -0
- package/dist/route-receipt.d.ts.map +1 -0
- package/dist/route-receipt.js +95 -0
- package/dist/route-receipt.js.map +1 -0
- package/dist/route-set-export.d.ts +4 -0
- package/dist/route-set-export.d.ts.map +1 -0
- package/dist/route-set-export.js +31 -0
- package/dist/route-set-export.js.map +1 -0
- package/dist/route-set.d.ts +61 -0
- package/dist/route-set.d.ts.map +1 -0
- package/dist/route-set.js +103 -0
- package/dist/route-set.js.map +1 -0
- package/dist/route-usage.d.ts +36 -0
- package/dist/route-usage.d.ts.map +1 -0
- package/dist/route-usage.js +62 -0
- package/dist/route-usage.js.map +1 -0
- package/dist/schemas/adoption.d.ts +95 -0
- package/dist/schemas/adoption.d.ts.map +1 -0
- package/dist/schemas/adoption.js +73 -0
- package/dist/schemas/adoption.js.map +1 -0
- package/dist/schemas/application-execution-review.schema.json +416 -0
- package/dist/schemas/application-route-adoption.schema.json +224 -0
- package/dist/schemas/catalog-release.schema.json +17 -0
- package/dist/schemas/config.d.ts +273 -1
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/config.js +22 -3
- package/dist/schemas/config.js.map +1 -1
- package/dist/schemas/core.d.ts +369 -0
- package/dist/schemas/core.d.ts.map +1 -1
- package/dist/schemas/core.js +11 -1
- package/dist/schemas/core.js.map +1 -1
- package/dist/schemas/direct-model-execution-receipt.schema.json +864 -0
- package/dist/schemas/direct-model-receipt.d.ts +270 -0
- package/dist/schemas/direct-model-receipt.d.ts.map +1 -0
- package/dist/schemas/direct-model-receipt.js +13 -0
- package/dist/schemas/direct-model-receipt.js.map +1 -0
- package/dist/schemas/execution-receipt.schema.json +483 -3
- package/dist/schemas/execution-requirements.schema.json +47 -0
- package/dist/schemas/generation.d.ts +117 -0
- package/dist/schemas/generation.d.ts.map +1 -0
- package/dist/schemas/generation.js +44 -0
- package/dist/schemas/generation.js.map +1 -0
- package/dist/schemas/independent.d.ts +50 -0
- package/dist/schemas/independent.d.ts.map +1 -0
- package/dist/schemas/independent.js +85 -0
- package/dist/schemas/independent.js.map +1 -0
- package/dist/schemas/index.d.ts +4 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +15 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/model-configuration-content.schema.json +92 -0
- package/dist/schemas/model-configuration-request.schema.json +53 -0
- package/dist/schemas/model-configuration-revision.schema.json +151 -0
- package/dist/schemas/model-configuration-snapshot.schema.json +381 -0
- package/dist/schemas/model-configuration.schema.json +72 -0
- package/dist/schemas/model-definition.schema.json +191 -0
- package/dist/schemas/model-execution-receipt.schema.json +889 -0
- package/dist/schemas/model-receipt.d.ts +598 -0
- package/dist/schemas/model-receipt.d.ts.map +1 -0
- package/dist/schemas/model-receipt.js +23 -0
- package/dist/schemas/model-receipt.js.map +1 -0
- package/dist/schemas/model-resource-snapshot.schema.json +164 -0
- package/dist/schemas/model-settings.schema.json +22 -0
- package/dist/schemas/native-execution-receipt.schema.json +919 -0
- package/dist/schemas/native-receipt.d.ts +624 -0
- package/dist/schemas/native-receipt.d.ts.map +1 -0
- package/dist/schemas/native-receipt.js +16 -0
- package/dist/schemas/native-receipt.js.map +1 -0
- package/dist/schemas/profile-execution-receipt.schema.json +853 -0
- package/dist/schemas/profile-receipt.d.ts +579 -0
- package/dist/schemas/profile-receipt.d.ts.map +1 -0
- package/dist/schemas/profile-receipt.js +20 -0
- package/dist/schemas/profile-receipt.js.map +1 -0
- package/dist/schemas/request-route-assessment.schema.json +288 -0
- package/dist/schemas/request-route-execution-receipt.schema.json +864 -0
- package/dist/schemas/request-route-export.schema.json +42 -0
- package/dist/schemas/request-route-metadata.schema.json +31 -0
- package/dist/schemas/request-route.schema.json +235 -0
- package/dist/schemas/route-configuration.schema.json +205 -0
- package/dist/schemas/route-import-authoring.schema.json +426 -0
- package/dist/schemas/route-import-journal.schema.json +119 -0
- package/dist/schemas/route-import-proposal.schema.json +416 -0
- package/dist/schemas/route-import-result.schema.json +100 -0
- package/dist/schemas/route-set-content.schema.json +200 -0
- package/dist/schemas/route-set-execution-receipt.schema.json +889 -0
- package/dist/schemas/route-set-request.schema.json +64 -0
- package/dist/schemas/route-set-revision.schema.json +258 -0
- package/dist/schemas/route-set-snapshot.schema.json +615 -0
- package/dist/schemas/route-set.schema.json +71 -0
- package/dist/schemas/routes.d.ts +435 -0
- package/dist/schemas/routes.d.ts.map +1 -0
- package/dist/schemas/routes.js +75 -0
- package/dist/schemas/routes.js.map +1 -0
- package/dist/schemas/system-instruction-revision.schema.json +55 -0
- package/dist/schemas/system-instruction.schema.json +72 -0
- package/dist/schemas/usage-aggregate-query.schema.json +25 -1
- package/dist/schemas/usage-page.schema.json +17 -1
- package/dist/schemas/usage-query.schema.json +20 -0
- package/dist/schemas/usage-summary.schema.json +88 -0
- package/dist/schemas/usage.d.ts +124 -4
- package/dist/schemas/usage.d.ts.map +1 -1
- package/dist/schemas/usage.js +18 -3
- package/dist/schemas/usage.js.map +1 -1
- package/dist/scoped-configuration.d.ts +2 -0
- package/dist/scoped-configuration.d.ts.map +1 -1
- package/dist/scoped-configuration.js.map +1 -1
- package/dist/scripts/emit-schemas.js +2 -3
- package/dist/scripts/emit-schemas.js.map +1 -1
- package/dist/system-instruction.d.ts +54 -0
- package/dist/system-instruction.d.ts.map +1 -0
- package/dist/system-instruction.js +64 -0
- package/dist/system-instruction.js.map +1 -0
- package/package.json +2 -2
- package/third-party-licenses.json +2 -7
- package/dist/schemas/catalog-delta-output.schema.json +0 -146
- package/dist/schemas/catalog-delta-record.schema.json +0 -242
- package/dist/schemas/incremental-catalog-review.schema.json +0 -645
- /package/third-party-licenses/{fast-uri@3.1.7 → fast-uri@3.1.9}/LICENSE +0 -0
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
export declare const directModelExecutionReceiptSchemaId = "https://techis.dev/ai/contracts/direct-model-execution-receipt.schema.json";
|
|
2
|
+
export declare const directModelExecutionReceiptSchema: {
|
|
3
|
+
$id: string;
|
|
4
|
+
allOf: {}[];
|
|
5
|
+
required: string[];
|
|
6
|
+
properties: {
|
|
7
|
+
schemaVersion: {
|
|
8
|
+
const: number;
|
|
9
|
+
};
|
|
10
|
+
kind: {
|
|
11
|
+
const: string;
|
|
12
|
+
};
|
|
13
|
+
catalogId: {
|
|
14
|
+
type: string;
|
|
15
|
+
minLength: number;
|
|
16
|
+
};
|
|
17
|
+
catalogDigest: {
|
|
18
|
+
type: string;
|
|
19
|
+
pattern: string;
|
|
20
|
+
};
|
|
21
|
+
settingsDigest: {
|
|
22
|
+
type: string;
|
|
23
|
+
pattern: string;
|
|
24
|
+
};
|
|
25
|
+
modelConfigurationDigest: {
|
|
26
|
+
type: string;
|
|
27
|
+
pattern: string;
|
|
28
|
+
};
|
|
29
|
+
priceRevisionId: {
|
|
30
|
+
type: string;
|
|
31
|
+
minLength: number;
|
|
32
|
+
};
|
|
33
|
+
priceDigest: {
|
|
34
|
+
type: string;
|
|
35
|
+
pattern: string;
|
|
36
|
+
};
|
|
37
|
+
fallbackUsed: {
|
|
38
|
+
const: boolean;
|
|
39
|
+
};
|
|
40
|
+
attempts: {
|
|
41
|
+
maxItems: number;
|
|
42
|
+
type: "array";
|
|
43
|
+
items: {
|
|
44
|
+
type: string;
|
|
45
|
+
additionalProperties: boolean;
|
|
46
|
+
required: string[];
|
|
47
|
+
properties: {
|
|
48
|
+
generation: {
|
|
49
|
+
readonly type: "object";
|
|
50
|
+
readonly additionalProperties: false;
|
|
51
|
+
readonly required: readonly ["clientStyle", "mode", "outcome", "outputExposed", "features"];
|
|
52
|
+
readonly properties: {
|
|
53
|
+
readonly clientStyle: {
|
|
54
|
+
readonly enum: readonly ["generate", "responses", "chat"];
|
|
55
|
+
};
|
|
56
|
+
readonly mode: {
|
|
57
|
+
readonly enum: readonly ["final", "stream"];
|
|
58
|
+
};
|
|
59
|
+
readonly outcome: {
|
|
60
|
+
readonly enum: readonly ["completed", "requires_action", "refused", "incomplete", "failed"];
|
|
61
|
+
};
|
|
62
|
+
readonly outputExposed: {
|
|
63
|
+
readonly type: "boolean";
|
|
64
|
+
};
|
|
65
|
+
readonly adapterRoute: {
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
readonly minLength: 1;
|
|
68
|
+
readonly maxLength: 128;
|
|
69
|
+
};
|
|
70
|
+
readonly compatibleAdapterVersion: {
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
readonly minLength: 1;
|
|
73
|
+
readonly maxLength: 128;
|
|
74
|
+
};
|
|
75
|
+
readonly implementation: {
|
|
76
|
+
readonly type: "object";
|
|
77
|
+
readonly additionalProperties: false;
|
|
78
|
+
readonly required: readonly ["id", "version", "contractVersion"];
|
|
79
|
+
readonly properties: {
|
|
80
|
+
readonly id: {
|
|
81
|
+
readonly type: "string";
|
|
82
|
+
readonly minLength: 1;
|
|
83
|
+
readonly maxLength: 128;
|
|
84
|
+
};
|
|
85
|
+
readonly version: {
|
|
86
|
+
readonly type: "string";
|
|
87
|
+
readonly minLength: 1;
|
|
88
|
+
readonly maxLength: 128;
|
|
89
|
+
};
|
|
90
|
+
readonly contractVersion: {
|
|
91
|
+
readonly enum: readonly [1, 2];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
readonly protocol: {
|
|
96
|
+
readonly type: "string";
|
|
97
|
+
readonly minLength: 1;
|
|
98
|
+
readonly maxLength: 128;
|
|
99
|
+
};
|
|
100
|
+
readonly features: {
|
|
101
|
+
readonly type: "array";
|
|
102
|
+
readonly items: {
|
|
103
|
+
readonly type: "object";
|
|
104
|
+
readonly additionalProperties: false;
|
|
105
|
+
readonly required: readonly ["feature", "requested", "effective"];
|
|
106
|
+
readonly properties: {
|
|
107
|
+
readonly feature: {
|
|
108
|
+
readonly enum: readonly ["text", "images", "image-detail", "structured-output", "client-tools", "tool-choice", "parallel-tools", "web-search", "reasoning", "sampling", "storage", "continuation", "provider-options", "streaming"];
|
|
109
|
+
};
|
|
110
|
+
readonly requested: {
|
|
111
|
+
readonly type: "boolean";
|
|
112
|
+
};
|
|
113
|
+
readonly effective: {
|
|
114
|
+
readonly enum: readonly ["sent", "omitted", "unknown", "text-context", "buffered"];
|
|
115
|
+
};
|
|
116
|
+
readonly reason: {
|
|
117
|
+
readonly enum: readonly ["unsupported", "unknown-capability", "provider-specific", "continuation-not-portable", "legacy-adapter"];
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
attempt: {
|
|
125
|
+
type: string;
|
|
126
|
+
minimum: number;
|
|
127
|
+
};
|
|
128
|
+
catalogId: {
|
|
129
|
+
type: string;
|
|
130
|
+
minLength: number;
|
|
131
|
+
};
|
|
132
|
+
providerModelId: {
|
|
133
|
+
type: string;
|
|
134
|
+
minLength: number;
|
|
135
|
+
};
|
|
136
|
+
role: {
|
|
137
|
+
enum: string[];
|
|
138
|
+
};
|
|
139
|
+
latencyMs: {
|
|
140
|
+
type: string;
|
|
141
|
+
minimum: number;
|
|
142
|
+
};
|
|
143
|
+
outcome: {
|
|
144
|
+
enum: string[];
|
|
145
|
+
};
|
|
146
|
+
providerRequestStarted: {
|
|
147
|
+
type: string;
|
|
148
|
+
};
|
|
149
|
+
effective: {
|
|
150
|
+
type: string;
|
|
151
|
+
additionalProperties: boolean;
|
|
152
|
+
properties: {
|
|
153
|
+
reasoning: {
|
|
154
|
+
$ref: string;
|
|
155
|
+
};
|
|
156
|
+
requestedEffort: {
|
|
157
|
+
type: string;
|
|
158
|
+
minLength: number;
|
|
159
|
+
};
|
|
160
|
+
effectiveEffort: {
|
|
161
|
+
type: string;
|
|
162
|
+
minLength: number;
|
|
163
|
+
};
|
|
164
|
+
profileDefaultMaxOutputTokens: {
|
|
165
|
+
type: string;
|
|
166
|
+
minimum: number;
|
|
167
|
+
};
|
|
168
|
+
slotDefaultMaxOutputTokens: {
|
|
169
|
+
type: string;
|
|
170
|
+
minimum: number;
|
|
171
|
+
};
|
|
172
|
+
maxOutputTokens: {
|
|
173
|
+
type: string;
|
|
174
|
+
minimum: number;
|
|
175
|
+
};
|
|
176
|
+
appliedCaps: {
|
|
177
|
+
type: string;
|
|
178
|
+
items: {
|
|
179
|
+
type: string;
|
|
180
|
+
additionalProperties: boolean;
|
|
181
|
+
required: string[];
|
|
182
|
+
properties: {
|
|
183
|
+
source: {
|
|
184
|
+
enum: string[];
|
|
185
|
+
};
|
|
186
|
+
dimension: {
|
|
187
|
+
enum: string[];
|
|
188
|
+
};
|
|
189
|
+
value: {
|
|
190
|
+
type: string;
|
|
191
|
+
minimum: number;
|
|
192
|
+
};
|
|
193
|
+
requested: {
|
|
194
|
+
type: string;
|
|
195
|
+
minimum: number;
|
|
196
|
+
};
|
|
197
|
+
effective: {
|
|
198
|
+
type: string;
|
|
199
|
+
minimum: number;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
errorClass: {
|
|
207
|
+
type: string;
|
|
208
|
+
};
|
|
209
|
+
errorMessage: {
|
|
210
|
+
type: string;
|
|
211
|
+
};
|
|
212
|
+
usage: {
|
|
213
|
+
$ref: string;
|
|
214
|
+
};
|
|
215
|
+
costEstimate: {
|
|
216
|
+
type: string;
|
|
217
|
+
additionalProperties: boolean;
|
|
218
|
+
required: string[];
|
|
219
|
+
properties: {
|
|
220
|
+
currency: {
|
|
221
|
+
type: string;
|
|
222
|
+
minLength: number;
|
|
223
|
+
maxLength: number;
|
|
224
|
+
};
|
|
225
|
+
amount: {
|
|
226
|
+
type: string;
|
|
227
|
+
minimum: number;
|
|
228
|
+
};
|
|
229
|
+
priceRevisionId: {
|
|
230
|
+
$ref: string;
|
|
231
|
+
};
|
|
232
|
+
priceKnown: {
|
|
233
|
+
type: string;
|
|
234
|
+
};
|
|
235
|
+
basis: {
|
|
236
|
+
enum: string[];
|
|
237
|
+
};
|
|
238
|
+
uncertainties: {
|
|
239
|
+
type: string;
|
|
240
|
+
minItems: number;
|
|
241
|
+
uniqueItems: boolean;
|
|
242
|
+
items: {
|
|
243
|
+
enum: string[];
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
allOf: {
|
|
248
|
+
if: {
|
|
249
|
+
required: string[];
|
|
250
|
+
};
|
|
251
|
+
then: {
|
|
252
|
+
properties: {
|
|
253
|
+
priceKnown: {
|
|
254
|
+
const: boolean;
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
not: {
|
|
258
|
+
required: string[];
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
}[];
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
type: "object";
|
|
268
|
+
additionalProperties: false;
|
|
269
|
+
};
|
|
270
|
+
//# sourceMappingURL=direct-model-receipt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct-model-receipt.d.ts","sourceRoot":"","sources":["../../src/schemas/direct-model-receipt.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mCAAmC,+EAA8D,CAAC;AAC/G,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMkE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { executionReceiptSchema } from "./config.js";
|
|
2
|
+
import { SCHEMA_BASE } from "./core.js";
|
|
3
|
+
const omitted = new Set(["environmentId", "personaId", "manifestRevision", "desktopConfigurationId", "workspaceId", "profileId", "profileRevision"]);
|
|
4
|
+
const hash = { type: "string", pattern: "^[a-f0-9]{64}$" };
|
|
5
|
+
export const directModelExecutionReceiptSchemaId = `${SCHEMA_BASE}/direct-model-execution-receipt.schema.json`;
|
|
6
|
+
export const directModelExecutionReceiptSchema = { ...executionReceiptSchema, $id: directModelExecutionReceiptSchemaId, allOf: [{}],
|
|
7
|
+
required: [...executionReceiptSchema.required.filter(key => !omitted.has(key)), "kind", "generation", "catalogId", "catalogRevision",
|
|
8
|
+
"catalogDigest", "settingsDigest", "modelConfigurationDigest"],
|
|
9
|
+
properties: { ...Object.fromEntries(Object.entries(executionReceiptSchema.properties).filter(([key]) => !omitted.has(key))),
|
|
10
|
+
schemaVersion: { const: 1 }, kind: { const: "direct-model-execution-receipt" }, catalogId: { type: "string", minLength: 1 },
|
|
11
|
+
catalogDigest: hash, settingsDigest: hash, modelConfigurationDigest: hash, priceRevisionId: { type: "string", minLength: 1 }, priceDigest: hash,
|
|
12
|
+
fallbackUsed: { const: false }, attempts: { ...executionReceiptSchema.properties.attempts, maxItems: 1 } } };
|
|
13
|
+
//# sourceMappingURL=direct-model-receipt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"direct-model-receipt.js","sourceRoot":"","sources":["../../src/schemas/direct-model-receipt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,eAAe,EAAE,WAAW,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,aAAa,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAC;AACrJ,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC3D,MAAM,CAAC,MAAM,mCAAmC,GAAG,GAAG,WAAW,6CAA6C,CAAC;AAC/G,MAAM,CAAC,MAAM,iCAAiC,GAAG,EAAE,GAAG,sBAAsB,EAAE,GAAG,EAAE,mCAAmC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;IACjI,QAAQ,EAAE,CAAC,GAAG,sBAAsB,CAAC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,WAAW,EAAE,iBAAiB;QAClI,eAAe,EAAE,gBAAgB,EAAE,0BAA0B,CAAC;IAChE,UAAU,EAAE,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;QACzH,aAAa,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,gCAAgC,EAAE,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC3H,aAAa,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,wBAAwB,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,EAAE,WAAW,EAAE,IAAI;QAC/I,YAAY,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,GAAG,sBAAsB,CAAC,UAAU,CAAC,QAAQ,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC"}
|