@qvac/sdk 0.12.2 → 0.13.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 +55 -1225
- package/README.md +12 -0
- package/dist/client/api/bci-transcribe.d.ts +57 -0
- package/dist/client/api/bci-transcribe.js +172 -0
- package/dist/client/api/get-model-info.d.ts +1 -1
- package/dist/client/api/index.d.ts +1 -0
- package/dist/client/api/index.js +1 -0
- package/dist/client/api/video.d.ts +26 -6
- package/dist/client/api/video.js +30 -7
- package/dist/client/api/vla.d.ts +11 -7
- package/dist/client/api/vla.js +11 -7
- package/dist/client/rpc/bare-client.js +2 -2
- package/dist/commands/bundle/constants.js +2 -0
- package/dist/examples/bci/bci-filesystem-streaming.d.ts +2 -0
- package/dist/examples/bci/bci-filesystem-streaming.js +77 -0
- package/dist/examples/bci/bci-filesystem.d.ts +2 -0
- package/dist/examples/bci/bci-filesystem.js +63 -0
- package/dist/examples/cache-management.js +0 -1
- package/dist/examples/cancel-by-request-id.js +0 -1
- package/dist/examples/classification/classify-image.js +1 -1
- package/dist/examples/completion-events.js +6 -2
- package/dist/examples/completion-stop-reason.d.ts +25 -0
- package/dist/examples/completion-stop-reason.js +65 -0
- package/dist/examples/concurrent-completion-collision.d.ts +2 -0
- package/dist/examples/concurrent-completion-collision.js +98 -0
- package/dist/examples/config-reload.js +1 -2
- package/dist/examples/default-config-usage.js +0 -1
- package/dist/examples/delegated-inference/composite.js +0 -1
- package/dist/examples/delegated-inference/consumer-profiled.js +0 -1
- package/dist/examples/delegated-inference/consumer.js +0 -1
- package/dist/examples/diffusion-esrgan-upscale.js +1 -3
- package/dist/examples/diffusion-flux2-klein-img2img.js +1 -1
- package/dist/examples/diffusion-flux2-klein.js +2 -2
- package/dist/examples/diffusion-img2img.js +1 -1
- package/dist/examples/diffusion-img2vid.d.ts +2 -0
- package/dist/examples/diffusion-img2vid.js +78 -0
- package/dist/examples/diffusion-simple.js +1 -1
- package/dist/examples/diffusion-txt2img.js +8 -3
- package/dist/examples/diffusion-txt2vid.js +2 -3
- package/dist/examples/download-with-blind-relays.js +0 -1
- package/dist/examples/embed-multi-gpu.js +1 -2
- package/dist/examples/embed-p2p.js +4 -2
- package/dist/examples/finetune/llamacpp-finetune.js +5 -3
- package/dist/examples/kv-cache-cleanup.js +0 -1
- package/dist/examples/kv-cache-custom-key.js +0 -1
- package/dist/examples/kv-cache-example.js +4 -2
- package/dist/examples/llamacpp-cache.js +0 -1
- package/dist/examples/llamacpp-dynamic-tools.js +4 -2
- package/dist/examples/llamacpp-filesystem.js +1 -1
- package/dist/examples/llamacpp-http.js +1 -1
- package/dist/examples/llamacpp-multi-gpu.js +2 -2
- package/dist/examples/llamacpp-multimodal.js +0 -1
- package/dist/examples/llamacpp-p2p.js +0 -1
- package/dist/examples/llamacpp-sharded.js +1 -1
- package/dist/examples/llamacpp-structured-output.js +0 -1
- package/dist/examples/logging-file-transport.js +0 -1
- package/dist/examples/logging-streaming.js +0 -2
- package/dist/examples/mcp-websearch.js +0 -1
- package/dist/examples/multi-model-demo.js +0 -2
- package/dist/examples/ocr-fasttext.js +0 -1
- package/dist/examples/plugins.js +1 -4
- package/dist/examples/profiling/basic.js +3 -2
- package/dist/examples/profiling/per-call.js +0 -1
- package/dist/examples/quickstart.js +0 -1
- package/dist/examples/rag/rag-chromadb.js +0 -1
- package/dist/examples/rag/rag-hyperdb/cancellation.js +0 -1
- package/dist/examples/rag/rag-hyperdb/ingest.js +0 -1
- package/dist/examples/rag/rag-hyperdb/pipeline.js +0 -1
- package/dist/examples/rag/rag-hyperdb/workspaces.js +0 -1
- package/dist/examples/rag/rag-lancedb.js +0 -1
- package/dist/examples/rag/rag-sqlite.js +0 -1
- package/dist/examples/suspend-resume.js +0 -1
- package/dist/examples/tools/llamacpp-native-tools.js +0 -1
- package/dist/examples/tools/llamacpp-tools-gemma4.js +1 -1
- package/dist/examples/tools/llamacpp-tools-pythonic.js +2 -2
- package/dist/examples/tools/llamacpp-tools-qwen35.js +1 -1
- package/dist/examples/transcription/parakeet-ctc-filesystem.js +1 -1
- package/dist/examples/transcription/parakeet-microphone-record.js +0 -1
- package/dist/examples/transcription/parakeet-microphone-stream.js +0 -1
- package/dist/examples/transcription/parakeet-sortformer.js +1 -2
- package/dist/examples/transcription/parakeet-tdt-filesystem.js +1 -1
- package/dist/examples/transcription/whispercpp-filesystem-streaming.js +10 -6
- package/dist/examples/transcription/whispercpp-filesystem.js +4 -2
- package/dist/examples/transcription/whispercpp-microphone-conversation.js +0 -1
- package/dist/examples/transcription/whispercpp-microphone-record.js +0 -1
- package/dist/examples/transcription/whispercpp-prompt.js +0 -1
- package/dist/examples/translation/translation-bergamot-batch.js +1 -2
- package/dist/examples/translation/translation-bergamot-pivot.js +3 -4
- package/dist/examples/translation/translation-bergamot.js +1 -2
- package/dist/examples/translation/translation-indic.js +1 -2
- package/dist/examples/translation/translation-llm-afriquegemma.js +3 -4
- package/dist/examples/translation/translation-llm-context.js +1 -2
- package/dist/examples/translation/translation-llm.js +2 -3
- package/dist/examples/translation/translation-stream.js +2 -3
- package/dist/examples/tts/chatterbox.js +1 -2
- package/dist/examples/tts/llm-to-tts-streaming.js +2 -4
- package/dist/examples/tts/supertonic-multilingual.js +1 -2
- package/dist/examples/tts/supertonic.js +1 -2
- package/dist/examples/vla-pi05.d.ts +2 -0
- package/dist/examples/vla-pi05.js +84 -0
- package/dist/examples/vla-smolvla.js +1 -1
- package/dist/examples/voice-assistant/voice-assistant.js +1 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -7
- package/dist/models/registry/models.d.ts +869 -186
- package/dist/models/registry/models.js +3160 -2453
- package/dist/models/update-models/companions.d.ts +7 -0
- package/dist/models/update-models/companions.js +56 -0
- package/dist/models/update-models/naming.js +10 -0
- package/dist/pear/pre.js +2 -0
- package/dist/schemas/bci-config.d.ts +36 -0
- package/dist/schemas/bci-config.js +56 -0
- package/dist/schemas/bci.d.ts +177 -0
- package/dist/schemas/bci.js +95 -0
- package/dist/schemas/common.d.ts +395 -51
- package/dist/schemas/common.js +5 -0
- package/dist/schemas/completion-event.d.ts +1 -0
- package/dist/schemas/download-asset.d.ts +7 -3
- package/dist/schemas/embed.d.ts +2 -0
- package/dist/schemas/embed.js +1 -0
- package/dist/schemas/engine-addon-map.d.ts +1 -0
- package/dist/schemas/engine-addon-map.js +4 -1
- package/dist/schemas/get-model-info.d.ts +2 -0
- package/dist/schemas/get-model-info.js +1 -0
- package/dist/schemas/index.d.ts +2 -0
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/llamacpp-config.d.ts +6 -2
- package/dist/schemas/load-model.d.ts +1841 -267
- package/dist/schemas/load-model.js +34 -1
- package/dist/schemas/model-src-utils.d.ts +10 -2
- package/dist/schemas/model-types.d.ts +19 -1
- package/dist/schemas/model-types.js +11 -0
- package/dist/schemas/ocr.d.ts +2 -0
- package/dist/schemas/plugin.d.ts +13 -5
- package/dist/schemas/plugin.js +13 -4
- package/dist/schemas/registry.d.ts +18 -0
- package/dist/schemas/registry.js +2 -0
- package/dist/schemas/reload-config.d.ts +10 -2
- package/dist/schemas/sdcpp-config.d.ts +75 -8
- package/dist/schemas/sdcpp-config.js +56 -10
- package/dist/schemas/sdk-config.d.ts +342 -0
- package/dist/schemas/text-to-speech.d.ts +8 -0
- package/dist/schemas/transcription-config.d.ts +2 -0
- package/dist/schemas/transcription.d.ts +12 -0
- package/dist/schemas/transcription.js +8 -0
- package/dist/schemas/translation-config.d.ts +44 -16
- package/dist/schemas/translation-config.js +2 -0
- package/dist/schemas/vla.d.ts +14 -0
- package/dist/schemas/vla.js +26 -3
- package/dist/server/bare/delegate-connect-diagnostics.d.ts +9 -0
- package/dist/server/bare/delegate-connect-diagnostics.js +44 -0
- package/dist/server/bare/delegate-rpc-client.js +10 -12
- package/dist/server/bare/hyperswarm.js +1 -0
- package/dist/server/bare/ops/bci-transcribe.d.ts +13 -0
- package/dist/server/bare/ops/bci-transcribe.js +248 -0
- package/dist/server/bare/ops/embed.js +2 -1
- package/dist/server/bare/ops/kv-cache-utils.js +4 -3
- package/dist/server/bare/ops/transcribe.js +6 -2
- package/dist/server/bare/ops/translate.js +1 -1
- package/dist/server/bare/plugins/bci-whispercpp-transcription/plugin.d.ts +130 -0
- package/dist/server/bare/plugins/bci-whispercpp-transcription/plugin.js +116 -0
- package/dist/server/bare/plugins/ggml-vla/ops/vla-run.js +4 -0
- package/dist/server/bare/plugins/ggml-vla/plugin.d.ts +7 -0
- package/dist/server/bare/plugins/ggml-vla/plugin.js +1 -1
- package/dist/server/bare/plugins/index.d.ts +1 -0
- package/dist/server/bare/plugins/index.js +1 -0
- package/dist/server/bare/plugins/llamacpp-completion/ops/finetune.js +22 -29
- package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +2 -0
- package/dist/server/bare/plugins/llamacpp-completion/plugin.js +38 -7
- package/dist/server/bare/plugins/llamacpp-embedding/plugin.d.ts +1 -0
- package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +9 -1
- package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +14 -0
- package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +2 -0
- package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +8 -0
- package/dist/server/bare/plugins/sdcpp-generation/ops/video.js +7 -1
- package/dist/server/bare/plugins/sdcpp-generation/plugin.d.ts +58 -4
- package/dist/server/bare/plugins/sdcpp-generation/plugin.js +9 -4
- package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +10 -0
- package/dist/server/bare/registry/model-config-utils.js +3 -0
- package/dist/server/bare/runtime/request-registry-singleton.js +11 -4
- package/dist/server/bare/runtime/request-registry.d.ts +60 -16
- package/dist/server/bare/runtime/request-registry.js +258 -15
- package/dist/server/bare/runtime/with-request-context.d.ts +1 -1
- package/dist/server/bare/runtime/with-request-context.js +1 -1
- package/dist/server/bare/types/addon-responses.d.ts +5 -0
- package/dist/server/rpc/handler-registry.js +4 -0
- package/dist/server/rpc/handlers/bci-transcribe-stream.d.ts +3 -0
- package/dist/server/rpc/handlers/bci-transcribe-stream.js +4 -0
- package/dist/server/rpc/handlers/bci-transcribe.d.ts +3 -0
- package/dist/server/rpc/handlers/bci-transcribe.js +4 -0
- package/dist/server/rpc/handlers/download-asset.js +1 -1
- package/dist/server/rpc/handlers/get-model-info.js +3 -3
- package/dist/server/rpc/handlers/index.d.ts +4 -0
- package/dist/server/rpc/handlers/index.js +4 -0
- package/dist/server/rpc/handlers/load-model/download-manager.d.ts +1 -1
- package/dist/server/rpc/handlers/load-model/handler.js +1 -1
- package/dist/server/rpc/handlers/load-model/http.js +6 -6
- package/dist/server/rpc/handlers/load-model/hyperdrive.js +1 -0
- package/dist/server/rpc/handlers/load-model/registry-companion-set.d.ts +1 -0
- package/dist/server/rpc/handlers/load-model/registry-companion-set.js +2 -2
- package/dist/server/rpc/handlers/load-model/registry.js +1 -0
- package/dist/server/rpc/handlers/load-model/resolve-session.d.ts +1 -1
- package/dist/server/rpc/handlers/rag.js +5 -5
- package/dist/server/utils/checksum.js +2 -1
- package/dist/server/utils/formatting.js +2 -1
- package/dist/server/utils/multi-gpu-mobile.d.ts +5 -0
- package/dist/server/utils/multi-gpu-mobile.js +10 -0
- package/dist/server/worker.js +2 -1
- package/dist/utils/aggregate-events.d.ts +2 -1
- package/dist/utils/aggregate-events.js +11 -3
- package/dist/utils/errors-server.d.ts +6 -4
- package/dist/utils/errors-server.js +6 -4
- package/electron-forge/index.cjs +820 -0
- package/package.json +68 -35
- package/dist/scripts/run-security-tests-bare.d.ts +0 -2
- package/dist/scripts/run-security-tests-bare.js +0 -78
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { llmConfigBaseSchema, embedConfigBaseSchema, } from "./llamacpp-config.js";
|
|
3
3
|
import { whisperConfigSchema, parakeetLoadConfigSchema, } from "./transcription-config.js";
|
|
4
|
+
import { bciConfigSchema } from "./bci-config.js";
|
|
4
5
|
import { delegateSchema } from "./delegate.js";
|
|
5
6
|
import { nmtConfigSchema } from "./translation-config.js";
|
|
6
7
|
import { ttsConfigSchema } from "./text-to-speech.js";
|
|
7
8
|
import { ocrConfigSchema } from "./ocr.js";
|
|
8
9
|
import { modelSrcInputSchema, modelInputToSrcSchema, modelInputToNameSchema, } from "./model-src-utils.js";
|
|
9
|
-
import { llmModelTypeSchema, whisperModelTypeSchema, parakeetModelTypeSchema, embeddingsModelTypeSchema, nmtModelTypeSchema, ttsModelTypeSchema, ocrModelTypeSchema, diffusionModelTypeSchema, vlaModelTypeSchema, classificationModelTypeSchema, ModelType, ModelTypeAliases, } from "./model-types.js";
|
|
10
|
+
import { llmModelTypeSchema, whisperModelTypeSchema, bciModelTypeSchema, parakeetModelTypeSchema, embeddingsModelTypeSchema, nmtModelTypeSchema, ttsModelTypeSchema, ocrModelTypeSchema, diffusionModelTypeSchema, vlaModelTypeSchema, classificationModelTypeSchema, ModelType, ModelTypeAliases, } from "./model-types.js";
|
|
10
11
|
import { sdcppConfigSchema } from "./sdcpp-config.js";
|
|
11
12
|
import { vlaConfigSchema } from "./vla.js";
|
|
12
13
|
import { classificationConfigSchema } from "./classification.js";
|
|
@@ -43,6 +44,13 @@ export const loadBuiltinModelOptionsBaseSchema = z.union([
|
|
|
43
44
|
modelConfig: whisperConfigSchema.partial().strict().optional(),
|
|
44
45
|
})
|
|
45
46
|
.strict(),
|
|
47
|
+
z
|
|
48
|
+
.object({
|
|
49
|
+
...loadModelCommonFields,
|
|
50
|
+
modelType: bciModelTypeSchema,
|
|
51
|
+
modelConfig: bciConfigSchema.partial().strict().optional(),
|
|
52
|
+
})
|
|
53
|
+
.strict(),
|
|
46
54
|
z
|
|
47
55
|
.object({
|
|
48
56
|
...loadModelCommonFields,
|
|
@@ -154,6 +162,24 @@ const loadModelOptionsToRequestBaseSchema = z.union([
|
|
|
154
162
|
delegate: data.delegate,
|
|
155
163
|
...(data.requestId !== undefined && { requestId: data.requestId }),
|
|
156
164
|
})),
|
|
165
|
+
z
|
|
166
|
+
.object({
|
|
167
|
+
...loadModelRequestCommonFields,
|
|
168
|
+
modelType: bciModelTypeSchema,
|
|
169
|
+
modelConfig: bciConfigSchema.partial().strict().optional(),
|
|
170
|
+
})
|
|
171
|
+
.strict()
|
|
172
|
+
.transform((data) => ({
|
|
173
|
+
type: "loadModel",
|
|
174
|
+
modelType: ModelType.bciWhispercppTranscription,
|
|
175
|
+
modelSrc: modelInputToSrcSchema.parse(data.modelSrc),
|
|
176
|
+
modelName: modelInputToNameSchema.parse(data.modelSrc),
|
|
177
|
+
modelConfig: (data.modelConfig ?? {}),
|
|
178
|
+
seed: data.seed ?? false,
|
|
179
|
+
withProgress: data.withProgress ?? !!data.onProgress,
|
|
180
|
+
delegate: data.delegate,
|
|
181
|
+
...(data.requestId !== undefined && { requestId: data.requestId }),
|
|
182
|
+
})),
|
|
157
183
|
z
|
|
158
184
|
.object({
|
|
159
185
|
...loadModelRequestCommonFields,
|
|
@@ -356,6 +382,12 @@ export const loadWhisperModelRequestSchema = commonModelConfigSchema
|
|
|
356
382
|
modelConfig: whisperConfigSchema,
|
|
357
383
|
})
|
|
358
384
|
.strict();
|
|
385
|
+
export const loadBciModelRequestSchema = commonModelConfigSchema
|
|
386
|
+
.extend({
|
|
387
|
+
modelType: z.literal(ModelType.bciWhispercppTranscription),
|
|
388
|
+
modelConfig: bciConfigSchema,
|
|
389
|
+
})
|
|
390
|
+
.strict();
|
|
359
391
|
export const loadParakeetModelRequestSchema = commonModelConfigSchema
|
|
360
392
|
.extend({
|
|
361
393
|
modelType: z.literal(ModelType.parakeetTranscription),
|
|
@@ -416,6 +448,7 @@ export const loadModelSrcRequestSchema = z
|
|
|
416
448
|
.union([
|
|
417
449
|
loadLlmModelRequestSchema,
|
|
418
450
|
loadWhisperModelRequestSchema,
|
|
451
|
+
loadBciModelRequestSchema,
|
|
419
452
|
loadParakeetModelRequestSchema,
|
|
420
453
|
loadEmbeddingsModelRequestSchema,
|
|
421
454
|
loadNmtModelRequestSchema,
|
|
@@ -18,6 +18,7 @@ export declare const modelDescriptorSchema: z.ZodObject<{
|
|
|
18
18
|
vla: "vla";
|
|
19
19
|
"llamacpp-completion": "llamacpp-completion";
|
|
20
20
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
21
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
21
22
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
22
23
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
23
24
|
"onnx-tts": "onnx-tts";
|
|
@@ -29,6 +30,7 @@ export declare const modelDescriptorSchema: z.ZodObject<{
|
|
|
29
30
|
"ggml-classification": "ggml-classification";
|
|
30
31
|
llm: "llm";
|
|
31
32
|
whisper: "whisper";
|
|
33
|
+
bci: "bci";
|
|
32
34
|
nmt: "nmt";
|
|
33
35
|
parakeet: "parakeet";
|
|
34
36
|
classification: "classification";
|
|
@@ -53,6 +55,7 @@ export declare const modelSrcInputSchema: z.ZodUnion<readonly [z.ZodString, z.Zo
|
|
|
53
55
|
vla: "vla";
|
|
54
56
|
"llamacpp-completion": "llamacpp-completion";
|
|
55
57
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
58
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
56
59
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
57
60
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
58
61
|
"onnx-tts": "onnx-tts";
|
|
@@ -64,6 +67,7 @@ export declare const modelSrcInputSchema: z.ZodUnion<readonly [z.ZodString, z.Zo
|
|
|
64
67
|
"ggml-classification": "ggml-classification";
|
|
65
68
|
llm: "llm";
|
|
66
69
|
whisper: "whisper";
|
|
70
|
+
bci: "bci";
|
|
67
71
|
nmt: "nmt";
|
|
68
72
|
parakeet: "parakeet";
|
|
69
73
|
classification: "classification";
|
|
@@ -94,6 +98,7 @@ export declare const modelInputToSrcSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zod
|
|
|
94
98
|
vla: "vla";
|
|
95
99
|
"llamacpp-completion": "llamacpp-completion";
|
|
96
100
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
101
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
97
102
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
98
103
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
99
104
|
"onnx-tts": "onnx-tts";
|
|
@@ -105,6 +110,7 @@ export declare const modelInputToSrcSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zod
|
|
|
105
110
|
"ggml-classification": "ggml-classification";
|
|
106
111
|
llm: "llm";
|
|
107
112
|
whisper: "whisper";
|
|
113
|
+
bci: "bci";
|
|
108
114
|
nmt: "nmt";
|
|
109
115
|
parakeet: "parakeet";
|
|
110
116
|
classification: "classification";
|
|
@@ -120,7 +126,7 @@ export declare const modelInputToSrcSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zod
|
|
|
120
126
|
engine?: string | undefined;
|
|
121
127
|
expectedSize?: number | undefined;
|
|
122
128
|
sha256Checksum?: string | undefined;
|
|
123
|
-
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;
|
|
129
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
124
130
|
}>>;
|
|
125
131
|
/**
|
|
126
132
|
* Schema that transforms ModelSrc to its optional name
|
|
@@ -145,6 +151,7 @@ export declare const modelInputToNameSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
|
|
|
145
151
|
vla: "vla";
|
|
146
152
|
"llamacpp-completion": "llamacpp-completion";
|
|
147
153
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
154
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
148
155
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
149
156
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
150
157
|
"onnx-tts": "onnx-tts";
|
|
@@ -156,6 +163,7 @@ export declare const modelInputToNameSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
|
|
|
156
163
|
"ggml-classification": "ggml-classification";
|
|
157
164
|
llm: "llm";
|
|
158
165
|
whisper: "whisper";
|
|
166
|
+
bci: "bci";
|
|
159
167
|
nmt: "nmt";
|
|
160
168
|
parakeet: "parakeet";
|
|
161
169
|
classification: "classification";
|
|
@@ -171,7 +179,7 @@ export declare const modelInputToNameSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
|
|
|
171
179
|
engine?: string | undefined;
|
|
172
180
|
expectedSize?: number | undefined;
|
|
173
181
|
sha256Checksum?: string | undefined;
|
|
174
|
-
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;
|
|
182
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
175
183
|
}>>;
|
|
176
184
|
export declare function inferModelTypeFromModelSrc(modelSrc: unknown): string | undefined;
|
|
177
185
|
//# sourceMappingURL=model-src-utils.d.ts.map
|
|
@@ -7,6 +7,7 @@ import { z } from "zod";
|
|
|
7
7
|
export declare const ModelType: {
|
|
8
8
|
readonly llamacppCompletion: "llamacpp-completion";
|
|
9
9
|
readonly whispercppTranscription: "whispercpp-transcription";
|
|
10
|
+
readonly bciWhispercppTranscription: "bci-whispercpp-transcription";
|
|
10
11
|
readonly llamacppEmbedding: "llamacpp-embedding";
|
|
11
12
|
readonly nmtcppTranslation: "nmtcpp-translation";
|
|
12
13
|
readonly onnxTts: "onnx-tts";
|
|
@@ -24,6 +25,7 @@ export declare const ModelType: {
|
|
|
24
25
|
export declare const ModelTypeAliases: {
|
|
25
26
|
readonly llm: "llamacpp-completion";
|
|
26
27
|
readonly whisper: "whispercpp-transcription";
|
|
28
|
+
readonly bci: "bci-whispercpp-transcription";
|
|
27
29
|
readonly embeddings: "llamacpp-embedding";
|
|
28
30
|
readonly nmt: "nmtcpp-translation";
|
|
29
31
|
readonly parakeet: "parakeet-transcription";
|
|
@@ -55,6 +57,7 @@ export type ModelTypeInput = CanonicalModelType | AliasKey;
|
|
|
55
57
|
export declare const PUBLIC_MODEL_TYPES: {
|
|
56
58
|
readonly llm: "llamacpp-completion";
|
|
57
59
|
readonly whisper: "whispercpp-transcription";
|
|
60
|
+
readonly bci: "bci-whispercpp-transcription";
|
|
58
61
|
readonly embeddings: "llamacpp-embedding";
|
|
59
62
|
readonly nmt: "nmtcpp-translation";
|
|
60
63
|
readonly parakeet: "parakeet-transcription";
|
|
@@ -65,6 +68,7 @@ export declare const PUBLIC_MODEL_TYPES: {
|
|
|
65
68
|
readonly classification: "ggml-classification";
|
|
66
69
|
readonly llamacppCompletion: "llamacpp-completion";
|
|
67
70
|
readonly whispercppTranscription: "whispercpp-transcription";
|
|
71
|
+
readonly bciWhispercppTranscription: "bci-whispercpp-transcription";
|
|
68
72
|
readonly llamacppEmbedding: "llamacpp-embedding";
|
|
69
73
|
readonly nmtcppTranslation: "nmtcpp-translation";
|
|
70
74
|
readonly onnxTts: "onnx-tts";
|
|
@@ -84,6 +88,7 @@ export declare const modelTypeInputSchema: z.ZodEnum<{
|
|
|
84
88
|
vla: "vla";
|
|
85
89
|
"llamacpp-completion": "llamacpp-completion";
|
|
86
90
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
91
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
87
92
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
88
93
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
89
94
|
"onnx-tts": "onnx-tts";
|
|
@@ -95,6 +100,7 @@ export declare const modelTypeInputSchema: z.ZodEnum<{
|
|
|
95
100
|
"ggml-classification": "ggml-classification";
|
|
96
101
|
llm: "llm";
|
|
97
102
|
whisper: "whisper";
|
|
103
|
+
bci: "bci";
|
|
98
104
|
nmt: "nmt";
|
|
99
105
|
parakeet: "parakeet";
|
|
100
106
|
classification: "classification";
|
|
@@ -108,6 +114,7 @@ export declare const modelTypeSchema: z.ZodPipe<z.ZodEnum<{
|
|
|
108
114
|
vla: "vla";
|
|
109
115
|
"llamacpp-completion": "llamacpp-completion";
|
|
110
116
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
117
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
111
118
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
112
119
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
113
120
|
"onnx-tts": "onnx-tts";
|
|
@@ -119,10 +126,11 @@ export declare const modelTypeSchema: z.ZodPipe<z.ZodEnum<{
|
|
|
119
126
|
"ggml-classification": "ggml-classification";
|
|
120
127
|
llm: "llm";
|
|
121
128
|
whisper: "whisper";
|
|
129
|
+
bci: "bci";
|
|
122
130
|
nmt: "nmt";
|
|
123
131
|
parakeet: "parakeet";
|
|
124
132
|
classification: "classification";
|
|
125
|
-
}>, z.ZodTransform<"llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification", "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">>;
|
|
133
|
+
}>, z.ZodTransform<"llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification", "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification">>;
|
|
126
134
|
/**
|
|
127
135
|
* Normalize model type input to canonical form.
|
|
128
136
|
* Custom plugin types (not in built-ins) are returned as-is.
|
|
@@ -158,6 +166,16 @@ export declare const whisperModelTypeSchema: z.ZodEnum<{
|
|
|
158
166
|
whisper: "whisper";
|
|
159
167
|
}>;
|
|
160
168
|
export type WhisperModelTypeInput = z.infer<typeof whisperModelTypeSchema>;
|
|
169
|
+
/**
|
|
170
|
+
* BCI/Transcription model type schema.
|
|
171
|
+
* - Alias: `"bci"` → resolves to `"bci-whispercpp-transcription"`
|
|
172
|
+
* - Canonical: `"bci-whispercpp-transcription"`
|
|
173
|
+
*/
|
|
174
|
+
export declare const bciModelTypeSchema: z.ZodEnum<{
|
|
175
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
176
|
+
bci: "bci";
|
|
177
|
+
}>;
|
|
178
|
+
export type BciModelTypeInput = z.infer<typeof bciModelTypeSchema>;
|
|
161
179
|
/**
|
|
162
180
|
* Parakeet/Transcription model type schema.
|
|
163
181
|
* - Alias: `"parakeet"` → resolves to `"parakeet-transcription"`
|
|
@@ -8,6 +8,7 @@ import { z } from "zod";
|
|
|
8
8
|
export const ModelType = {
|
|
9
9
|
llamacppCompletion: "llamacpp-completion",
|
|
10
10
|
whispercppTranscription: "whispercpp-transcription",
|
|
11
|
+
bciWhispercppTranscription: "bci-whispercpp-transcription",
|
|
11
12
|
llamacppEmbedding: "llamacpp-embedding",
|
|
12
13
|
nmtcppTranslation: "nmtcpp-translation",
|
|
13
14
|
onnxTts: "onnx-tts",
|
|
@@ -22,6 +23,7 @@ export const ModelType = {
|
|
|
22
23
|
const AliasKeys = {
|
|
23
24
|
llm: "llm",
|
|
24
25
|
whisper: "whisper",
|
|
26
|
+
bci: "bci",
|
|
25
27
|
embeddings: "embeddings",
|
|
26
28
|
nmt: "nmt",
|
|
27
29
|
parakeet: "parakeet",
|
|
@@ -39,6 +41,7 @@ const AliasKeys = {
|
|
|
39
41
|
export const ModelTypeAliases = {
|
|
40
42
|
[AliasKeys.llm]: ModelType.llamacppCompletion,
|
|
41
43
|
[AliasKeys.whisper]: ModelType.whispercppTranscription,
|
|
44
|
+
[AliasKeys.bci]: ModelType.bciWhispercppTranscription,
|
|
42
45
|
[AliasKeys.embeddings]: ModelType.llamacppEmbedding,
|
|
43
46
|
[AliasKeys.nmt]: ModelType.nmtcppTranslation,
|
|
44
47
|
[AliasKeys.parakeet]: ModelType.parakeetTranscription,
|
|
@@ -136,6 +139,14 @@ export const llmModelTypeSchema = modelTypeInputSchema
|
|
|
136
139
|
export const whisperModelTypeSchema = modelTypeInputSchema
|
|
137
140
|
.extract([AliasKeys.whisper, ModelType.whispercppTranscription])
|
|
138
141
|
.describe('Whisper model type: "whisper" (alias) or "whispercpp-transcription" (canonical)');
|
|
142
|
+
/**
|
|
143
|
+
* BCI/Transcription model type schema.
|
|
144
|
+
* - Alias: `"bci"` → resolves to `"bci-whispercpp-transcription"`
|
|
145
|
+
* - Canonical: `"bci-whispercpp-transcription"`
|
|
146
|
+
*/
|
|
147
|
+
export const bciModelTypeSchema = modelTypeInputSchema
|
|
148
|
+
.extract([AliasKeys.bci, ModelType.bciWhispercppTranscription])
|
|
149
|
+
.describe('BCI model type: "bci" (alias) or "bci-whispercpp-transcription" (canonical)');
|
|
139
150
|
/**
|
|
140
151
|
* Parakeet/Transcription model type schema.
|
|
141
152
|
* - Alias: `"parakeet"` → resolves to `"parakeet-transcription"`
|
package/dist/schemas/ocr.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export declare const ocrConfigSchema: z.ZodObject<{
|
|
|
36
36
|
vla: "vla";
|
|
37
37
|
"llamacpp-completion": "llamacpp-completion";
|
|
38
38
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
39
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
39
40
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
40
41
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
41
42
|
"onnx-tts": "onnx-tts";
|
|
@@ -47,6 +48,7 @@ export declare const ocrConfigSchema: z.ZodObject<{
|
|
|
47
48
|
"ggml-classification": "ggml-classification";
|
|
48
49
|
llm: "llm";
|
|
49
50
|
whisper: "whisper";
|
|
51
|
+
bci: "bci";
|
|
50
52
|
nmt: "nmt";
|
|
51
53
|
parakeet: "parakeet";
|
|
52
54
|
classification: "classification";
|
package/dist/schemas/plugin.d.ts
CHANGED
|
@@ -255,6 +255,11 @@ export declare const PLUGIN_EMBEDDING: "@qvac/sdk/llamacpp-embedding/plugin";
|
|
|
255
255
|
* Provides: audio transcription, language detection.
|
|
256
256
|
*/
|
|
257
257
|
export declare const PLUGIN_WHISPER: "@qvac/sdk/whispercpp-transcription/plugin";
|
|
258
|
+
/**
|
|
259
|
+
* Brain-Computer Interface neural-signal transcription plugin
|
|
260
|
+
* (whisper.cpp). Provides: transcription of neural signals to text.
|
|
261
|
+
*/
|
|
262
|
+
export declare const PLUGIN_BCI: "@qvac/sdk/bci-whispercpp-transcription/plugin";
|
|
258
263
|
/**
|
|
259
264
|
* Speech-to-text transcription plugin (Parakeet ONNX).
|
|
260
265
|
* Provides: audio transcription using NVIDIA Parakeet models.
|
|
@@ -281,9 +286,10 @@ export declare const PLUGIN_OCR: "@qvac/sdk/onnx-ocr/plugin";
|
|
|
281
286
|
*/
|
|
282
287
|
export declare const PLUGIN_DIFFUSION: "@qvac/sdk/sdcpp-generation/plugin";
|
|
283
288
|
/**
|
|
284
|
-
* Vision-Language-Action plugin (SmolVLA
|
|
285
|
-
*
|
|
286
|
-
*
|
|
289
|
+
* Vision-Language-Action plugin (ggml). Supports SmolVLA and π₀.₅ (pi05),
|
|
290
|
+
* dispatched on the GGUF `general.architecture` key.
|
|
291
|
+
* Provides: robot-action inference from one or more camera frames (2 for
|
|
292
|
+
* SmolVLA, 3 for π₀.₅) and a natural-language instruction.
|
|
287
293
|
*/
|
|
288
294
|
export declare const PLUGIN_VLA: "@qvac/sdk/ggml-vla/plugin";
|
|
289
295
|
/**
|
|
@@ -300,7 +306,7 @@ export declare const PLUGIN_CLASSIFICATION: "@qvac/sdk/ggml-classification/plugi
|
|
|
300
306
|
* plugins: [...SDK_DEFAULT_PLUGINS, myCustomPlugin],
|
|
301
307
|
* };
|
|
302
308
|
*/
|
|
303
|
-
export declare const SDK_DEFAULT_PLUGINS: readonly ["@qvac/sdk/llamacpp-completion/plugin", "@qvac/sdk/llamacpp-embedding/plugin", "@qvac/sdk/whispercpp-transcription/plugin", "@qvac/sdk/parakeet-transcription/plugin", "@qvac/sdk/nmtcpp-translation/plugin", "@qvac/sdk/tts-ggml/plugin", "@qvac/sdk/onnx-ocr/plugin", "@qvac/sdk/sdcpp-generation/plugin", "@qvac/sdk/ggml-vla/plugin", "@qvac/sdk/ggml-classification/plugin"];
|
|
309
|
+
export declare const SDK_DEFAULT_PLUGINS: readonly ["@qvac/sdk/llamacpp-completion/plugin", "@qvac/sdk/llamacpp-embedding/plugin", "@qvac/sdk/whispercpp-transcription/plugin", "@qvac/sdk/bci-whispercpp-transcription/plugin", "@qvac/sdk/parakeet-transcription/plugin", "@qvac/sdk/nmtcpp-translation/plugin", "@qvac/sdk/tts-ggml/plugin", "@qvac/sdk/onnx-ocr/plugin", "@qvac/sdk/sdcpp-generation/plugin", "@qvac/sdk/ggml-vla/plugin", "@qvac/sdk/ggml-classification/plugin"];
|
|
304
310
|
export type BuiltinPlugin = (typeof SDK_DEFAULT_PLUGINS)[number];
|
|
305
311
|
/** Native addon package for LLM completion (llama.cpp) */
|
|
306
312
|
export declare const ADDON_LLM: "@qvac/llm-llamacpp";
|
|
@@ -308,6 +314,8 @@ export declare const ADDON_LLM: "@qvac/llm-llamacpp";
|
|
|
308
314
|
export declare const ADDON_EMBEDDING: "@qvac/embed-llamacpp";
|
|
309
315
|
/** Native addon package for Whisper transcription (whisper.cpp) */
|
|
310
316
|
export declare const ADDON_WHISPER: "@qvac/transcription-whispercpp";
|
|
317
|
+
/** Native addon package for BCI neural-signal transcription (whisper.cpp) */
|
|
318
|
+
export declare const ADDON_BCI: "@qvac/bci-whispercpp";
|
|
311
319
|
/** Native addon package for Parakeet transcription (ONNX) */
|
|
312
320
|
export declare const ADDON_PARAKEET: "@qvac/transcription-parakeet";
|
|
313
321
|
/** Native addon package for NMT translation (nmt.cpp) */
|
|
@@ -318,7 +326,7 @@ export declare const ADDON_TTS: "@qvac/tts-ggml";
|
|
|
318
326
|
export declare const ADDON_OCR: "@qvac/ocr-onnx";
|
|
319
327
|
/** Native addon package for image generation (stable-diffusion.cpp) */
|
|
320
328
|
export declare const ADDON_DIFFUSION: "@qvac/diffusion-cpp";
|
|
321
|
-
/** Native addon package for vision-language-action inference (SmolVLA on ggml) */
|
|
329
|
+
/** Native addon package for vision-language-action inference (SmolVLA / π₀.₅ on ggml) */
|
|
322
330
|
export declare const ADDON_VLA: "@qvac/vla-ggml";
|
|
323
331
|
/** Native addon package for image classification (GGML / MobileNetV3) */
|
|
324
332
|
export declare const ADDON_CLASSIFICATION: "@qvac/classification-ggml";
|
package/dist/schemas/plugin.js
CHANGED
|
@@ -141,6 +141,11 @@ export const PLUGIN_EMBEDDING = "@qvac/sdk/llamacpp-embedding/plugin";
|
|
|
141
141
|
* Provides: audio transcription, language detection.
|
|
142
142
|
*/
|
|
143
143
|
export const PLUGIN_WHISPER = "@qvac/sdk/whispercpp-transcription/plugin";
|
|
144
|
+
/**
|
|
145
|
+
* Brain-Computer Interface neural-signal transcription plugin
|
|
146
|
+
* (whisper.cpp). Provides: transcription of neural signals to text.
|
|
147
|
+
*/
|
|
148
|
+
export const PLUGIN_BCI = "@qvac/sdk/bci-whispercpp-transcription/plugin";
|
|
144
149
|
/**
|
|
145
150
|
* Speech-to-text transcription plugin (Parakeet ONNX).
|
|
146
151
|
* Provides: audio transcription using NVIDIA Parakeet models.
|
|
@@ -167,9 +172,10 @@ export const PLUGIN_OCR = "@qvac/sdk/onnx-ocr/plugin";
|
|
|
167
172
|
*/
|
|
168
173
|
export const PLUGIN_DIFFUSION = "@qvac/sdk/sdcpp-generation/plugin";
|
|
169
174
|
/**
|
|
170
|
-
* Vision-Language-Action plugin (SmolVLA
|
|
171
|
-
*
|
|
172
|
-
*
|
|
175
|
+
* Vision-Language-Action plugin (ggml). Supports SmolVLA and π₀.₅ (pi05),
|
|
176
|
+
* dispatched on the GGUF `general.architecture` key.
|
|
177
|
+
* Provides: robot-action inference from one or more camera frames (2 for
|
|
178
|
+
* SmolVLA, 3 for π₀.₅) and a natural-language instruction.
|
|
173
179
|
*/
|
|
174
180
|
export const PLUGIN_VLA = "@qvac/sdk/ggml-vla/plugin";
|
|
175
181
|
/**
|
|
@@ -190,6 +196,7 @@ export const SDK_DEFAULT_PLUGINS = [
|
|
|
190
196
|
PLUGIN_LLM,
|
|
191
197
|
PLUGIN_EMBEDDING,
|
|
192
198
|
PLUGIN_WHISPER,
|
|
199
|
+
PLUGIN_BCI,
|
|
193
200
|
PLUGIN_PARAKEET,
|
|
194
201
|
PLUGIN_NMT,
|
|
195
202
|
PLUGIN_TTS,
|
|
@@ -207,6 +214,8 @@ export const ADDON_LLM = "@qvac/llm-llamacpp";
|
|
|
207
214
|
export const ADDON_EMBEDDING = "@qvac/embed-llamacpp";
|
|
208
215
|
/** Native addon package for Whisper transcription (whisper.cpp) */
|
|
209
216
|
export const ADDON_WHISPER = "@qvac/transcription-whispercpp";
|
|
217
|
+
/** Native addon package for BCI neural-signal transcription (whisper.cpp) */
|
|
218
|
+
export const ADDON_BCI = "@qvac/bci-whispercpp";
|
|
210
219
|
/** Native addon package for Parakeet transcription (ONNX) */
|
|
211
220
|
export const ADDON_PARAKEET = "@qvac/transcription-parakeet";
|
|
212
221
|
/** Native addon package for NMT translation (nmt.cpp) */
|
|
@@ -217,7 +226,7 @@ export const ADDON_TTS = "@qvac/tts-ggml";
|
|
|
217
226
|
export const ADDON_OCR = "@qvac/ocr-onnx";
|
|
218
227
|
/** Native addon package for image generation (stable-diffusion.cpp) */
|
|
219
228
|
export const ADDON_DIFFUSION = "@qvac/diffusion-cpp";
|
|
220
|
-
/** Native addon package for vision-language-action inference (SmolVLA on ggml) */
|
|
229
|
+
/** Native addon package for vision-language-action inference (SmolVLA / π₀.₅ on ggml) */
|
|
221
230
|
export const ADDON_VLA = "@qvac/vla-ggml";
|
|
222
231
|
/** Native addon package for image classification (GGML / MobileNetV3) */
|
|
223
232
|
export const ADDON_CLASSIFICATION = "@qvac/classification-ggml";
|
|
@@ -7,6 +7,7 @@ declare const modelRegistryEntryAddonSchema: z.ZodEnum<{
|
|
|
7
7
|
vla: "vla";
|
|
8
8
|
llm: "llm";
|
|
9
9
|
whisper: "whisper";
|
|
10
|
+
bci: "bci";
|
|
10
11
|
nmt: "nmt";
|
|
11
12
|
parakeet: "parakeet";
|
|
12
13
|
classification: "classification";
|
|
@@ -16,6 +17,7 @@ declare const modelRegistryEntryAddonSchema: z.ZodEnum<{
|
|
|
16
17
|
export declare const modelRegistryEngineSchema: z.ZodEnum<{
|
|
17
18
|
"llamacpp-completion": "llamacpp-completion";
|
|
18
19
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
20
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
19
21
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
20
22
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
21
23
|
"onnx-tts": "onnx-tts";
|
|
@@ -44,6 +46,7 @@ export declare const modelRegistryEntrySchema: z.ZodObject<{
|
|
|
44
46
|
vla: "vla";
|
|
45
47
|
llm: "llm";
|
|
46
48
|
whisper: "whisper";
|
|
49
|
+
bci: "bci";
|
|
47
50
|
nmt: "nmt";
|
|
48
51
|
parakeet: "parakeet";
|
|
49
52
|
classification: "classification";
|
|
@@ -55,6 +58,7 @@ export declare const modelRegistryEntrySchema: z.ZodObject<{
|
|
|
55
58
|
engine: z.ZodEnum<{
|
|
56
59
|
"llamacpp-completion": "llamacpp-completion";
|
|
57
60
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
61
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
58
62
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
59
63
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
60
64
|
"onnx-tts": "onnx-tts";
|
|
@@ -95,6 +99,7 @@ export declare const modelRegistryListResponseSchema: z.ZodObject<{
|
|
|
95
99
|
vla: "vla";
|
|
96
100
|
llm: "llm";
|
|
97
101
|
whisper: "whisper";
|
|
102
|
+
bci: "bci";
|
|
98
103
|
nmt: "nmt";
|
|
99
104
|
parakeet: "parakeet";
|
|
100
105
|
classification: "classification";
|
|
@@ -106,6 +111,7 @@ export declare const modelRegistryListResponseSchema: z.ZodObject<{
|
|
|
106
111
|
engine: z.ZodEnum<{
|
|
107
112
|
"llamacpp-completion": "llamacpp-completion";
|
|
108
113
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
114
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
109
115
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
110
116
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
111
117
|
"onnx-tts": "onnx-tts";
|
|
@@ -137,6 +143,7 @@ export declare const modelRegistrySearchRequestSchema: z.ZodObject<{
|
|
|
137
143
|
vla: "vla";
|
|
138
144
|
llm: "llm";
|
|
139
145
|
whisper: "whisper";
|
|
146
|
+
bci: "bci";
|
|
140
147
|
nmt: "nmt";
|
|
141
148
|
parakeet: "parakeet";
|
|
142
149
|
classification: "classification";
|
|
@@ -164,6 +171,7 @@ export declare const modelRegistrySearchResponseSchema: z.ZodObject<{
|
|
|
164
171
|
vla: "vla";
|
|
165
172
|
llm: "llm";
|
|
166
173
|
whisper: "whisper";
|
|
174
|
+
bci: "bci";
|
|
167
175
|
nmt: "nmt";
|
|
168
176
|
parakeet: "parakeet";
|
|
169
177
|
classification: "classification";
|
|
@@ -175,6 +183,7 @@ export declare const modelRegistrySearchResponseSchema: z.ZodObject<{
|
|
|
175
183
|
engine: z.ZodEnum<{
|
|
176
184
|
"llamacpp-completion": "llamacpp-completion";
|
|
177
185
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
186
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
178
187
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
179
188
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
180
189
|
"onnx-tts": "onnx-tts";
|
|
@@ -218,6 +227,7 @@ export declare const modelRegistryGetModelResponseSchema: z.ZodObject<{
|
|
|
218
227
|
vla: "vla";
|
|
219
228
|
llm: "llm";
|
|
220
229
|
whisper: "whisper";
|
|
230
|
+
bci: "bci";
|
|
221
231
|
nmt: "nmt";
|
|
222
232
|
parakeet: "parakeet";
|
|
223
233
|
classification: "classification";
|
|
@@ -229,6 +239,7 @@ export declare const modelRegistryGetModelResponseSchema: z.ZodObject<{
|
|
|
229
239
|
engine: z.ZodEnum<{
|
|
230
240
|
"llamacpp-completion": "llamacpp-completion";
|
|
231
241
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
242
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
232
243
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
233
244
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
234
245
|
"onnx-tts": "onnx-tts";
|
|
@@ -262,6 +273,7 @@ export declare const modelRegistryRequestSchema: z.ZodUnion<readonly [z.ZodObjec
|
|
|
262
273
|
vla: "vla";
|
|
263
274
|
llm: "llm";
|
|
264
275
|
whisper: "whisper";
|
|
276
|
+
bci: "bci";
|
|
265
277
|
nmt: "nmt";
|
|
266
278
|
parakeet: "parakeet";
|
|
267
279
|
classification: "classification";
|
|
@@ -293,6 +305,7 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
293
305
|
vla: "vla";
|
|
294
306
|
llm: "llm";
|
|
295
307
|
whisper: "whisper";
|
|
308
|
+
bci: "bci";
|
|
296
309
|
nmt: "nmt";
|
|
297
310
|
parakeet: "parakeet";
|
|
298
311
|
classification: "classification";
|
|
@@ -304,6 +317,7 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
304
317
|
engine: z.ZodEnum<{
|
|
305
318
|
"llamacpp-completion": "llamacpp-completion";
|
|
306
319
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
320
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
307
321
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
308
322
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
309
323
|
"onnx-tts": "onnx-tts";
|
|
@@ -339,6 +353,7 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
339
353
|
vla: "vla";
|
|
340
354
|
llm: "llm";
|
|
341
355
|
whisper: "whisper";
|
|
356
|
+
bci: "bci";
|
|
342
357
|
nmt: "nmt";
|
|
343
358
|
parakeet: "parakeet";
|
|
344
359
|
classification: "classification";
|
|
@@ -350,6 +365,7 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
350
365
|
engine: z.ZodEnum<{
|
|
351
366
|
"llamacpp-completion": "llamacpp-completion";
|
|
352
367
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
368
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
353
369
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
354
370
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
355
371
|
"onnx-tts": "onnx-tts";
|
|
@@ -385,6 +401,7 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
385
401
|
vla: "vla";
|
|
386
402
|
llm: "llm";
|
|
387
403
|
whisper: "whisper";
|
|
404
|
+
bci: "bci";
|
|
388
405
|
nmt: "nmt";
|
|
389
406
|
parakeet: "parakeet";
|
|
390
407
|
classification: "classification";
|
|
@@ -396,6 +413,7 @@ export declare const modelRegistryResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
396
413
|
engine: z.ZodEnum<{
|
|
397
414
|
"llamacpp-completion": "llamacpp-completion";
|
|
398
415
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
416
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
399
417
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
400
418
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
401
419
|
"onnx-tts": "onnx-tts";
|
package/dist/schemas/registry.js
CHANGED
|
@@ -4,6 +4,7 @@ import { ModelType } from "./model-types.js";
|
|
|
4
4
|
const modelRegistryEntryAddonSchema = z.enum([
|
|
5
5
|
"llm",
|
|
6
6
|
"whisper",
|
|
7
|
+
"bci",
|
|
7
8
|
"embeddings",
|
|
8
9
|
"nmt",
|
|
9
10
|
"vad",
|
|
@@ -23,6 +24,7 @@ const modelRegistryEntryAddonSchema = z.enum([
|
|
|
23
24
|
export const modelRegistryEngineSchema = z.enum([
|
|
24
25
|
ModelType.llamacppCompletion,
|
|
25
26
|
ModelType.whispercppTranscription,
|
|
27
|
+
ModelType.bciWhispercppTranscription,
|
|
26
28
|
ModelType.llamacppEmbedding,
|
|
27
29
|
ModelType.nmtcppTranslation,
|
|
28
30
|
ModelType.onnxTts,
|
|
@@ -85,6 +85,7 @@ export declare const reloadConfigOptionsSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
85
85
|
vla: "vla";
|
|
86
86
|
"llamacpp-completion": "llamacpp-completion";
|
|
87
87
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
88
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
88
89
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
89
90
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
90
91
|
"onnx-tts": "onnx-tts";
|
|
@@ -96,6 +97,7 @@ export declare const reloadConfigOptionsSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
96
97
|
"ggml-classification": "ggml-classification";
|
|
97
98
|
llm: "llm";
|
|
98
99
|
whisper: "whisper";
|
|
100
|
+
bci: "bci";
|
|
99
101
|
nmt: "nmt";
|
|
100
102
|
parakeet: "parakeet";
|
|
101
103
|
classification: "classification";
|
|
@@ -188,6 +190,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
188
190
|
vla: "vla";
|
|
189
191
|
"llamacpp-completion": "llamacpp-completion";
|
|
190
192
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
193
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
191
194
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
192
195
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
193
196
|
"onnx-tts": "onnx-tts";
|
|
@@ -199,6 +202,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
199
202
|
"ggml-classification": "ggml-classification";
|
|
200
203
|
llm: "llm";
|
|
201
204
|
whisper: "whisper";
|
|
205
|
+
bci: "bci";
|
|
202
206
|
nmt: "nmt";
|
|
203
207
|
parakeet: "parakeet";
|
|
204
208
|
classification: "classification";
|
|
@@ -274,7 +278,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
274
278
|
engine?: string | undefined;
|
|
275
279
|
expectedSize?: number | undefined;
|
|
276
280
|
sha256Checksum?: string | 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;
|
|
281
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
278
282
|
} | undefined;
|
|
279
283
|
};
|
|
280
284
|
}, {
|
|
@@ -345,7 +349,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
|
|
|
345
349
|
engine?: string | undefined;
|
|
346
350
|
expectedSize?: number | undefined;
|
|
347
351
|
sha256Checksum?: string | 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;
|
|
352
|
+
addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "onnx-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
|
|
349
353
|
} | undefined;
|
|
350
354
|
};
|
|
351
355
|
}>>]>;
|
|
@@ -439,6 +443,7 @@ export declare const reloadConfigWhisperRequestSchema: z.ZodObject<{
|
|
|
439
443
|
vla: "vla";
|
|
440
444
|
"llamacpp-completion": "llamacpp-completion";
|
|
441
445
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
446
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
442
447
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
443
448
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
444
449
|
"onnx-tts": "onnx-tts";
|
|
@@ -450,6 +455,7 @@ export declare const reloadConfigWhisperRequestSchema: z.ZodObject<{
|
|
|
450
455
|
"ggml-classification": "ggml-classification";
|
|
451
456
|
llm: "llm";
|
|
452
457
|
whisper: "whisper";
|
|
458
|
+
bci: "bci";
|
|
453
459
|
nmt: "nmt";
|
|
454
460
|
parakeet: "parakeet";
|
|
455
461
|
classification: "classification";
|
|
@@ -547,6 +553,7 @@ export declare const reloadConfigRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
547
553
|
vla: "vla";
|
|
548
554
|
"llamacpp-completion": "llamacpp-completion";
|
|
549
555
|
"whispercpp-transcription": "whispercpp-transcription";
|
|
556
|
+
"bci-whispercpp-transcription": "bci-whispercpp-transcription";
|
|
550
557
|
"llamacpp-embedding": "llamacpp-embedding";
|
|
551
558
|
"nmtcpp-translation": "nmtcpp-translation";
|
|
552
559
|
"onnx-tts": "onnx-tts";
|
|
@@ -558,6 +565,7 @@ export declare const reloadConfigRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
558
565
|
"ggml-classification": "ggml-classification";
|
|
559
566
|
llm: "llm";
|
|
560
567
|
whisper: "whisper";
|
|
568
|
+
bci: "bci";
|
|
561
569
|
nmt: "nmt";
|
|
562
570
|
parakeet: "parakeet";
|
|
563
571
|
classification: "classification";
|