@otto-code/brain 0.8.6 → 0.8.8
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/dist/cli.js +2 -1
- package/dist/commands/catalog.d.ts +2 -0
- package/dist/commands/catalog.js +1 -0
- package/dist/commands/pull.d.ts +1 -0
- package/dist/commands/pull.js +55 -3
- package/dist/commands/runtime.d.ts +3 -0
- package/dist/commands/runtime.js +65 -18
- package/dist/commands/search.d.ts +3 -0
- package/dist/commands/search.js +36 -7
- package/dist/config/profile-edit.d.ts +1 -1
- package/dist/config/profile-edit.js +40 -10
- package/dist/config/profiles.js +69 -13
- package/dist/config/schema.d.ts +528 -0
- package/dist/config/schema.js +24 -0
- package/dist/config/store.js +16 -14
- package/dist/models/download.d.ts +7 -0
- package/dist/models/download.js +160 -17
- package/dist/models/enrich.d.ts +0 -19
- package/dist/models/enrich.js +95 -4
- package/dist/models/hf.d.ts +14 -1
- package/dist/models/hf.js +239 -6
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +8 -5
- package/dist/models/manage.d.ts +4 -0
- package/dist/models/manage.js +34 -4
- package/dist/models/scan.js +8 -42
- package/dist/runtime/args.js +5 -0
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/runtime/managed.d.ts +40 -0
- package/dist/runtime/managed.js +146 -7
- package/dist/service/host-api.d.ts +3 -2
- package/dist/service/host-api.js +118 -8
- package/dist/service/serve.js +39 -12
- package/dist/types.d.ts +20 -0
- package/dist/vram.d.ts +3 -0
- package/dist/vram.js +21 -3
- package/package.json +1 -1
package/dist/config/schema.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
10
10
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
14
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
15
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
16
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
13
17
|
contextSize: z.ZodNumber;
|
|
14
18
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
15
19
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -26,6 +30,10 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
26
30
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
27
31
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
28
32
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
34
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
35
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
36
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29
37
|
contextSize: z.ZodNumber;
|
|
30
38
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
31
39
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -42,6 +50,10 @@ export declare const ProfileSchema: z.ZodObject<{
|
|
|
42
50
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
43
51
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
44
52
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
54
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
55
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
56
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
45
57
|
contextSize: z.ZodNumber;
|
|
46
58
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
47
59
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -153,6 +165,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
153
165
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
154
166
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
155
167
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
168
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
169
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
170
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
171
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
156
172
|
contextSize: z.ZodNumber;
|
|
157
173
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
158
174
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -169,6 +185,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
169
185
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
170
186
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
171
187
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
188
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
189
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
190
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
191
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
172
192
|
contextSize: z.ZodNumber;
|
|
173
193
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
174
194
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -185,6 +205,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
185
205
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
186
206
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
187
207
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
208
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
209
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
210
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
211
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
188
212
|
contextSize: z.ZodNumber;
|
|
189
213
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
190
214
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -281,6 +305,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
281
305
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
282
306
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
283
307
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
308
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
309
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
310
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
311
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
284
312
|
contextSize: z.ZodNumber;
|
|
285
313
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
286
314
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -297,6 +325,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
297
325
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
298
326
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
299
327
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
328
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
329
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
330
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
331
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
300
332
|
contextSize: z.ZodNumber;
|
|
301
333
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
302
334
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -313,6 +345,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
313
345
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
314
346
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
315
347
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
348
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
349
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
350
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
351
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
316
352
|
contextSize: z.ZodNumber;
|
|
317
353
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
318
354
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -409,6 +445,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
409
445
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
410
446
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
411
447
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
448
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
449
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
450
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
451
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
412
452
|
contextSize: z.ZodNumber;
|
|
413
453
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
414
454
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -425,6 +465,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
425
465
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
426
466
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
427
467
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
468
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
469
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
470
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
471
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
428
472
|
contextSize: z.ZodNumber;
|
|
429
473
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
430
474
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -441,6 +485,10 @@ export declare const ProfilesStoreSchema: z.ZodObject<{
|
|
|
441
485
|
modelId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
442
486
|
modelPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
443
487
|
mmprojPath: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
488
|
+
/** Stable bundle component ids enabled for this load. Paths are re-derived. */
|
|
489
|
+
enabledComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
490
|
+
/** Derived component paths for the launcher; never accepted from clients. */
|
|
491
|
+
componentPaths: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
444
492
|
contextSize: z.ZodNumber;
|
|
445
493
|
cacheTypeK: z.ZodDefault<z.ZodString>;
|
|
446
494
|
cacheTypeV: z.ZodDefault<z.ZodString>;
|
|
@@ -808,6 +856,8 @@ export type BrainConfig = z.infer<typeof BrainConfigSchema>;
|
|
|
808
856
|
export declare const DEFAULT_BRAIN_CONFIG: BrainConfig;
|
|
809
857
|
export declare const CatalogModelSchema: z.ZodObject<{
|
|
810
858
|
id: z.ZodString;
|
|
859
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
860
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
811
861
|
name: z.ZodString;
|
|
812
862
|
publisher: z.ZodOptional<z.ZodString>;
|
|
813
863
|
hfRepo: z.ZodString;
|
|
@@ -824,8 +874,48 @@ export declare const CatalogModelSchema: z.ZodObject<{
|
|
|
824
874
|
tier: z.ZodOptional<z.ZodString>;
|
|
825
875
|
why: z.ZodOptional<z.ZodString>;
|
|
826
876
|
status: z.ZodOptional<z.ZodString>;
|
|
877
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
878
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
|
+
id: z.ZodString;
|
|
880
|
+
label: z.ZodString;
|
|
881
|
+
description: z.ZodString;
|
|
882
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
883
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
884
|
+
file: z.ZodString;
|
|
885
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
886
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
887
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
888
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
889
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
890
|
+
}, "strict", z.ZodTypeAny, {
|
|
891
|
+
id: string;
|
|
892
|
+
label: string;
|
|
893
|
+
description: string;
|
|
894
|
+
role: "vision_projector" | "speculative_drafter";
|
|
895
|
+
file: string;
|
|
896
|
+
required: boolean;
|
|
897
|
+
defaultDownload: boolean;
|
|
898
|
+
defaultLoad: boolean;
|
|
899
|
+
hfRepo?: string | undefined;
|
|
900
|
+
bytes?: number | null | undefined;
|
|
901
|
+
minRuntimeBuild?: number | undefined;
|
|
902
|
+
}, {
|
|
903
|
+
id: string;
|
|
904
|
+
label: string;
|
|
905
|
+
description: string;
|
|
906
|
+
role: "vision_projector" | "speculative_drafter";
|
|
907
|
+
file: string;
|
|
908
|
+
hfRepo?: string | undefined;
|
|
909
|
+
bytes?: number | null | undefined;
|
|
910
|
+
required?: boolean | undefined;
|
|
911
|
+
defaultDownload?: boolean | undefined;
|
|
912
|
+
defaultLoad?: boolean | undefined;
|
|
913
|
+
minRuntimeBuild?: number | undefined;
|
|
914
|
+
}>, "many">>;
|
|
827
915
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
828
916
|
id: z.ZodString;
|
|
917
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
918
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
829
919
|
name: z.ZodString;
|
|
830
920
|
publisher: z.ZodOptional<z.ZodString>;
|
|
831
921
|
hfRepo: z.ZodString;
|
|
@@ -842,8 +932,48 @@ export declare const CatalogModelSchema: z.ZodObject<{
|
|
|
842
932
|
tier: z.ZodOptional<z.ZodString>;
|
|
843
933
|
why: z.ZodOptional<z.ZodString>;
|
|
844
934
|
status: z.ZodOptional<z.ZodString>;
|
|
935
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
936
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
937
|
+
id: z.ZodString;
|
|
938
|
+
label: z.ZodString;
|
|
939
|
+
description: z.ZodString;
|
|
940
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
941
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
942
|
+
file: z.ZodString;
|
|
943
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
944
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
945
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
946
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
947
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
948
|
+
}, "strict", z.ZodTypeAny, {
|
|
949
|
+
id: string;
|
|
950
|
+
label: string;
|
|
951
|
+
description: string;
|
|
952
|
+
role: "vision_projector" | "speculative_drafter";
|
|
953
|
+
file: string;
|
|
954
|
+
required: boolean;
|
|
955
|
+
defaultDownload: boolean;
|
|
956
|
+
defaultLoad: boolean;
|
|
957
|
+
hfRepo?: string | undefined;
|
|
958
|
+
bytes?: number | null | undefined;
|
|
959
|
+
minRuntimeBuild?: number | undefined;
|
|
960
|
+
}, {
|
|
961
|
+
id: string;
|
|
962
|
+
label: string;
|
|
963
|
+
description: string;
|
|
964
|
+
role: "vision_projector" | "speculative_drafter";
|
|
965
|
+
file: string;
|
|
966
|
+
hfRepo?: string | undefined;
|
|
967
|
+
bytes?: number | null | undefined;
|
|
968
|
+
required?: boolean | undefined;
|
|
969
|
+
defaultDownload?: boolean | undefined;
|
|
970
|
+
defaultLoad?: boolean | undefined;
|
|
971
|
+
minRuntimeBuild?: number | undefined;
|
|
972
|
+
}>, "many">>;
|
|
845
973
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
846
974
|
id: z.ZodString;
|
|
975
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
976
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
847
977
|
name: z.ZodString;
|
|
848
978
|
publisher: z.ZodOptional<z.ZodString>;
|
|
849
979
|
hfRepo: z.ZodString;
|
|
@@ -860,6 +990,44 @@ export declare const CatalogModelSchema: z.ZodObject<{
|
|
|
860
990
|
tier: z.ZodOptional<z.ZodString>;
|
|
861
991
|
why: z.ZodOptional<z.ZodString>;
|
|
862
992
|
status: z.ZodOptional<z.ZodString>;
|
|
993
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
994
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
995
|
+
id: z.ZodString;
|
|
996
|
+
label: z.ZodString;
|
|
997
|
+
description: z.ZodString;
|
|
998
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
999
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
file: z.ZodString;
|
|
1001
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1002
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1003
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1004
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1005
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1006
|
+
}, "strict", z.ZodTypeAny, {
|
|
1007
|
+
id: string;
|
|
1008
|
+
label: string;
|
|
1009
|
+
description: string;
|
|
1010
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1011
|
+
file: string;
|
|
1012
|
+
required: boolean;
|
|
1013
|
+
defaultDownload: boolean;
|
|
1014
|
+
defaultLoad: boolean;
|
|
1015
|
+
hfRepo?: string | undefined;
|
|
1016
|
+
bytes?: number | null | undefined;
|
|
1017
|
+
minRuntimeBuild?: number | undefined;
|
|
1018
|
+
}, {
|
|
1019
|
+
id: string;
|
|
1020
|
+
label: string;
|
|
1021
|
+
description: string;
|
|
1022
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1023
|
+
file: string;
|
|
1024
|
+
hfRepo?: string | undefined;
|
|
1025
|
+
bytes?: number | null | undefined;
|
|
1026
|
+
required?: boolean | undefined;
|
|
1027
|
+
defaultDownload?: boolean | undefined;
|
|
1028
|
+
defaultLoad?: boolean | undefined;
|
|
1029
|
+
minRuntimeBuild?: number | undefined;
|
|
1030
|
+
}>, "many">>;
|
|
863
1031
|
}, z.ZodTypeAny, "passthrough">>;
|
|
864
1032
|
export type CatalogModel = z.infer<typeof CatalogModelSchema>;
|
|
865
1033
|
export declare const CatalogSchema: z.ZodObject<{
|
|
@@ -869,6 +1037,8 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
869
1037
|
systemRamBytes: z.ZodOptional<z.ZodNumber>;
|
|
870
1038
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
871
1039
|
id: z.ZodString;
|
|
1040
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1041
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
872
1042
|
name: z.ZodString;
|
|
873
1043
|
publisher: z.ZodOptional<z.ZodString>;
|
|
874
1044
|
hfRepo: z.ZodString;
|
|
@@ -885,8 +1055,48 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
885
1055
|
tier: z.ZodOptional<z.ZodString>;
|
|
886
1056
|
why: z.ZodOptional<z.ZodString>;
|
|
887
1057
|
status: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1059
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1060
|
+
id: z.ZodString;
|
|
1061
|
+
label: z.ZodString;
|
|
1062
|
+
description: z.ZodString;
|
|
1063
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1064
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1065
|
+
file: z.ZodString;
|
|
1066
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1067
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1068
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1069
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1070
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1071
|
+
}, "strict", z.ZodTypeAny, {
|
|
1072
|
+
id: string;
|
|
1073
|
+
label: string;
|
|
1074
|
+
description: string;
|
|
1075
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1076
|
+
file: string;
|
|
1077
|
+
required: boolean;
|
|
1078
|
+
defaultDownload: boolean;
|
|
1079
|
+
defaultLoad: boolean;
|
|
1080
|
+
hfRepo?: string | undefined;
|
|
1081
|
+
bytes?: number | null | undefined;
|
|
1082
|
+
minRuntimeBuild?: number | undefined;
|
|
1083
|
+
}, {
|
|
1084
|
+
id: string;
|
|
1085
|
+
label: string;
|
|
1086
|
+
description: string;
|
|
1087
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1088
|
+
file: string;
|
|
1089
|
+
hfRepo?: string | undefined;
|
|
1090
|
+
bytes?: number | null | undefined;
|
|
1091
|
+
required?: boolean | undefined;
|
|
1092
|
+
defaultDownload?: boolean | undefined;
|
|
1093
|
+
defaultLoad?: boolean | undefined;
|
|
1094
|
+
minRuntimeBuild?: number | undefined;
|
|
1095
|
+
}>, "many">>;
|
|
888
1096
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
889
1097
|
id: z.ZodString;
|
|
1098
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1099
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
890
1100
|
name: z.ZodString;
|
|
891
1101
|
publisher: z.ZodOptional<z.ZodString>;
|
|
892
1102
|
hfRepo: z.ZodString;
|
|
@@ -903,8 +1113,48 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
903
1113
|
tier: z.ZodOptional<z.ZodString>;
|
|
904
1114
|
why: z.ZodOptional<z.ZodString>;
|
|
905
1115
|
status: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1117
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1118
|
+
id: z.ZodString;
|
|
1119
|
+
label: z.ZodString;
|
|
1120
|
+
description: z.ZodString;
|
|
1121
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1122
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
file: z.ZodString;
|
|
1124
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1125
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1126
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1127
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1128
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1129
|
+
}, "strict", z.ZodTypeAny, {
|
|
1130
|
+
id: string;
|
|
1131
|
+
label: string;
|
|
1132
|
+
description: string;
|
|
1133
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1134
|
+
file: string;
|
|
1135
|
+
required: boolean;
|
|
1136
|
+
defaultDownload: boolean;
|
|
1137
|
+
defaultLoad: boolean;
|
|
1138
|
+
hfRepo?: string | undefined;
|
|
1139
|
+
bytes?: number | null | undefined;
|
|
1140
|
+
minRuntimeBuild?: number | undefined;
|
|
1141
|
+
}, {
|
|
1142
|
+
id: string;
|
|
1143
|
+
label: string;
|
|
1144
|
+
description: string;
|
|
1145
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1146
|
+
file: string;
|
|
1147
|
+
hfRepo?: string | undefined;
|
|
1148
|
+
bytes?: number | null | undefined;
|
|
1149
|
+
required?: boolean | undefined;
|
|
1150
|
+
defaultDownload?: boolean | undefined;
|
|
1151
|
+
defaultLoad?: boolean | undefined;
|
|
1152
|
+
minRuntimeBuild?: number | undefined;
|
|
1153
|
+
}>, "many">>;
|
|
906
1154
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
907
1155
|
id: z.ZodString;
|
|
1156
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1157
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
908
1158
|
name: z.ZodString;
|
|
909
1159
|
publisher: z.ZodOptional<z.ZodString>;
|
|
910
1160
|
hfRepo: z.ZodString;
|
|
@@ -921,6 +1171,44 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
921
1171
|
tier: z.ZodOptional<z.ZodString>;
|
|
922
1172
|
why: z.ZodOptional<z.ZodString>;
|
|
923
1173
|
status: z.ZodOptional<z.ZodString>;
|
|
1174
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1175
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1176
|
+
id: z.ZodString;
|
|
1177
|
+
label: z.ZodString;
|
|
1178
|
+
description: z.ZodString;
|
|
1179
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1180
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1181
|
+
file: z.ZodString;
|
|
1182
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1183
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1184
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1185
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1186
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1187
|
+
}, "strict", z.ZodTypeAny, {
|
|
1188
|
+
id: string;
|
|
1189
|
+
label: string;
|
|
1190
|
+
description: string;
|
|
1191
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1192
|
+
file: string;
|
|
1193
|
+
required: boolean;
|
|
1194
|
+
defaultDownload: boolean;
|
|
1195
|
+
defaultLoad: boolean;
|
|
1196
|
+
hfRepo?: string | undefined;
|
|
1197
|
+
bytes?: number | null | undefined;
|
|
1198
|
+
minRuntimeBuild?: number | undefined;
|
|
1199
|
+
}, {
|
|
1200
|
+
id: string;
|
|
1201
|
+
label: string;
|
|
1202
|
+
description: string;
|
|
1203
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1204
|
+
file: string;
|
|
1205
|
+
hfRepo?: string | undefined;
|
|
1206
|
+
bytes?: number | null | undefined;
|
|
1207
|
+
required?: boolean | undefined;
|
|
1208
|
+
defaultDownload?: boolean | undefined;
|
|
1209
|
+
defaultLoad?: boolean | undefined;
|
|
1210
|
+
minRuntimeBuild?: number | undefined;
|
|
1211
|
+
}>, "many">>;
|
|
924
1212
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
925
1213
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
926
1214
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -929,6 +1217,8 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
929
1217
|
systemRamBytes: z.ZodOptional<z.ZodNumber>;
|
|
930
1218
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
931
1219
|
id: z.ZodString;
|
|
1220
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1221
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
932
1222
|
name: z.ZodString;
|
|
933
1223
|
publisher: z.ZodOptional<z.ZodString>;
|
|
934
1224
|
hfRepo: z.ZodString;
|
|
@@ -945,8 +1235,48 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
945
1235
|
tier: z.ZodOptional<z.ZodString>;
|
|
946
1236
|
why: z.ZodOptional<z.ZodString>;
|
|
947
1237
|
status: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1239
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1240
|
+
id: z.ZodString;
|
|
1241
|
+
label: z.ZodString;
|
|
1242
|
+
description: z.ZodString;
|
|
1243
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1244
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1245
|
+
file: z.ZodString;
|
|
1246
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1247
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1248
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1249
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1250
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1251
|
+
}, "strict", z.ZodTypeAny, {
|
|
1252
|
+
id: string;
|
|
1253
|
+
label: string;
|
|
1254
|
+
description: string;
|
|
1255
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1256
|
+
file: string;
|
|
1257
|
+
required: boolean;
|
|
1258
|
+
defaultDownload: boolean;
|
|
1259
|
+
defaultLoad: boolean;
|
|
1260
|
+
hfRepo?: string | undefined;
|
|
1261
|
+
bytes?: number | null | undefined;
|
|
1262
|
+
minRuntimeBuild?: number | undefined;
|
|
1263
|
+
}, {
|
|
1264
|
+
id: string;
|
|
1265
|
+
label: string;
|
|
1266
|
+
description: string;
|
|
1267
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1268
|
+
file: string;
|
|
1269
|
+
hfRepo?: string | undefined;
|
|
1270
|
+
bytes?: number | null | undefined;
|
|
1271
|
+
required?: boolean | undefined;
|
|
1272
|
+
defaultDownload?: boolean | undefined;
|
|
1273
|
+
defaultLoad?: boolean | undefined;
|
|
1274
|
+
minRuntimeBuild?: number | undefined;
|
|
1275
|
+
}>, "many">>;
|
|
948
1276
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
949
1277
|
id: z.ZodString;
|
|
1278
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1279
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
950
1280
|
name: z.ZodString;
|
|
951
1281
|
publisher: z.ZodOptional<z.ZodString>;
|
|
952
1282
|
hfRepo: z.ZodString;
|
|
@@ -963,8 +1293,48 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
963
1293
|
tier: z.ZodOptional<z.ZodString>;
|
|
964
1294
|
why: z.ZodOptional<z.ZodString>;
|
|
965
1295
|
status: z.ZodOptional<z.ZodString>;
|
|
1296
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1297
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1298
|
+
id: z.ZodString;
|
|
1299
|
+
label: z.ZodString;
|
|
1300
|
+
description: z.ZodString;
|
|
1301
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1302
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1303
|
+
file: z.ZodString;
|
|
1304
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1305
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1306
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1307
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1308
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1309
|
+
}, "strict", z.ZodTypeAny, {
|
|
1310
|
+
id: string;
|
|
1311
|
+
label: string;
|
|
1312
|
+
description: string;
|
|
1313
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1314
|
+
file: string;
|
|
1315
|
+
required: boolean;
|
|
1316
|
+
defaultDownload: boolean;
|
|
1317
|
+
defaultLoad: boolean;
|
|
1318
|
+
hfRepo?: string | undefined;
|
|
1319
|
+
bytes?: number | null | undefined;
|
|
1320
|
+
minRuntimeBuild?: number | undefined;
|
|
1321
|
+
}, {
|
|
1322
|
+
id: string;
|
|
1323
|
+
label: string;
|
|
1324
|
+
description: string;
|
|
1325
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1326
|
+
file: string;
|
|
1327
|
+
hfRepo?: string | undefined;
|
|
1328
|
+
bytes?: number | null | undefined;
|
|
1329
|
+
required?: boolean | undefined;
|
|
1330
|
+
defaultDownload?: boolean | undefined;
|
|
1331
|
+
defaultLoad?: boolean | undefined;
|
|
1332
|
+
minRuntimeBuild?: number | undefined;
|
|
1333
|
+
}>, "many">>;
|
|
966
1334
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
967
1335
|
id: z.ZodString;
|
|
1336
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1337
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
968
1338
|
name: z.ZodString;
|
|
969
1339
|
publisher: z.ZodOptional<z.ZodString>;
|
|
970
1340
|
hfRepo: z.ZodString;
|
|
@@ -981,6 +1351,44 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
981
1351
|
tier: z.ZodOptional<z.ZodString>;
|
|
982
1352
|
why: z.ZodOptional<z.ZodString>;
|
|
983
1353
|
status: z.ZodOptional<z.ZodString>;
|
|
1354
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1355
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1356
|
+
id: z.ZodString;
|
|
1357
|
+
label: z.ZodString;
|
|
1358
|
+
description: z.ZodString;
|
|
1359
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1360
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1361
|
+
file: z.ZodString;
|
|
1362
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1363
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1364
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1365
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1366
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
}, "strict", z.ZodTypeAny, {
|
|
1368
|
+
id: string;
|
|
1369
|
+
label: string;
|
|
1370
|
+
description: string;
|
|
1371
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1372
|
+
file: string;
|
|
1373
|
+
required: boolean;
|
|
1374
|
+
defaultDownload: boolean;
|
|
1375
|
+
defaultLoad: boolean;
|
|
1376
|
+
hfRepo?: string | undefined;
|
|
1377
|
+
bytes?: number | null | undefined;
|
|
1378
|
+
minRuntimeBuild?: number | undefined;
|
|
1379
|
+
}, {
|
|
1380
|
+
id: string;
|
|
1381
|
+
label: string;
|
|
1382
|
+
description: string;
|
|
1383
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1384
|
+
file: string;
|
|
1385
|
+
hfRepo?: string | undefined;
|
|
1386
|
+
bytes?: number | null | undefined;
|
|
1387
|
+
required?: boolean | undefined;
|
|
1388
|
+
defaultDownload?: boolean | undefined;
|
|
1389
|
+
defaultLoad?: boolean | undefined;
|
|
1390
|
+
minRuntimeBuild?: number | undefined;
|
|
1391
|
+
}>, "many">>;
|
|
984
1392
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
985
1393
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
986
1394
|
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
@@ -989,6 +1397,8 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
989
1397
|
systemRamBytes: z.ZodOptional<z.ZodNumber>;
|
|
990
1398
|
models: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
991
1399
|
id: z.ZodString;
|
|
1400
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1401
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
992
1402
|
name: z.ZodString;
|
|
993
1403
|
publisher: z.ZodOptional<z.ZodString>;
|
|
994
1404
|
hfRepo: z.ZodString;
|
|
@@ -1005,8 +1415,48 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
1005
1415
|
tier: z.ZodOptional<z.ZodString>;
|
|
1006
1416
|
why: z.ZodOptional<z.ZodString>;
|
|
1007
1417
|
status: z.ZodOptional<z.ZodString>;
|
|
1418
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1419
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1420
|
+
id: z.ZodString;
|
|
1421
|
+
label: z.ZodString;
|
|
1422
|
+
description: z.ZodString;
|
|
1423
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1424
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
file: z.ZodString;
|
|
1426
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1427
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1428
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1429
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1430
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1431
|
+
}, "strict", z.ZodTypeAny, {
|
|
1432
|
+
id: string;
|
|
1433
|
+
label: string;
|
|
1434
|
+
description: string;
|
|
1435
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1436
|
+
file: string;
|
|
1437
|
+
required: boolean;
|
|
1438
|
+
defaultDownload: boolean;
|
|
1439
|
+
defaultLoad: boolean;
|
|
1440
|
+
hfRepo?: string | undefined;
|
|
1441
|
+
bytes?: number | null | undefined;
|
|
1442
|
+
minRuntimeBuild?: number | undefined;
|
|
1443
|
+
}, {
|
|
1444
|
+
id: string;
|
|
1445
|
+
label: string;
|
|
1446
|
+
description: string;
|
|
1447
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1448
|
+
file: string;
|
|
1449
|
+
hfRepo?: string | undefined;
|
|
1450
|
+
bytes?: number | null | undefined;
|
|
1451
|
+
required?: boolean | undefined;
|
|
1452
|
+
defaultDownload?: boolean | undefined;
|
|
1453
|
+
defaultLoad?: boolean | undefined;
|
|
1454
|
+
minRuntimeBuild?: number | undefined;
|
|
1455
|
+
}>, "many">>;
|
|
1008
1456
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1009
1457
|
id: z.ZodString;
|
|
1458
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1459
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1010
1460
|
name: z.ZodString;
|
|
1011
1461
|
publisher: z.ZodOptional<z.ZodString>;
|
|
1012
1462
|
hfRepo: z.ZodString;
|
|
@@ -1023,8 +1473,48 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
1023
1473
|
tier: z.ZodOptional<z.ZodString>;
|
|
1024
1474
|
why: z.ZodOptional<z.ZodString>;
|
|
1025
1475
|
status: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1477
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1478
|
+
id: z.ZodString;
|
|
1479
|
+
label: z.ZodString;
|
|
1480
|
+
description: z.ZodString;
|
|
1481
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1482
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1483
|
+
file: z.ZodString;
|
|
1484
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1485
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1486
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1487
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1488
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1489
|
+
}, "strict", z.ZodTypeAny, {
|
|
1490
|
+
id: string;
|
|
1491
|
+
label: string;
|
|
1492
|
+
description: string;
|
|
1493
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1494
|
+
file: string;
|
|
1495
|
+
required: boolean;
|
|
1496
|
+
defaultDownload: boolean;
|
|
1497
|
+
defaultLoad: boolean;
|
|
1498
|
+
hfRepo?: string | undefined;
|
|
1499
|
+
bytes?: number | null | undefined;
|
|
1500
|
+
minRuntimeBuild?: number | undefined;
|
|
1501
|
+
}, {
|
|
1502
|
+
id: string;
|
|
1503
|
+
label: string;
|
|
1504
|
+
description: string;
|
|
1505
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1506
|
+
file: string;
|
|
1507
|
+
hfRepo?: string | undefined;
|
|
1508
|
+
bytes?: number | null | undefined;
|
|
1509
|
+
required?: boolean | undefined;
|
|
1510
|
+
defaultDownload?: boolean | undefined;
|
|
1511
|
+
defaultLoad?: boolean | undefined;
|
|
1512
|
+
minRuntimeBuild?: number | undefined;
|
|
1513
|
+
}>, "many">>;
|
|
1026
1514
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1027
1515
|
id: z.ZodString;
|
|
1516
|
+
/** Retired Otto-curated ids this canonical catalog entry replaces. */
|
|
1517
|
+
replaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1028
1518
|
name: z.ZodString;
|
|
1029
1519
|
publisher: z.ZodOptional<z.ZodString>;
|
|
1030
1520
|
hfRepo: z.ZodString;
|
|
@@ -1041,6 +1531,44 @@ export declare const CatalogSchema: z.ZodObject<{
|
|
|
1041
1531
|
tier: z.ZodOptional<z.ZodString>;
|
|
1042
1532
|
why: z.ZodOptional<z.ZodString>;
|
|
1043
1533
|
status: z.ZodOptional<z.ZodString>;
|
|
1534
|
+
/** Declared only for multi-artifact model bundles. Plain models omit it. */
|
|
1535
|
+
components: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1536
|
+
id: z.ZodString;
|
|
1537
|
+
label: z.ZodString;
|
|
1538
|
+
description: z.ZodString;
|
|
1539
|
+
role: z.ZodEnum<["vision_projector", "speculative_drafter"]>;
|
|
1540
|
+
hfRepo: z.ZodOptional<z.ZodString>;
|
|
1541
|
+
file: z.ZodString;
|
|
1542
|
+
bytes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1543
|
+
required: z.ZodDefault<z.ZodBoolean>;
|
|
1544
|
+
defaultDownload: z.ZodDefault<z.ZodBoolean>;
|
|
1545
|
+
defaultLoad: z.ZodDefault<z.ZodBoolean>;
|
|
1546
|
+
minRuntimeBuild: z.ZodOptional<z.ZodNumber>;
|
|
1547
|
+
}, "strict", z.ZodTypeAny, {
|
|
1548
|
+
id: string;
|
|
1549
|
+
label: string;
|
|
1550
|
+
description: string;
|
|
1551
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1552
|
+
file: string;
|
|
1553
|
+
required: boolean;
|
|
1554
|
+
defaultDownload: boolean;
|
|
1555
|
+
defaultLoad: boolean;
|
|
1556
|
+
hfRepo?: string | undefined;
|
|
1557
|
+
bytes?: number | null | undefined;
|
|
1558
|
+
minRuntimeBuild?: number | undefined;
|
|
1559
|
+
}, {
|
|
1560
|
+
id: string;
|
|
1561
|
+
label: string;
|
|
1562
|
+
description: string;
|
|
1563
|
+
role: "vision_projector" | "speculative_drafter";
|
|
1564
|
+
file: string;
|
|
1565
|
+
hfRepo?: string | undefined;
|
|
1566
|
+
bytes?: number | null | undefined;
|
|
1567
|
+
required?: boolean | undefined;
|
|
1568
|
+
defaultDownload?: boolean | undefined;
|
|
1569
|
+
defaultLoad?: boolean | undefined;
|
|
1570
|
+
minRuntimeBuild?: number | undefined;
|
|
1571
|
+
}>, "many">>;
|
|
1044
1572
|
}, z.ZodTypeAny, "passthrough">>, "many">>;
|
|
1045
1573
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1046
1574
|
export type Catalog = z.infer<typeof CatalogSchema>;
|