@qvac/sdk 0.11.0 → 0.12.0
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/NOTICE +1427 -39
- package/README.md +2 -0
- package/dist/client/api/classify.d.ts +23 -0
- package/dist/client/api/classify.js +43 -0
- package/dist/client/api/get-model-info.d.ts +1 -1
- package/dist/client/api/index.d.ts +4 -0
- package/dist/client/api/index.js +4 -0
- package/dist/client/api/load-model.js +24 -1
- package/dist/client/api/transcribe.d.ts +3 -0
- package/dist/client/api/transcribe.js +13 -2
- package/dist/client/api/video.d.ts +64 -0
- package/dist/client/api/video.js +147 -0
- package/dist/client/api/vla-helpers.d.ts +45 -0
- package/dist/client/api/vla-helpers.js +130 -0
- package/dist/client/api/vla.d.ts +65 -0
- package/dist/client/api/vla.js +109 -0
- package/dist/client/config-loader/resolve-config.node.d.ts +16 -0
- package/dist/client/config-loader/resolve-config.node.js +77 -23
- package/dist/client/plugins-factory.d.ts +8 -0
- package/dist/client/plugins-factory.js +10 -0
- package/dist/client/rpc/bare-client.js +62 -66
- package/dist/client/rpc/ensure-worker-ready.d.ts +9 -0
- package/dist/client/rpc/ensure-worker-ready.js +17 -0
- package/dist/client/rpc/node-rpc-client.js +4 -1
- package/dist/client/rpc/rpc-error.js +14 -1
- package/dist/commands/bundle/bare-pack.d.ts +13 -0
- package/dist/commands/bundle/bare-pack.js +54 -0
- package/dist/commands/bundle/constants.d.ts +7 -0
- package/dist/commands/bundle/constants.js +23 -0
- package/dist/commands/bundle/entry-gen.d.ts +2 -0
- package/dist/commands/bundle/entry-gen.js +48 -0
- package/dist/commands/bundle/index.d.ts +20 -0
- package/dist/commands/bundle/index.js +141 -0
- package/dist/commands/bundle/manifest.d.ts +21 -0
- package/dist/commands/bundle/manifest.js +193 -0
- package/dist/commands/bundle/plugins.d.ts +9 -0
- package/dist/commands/bundle/plugins.js +51 -0
- package/dist/commands/index.d.ts +5 -0
- package/dist/commands/index.js +2 -0
- package/dist/commands/verify/abi.d.ts +52 -0
- package/dist/commands/verify/abi.js +125 -0
- package/dist/commands/verify/addon-source.d.ts +43 -0
- package/dist/commands/verify/addon-source.js +75 -0
- package/dist/commands/verify/bundle-source.d.ts +12 -0
- package/dist/commands/verify/bundle-source.js +53 -0
- package/dist/commands/verify/index.d.ts +59 -0
- package/dist/commands/verify/index.js +371 -0
- package/dist/commands/verify/node-modules-source.d.ts +11 -0
- package/dist/commands/verify/node-modules-source.js +76 -0
- package/dist/commands/verify/prebuilds.d.ts +15 -0
- package/dist/commands/verify/prebuilds.js +39 -0
- package/dist/examples/classification/classify-image.d.ts +2 -0
- package/dist/examples/classification/classify-image.js +23 -0
- package/dist/examples/diffusion-txt2vid.d.ts +2 -0
- package/dist/examples/diffusion-txt2vid.js +81 -0
- package/dist/examples/plugins.js +3 -7
- package/dist/examples/tools/llamacpp-tools-gemma4.js +2 -5
- package/dist/examples/tools/llamacpp-tools-qwen35.js +2 -3
- package/dist/examples/transcription/parakeet-ctc-filesystem.js +18 -12
- package/dist/examples/transcription/parakeet-microphone-record.js +7 -12
- package/dist/examples/transcription/parakeet-microphone-stream.d.ts +2 -0
- package/dist/examples/transcription/parakeet-microphone-stream.js +79 -0
- package/dist/examples/transcription/parakeet-sortformer-streaming.d.ts +2 -0
- package/dist/examples/transcription/parakeet-sortformer-streaming.js +121 -0
- package/dist/examples/transcription/parakeet-sortformer.js +58 -55
- package/dist/examples/transcription/parakeet-tdt-filesystem.js +18 -15
- package/dist/examples/transcription/whispercpp-microphone-conversation.js +6 -1
- package/dist/examples/tts/chatterbox.js +7 -16
- package/dist/examples/tts/llm-to-tts-streaming.js +3 -10
- package/dist/examples/tts/supertonic-multilingual.js +4 -12
- package/dist/examples/tts/supertonic.js +5 -12
- package/dist/examples/vla-smolvla.d.ts +2 -0
- package/dist/examples/vla-smolvla.js +75 -0
- package/dist/examples/voice-assistant/voice-assistant.js +3 -10
- package/dist/expo/plugins/find-in-ancestor-node-modules.d.ts +14 -0
- package/dist/expo/plugins/find-in-ancestor-node-modules.js +24 -0
- package/dist/expo/plugins/get-project-root.d.ts +22 -0
- package/dist/expo/plugins/get-project-root.js +23 -0
- package/dist/expo/plugins/index.d.ts +4 -0
- package/dist/expo/plugins/index.js +4 -0
- package/dist/expo/plugins/resolve-sdk-package-dir.d.ts +9 -2
- package/dist/expo/plugins/resolve-sdk-package-dir.js +38 -11
- package/dist/expo/plugins/withDeviceInfo.js +2 -1
- package/dist/expo/plugins/withMobileBundle.d.ts +2 -17
- package/dist/expo/plugins/withMobileBundle.js +31 -85
- package/dist/index.d.ts +4 -3
- package/dist/index.js +4 -3
- package/dist/models/registry/models.d.ts +3711 -368
- package/dist/models/registry/models.js +7066 -3562
- package/dist/models/update-models/naming.js +22 -8
- package/dist/pear/pre.js +6 -2
- package/dist/schemas/cancel.d.ts +5 -0
- package/dist/schemas/cancel.js +1 -0
- package/dist/schemas/classification.d.ts +53 -0
- package/dist/schemas/classification.js +33 -0
- package/dist/schemas/common.d.ts +1001 -1739
- package/dist/schemas/common.js +6 -1
- package/dist/schemas/completion-event.d.ts +3 -0
- package/dist/schemas/completion-event.js +1 -0
- package/dist/schemas/completion-stream.d.ts +1 -0
- package/dist/schemas/download-asset.d.ts +13 -3
- package/dist/schemas/engine-addon-map.d.ts +3 -0
- package/dist/schemas/engine-addon-map.js +18 -5
- package/dist/schemas/get-model-info.d.ts +4 -0
- package/dist/schemas/get-model-info.js +2 -0
- package/dist/schemas/index.d.ts +3 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/llamacpp-config.d.ts +12 -2
- package/dist/schemas/load-model.d.ts +6152 -10764
- package/dist/schemas/load-model.js +75 -7
- package/dist/schemas/model-src-utils.d.ts +22 -2
- package/dist/schemas/model-types.d.ts +46 -6
- package/dist/schemas/model-types.js +28 -5
- package/dist/schemas/ocr.d.ts +5 -0
- package/dist/schemas/plugin.d.ts +20 -5
- package/dist/schemas/plugin.js +21 -4
- package/dist/schemas/registry.d.ts +44 -0
- package/dist/schemas/registry.js +5 -0
- package/dist/schemas/reload-config.d.ts +22 -2
- package/dist/schemas/sdcpp-config.d.ts +316 -1
- package/dist/schemas/sdcpp-config.js +232 -33
- package/dist/schemas/sdk-config.d.ts +654 -1324
- package/dist/schemas/sdk-config.js +16 -1
- package/dist/schemas/sdk-errors-client.d.ts +5 -0
- package/dist/schemas/sdk-errors-client.js +26 -1
- package/dist/schemas/sdk-errors-server.d.ts +3 -1
- package/dist/schemas/sdk-errors-server.js +20 -5
- package/dist/schemas/text-to-speech.d.ts +79 -696
- package/dist/schemas/text-to-speech.js +46 -19
- package/dist/schemas/transcription-config.d.ts +37 -226
- package/dist/schemas/transcription-config.js +76 -15
- package/dist/schemas/transcription.d.ts +63 -11
- package/dist/schemas/transcription.js +56 -2
- package/dist/schemas/translation-config.d.ts +60 -10
- package/dist/schemas/vla.d.ts +87 -0
- package/dist/schemas/vla.js +108 -0
- package/dist/scripts/run-unit-tests.js +8 -2
- package/dist/server/bare/ops/transcribe.d.ts +2 -1
- package/dist/server/bare/ops/transcribe.js +59 -34
- package/dist/server/bare/plugins/ggml-classification/ops/classify.d.ts +6 -0
- package/dist/server/bare/plugins/ggml-classification/ops/classify.js +30 -0
- package/dist/server/bare/plugins/ggml-classification/plugin.d.ts +32 -0
- package/dist/server/bare/plugins/ggml-classification/plugin.js +55 -0
- package/dist/server/bare/plugins/ggml-vla/ops/vla-hparams.d.ts +3 -0
- package/dist/server/bare/plugins/ggml-vla/ops/vla-hparams.js +12 -0
- package/dist/server/bare/plugins/ggml-vla/ops/vla-run.d.ts +3 -0
- package/dist/server/bare/plugins/ggml-vla/ops/vla-run.js +75 -0
- package/dist/server/bare/plugins/ggml-vla/plugin.d.ts +54 -0
- package/dist/server/bare/plugins/ggml-vla/plugin.js +57 -0
- package/dist/server/bare/plugins/index.d.ts +3 -1
- package/dist/server/bare/plugins/index.js +3 -1
- package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +3 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/context-overflow.d.ts +29 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/context-overflow.js +65 -0
- package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +6 -0
- package/dist/server/bare/plugins/llamacpp-completion/plugin.js +26 -0
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +25 -0
- package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +5 -0
- package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +67 -246
- package/dist/server/bare/plugins/parakeet-transcription/plugin.js +66 -97
- package/dist/server/bare/plugins/sdcpp-generation/ops/video.d.ts +3 -0
- package/dist/server/bare/plugins/sdcpp-generation/ops/video.js +199 -0
- package/dist/server/bare/plugins/sdcpp-generation/plugin.d.ts +200 -2
- package/dist/server/bare/plugins/sdcpp-generation/plugin.js +61 -8
- package/dist/server/bare/plugins/{onnx-tts → tts-ggml}/ops/text-to-speech-stream.js +2 -15
- package/dist/server/bare/plugins/{onnx-tts → tts-ggml}/ops/text-to-speech.js +2 -1
- package/dist/server/bare/plugins/tts-ggml/plugin.d.ts +75 -0
- package/dist/server/bare/plugins/tts-ggml/plugin.js +189 -0
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +29 -4
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +12 -1
- package/dist/server/bare/registry/model-config-utils.js +7 -0
- package/dist/server/bare/runtime/request-context.d.ts +1 -1
- package/dist/server/bare/runtime-lifecycle.js +9 -9
- package/dist/server/bare/types/addon-responses.d.ts +1 -0
- package/dist/server/env.js +4 -1
- package/dist/server/plugins/index.d.ts +1 -1
- package/dist/server/plugins/index.js +1 -1
- package/dist/server/plugins/registry.d.ts +1 -0
- package/dist/server/plugins/registry.js +5 -0
- package/dist/server/rpc/handler-registry.js +4 -0
- package/dist/server/rpc/handler-selection.d.ts +9 -0
- package/dist/server/rpc/handler-selection.js +14 -0
- package/dist/server/rpc/handler-utils.js +5 -13
- package/dist/server/rpc/handlers/classify.d.ts +3 -0
- package/dist/server/rpc/handlers/classify.js +4 -0
- package/dist/server/rpc/handlers/index.d.ts +2 -0
- package/dist/server/rpc/handlers/index.js +2 -0
- package/dist/server/rpc/handlers/load-model/handler.js +4 -1
- package/dist/server/rpc/handlers/load-model/resolve.js +9 -0
- package/dist/server/rpc/handlers/video-stream.d.ts +3 -0
- package/dist/server/rpc/handlers/video-stream.js +4 -0
- package/dist/server/rpc/profiling/operation-metrics.js +23 -0
- package/dist/server/utils/config-transform.js +1 -1
- package/dist/server/worker.js +14 -11
- package/dist/utils/errors-client.d.ts +15 -0
- package/dist/utils/errors-client.js +26 -0
- package/dist/utils/errors-server.d.ts +30 -2
- package/dist/utils/errors-server.js +51 -3
- package/package.json +66 -80
- package/dist/server/bare/plugins/onnx-tts/plugin.d.ts +0 -490
- package/dist/server/bare/plugins/onnx-tts/plugin.js +0 -272
- package/dist/server/bare/plugins/onnx-tts/wav-helper.d.ts +0 -14
- package/dist/server/bare/plugins/onnx-tts/wav-helper.js +0 -107
- /package/dist/server/bare/plugins/{onnx-tts → tts-ggml}/ops/text-to-speech-stream.d.ts +0 -0
- /package/dist/server/bare/plugins/{onnx-tts → tts-ggml}/ops/text-to-speech.d.ts +0 -0
|
@@ -4,10 +4,12 @@ declare const modelRegistryEntryAddonSchema: z.ZodEnum<{
|
|
|
4
4
|
diffusion: "diffusion";
|
|
5
5
|
tts: "tts";
|
|
6
6
|
ocr: "ocr";
|
|
7
|
+
vla: "vla";
|
|
7
8
|
llm: "llm";
|
|
8
9
|
whisper: "whisper";
|
|
9
10
|
nmt: "nmt";
|
|
10
11
|
parakeet: "parakeet";
|
|
12
|
+
classification: "classification";
|
|
11
13
|
vad: "vad";
|
|
12
14
|
other: "other";
|
|
13
15
|
}>;
|
|
@@ -17,9 +19,12 @@ export declare const modelRegistryEngineSchema: z.ZodEnum<{
|
|
|
17
19
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
18
20
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
19
21
|
"onnx-tts": "onnx-tts";
|
|
22
|
+
"tts-ggml": "tts-ggml";
|
|
20
23
|
"parakeet-transcription": "parakeet-transcription";
|
|
21
24
|
"onnx-ocr": "onnx-ocr";
|
|
22
25
|
"sdcpp-generation": "sdcpp-generation";
|
|
26
|
+
"ggml-vla": "ggml-vla";
|
|
27
|
+
"ggml-classification": "ggml-classification";
|
|
23
28
|
"onnx-vad": "onnx-vad";
|
|
24
29
|
}>;
|
|
25
30
|
export declare const modelRegistryEntrySchema: z.ZodObject<{
|
|
@@ -36,10 +41,12 @@ export declare const modelRegistryEntrySchema: z.ZodObject<{
|
|
|
36
41
|
diffusion: "diffusion";
|
|
37
42
|
tts: "tts";
|
|
38
43
|
ocr: "ocr";
|
|
44
|
+
vla: "vla";
|
|
39
45
|
llm: "llm";
|
|
40
46
|
whisper: "whisper";
|
|
41
47
|
nmt: "nmt";
|
|
42
48
|
parakeet: "parakeet";
|
|
49
|
+
classification: "classification";
|
|
43
50
|
vad: "vad";
|
|
44
51
|
other: "other";
|
|
45
52
|
}>;
|
|
@@ -51,9 +58,12 @@ export declare const modelRegistryEntrySchema: z.ZodObject<{
|
|
|
51
58
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
52
59
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
53
60
|
"onnx-tts": "onnx-tts";
|
|
61
|
+
"tts-ggml": "tts-ggml";
|
|
54
62
|
"parakeet-transcription": "parakeet-transcription";
|
|
55
63
|
"onnx-ocr": "onnx-ocr";
|
|
56
64
|
"sdcpp-generation": "sdcpp-generation";
|
|
65
|
+
"ggml-vla": "ggml-vla";
|
|
66
|
+
"ggml-classification": "ggml-classification";
|
|
57
67
|
"onnx-vad": "onnx-vad";
|
|
58
68
|
}>;
|
|
59
69
|
quantization: z.ZodString;
|
|
@@ -82,10 +92,12 @@ export declare const modelRegistryListResponseSchema: z.ZodObject<{
|
|
|
82
92
|
diffusion: "diffusion";
|
|
83
93
|
tts: "tts";
|
|
84
94
|
ocr: "ocr";
|
|
95
|
+
vla: "vla";
|
|
85
96
|
llm: "llm";
|
|
86
97
|
whisper: "whisper";
|
|
87
98
|
nmt: "nmt";
|
|
88
99
|
parakeet: "parakeet";
|
|
100
|
+
classification: "classification";
|
|
89
101
|
vad: "vad";
|
|
90
102
|
other: "other";
|
|
91
103
|
}>;
|
|
@@ -97,9 +109,12 @@ export declare const modelRegistryListResponseSchema: z.ZodObject<{
|
|
|
97
109
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
98
110
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
99
111
|
"onnx-tts": "onnx-tts";
|
|
112
|
+
"tts-ggml": "tts-ggml";
|
|
100
113
|
"parakeet-transcription": "parakeet-transcription";
|
|
101
114
|
"onnx-ocr": "onnx-ocr";
|
|
102
115
|
"sdcpp-generation": "sdcpp-generation";
|
|
116
|
+
"ggml-vla": "ggml-vla";
|
|
117
|
+
"ggml-classification": "ggml-classification";
|
|
103
118
|
"onnx-vad": "onnx-vad";
|
|
104
119
|
}>;
|
|
105
120
|
quantization: z.ZodString;
|
|
@@ -119,10 +134,12 @@ export declare const modelRegistrySearchRequestSchema: z.ZodObject<{
|
|
|
119
134
|
diffusion: "diffusion";
|
|
120
135
|
tts: "tts";
|
|
121
136
|
ocr: "ocr";
|
|
137
|
+
vla: "vla";
|
|
122
138
|
llm: "llm";
|
|
123
139
|
whisper: "whisper";
|
|
124
140
|
nmt: "nmt";
|
|
125
141
|
parakeet: "parakeet";
|
|
142
|
+
classification: "classification";
|
|
126
143
|
vad: "vad";
|
|
127
144
|
other: "other";
|
|
128
145
|
}>>;
|
|
@@ -144,10 +161,12 @@ export declare const modelRegistrySearchResponseSchema: z.ZodObject<{
|
|
|
144
161
|
diffusion: "diffusion";
|
|
145
162
|
tts: "tts";
|
|
146
163
|
ocr: "ocr";
|
|
164
|
+
vla: "vla";
|
|
147
165
|
llm: "llm";
|
|
148
166
|
whisper: "whisper";
|
|
149
167
|
nmt: "nmt";
|
|
150
168
|
parakeet: "parakeet";
|
|
169
|
+
classification: "classification";
|
|
151
170
|
vad: "vad";
|
|
152
171
|
other: "other";
|
|
153
172
|
}>;
|
|
@@ -159,9 +178,12 @@ export declare const modelRegistrySearchResponseSchema: z.ZodObject<{
|
|
|
159
178
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
160
179
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
161
180
|
"onnx-tts": "onnx-tts";
|
|
181
|
+
"tts-ggml": "tts-ggml";
|
|
162
182
|
"parakeet-transcription": "parakeet-transcription";
|
|
163
183
|
"onnx-ocr": "onnx-ocr";
|
|
164
184
|
"sdcpp-generation": "sdcpp-generation";
|
|
185
|
+
"ggml-vla": "ggml-vla";
|
|
186
|
+
"ggml-classification": "ggml-classification";
|
|
165
187
|
"onnx-vad": "onnx-vad";
|
|
166
188
|
}>;
|
|
167
189
|
quantization: z.ZodString;
|
|
@@ -193,10 +215,12 @@ export declare const modelRegistryGetModelResponseSchema: z.ZodObject<{
|
|
|
193
215
|
diffusion: "diffusion";
|
|
194
216
|
tts: "tts";
|
|
195
217
|
ocr: "ocr";
|
|
218
|
+
vla: "vla";
|
|
196
219
|
llm: "llm";
|
|
197
220
|
whisper: "whisper";
|
|
198
221
|
nmt: "nmt";
|
|
199
222
|
parakeet: "parakeet";
|
|
223
|
+
classification: "classification";
|
|
200
224
|
vad: "vad";
|
|
201
225
|
other: "other";
|
|
202
226
|
}>;
|
|
@@ -208,9 +232,12 @@ export declare const modelRegistryGetModelResponseSchema: z.ZodObject<{
|
|
|
208
232
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
209
233
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
210
234
|
"onnx-tts": "onnx-tts";
|
|
235
|
+
"tts-ggml": "tts-ggml";
|
|
211
236
|
"parakeet-transcription": "parakeet-transcription";
|
|
212
237
|
"onnx-ocr": "onnx-ocr";
|
|
213
238
|
"sdcpp-generation": "sdcpp-generation";
|
|
239
|
+
"ggml-vla": "ggml-vla";
|
|
240
|
+
"ggml-classification": "ggml-classification";
|
|
214
241
|
"onnx-vad": "onnx-vad";
|
|
215
242
|
}>;
|
|
216
243
|
quantization: z.ZodString;
|
|
@@ -232,10 +259,12 @@ export declare const modelRegistryRequestSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
232
259
|
diffusion: "diffusion";
|
|
233
260
|
tts: "tts";
|
|
234
261
|
ocr: "ocr";
|
|
262
|
+
vla: "vla";
|
|
235
263
|
llm: "llm";
|
|
236
264
|
whisper: "whisper";
|
|
237
265
|
nmt: "nmt";
|
|
238
266
|
parakeet: "parakeet";
|
|
267
|
+
classification: "classification";
|
|
239
268
|
vad: "vad";
|
|
240
269
|
other: "other";
|
|
241
270
|
}>>;
|
|
@@ -261,10 +290,12 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
261
290
|
diffusion: "diffusion";
|
|
262
291
|
tts: "tts";
|
|
263
292
|
ocr: "ocr";
|
|
293
|
+
vla: "vla";
|
|
264
294
|
llm: "llm";
|
|
265
295
|
whisper: "whisper";
|
|
266
296
|
nmt: "nmt";
|
|
267
297
|
parakeet: "parakeet";
|
|
298
|
+
classification: "classification";
|
|
268
299
|
vad: "vad";
|
|
269
300
|
other: "other";
|
|
270
301
|
}>;
|
|
@@ -276,9 +307,12 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
276
307
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
277
308
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
278
309
|
"onnx-tts": "onnx-tts";
|
|
310
|
+
"tts-ggml": "tts-ggml";
|
|
279
311
|
"parakeet-transcription": "parakeet-transcription";
|
|
280
312
|
"onnx-ocr": "onnx-ocr";
|
|
281
313
|
"sdcpp-generation": "sdcpp-generation";
|
|
314
|
+
"ggml-vla": "ggml-vla";
|
|
315
|
+
"ggml-classification": "ggml-classification";
|
|
282
316
|
"onnx-vad": "onnx-vad";
|
|
283
317
|
}>;
|
|
284
318
|
quantization: z.ZodString;
|
|
@@ -302,10 +336,12 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
302
336
|
diffusion: "diffusion";
|
|
303
337
|
tts: "tts";
|
|
304
338
|
ocr: "ocr";
|
|
339
|
+
vla: "vla";
|
|
305
340
|
llm: "llm";
|
|
306
341
|
whisper: "whisper";
|
|
307
342
|
nmt: "nmt";
|
|
308
343
|
parakeet: "parakeet";
|
|
344
|
+
classification: "classification";
|
|
309
345
|
vad: "vad";
|
|
310
346
|
other: "other";
|
|
311
347
|
}>;
|
|
@@ -317,9 +353,12 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
317
353
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
318
354
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
319
355
|
"onnx-tts": "onnx-tts";
|
|
356
|
+
"tts-ggml": "tts-ggml";
|
|
320
357
|
"parakeet-transcription": "parakeet-transcription";
|
|
321
358
|
"onnx-ocr": "onnx-ocr";
|
|
322
359
|
"sdcpp-generation": "sdcpp-generation";
|
|
360
|
+
"ggml-vla": "ggml-vla";
|
|
361
|
+
"ggml-classification": "ggml-classification";
|
|
323
362
|
"onnx-vad": "onnx-vad";
|
|
324
363
|
}>;
|
|
325
364
|
quantization: z.ZodString;
|
|
@@ -343,10 +382,12 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
343
382
|
diffusion: "diffusion";
|
|
344
383
|
tts: "tts";
|
|
345
384
|
ocr: "ocr";
|
|
385
|
+
vla: "vla";
|
|
346
386
|
llm: "llm";
|
|
347
387
|
whisper: "whisper";
|
|
348
388
|
nmt: "nmt";
|
|
349
389
|
parakeet: "parakeet";
|
|
390
|
+
classification: "classification";
|
|
350
391
|
vad: "vad";
|
|
351
392
|
other: "other";
|
|
352
393
|
}>;
|
|
@@ -358,9 +399,12 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
358
399
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
359
400
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
360
401
|
"onnx-tts": "onnx-tts";
|
|
402
|
+
"tts-ggml": "tts-ggml";
|
|
361
403
|
"parakeet-transcription": "parakeet-transcription";
|
|
362
404
|
"onnx-ocr": "onnx-ocr";
|
|
363
405
|
"sdcpp-generation": "sdcpp-generation";
|
|
406
|
+
"ggml-vla": "ggml-vla";
|
|
407
|
+
"ggml-classification": "ggml-classification";
|
|
364
408
|
"onnx-vad": "onnx-vad";
|
|
365
409
|
}>;
|
|
366
410
|
quantization: z.ZodString;
|
package/dist/schemas/registry.js
CHANGED
|
@@ -11,6 +11,8 @@ const modelRegistryEntryAddonSchema = z.enum([
|
|
|
11
11
|
"ocr",
|
|
12
12
|
"parakeet",
|
|
13
13
|
"diffusion",
|
|
14
|
+
"vla",
|
|
15
|
+
"classification",
|
|
14
16
|
"other",
|
|
15
17
|
]);
|
|
16
18
|
// Canonical engine names derived from ModelType (schemas/model-types.ts) plus
|
|
@@ -24,9 +26,12 @@ export const modelRegistryEngineSchema = z.enum([
|
|
|
24
26
|
ModelType.llamacppEmbedding,
|
|
25
27
|
ModelType.nmtcppTranslation,
|
|
26
28
|
ModelType.onnxTts,
|
|
29
|
+
ModelType.ttsGgml,
|
|
27
30
|
ModelType.onnxOcr,
|
|
28
31
|
ModelType.parakeetTranscription,
|
|
29
32
|
ModelType.sdcppGeneration,
|
|
33
|
+
ModelType.ggmlVla,
|
|
34
|
+
ModelType.ggmlClassification,
|
|
30
35
|
"onnx-vad",
|
|
31
36
|
]);
|
|
32
37
|
export const modelRegistryEntrySchema = z.object({
|
|
@@ -82,18 +82,23 @@ export declare const reloadConfigOptionsSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
82
82
|
diffusion: "diffusion";
|
|
83
83
|
tts: "tts";
|
|
84
84
|
ocr: "ocr";
|
|
85
|
+
vla: "vla";
|
|
85
86
|
"llamacpp-completion": "llamacpp-completion";
|
|
86
87
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
87
88
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
88
89
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
89
90
|
"onnx-tts": "onnx-tts";
|
|
91
|
+
"tts-ggml": "tts-ggml";
|
|
90
92
|
"parakeet-transcription": "parakeet-transcription";
|
|
91
93
|
"onnx-ocr": "onnx-ocr";
|
|
92
94
|
"sdcpp-generation": "sdcpp-generation";
|
|
95
|
+
"ggml-vla": "ggml-vla";
|
|
96
|
+
"ggml-classification": "ggml-classification";
|
|
93
97
|
llm: "llm";
|
|
94
98
|
whisper: "whisper";
|
|
95
99
|
nmt: "nmt";
|
|
96
100
|
parakeet: "parakeet";
|
|
101
|
+
classification: "classification";
|
|
97
102
|
}>, z.ZodLiteral<"vad">]>>;
|
|
98
103
|
}, z.core.$strip>]>>>;
|
|
99
104
|
}, z.core.$strict>;
|
|
@@ -180,18 +185,23 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
180
185
|
diffusion: "diffusion";
|
|
181
186
|
tts: "tts";
|
|
182
187
|
ocr: "ocr";
|
|
188
|
+
vla: "vla";
|
|
183
189
|
"llamacpp-completion": "llamacpp-completion";
|
|
184
190
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
185
191
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
186
192
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
187
193
|
"onnx-tts": "onnx-tts";
|
|
194
|
+
"tts-ggml": "tts-ggml";
|
|
188
195
|
"parakeet-transcription": "parakeet-transcription";
|
|
189
196
|
"onnx-ocr": "onnx-ocr";
|
|
190
197
|
"sdcpp-generation": "sdcpp-generation";
|
|
198
|
+
"ggml-vla": "ggml-vla";
|
|
199
|
+
"ggml-classification": "ggml-classification";
|
|
191
200
|
llm: "llm";
|
|
192
201
|
whisper: "whisper";
|
|
193
202
|
nmt: "nmt";
|
|
194
203
|
parakeet: "parakeet";
|
|
204
|
+
classification: "classification";
|
|
195
205
|
}>, z.ZodLiteral<"vad">]>>;
|
|
196
206
|
}, z.core.$strip>]>>>;
|
|
197
207
|
}, z.core.$strict>;
|
|
@@ -264,7 +274,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
264
274
|
engine?: string | undefined;
|
|
265
275
|
expectedSize?: number | undefined;
|
|
266
276
|
sha256Checksum?: string | undefined;
|
|
267
|
-
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
|
|
277
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
268
278
|
} | undefined;
|
|
269
279
|
};
|
|
270
280
|
}, {
|
|
@@ -335,7 +345,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
335
345
|
engine?: string | undefined;
|
|
336
346
|
expectedSize?: number | undefined;
|
|
337
347
|
sha256Checksum?: string | undefined;
|
|
338
|
-
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "llm" | "whisper" | "nmt" | "parakeet" | "vad" | undefined;
|
|
348
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
339
349
|
} | undefined;
|
|
340
350
|
};
|
|
341
351
|
}>>]>;
|
|
@@ -426,18 +436,23 @@ export declare const reloadConfigWhisperRequestSchema: z.ZodObject<{
|
|
|
426
436
|
diffusion: "diffusion";
|
|
427
437
|
tts: "tts";
|
|
428
438
|
ocr: "ocr";
|
|
439
|
+
vla: "vla";
|
|
429
440
|
"llamacpp-completion": "llamacpp-completion";
|
|
430
441
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
431
442
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
432
443
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
433
444
|
"onnx-tts": "onnx-tts";
|
|
445
|
+
"tts-ggml": "tts-ggml";
|
|
434
446
|
"parakeet-transcription": "parakeet-transcription";
|
|
435
447
|
"onnx-ocr": "onnx-ocr";
|
|
436
448
|
"sdcpp-generation": "sdcpp-generation";
|
|
449
|
+
"ggml-vla": "ggml-vla";
|
|
450
|
+
"ggml-classification": "ggml-classification";
|
|
437
451
|
llm: "llm";
|
|
438
452
|
whisper: "whisper";
|
|
439
453
|
nmt: "nmt";
|
|
440
454
|
parakeet: "parakeet";
|
|
455
|
+
classification: "classification";
|
|
441
456
|
}>, z.ZodLiteral<"vad">]>>;
|
|
442
457
|
}, z.core.$strip>]>>>;
|
|
443
458
|
}, z.core.$strip>;
|
|
@@ -529,18 +544,23 @@ export declare const reloadConfigRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
529
544
|
diffusion: "diffusion";
|
|
530
545
|
tts: "tts";
|
|
531
546
|
ocr: "ocr";
|
|
547
|
+
vla: "vla";
|
|
532
548
|
"llamacpp-completion": "llamacpp-completion";
|
|
533
549
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
534
550
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
535
551
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
536
552
|
"onnx-tts": "onnx-tts";
|
|
553
|
+
"tts-ggml": "tts-ggml";
|
|
537
554
|
"parakeet-transcription": "parakeet-transcription";
|
|
538
555
|
"onnx-ocr": "onnx-ocr";
|
|
539
556
|
"sdcpp-generation": "sdcpp-generation";
|
|
557
|
+
"ggml-vla": "ggml-vla";
|
|
558
|
+
"ggml-classification": "ggml-classification";
|
|
540
559
|
llm: "llm";
|
|
541
560
|
whisper: "whisper";
|
|
542
561
|
nmt: "nmt";
|
|
543
562
|
parakeet: "parakeet";
|
|
563
|
+
classification: "classification";
|
|
544
564
|
}>, z.ZodLiteral<"vad">]>>;
|
|
545
565
|
}, z.core.$strip>]>>>;
|
|
546
566
|
}, z.core.$strip>;
|