@miller-tech/uap 2.36.4 → 2.39.1
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/config/model-profiles/qwen38.json +3 -3
- package/config/model-registry.json +96 -6
- package/dist/.tsbuildinfo +1 -1
- package/dist/bin/cli.js +57 -0
- package/dist/bin/cli.js.map +1 -1
- package/dist/cli/deliver.d.ts +46 -0
- package/dist/cli/deliver.d.ts.map +1 -1
- package/dist/cli/deliver.js +155 -36
- package/dist/cli/deliver.js.map +1 -1
- package/dist/cli/models.d.ts +11 -1
- package/dist/cli/models.d.ts.map +1 -1
- package/dist/cli/models.js +164 -3
- package/dist/cli/models.js.map +1 -1
- package/dist/cli/workflow.d.ts +36 -0
- package/dist/cli/workflow.d.ts.map +1 -0
- package/dist/cli/workflow.js +246 -0
- package/dist/cli/workflow.js.map +1 -0
- package/dist/delivery/run-state.d.ts +1 -1
- package/dist/delivery/run-state.d.ts.map +1 -1
- package/dist/delivery/run-state.js +1 -1
- package/dist/delivery/run-state.js.map +1 -1
- package/dist/delivery/team-solve-deliver.d.ts +83 -0
- package/dist/delivery/team-solve-deliver.d.ts.map +1 -0
- package/dist/delivery/team-solve-deliver.js +191 -0
- package/dist/delivery/team-solve-deliver.js.map +1 -0
- package/dist/inference/model-files.d.ts +111 -0
- package/dist/inference/model-files.d.ts.map +1 -0
- package/dist/inference/model-files.js +172 -0
- package/dist/inference/model-files.js.map +1 -0
- package/dist/placement/registry.d.ts +650 -0
- package/dist/placement/registry.d.ts.map +1 -1
- package/dist/placement/registry.js +21 -0
- package/dist/placement/registry.js.map +1 -1
- package/dist/workflow/loader.d.ts +34 -0
- package/dist/workflow/loader.d.ts.map +1 -0
- package/dist/workflow/loader.js +232 -0
- package/dist/workflow/loader.js.map +1 -0
- package/dist/workflow/runner.d.ts +90 -0
- package/dist/workflow/runner.d.ts.map +1 -0
- package/dist/workflow/runner.js +416 -0
- package/dist/workflow/runner.js.map +1 -0
- package/dist/workflow/types.d.ts +400 -0
- package/dist/workflow/types.d.ts.map +1 -0
- package/dist/workflow/types.js +147 -0
- package/dist/workflow/types.js.map +1 -0
- package/docs/INDEX.md +1 -0
- package/docs/architecture/adr/0013-declarative-workflow-layer.md +99 -0
- package/docs/architecture/adr/0014-loop-steps-and-team-solve-deliver.md +142 -0
- package/docs/benchmarks/LCB_DROID_SMOKE.md +111 -0
- package/docs/guides/DELIVER.md +3 -1
- package/docs/guides/WORKFLOWS.md +179 -0
- package/docs/plans/model-performance-proof-options.md +39 -0
- package/docs/reference/CLI.md +33 -0
- package/docs/reference/CONFIGURATION.md +1 -0
- package/docs/reference/FEATURES.md +18 -0
- package/examples/auto-coordinator-example.js +127 -0
- package/examples/demo-order-solid.ts +19 -0
- package/examples/order-processing-strategy-pattern.ts +186 -0
- package/examples/order-processor-refactored.ts +473 -0
- package/examples/order-solid-refactor.ts +830 -0
- package/examples/refactored-order-processing.ts +106 -0
- package/examples/run-order-processing.ts +48 -0
- package/examples/solid-order-processing.ts +324 -0
- package/examples/strategy-pattern-example.ts +100 -0
- package/examples/workflows/team-solve/README.md +85 -0
- package/examples/workflows/team-solve/check-samples.sh +50 -0
- package/examples/workflows/team-solve/sample/task.md +22 -0
- package/examples/workflows/team-solve/sample/tests/1.in +2 -0
- package/examples/workflows/team-solve/sample/tests/1.out +1 -0
- package/examples/workflows/team-solve/sample/tests/2.in +2 -0
- package/examples/workflows/team-solve/sample/tests/2.out +1 -0
- package/examples/workflows/team-solve/sample/tests/3.in +2 -0
- package/examples/workflows/team-solve/sample/tests/3.out +1 -0
- package/examples/workflows/team-solve/sample/tests/4.in +2 -0
- package/examples/workflows/team-solve/sample/tests/4.out +1 -0
- package/examples/workflows/team-solve/sample/tests/5.in +1 -0
- package/examples/workflows/team-solve/sample/tests/5.out +1 -0
- package/examples/workflows/team-solve/steps/ideate-a.md +26 -0
- package/examples/workflows/team-solve/steps/ideate-b.md +28 -0
- package/examples/workflows/team-solve/steps/plan.md +20 -0
- package/examples/workflows/team-solve/steps/repair.md +25 -0
- package/examples/workflows/team-solve/steps/review.md +29 -0
- package/examples/workflows/team-solve/steps/solve.md +26 -0
- package/examples/workflows/team-solve/workflow.yaml +78 -0
- package/examples/workflows/team-solve-deliver/README.md +84 -0
- package/examples/workflows/team-solve-deliver/steps/ideate-a.md +25 -0
- package/examples/workflows/team-solve-deliver/steps/ideate-b.md +28 -0
- package/examples/workflows/team-solve-deliver/steps/plan.md +25 -0
- package/examples/workflows/team-solve-deliver/steps/repair.md +20 -0
- package/examples/workflows/team-solve-deliver/steps/review.md +31 -0
- package/examples/workflows/team-solve-deliver/steps/solve.md +28 -0
- package/examples/workflows/team-solve-deliver/steps/verify.md +9 -0
- package/examples/workflows/team-solve-deliver/workflow.yaml +74 -0
- package/package.json +2 -1
- package/src/policies/enforcers/__pycache__/_common.cpython-311.pyc +0 -0
- package/src/policies/enforcers/__pycache__/expert_review_required.cpython-311.pyc +0 -0
- package/src/policies/enforcers/__pycache__/quality_metrics_gate.cpython-311.pyc +0 -0
- package/templates/hooks/__pycache__/deliver_autoroute.cpython-311.pyc +0 -0
- package/tools/agents/scripts/__pycache__/toolcall_path_normalizer.cpython-311.pyc +0 -0
- package/tools/agents/scripts/anthropic_proxy.py +163 -18
|
@@ -47,6 +47,39 @@ export declare const MeasuredConfigSchema: z.ZodObject<{
|
|
|
47
47
|
note: z.ZodOptional<z.ZodString>;
|
|
48
48
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
49
49
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
51
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
52
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
53
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
54
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
55
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
56
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
57
|
+
* elsewhere). */
|
|
58
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
|
+
path: z.ZodString;
|
|
60
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
61
|
+
file: z.ZodOptional<z.ZodString>;
|
|
62
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
63
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
64
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
65
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
66
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
path: string;
|
|
70
|
+
repo?: string | undefined;
|
|
71
|
+
file?: string | undefined;
|
|
72
|
+
sha256?: string | undefined;
|
|
73
|
+
bytes?: number | undefined;
|
|
74
|
+
rev?: string | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
path: string;
|
|
77
|
+
repo?: string | undefined;
|
|
78
|
+
file?: string | undefined;
|
|
79
|
+
sha256?: string | undefined;
|
|
80
|
+
bytes?: number | undefined;
|
|
81
|
+
rev?: string | undefined;
|
|
82
|
+
}>, "many">>;
|
|
50
83
|
}, "strip", z.ZodTypeAny, {
|
|
51
84
|
resident_gpu_mib: number;
|
|
52
85
|
host_rss_mib: number;
|
|
@@ -55,6 +88,14 @@ export declare const MeasuredConfigSchema: z.ZodObject<{
|
|
|
55
88
|
measured_at: string;
|
|
56
89
|
measured_on: string;
|
|
57
90
|
note?: string | undefined;
|
|
91
|
+
files?: {
|
|
92
|
+
path: string;
|
|
93
|
+
repo?: string | undefined;
|
|
94
|
+
file?: string | undefined;
|
|
95
|
+
sha256?: string | undefined;
|
|
96
|
+
bytes?: number | undefined;
|
|
97
|
+
rev?: string | undefined;
|
|
98
|
+
}[] | undefined;
|
|
58
99
|
service?: string | undefined;
|
|
59
100
|
engine?: string | undefined;
|
|
60
101
|
unit?: string | undefined;
|
|
@@ -72,6 +113,14 @@ export declare const MeasuredConfigSchema: z.ZodObject<{
|
|
|
72
113
|
measured_at: string;
|
|
73
114
|
measured_on: string;
|
|
74
115
|
note?: string | undefined;
|
|
116
|
+
files?: {
|
|
117
|
+
path: string;
|
|
118
|
+
repo?: string | undefined;
|
|
119
|
+
file?: string | undefined;
|
|
120
|
+
sha256?: string | undefined;
|
|
121
|
+
bytes?: number | undefined;
|
|
122
|
+
rev?: string | undefined;
|
|
123
|
+
}[] | undefined;
|
|
75
124
|
service?: string | undefined;
|
|
76
125
|
engine?: string | undefined;
|
|
77
126
|
unit?: string | undefined;
|
|
@@ -95,9 +144,50 @@ export declare const UnmeasuredConfigSchema: z.ZodObject<{
|
|
|
95
144
|
note: z.ZodOptional<z.ZodString>;
|
|
96
145
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
97
146
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
148
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
149
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
150
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
151
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
152
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
153
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
154
|
+
* elsewhere). */
|
|
155
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
156
|
+
path: z.ZodString;
|
|
157
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
158
|
+
file: z.ZodOptional<z.ZodString>;
|
|
159
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
160
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
161
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
162
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
163
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
164
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
path: string;
|
|
167
|
+
repo?: string | undefined;
|
|
168
|
+
file?: string | undefined;
|
|
169
|
+
sha256?: string | undefined;
|
|
170
|
+
bytes?: number | undefined;
|
|
171
|
+
rev?: string | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
path: string;
|
|
174
|
+
repo?: string | undefined;
|
|
175
|
+
file?: string | undefined;
|
|
176
|
+
sha256?: string | undefined;
|
|
177
|
+
bytes?: number | undefined;
|
|
178
|
+
rev?: string | undefined;
|
|
179
|
+
}>, "many">>;
|
|
98
180
|
}, "strip", z.ZodTypeAny, {
|
|
99
181
|
status: "unmeasured";
|
|
100
182
|
note?: string | undefined;
|
|
183
|
+
files?: {
|
|
184
|
+
path: string;
|
|
185
|
+
repo?: string | undefined;
|
|
186
|
+
file?: string | undefined;
|
|
187
|
+
sha256?: string | undefined;
|
|
188
|
+
bytes?: number | undefined;
|
|
189
|
+
rev?: string | undefined;
|
|
190
|
+
}[] | undefined;
|
|
101
191
|
service?: string | undefined;
|
|
102
192
|
engine?: string | undefined;
|
|
103
193
|
unit?: string | undefined;
|
|
@@ -107,6 +197,14 @@ export declare const UnmeasuredConfigSchema: z.ZodObject<{
|
|
|
107
197
|
}, {
|
|
108
198
|
status: "unmeasured";
|
|
109
199
|
note?: string | undefined;
|
|
200
|
+
files?: {
|
|
201
|
+
path: string;
|
|
202
|
+
repo?: string | undefined;
|
|
203
|
+
file?: string | undefined;
|
|
204
|
+
sha256?: string | undefined;
|
|
205
|
+
bytes?: number | undefined;
|
|
206
|
+
rev?: string | undefined;
|
|
207
|
+
}[] | undefined;
|
|
110
208
|
service?: string | undefined;
|
|
111
209
|
engine?: string | undefined;
|
|
112
210
|
unit?: string | undefined;
|
|
@@ -137,6 +235,39 @@ export declare const ConfigEntrySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
137
235
|
note: z.ZodOptional<z.ZodString>;
|
|
138
236
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
237
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
238
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
239
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
240
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
241
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
242
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
243
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
244
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
245
|
+
* elsewhere). */
|
|
246
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
247
|
+
path: z.ZodString;
|
|
248
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
249
|
+
file: z.ZodOptional<z.ZodString>;
|
|
250
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
251
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
252
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
253
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
254
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
256
|
+
}, "strip", z.ZodTypeAny, {
|
|
257
|
+
path: string;
|
|
258
|
+
repo?: string | undefined;
|
|
259
|
+
file?: string | undefined;
|
|
260
|
+
sha256?: string | undefined;
|
|
261
|
+
bytes?: number | undefined;
|
|
262
|
+
rev?: string | undefined;
|
|
263
|
+
}, {
|
|
264
|
+
path: string;
|
|
265
|
+
repo?: string | undefined;
|
|
266
|
+
file?: string | undefined;
|
|
267
|
+
sha256?: string | undefined;
|
|
268
|
+
bytes?: number | undefined;
|
|
269
|
+
rev?: string | undefined;
|
|
270
|
+
}>, "many">>;
|
|
140
271
|
}, "strip", z.ZodTypeAny, {
|
|
141
272
|
resident_gpu_mib: number;
|
|
142
273
|
host_rss_mib: number;
|
|
@@ -145,6 +276,14 @@ export declare const ConfigEntrySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
145
276
|
measured_at: string;
|
|
146
277
|
measured_on: string;
|
|
147
278
|
note?: string | undefined;
|
|
279
|
+
files?: {
|
|
280
|
+
path: string;
|
|
281
|
+
repo?: string | undefined;
|
|
282
|
+
file?: string | undefined;
|
|
283
|
+
sha256?: string | undefined;
|
|
284
|
+
bytes?: number | undefined;
|
|
285
|
+
rev?: string | undefined;
|
|
286
|
+
}[] | undefined;
|
|
148
287
|
service?: string | undefined;
|
|
149
288
|
engine?: string | undefined;
|
|
150
289
|
unit?: string | undefined;
|
|
@@ -162,6 +301,14 @@ export declare const ConfigEntrySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
162
301
|
measured_at: string;
|
|
163
302
|
measured_on: string;
|
|
164
303
|
note?: string | undefined;
|
|
304
|
+
files?: {
|
|
305
|
+
path: string;
|
|
306
|
+
repo?: string | undefined;
|
|
307
|
+
file?: string | undefined;
|
|
308
|
+
sha256?: string | undefined;
|
|
309
|
+
bytes?: number | undefined;
|
|
310
|
+
rev?: string | undefined;
|
|
311
|
+
}[] | undefined;
|
|
165
312
|
service?: string | undefined;
|
|
166
313
|
engine?: string | undefined;
|
|
167
314
|
unit?: string | undefined;
|
|
@@ -183,9 +330,50 @@ export declare const ConfigEntrySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
183
330
|
note: z.ZodOptional<z.ZodString>;
|
|
184
331
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
185
332
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
333
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
334
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
335
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
336
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
337
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
338
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
339
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
340
|
+
* elsewhere). */
|
|
341
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
342
|
+
path: z.ZodString;
|
|
343
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
344
|
+
file: z.ZodOptional<z.ZodString>;
|
|
345
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
346
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
347
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
348
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
349
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
path: string;
|
|
353
|
+
repo?: string | undefined;
|
|
354
|
+
file?: string | undefined;
|
|
355
|
+
sha256?: string | undefined;
|
|
356
|
+
bytes?: number | undefined;
|
|
357
|
+
rev?: string | undefined;
|
|
358
|
+
}, {
|
|
359
|
+
path: string;
|
|
360
|
+
repo?: string | undefined;
|
|
361
|
+
file?: string | undefined;
|
|
362
|
+
sha256?: string | undefined;
|
|
363
|
+
bytes?: number | undefined;
|
|
364
|
+
rev?: string | undefined;
|
|
365
|
+
}>, "many">>;
|
|
186
366
|
}, "strip", z.ZodTypeAny, {
|
|
187
367
|
status: "unmeasured";
|
|
188
368
|
note?: string | undefined;
|
|
369
|
+
files?: {
|
|
370
|
+
path: string;
|
|
371
|
+
repo?: string | undefined;
|
|
372
|
+
file?: string | undefined;
|
|
373
|
+
sha256?: string | undefined;
|
|
374
|
+
bytes?: number | undefined;
|
|
375
|
+
rev?: string | undefined;
|
|
376
|
+
}[] | undefined;
|
|
189
377
|
service?: string | undefined;
|
|
190
378
|
engine?: string | undefined;
|
|
191
379
|
unit?: string | undefined;
|
|
@@ -195,6 +383,14 @@ export declare const ConfigEntrySchema: z.ZodUnion<[z.ZodObject<{
|
|
|
195
383
|
}, {
|
|
196
384
|
status: "unmeasured";
|
|
197
385
|
note?: string | undefined;
|
|
386
|
+
files?: {
|
|
387
|
+
path: string;
|
|
388
|
+
repo?: string | undefined;
|
|
389
|
+
file?: string | undefined;
|
|
390
|
+
sha256?: string | undefined;
|
|
391
|
+
bytes?: number | undefined;
|
|
392
|
+
rev?: string | undefined;
|
|
393
|
+
}[] | undefined;
|
|
198
394
|
service?: string | undefined;
|
|
199
395
|
engine?: string | undefined;
|
|
200
396
|
unit?: string | undefined;
|
|
@@ -241,6 +437,39 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
241
437
|
note: z.ZodOptional<z.ZodString>;
|
|
242
438
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
243
439
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
440
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
441
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
442
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
443
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
444
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
445
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
446
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
447
|
+
* elsewhere). */
|
|
448
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
449
|
+
path: z.ZodString;
|
|
450
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
451
|
+
file: z.ZodOptional<z.ZodString>;
|
|
452
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
453
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
454
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
455
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
456
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
457
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
458
|
+
}, "strip", z.ZodTypeAny, {
|
|
459
|
+
path: string;
|
|
460
|
+
repo?: string | undefined;
|
|
461
|
+
file?: string | undefined;
|
|
462
|
+
sha256?: string | undefined;
|
|
463
|
+
bytes?: number | undefined;
|
|
464
|
+
rev?: string | undefined;
|
|
465
|
+
}, {
|
|
466
|
+
path: string;
|
|
467
|
+
repo?: string | undefined;
|
|
468
|
+
file?: string | undefined;
|
|
469
|
+
sha256?: string | undefined;
|
|
470
|
+
bytes?: number | undefined;
|
|
471
|
+
rev?: string | undefined;
|
|
472
|
+
}>, "many">>;
|
|
244
473
|
}, "strip", z.ZodTypeAny, {
|
|
245
474
|
resident_gpu_mib: number;
|
|
246
475
|
host_rss_mib: number;
|
|
@@ -249,6 +478,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
249
478
|
measured_at: string;
|
|
250
479
|
measured_on: string;
|
|
251
480
|
note?: string | undefined;
|
|
481
|
+
files?: {
|
|
482
|
+
path: string;
|
|
483
|
+
repo?: string | undefined;
|
|
484
|
+
file?: string | undefined;
|
|
485
|
+
sha256?: string | undefined;
|
|
486
|
+
bytes?: number | undefined;
|
|
487
|
+
rev?: string | undefined;
|
|
488
|
+
}[] | undefined;
|
|
252
489
|
service?: string | undefined;
|
|
253
490
|
engine?: string | undefined;
|
|
254
491
|
unit?: string | undefined;
|
|
@@ -266,6 +503,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
266
503
|
measured_at: string;
|
|
267
504
|
measured_on: string;
|
|
268
505
|
note?: string | undefined;
|
|
506
|
+
files?: {
|
|
507
|
+
path: string;
|
|
508
|
+
repo?: string | undefined;
|
|
509
|
+
file?: string | undefined;
|
|
510
|
+
sha256?: string | undefined;
|
|
511
|
+
bytes?: number | undefined;
|
|
512
|
+
rev?: string | undefined;
|
|
513
|
+
}[] | undefined;
|
|
269
514
|
service?: string | undefined;
|
|
270
515
|
engine?: string | undefined;
|
|
271
516
|
unit?: string | undefined;
|
|
@@ -287,9 +532,50 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
287
532
|
note: z.ZodOptional<z.ZodString>;
|
|
288
533
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
289
534
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
535
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
536
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
537
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
538
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
539
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
540
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
541
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
542
|
+
* elsewhere). */
|
|
543
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
544
|
+
path: z.ZodString;
|
|
545
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
546
|
+
file: z.ZodOptional<z.ZodString>;
|
|
547
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
548
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
549
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
550
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
551
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
552
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
553
|
+
}, "strip", z.ZodTypeAny, {
|
|
554
|
+
path: string;
|
|
555
|
+
repo?: string | undefined;
|
|
556
|
+
file?: string | undefined;
|
|
557
|
+
sha256?: string | undefined;
|
|
558
|
+
bytes?: number | undefined;
|
|
559
|
+
rev?: string | undefined;
|
|
560
|
+
}, {
|
|
561
|
+
path: string;
|
|
562
|
+
repo?: string | undefined;
|
|
563
|
+
file?: string | undefined;
|
|
564
|
+
sha256?: string | undefined;
|
|
565
|
+
bytes?: number | undefined;
|
|
566
|
+
rev?: string | undefined;
|
|
567
|
+
}>, "many">>;
|
|
290
568
|
}, "strip", z.ZodTypeAny, {
|
|
291
569
|
status: "unmeasured";
|
|
292
570
|
note?: string | undefined;
|
|
571
|
+
files?: {
|
|
572
|
+
path: string;
|
|
573
|
+
repo?: string | undefined;
|
|
574
|
+
file?: string | undefined;
|
|
575
|
+
sha256?: string | undefined;
|
|
576
|
+
bytes?: number | undefined;
|
|
577
|
+
rev?: string | undefined;
|
|
578
|
+
}[] | undefined;
|
|
293
579
|
service?: string | undefined;
|
|
294
580
|
engine?: string | undefined;
|
|
295
581
|
unit?: string | undefined;
|
|
@@ -299,6 +585,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
299
585
|
}, {
|
|
300
586
|
status: "unmeasured";
|
|
301
587
|
note?: string | undefined;
|
|
588
|
+
files?: {
|
|
589
|
+
path: string;
|
|
590
|
+
repo?: string | undefined;
|
|
591
|
+
file?: string | undefined;
|
|
592
|
+
sha256?: string | undefined;
|
|
593
|
+
bytes?: number | undefined;
|
|
594
|
+
rev?: string | undefined;
|
|
595
|
+
}[] | undefined;
|
|
302
596
|
service?: string | undefined;
|
|
303
597
|
engine?: string | undefined;
|
|
304
598
|
unit?: string | undefined;
|
|
@@ -316,6 +610,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
316
610
|
measured_at: string;
|
|
317
611
|
measured_on: string;
|
|
318
612
|
note?: string | undefined;
|
|
613
|
+
files?: {
|
|
614
|
+
path: string;
|
|
615
|
+
repo?: string | undefined;
|
|
616
|
+
file?: string | undefined;
|
|
617
|
+
sha256?: string | undefined;
|
|
618
|
+
bytes?: number | undefined;
|
|
619
|
+
rev?: string | undefined;
|
|
620
|
+
}[] | undefined;
|
|
319
621
|
service?: string | undefined;
|
|
320
622
|
engine?: string | undefined;
|
|
321
623
|
unit?: string | undefined;
|
|
@@ -328,6 +630,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
328
630
|
} | {
|
|
329
631
|
status: "unmeasured";
|
|
330
632
|
note?: string | undefined;
|
|
633
|
+
files?: {
|
|
634
|
+
path: string;
|
|
635
|
+
repo?: string | undefined;
|
|
636
|
+
file?: string | undefined;
|
|
637
|
+
sha256?: string | undefined;
|
|
638
|
+
bytes?: number | undefined;
|
|
639
|
+
rev?: string | undefined;
|
|
640
|
+
}[] | undefined;
|
|
331
641
|
service?: string | undefined;
|
|
332
642
|
engine?: string | undefined;
|
|
333
643
|
unit?: string | undefined;
|
|
@@ -355,6 +665,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
355
665
|
measured_at: string;
|
|
356
666
|
measured_on: string;
|
|
357
667
|
note?: string | undefined;
|
|
668
|
+
files?: {
|
|
669
|
+
path: string;
|
|
670
|
+
repo?: string | undefined;
|
|
671
|
+
file?: string | undefined;
|
|
672
|
+
sha256?: string | undefined;
|
|
673
|
+
bytes?: number | undefined;
|
|
674
|
+
rev?: string | undefined;
|
|
675
|
+
}[] | undefined;
|
|
358
676
|
service?: string | undefined;
|
|
359
677
|
engine?: string | undefined;
|
|
360
678
|
unit?: string | undefined;
|
|
@@ -367,6 +685,14 @@ export declare const ModelEntrySchema: z.ZodObject<{
|
|
|
367
685
|
} | {
|
|
368
686
|
status: "unmeasured";
|
|
369
687
|
note?: string | undefined;
|
|
688
|
+
files?: {
|
|
689
|
+
path: string;
|
|
690
|
+
repo?: string | undefined;
|
|
691
|
+
file?: string | undefined;
|
|
692
|
+
sha256?: string | undefined;
|
|
693
|
+
bytes?: number | undefined;
|
|
694
|
+
rev?: string | undefined;
|
|
695
|
+
}[] | undefined;
|
|
370
696
|
service?: string | undefined;
|
|
371
697
|
engine?: string | undefined;
|
|
372
698
|
unit?: string | undefined;
|
|
@@ -445,6 +771,39 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
445
771
|
note: z.ZodOptional<z.ZodString>;
|
|
446
772
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
447
773
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
774
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
775
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
776
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
777
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
778
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
779
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
780
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
781
|
+
* elsewhere). */
|
|
782
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
783
|
+
path: z.ZodString;
|
|
784
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
785
|
+
file: z.ZodOptional<z.ZodString>;
|
|
786
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
787
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
788
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
789
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
790
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
791
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
792
|
+
}, "strip", z.ZodTypeAny, {
|
|
793
|
+
path: string;
|
|
794
|
+
repo?: string | undefined;
|
|
795
|
+
file?: string | undefined;
|
|
796
|
+
sha256?: string | undefined;
|
|
797
|
+
bytes?: number | undefined;
|
|
798
|
+
rev?: string | undefined;
|
|
799
|
+
}, {
|
|
800
|
+
path: string;
|
|
801
|
+
repo?: string | undefined;
|
|
802
|
+
file?: string | undefined;
|
|
803
|
+
sha256?: string | undefined;
|
|
804
|
+
bytes?: number | undefined;
|
|
805
|
+
rev?: string | undefined;
|
|
806
|
+
}>, "many">>;
|
|
448
807
|
}, "strip", z.ZodTypeAny, {
|
|
449
808
|
resident_gpu_mib: number;
|
|
450
809
|
host_rss_mib: number;
|
|
@@ -453,6 +812,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
453
812
|
measured_at: string;
|
|
454
813
|
measured_on: string;
|
|
455
814
|
note?: string | undefined;
|
|
815
|
+
files?: {
|
|
816
|
+
path: string;
|
|
817
|
+
repo?: string | undefined;
|
|
818
|
+
file?: string | undefined;
|
|
819
|
+
sha256?: string | undefined;
|
|
820
|
+
bytes?: number | undefined;
|
|
821
|
+
rev?: string | undefined;
|
|
822
|
+
}[] | undefined;
|
|
456
823
|
service?: string | undefined;
|
|
457
824
|
engine?: string | undefined;
|
|
458
825
|
unit?: string | undefined;
|
|
@@ -470,6 +837,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
470
837
|
measured_at: string;
|
|
471
838
|
measured_on: string;
|
|
472
839
|
note?: string | undefined;
|
|
840
|
+
files?: {
|
|
841
|
+
path: string;
|
|
842
|
+
repo?: string | undefined;
|
|
843
|
+
file?: string | undefined;
|
|
844
|
+
sha256?: string | undefined;
|
|
845
|
+
bytes?: number | undefined;
|
|
846
|
+
rev?: string | undefined;
|
|
847
|
+
}[] | undefined;
|
|
473
848
|
service?: string | undefined;
|
|
474
849
|
engine?: string | undefined;
|
|
475
850
|
unit?: string | undefined;
|
|
@@ -491,9 +866,50 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
491
866
|
note: z.ZodOptional<z.ZodString>;
|
|
492
867
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
493
868
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
869
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
870
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
871
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
872
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
873
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
874
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
875
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
876
|
+
* elsewhere). */
|
|
877
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
878
|
+
path: z.ZodString;
|
|
879
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
880
|
+
file: z.ZodOptional<z.ZodString>;
|
|
881
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
882
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
883
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
884
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
885
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
886
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
887
|
+
}, "strip", z.ZodTypeAny, {
|
|
888
|
+
path: string;
|
|
889
|
+
repo?: string | undefined;
|
|
890
|
+
file?: string | undefined;
|
|
891
|
+
sha256?: string | undefined;
|
|
892
|
+
bytes?: number | undefined;
|
|
893
|
+
rev?: string | undefined;
|
|
894
|
+
}, {
|
|
895
|
+
path: string;
|
|
896
|
+
repo?: string | undefined;
|
|
897
|
+
file?: string | undefined;
|
|
898
|
+
sha256?: string | undefined;
|
|
899
|
+
bytes?: number | undefined;
|
|
900
|
+
rev?: string | undefined;
|
|
901
|
+
}>, "many">>;
|
|
494
902
|
}, "strip", z.ZodTypeAny, {
|
|
495
903
|
status: "unmeasured";
|
|
496
904
|
note?: string | undefined;
|
|
905
|
+
files?: {
|
|
906
|
+
path: string;
|
|
907
|
+
repo?: string | undefined;
|
|
908
|
+
file?: string | undefined;
|
|
909
|
+
sha256?: string | undefined;
|
|
910
|
+
bytes?: number | undefined;
|
|
911
|
+
rev?: string | undefined;
|
|
912
|
+
}[] | undefined;
|
|
497
913
|
service?: string | undefined;
|
|
498
914
|
engine?: string | undefined;
|
|
499
915
|
unit?: string | undefined;
|
|
@@ -503,6 +919,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
503
919
|
}, {
|
|
504
920
|
status: "unmeasured";
|
|
505
921
|
note?: string | undefined;
|
|
922
|
+
files?: {
|
|
923
|
+
path: string;
|
|
924
|
+
repo?: string | undefined;
|
|
925
|
+
file?: string | undefined;
|
|
926
|
+
sha256?: string | undefined;
|
|
927
|
+
bytes?: number | undefined;
|
|
928
|
+
rev?: string | undefined;
|
|
929
|
+
}[] | undefined;
|
|
506
930
|
service?: string | undefined;
|
|
507
931
|
engine?: string | undefined;
|
|
508
932
|
unit?: string | undefined;
|
|
@@ -520,6 +944,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
520
944
|
measured_at: string;
|
|
521
945
|
measured_on: string;
|
|
522
946
|
note?: string | undefined;
|
|
947
|
+
files?: {
|
|
948
|
+
path: string;
|
|
949
|
+
repo?: string | undefined;
|
|
950
|
+
file?: string | undefined;
|
|
951
|
+
sha256?: string | undefined;
|
|
952
|
+
bytes?: number | undefined;
|
|
953
|
+
rev?: string | undefined;
|
|
954
|
+
}[] | undefined;
|
|
523
955
|
service?: string | undefined;
|
|
524
956
|
engine?: string | undefined;
|
|
525
957
|
unit?: string | undefined;
|
|
@@ -532,6 +964,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
532
964
|
} | {
|
|
533
965
|
status: "unmeasured";
|
|
534
966
|
note?: string | undefined;
|
|
967
|
+
files?: {
|
|
968
|
+
path: string;
|
|
969
|
+
repo?: string | undefined;
|
|
970
|
+
file?: string | undefined;
|
|
971
|
+
sha256?: string | undefined;
|
|
972
|
+
bytes?: number | undefined;
|
|
973
|
+
rev?: string | undefined;
|
|
974
|
+
}[] | undefined;
|
|
535
975
|
service?: string | undefined;
|
|
536
976
|
engine?: string | undefined;
|
|
537
977
|
unit?: string | undefined;
|
|
@@ -559,6 +999,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
559
999
|
measured_at: string;
|
|
560
1000
|
measured_on: string;
|
|
561
1001
|
note?: string | undefined;
|
|
1002
|
+
files?: {
|
|
1003
|
+
path: string;
|
|
1004
|
+
repo?: string | undefined;
|
|
1005
|
+
file?: string | undefined;
|
|
1006
|
+
sha256?: string | undefined;
|
|
1007
|
+
bytes?: number | undefined;
|
|
1008
|
+
rev?: string | undefined;
|
|
1009
|
+
}[] | undefined;
|
|
562
1010
|
service?: string | undefined;
|
|
563
1011
|
engine?: string | undefined;
|
|
564
1012
|
unit?: string | undefined;
|
|
@@ -571,6 +1019,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
571
1019
|
} | {
|
|
572
1020
|
status: "unmeasured";
|
|
573
1021
|
note?: string | undefined;
|
|
1022
|
+
files?: {
|
|
1023
|
+
path: string;
|
|
1024
|
+
repo?: string | undefined;
|
|
1025
|
+
file?: string | undefined;
|
|
1026
|
+
sha256?: string | undefined;
|
|
1027
|
+
bytes?: number | undefined;
|
|
1028
|
+
rev?: string | undefined;
|
|
1029
|
+
}[] | undefined;
|
|
574
1030
|
service?: string | undefined;
|
|
575
1031
|
engine?: string | undefined;
|
|
576
1032
|
unit?: string | undefined;
|
|
@@ -600,6 +1056,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
600
1056
|
measured_at: string;
|
|
601
1057
|
measured_on: string;
|
|
602
1058
|
note?: string | undefined;
|
|
1059
|
+
files?: {
|
|
1060
|
+
path: string;
|
|
1061
|
+
repo?: string | undefined;
|
|
1062
|
+
file?: string | undefined;
|
|
1063
|
+
sha256?: string | undefined;
|
|
1064
|
+
bytes?: number | undefined;
|
|
1065
|
+
rev?: string | undefined;
|
|
1066
|
+
}[] | undefined;
|
|
603
1067
|
service?: string | undefined;
|
|
604
1068
|
engine?: string | undefined;
|
|
605
1069
|
unit?: string | undefined;
|
|
@@ -612,6 +1076,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
612
1076
|
} | {
|
|
613
1077
|
status: "unmeasured";
|
|
614
1078
|
note?: string | undefined;
|
|
1079
|
+
files?: {
|
|
1080
|
+
path: string;
|
|
1081
|
+
repo?: string | undefined;
|
|
1082
|
+
file?: string | undefined;
|
|
1083
|
+
sha256?: string | undefined;
|
|
1084
|
+
bytes?: number | undefined;
|
|
1085
|
+
rev?: string | undefined;
|
|
1086
|
+
}[] | undefined;
|
|
615
1087
|
service?: string | undefined;
|
|
616
1088
|
engine?: string | undefined;
|
|
617
1089
|
unit?: string | undefined;
|
|
@@ -649,6 +1121,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
649
1121
|
measured_at: string;
|
|
650
1122
|
measured_on: string;
|
|
651
1123
|
note?: string | undefined;
|
|
1124
|
+
files?: {
|
|
1125
|
+
path: string;
|
|
1126
|
+
repo?: string | undefined;
|
|
1127
|
+
file?: string | undefined;
|
|
1128
|
+
sha256?: string | undefined;
|
|
1129
|
+
bytes?: number | undefined;
|
|
1130
|
+
rev?: string | undefined;
|
|
1131
|
+
}[] | undefined;
|
|
652
1132
|
service?: string | undefined;
|
|
653
1133
|
engine?: string | undefined;
|
|
654
1134
|
unit?: string | undefined;
|
|
@@ -661,6 +1141,14 @@ export declare const ModelRegistrySchema: z.ZodObject<{
|
|
|
661
1141
|
} | {
|
|
662
1142
|
status: "unmeasured";
|
|
663
1143
|
note?: string | undefined;
|
|
1144
|
+
files?: {
|
|
1145
|
+
path: string;
|
|
1146
|
+
repo?: string | undefined;
|
|
1147
|
+
file?: string | undefined;
|
|
1148
|
+
sha256?: string | undefined;
|
|
1149
|
+
bytes?: number | undefined;
|
|
1150
|
+
rev?: string | undefined;
|
|
1151
|
+
}[] | undefined;
|
|
664
1152
|
service?: string | undefined;
|
|
665
1153
|
engine?: string | undefined;
|
|
666
1154
|
unit?: string | undefined;
|
|
@@ -750,6 +1238,39 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
750
1238
|
note: z.ZodOptional<z.ZodString>;
|
|
751
1239
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
752
1240
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
1241
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
1242
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
1243
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
1244
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
1245
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
1246
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
1247
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
1248
|
+
* elsewhere). */
|
|
1249
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1250
|
+
path: z.ZodString;
|
|
1251
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1252
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1253
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
1254
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
1255
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
1256
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
1257
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
}, "strip", z.ZodTypeAny, {
|
|
1260
|
+
path: string;
|
|
1261
|
+
repo?: string | undefined;
|
|
1262
|
+
file?: string | undefined;
|
|
1263
|
+
sha256?: string | undefined;
|
|
1264
|
+
bytes?: number | undefined;
|
|
1265
|
+
rev?: string | undefined;
|
|
1266
|
+
}, {
|
|
1267
|
+
path: string;
|
|
1268
|
+
repo?: string | undefined;
|
|
1269
|
+
file?: string | undefined;
|
|
1270
|
+
sha256?: string | undefined;
|
|
1271
|
+
bytes?: number | undefined;
|
|
1272
|
+
rev?: string | undefined;
|
|
1273
|
+
}>, "many">>;
|
|
753
1274
|
}, "strip", z.ZodTypeAny, {
|
|
754
1275
|
resident_gpu_mib: number;
|
|
755
1276
|
host_rss_mib: number;
|
|
@@ -758,6 +1279,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
758
1279
|
measured_at: string;
|
|
759
1280
|
measured_on: string;
|
|
760
1281
|
note?: string | undefined;
|
|
1282
|
+
files?: {
|
|
1283
|
+
path: string;
|
|
1284
|
+
repo?: string | undefined;
|
|
1285
|
+
file?: string | undefined;
|
|
1286
|
+
sha256?: string | undefined;
|
|
1287
|
+
bytes?: number | undefined;
|
|
1288
|
+
rev?: string | undefined;
|
|
1289
|
+
}[] | undefined;
|
|
761
1290
|
service?: string | undefined;
|
|
762
1291
|
engine?: string | undefined;
|
|
763
1292
|
unit?: string | undefined;
|
|
@@ -775,6 +1304,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
775
1304
|
measured_at: string;
|
|
776
1305
|
measured_on: string;
|
|
777
1306
|
note?: string | undefined;
|
|
1307
|
+
files?: {
|
|
1308
|
+
path: string;
|
|
1309
|
+
repo?: string | undefined;
|
|
1310
|
+
file?: string | undefined;
|
|
1311
|
+
sha256?: string | undefined;
|
|
1312
|
+
bytes?: number | undefined;
|
|
1313
|
+
rev?: string | undefined;
|
|
1314
|
+
}[] | undefined;
|
|
778
1315
|
service?: string | undefined;
|
|
779
1316
|
engine?: string | undefined;
|
|
780
1317
|
unit?: string | undefined;
|
|
@@ -796,9 +1333,50 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
796
1333
|
note: z.ZodOptional<z.ZodString>;
|
|
797
1334
|
flags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
798
1335
|
rails: z.ZodOptional<z.ZodNumber>;
|
|
1336
|
+
/** Weight/artifact files this config needs on disk, with source and
|
|
1337
|
+
* integrity facts. `uap models ensure` checks presence + size (a stat,
|
|
1338
|
+
* cheap enough for a unit preflight) and re-downloads what a deletion
|
|
1339
|
+
* or truncation removed; sha256 is verified after a download and on
|
|
1340
|
+
* --verify. A file without `repo` is check-only: its deletion is
|
|
1341
|
+
* reported, not repaired — the source is unknown and is never guessed.
|
|
1342
|
+
* Downloads land only inside $HOME (a cloned repo must not get to write
|
|
1343
|
+
* elsewhere). */
|
|
1344
|
+
files: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1345
|
+
path: z.ZodString;
|
|
1346
|
+
repo: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1348
|
+
/** Repo revision to fetch from, when the file is not on main
|
|
1349
|
+
* (e.g. unsloth deleted Qwen3.8-27B-Q4_K_M.gguf from main on
|
|
1350
|
+
* 2026-08-19; only the pinned rev still serves it). */
|
|
1351
|
+
rev: z.ZodOptional<z.ZodString>;
|
|
1352
|
+
bytes: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
}, "strip", z.ZodTypeAny, {
|
|
1355
|
+
path: string;
|
|
1356
|
+
repo?: string | undefined;
|
|
1357
|
+
file?: string | undefined;
|
|
1358
|
+
sha256?: string | undefined;
|
|
1359
|
+
bytes?: number | undefined;
|
|
1360
|
+
rev?: string | undefined;
|
|
1361
|
+
}, {
|
|
1362
|
+
path: string;
|
|
1363
|
+
repo?: string | undefined;
|
|
1364
|
+
file?: string | undefined;
|
|
1365
|
+
sha256?: string | undefined;
|
|
1366
|
+
bytes?: number | undefined;
|
|
1367
|
+
rev?: string | undefined;
|
|
1368
|
+
}>, "many">>;
|
|
799
1369
|
}, "strip", z.ZodTypeAny, {
|
|
800
1370
|
status: "unmeasured";
|
|
801
1371
|
note?: string | undefined;
|
|
1372
|
+
files?: {
|
|
1373
|
+
path: string;
|
|
1374
|
+
repo?: string | undefined;
|
|
1375
|
+
file?: string | undefined;
|
|
1376
|
+
sha256?: string | undefined;
|
|
1377
|
+
bytes?: number | undefined;
|
|
1378
|
+
rev?: string | undefined;
|
|
1379
|
+
}[] | undefined;
|
|
802
1380
|
service?: string | undefined;
|
|
803
1381
|
engine?: string | undefined;
|
|
804
1382
|
unit?: string | undefined;
|
|
@@ -808,6 +1386,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
808
1386
|
}, {
|
|
809
1387
|
status: "unmeasured";
|
|
810
1388
|
note?: string | undefined;
|
|
1389
|
+
files?: {
|
|
1390
|
+
path: string;
|
|
1391
|
+
repo?: string | undefined;
|
|
1392
|
+
file?: string | undefined;
|
|
1393
|
+
sha256?: string | undefined;
|
|
1394
|
+
bytes?: number | undefined;
|
|
1395
|
+
rev?: string | undefined;
|
|
1396
|
+
}[] | undefined;
|
|
811
1397
|
service?: string | undefined;
|
|
812
1398
|
engine?: string | undefined;
|
|
813
1399
|
unit?: string | undefined;
|
|
@@ -825,6 +1411,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
825
1411
|
measured_at: string;
|
|
826
1412
|
measured_on: string;
|
|
827
1413
|
note?: string | undefined;
|
|
1414
|
+
files?: {
|
|
1415
|
+
path: string;
|
|
1416
|
+
repo?: string | undefined;
|
|
1417
|
+
file?: string | undefined;
|
|
1418
|
+
sha256?: string | undefined;
|
|
1419
|
+
bytes?: number | undefined;
|
|
1420
|
+
rev?: string | undefined;
|
|
1421
|
+
}[] | undefined;
|
|
828
1422
|
service?: string | undefined;
|
|
829
1423
|
engine?: string | undefined;
|
|
830
1424
|
unit?: string | undefined;
|
|
@@ -837,6 +1431,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
837
1431
|
} | {
|
|
838
1432
|
status: "unmeasured";
|
|
839
1433
|
note?: string | undefined;
|
|
1434
|
+
files?: {
|
|
1435
|
+
path: string;
|
|
1436
|
+
repo?: string | undefined;
|
|
1437
|
+
file?: string | undefined;
|
|
1438
|
+
sha256?: string | undefined;
|
|
1439
|
+
bytes?: number | undefined;
|
|
1440
|
+
rev?: string | undefined;
|
|
1441
|
+
}[] | undefined;
|
|
840
1442
|
service?: string | undefined;
|
|
841
1443
|
engine?: string | undefined;
|
|
842
1444
|
unit?: string | undefined;
|
|
@@ -864,6 +1466,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
864
1466
|
measured_at: string;
|
|
865
1467
|
measured_on: string;
|
|
866
1468
|
note?: string | undefined;
|
|
1469
|
+
files?: {
|
|
1470
|
+
path: string;
|
|
1471
|
+
repo?: string | undefined;
|
|
1472
|
+
file?: string | undefined;
|
|
1473
|
+
sha256?: string | undefined;
|
|
1474
|
+
bytes?: number | undefined;
|
|
1475
|
+
rev?: string | undefined;
|
|
1476
|
+
}[] | undefined;
|
|
867
1477
|
service?: string | undefined;
|
|
868
1478
|
engine?: string | undefined;
|
|
869
1479
|
unit?: string | undefined;
|
|
@@ -876,6 +1486,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
876
1486
|
} | {
|
|
877
1487
|
status: "unmeasured";
|
|
878
1488
|
note?: string | undefined;
|
|
1489
|
+
files?: {
|
|
1490
|
+
path: string;
|
|
1491
|
+
repo?: string | undefined;
|
|
1492
|
+
file?: string | undefined;
|
|
1493
|
+
sha256?: string | undefined;
|
|
1494
|
+
bytes?: number | undefined;
|
|
1495
|
+
rev?: string | undefined;
|
|
1496
|
+
}[] | undefined;
|
|
879
1497
|
service?: string | undefined;
|
|
880
1498
|
engine?: string | undefined;
|
|
881
1499
|
unit?: string | undefined;
|
|
@@ -906,6 +1524,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
906
1524
|
measured_at: string;
|
|
907
1525
|
measured_on: string;
|
|
908
1526
|
note?: string | undefined;
|
|
1527
|
+
files?: {
|
|
1528
|
+
path: string;
|
|
1529
|
+
repo?: string | undefined;
|
|
1530
|
+
file?: string | undefined;
|
|
1531
|
+
sha256?: string | undefined;
|
|
1532
|
+
bytes?: number | undefined;
|
|
1533
|
+
rev?: string | undefined;
|
|
1534
|
+
}[] | undefined;
|
|
909
1535
|
service?: string | undefined;
|
|
910
1536
|
engine?: string | undefined;
|
|
911
1537
|
unit?: string | undefined;
|
|
@@ -918,6 +1544,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
918
1544
|
} | {
|
|
919
1545
|
status: "unmeasured";
|
|
920
1546
|
note?: string | undefined;
|
|
1547
|
+
files?: {
|
|
1548
|
+
path: string;
|
|
1549
|
+
repo?: string | undefined;
|
|
1550
|
+
file?: string | undefined;
|
|
1551
|
+
sha256?: string | undefined;
|
|
1552
|
+
bytes?: number | undefined;
|
|
1553
|
+
rev?: string | undefined;
|
|
1554
|
+
}[] | undefined;
|
|
921
1555
|
service?: string | undefined;
|
|
922
1556
|
engine?: string | undefined;
|
|
923
1557
|
unit?: string | undefined;
|
|
@@ -955,6 +1589,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
955
1589
|
measured_at: string;
|
|
956
1590
|
measured_on: string;
|
|
957
1591
|
note?: string | undefined;
|
|
1592
|
+
files?: {
|
|
1593
|
+
path: string;
|
|
1594
|
+
repo?: string | undefined;
|
|
1595
|
+
file?: string | undefined;
|
|
1596
|
+
sha256?: string | undefined;
|
|
1597
|
+
bytes?: number | undefined;
|
|
1598
|
+
rev?: string | undefined;
|
|
1599
|
+
}[] | undefined;
|
|
958
1600
|
service?: string | undefined;
|
|
959
1601
|
engine?: string | undefined;
|
|
960
1602
|
unit?: string | undefined;
|
|
@@ -967,6 +1609,14 @@ export declare const RegistryOverlaySchema: z.ZodObject<{
|
|
|
967
1609
|
} | {
|
|
968
1610
|
status: "unmeasured";
|
|
969
1611
|
note?: string | undefined;
|
|
1612
|
+
files?: {
|
|
1613
|
+
path: string;
|
|
1614
|
+
repo?: string | undefined;
|
|
1615
|
+
file?: string | undefined;
|
|
1616
|
+
sha256?: string | undefined;
|
|
1617
|
+
bytes?: number | undefined;
|
|
1618
|
+
rev?: string | undefined;
|
|
1619
|
+
}[] | undefined;
|
|
970
1620
|
service?: string | undefined;
|
|
971
1621
|
engine?: string | undefined;
|
|
972
1622
|
unit?: string | undefined;
|