@qvac/sdk 0.13.5 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/NOTICE +95 -1151
  2. package/README.md +1 -2
  3. package/bare-imports.json +0 -5
  4. package/dist/client/api/bci-transcribe.js +2 -1
  5. package/dist/client/api/download-asset.js +2 -1
  6. package/dist/client/api/finetune.js +6 -5
  7. package/dist/client/api/index.d.ts +1 -0
  8. package/dist/client/api/index.js +1 -0
  9. package/dist/client/api/load-model.d.ts +11 -8
  10. package/dist/client/api/load-model.js +6 -6
  11. package/dist/client/api/subscribe-logs.d.ts +28 -0
  12. package/dist/client/api/subscribe-logs.js +43 -0
  13. package/dist/client/api/text-to-speech.js +2 -1
  14. package/dist/client/config-loader/config-utils.js +2 -4
  15. package/dist/client/config-loader/resolve-config.bare.js +4 -3
  16. package/dist/client/parse-input.d.ts +3 -0
  17. package/dist/client/parse-input.js +14 -0
  18. package/dist/client/rpc/expo-rpc-client.js +2 -11
  19. package/dist/client/rpc/node-rpc-client.js +8 -2
  20. package/dist/client/rpc/rpc-client.js +39 -7
  21. package/dist/commands/bundle/constants.js +2 -1
  22. package/dist/commands/bundle/entry-gen.d.ts +1 -1
  23. package/dist/commands/bundle/entry-gen.js +6 -6
  24. package/dist/commands/bundle/index.js +3 -1
  25. package/dist/commands/bundle/resolve-sdk-import.d.ts +6 -0
  26. package/dist/commands/bundle/resolve-sdk-import.js +60 -0
  27. package/dist/examples/bci/bci-filesystem-streaming.js +14 -14
  28. package/dist/examples/bci/bci-filesystem.js +17 -13
  29. package/dist/examples/cache-management.js +38 -38
  30. package/dist/examples/cancel-by-request-id.js +9 -9
  31. package/dist/examples/completion-events.js +20 -14
  32. package/dist/examples/completion-stop-reason.js +13 -7
  33. package/dist/examples/concurrent-completion-collision.js +7 -7
  34. package/dist/examples/config-reload.js +7 -8
  35. package/dist/examples/default-config-usage.js +4 -4
  36. package/dist/examples/delegated-inference/composite.js +14 -10
  37. package/dist/examples/delegated-inference/consumer-profiled.js +13 -13
  38. package/dist/examples/delegated-inference/consumer.js +16 -12
  39. package/dist/examples/delegated-inference/provider.js +12 -12
  40. package/dist/examples/diffusion-esrgan-upscale.js +19 -15
  41. package/dist/examples/diffusion-flux2-klein-img2img.js +16 -11
  42. package/dist/examples/diffusion-flux2-klein.js +14 -9
  43. package/dist/examples/diffusion-img2img.js +9 -10
  44. package/dist/examples/diffusion-img2vid.js +17 -12
  45. package/dist/examples/diffusion-simple.js +1 -1
  46. package/dist/examples/diffusion-txt2img.js +14 -9
  47. package/dist/examples/diffusion-txt2vid.js +15 -10
  48. package/dist/examples/download-with-blind-relays.js +16 -21
  49. package/dist/examples/download-with-cancel.js +15 -16
  50. package/dist/examples/embed-multi-gpu.js +3 -4
  51. package/dist/examples/embed-p2p.js +11 -7
  52. package/dist/examples/finetune/llamacpp-finetune.js +7 -7
  53. package/dist/examples/kv-cache-cleanup.js +35 -35
  54. package/dist/examples/kv-cache-custom-key.js +24 -24
  55. package/dist/examples/kv-cache-example.js +9 -9
  56. package/dist/examples/llamacpp-cache.js +18 -14
  57. package/dist/examples/llamacpp-dynamic-tools.js +15 -9
  58. package/dist/examples/llamacpp-filesystem.js +15 -9
  59. package/dist/examples/llamacpp-http.js +12 -10
  60. package/dist/examples/llamacpp-multi-gpu.js +4 -4
  61. package/dist/examples/llamacpp-multimodal.js +13 -9
  62. package/dist/examples/llamacpp-p2p.js +8 -4
  63. package/dist/examples/llamacpp-sharded.js +5 -5
  64. package/dist/examples/llamacpp-structured-output.js +15 -9
  65. package/dist/examples/logging-file-transport.js +3 -3
  66. package/dist/examples/logging-global.d.ts +2 -0
  67. package/dist/examples/logging-global.js +34 -0
  68. package/dist/examples/logging-streaming.js +7 -10
  69. package/dist/examples/mcp-websearch.js +24 -18
  70. package/dist/examples/multi-model-demo.js +17 -11
  71. package/dist/examples/ocr-fasttext.js +14 -16
  72. package/dist/examples/parallel-download.js +7 -7
  73. package/dist/examples/plugins.js +40 -28
  74. package/dist/examples/profiling/basic.js +16 -10
  75. package/dist/examples/profiling/per-call.js +17 -11
  76. package/dist/examples/quickstart.bare.d.ts +2 -0
  77. package/dist/examples/quickstart.bare.js +18 -0
  78. package/dist/examples/quickstart.js +10 -3
  79. package/dist/examples/rag/rag-chromadb.js +18 -14
  80. package/dist/examples/rag/rag-hyperdb/cancellation.js +17 -14
  81. package/dist/examples/rag/rag-hyperdb/ingest.js +14 -12
  82. package/dist/examples/rag/rag-hyperdb/pipeline.js +19 -17
  83. package/dist/examples/rag/rag-hyperdb/workspaces.js +31 -27
  84. package/dist/examples/rag/rag-lancedb.js +12 -8
  85. package/dist/examples/rag/rag-sqlite.js +11 -7
  86. package/dist/examples/registry-query.js +17 -17
  87. package/dist/examples/seed-p2p.js +10 -6
  88. package/dist/examples/suspend-resume.js +20 -16
  89. package/dist/examples/tools/llamacpp-native-tools.js +24 -18
  90. package/dist/examples/tools/llamacpp-tools-gemma4.js +14 -8
  91. package/dist/examples/tools/llamacpp-tools-harmony-multiturn.js +20 -14
  92. package/dist/examples/tools/llamacpp-tools-pythonic.js +14 -8
  93. package/dist/examples/tools/llamacpp-tools-qwen35.js +14 -8
  94. package/dist/examples/transcription/parakeet-ctc-filesystem.js +12 -9
  95. package/dist/examples/transcription/parakeet-microphone-record.js +15 -9
  96. package/dist/examples/transcription/parakeet-microphone-stream.js +15 -9
  97. package/dist/examples/transcription/parakeet-sortformer-streaming.js +12 -6
  98. package/dist/examples/transcription/parakeet-sortformer.js +3 -5
  99. package/dist/examples/transcription/parakeet-tdt-filesystem.js +13 -10
  100. package/dist/examples/transcription/whispercpp-filesystem-streaming.js +16 -17
  101. package/dist/examples/transcription/whispercpp-filesystem.js +14 -10
  102. package/dist/examples/transcription/whispercpp-microphone-conversation.js +10 -10
  103. package/dist/examples/transcription/whispercpp-microphone-record.js +6 -6
  104. package/dist/examples/transcription/whispercpp-prompt.js +14 -10
  105. package/dist/examples/translation/translation-bergamot-batch.js +11 -7
  106. package/dist/examples/translation/translation-bergamot-pivot.js +13 -9
  107. package/dist/examples/translation/translation-bergamot.js +8 -4
  108. package/dist/examples/translation/translation-indic.js +8 -4
  109. package/dist/examples/translation/translation-llm-afriquegemma.js +7 -3
  110. package/dist/examples/translation/translation-llm-context.js +8 -4
  111. package/dist/examples/translation/translation-llm.js +7 -3
  112. package/dist/examples/translation/translation-stream.js +4 -4
  113. package/dist/examples/tts/chatterbox.js +19 -11
  114. package/dist/examples/tts/llm-to-tts-streaming.js +27 -14
  115. package/dist/examples/tts/supertonic-multilingual.js +18 -14
  116. package/dist/examples/tts/supertonic.js +19 -15
  117. package/dist/examples/tts/utils.js +1 -1
  118. package/dist/examples/vla-pi05.js +18 -14
  119. package/dist/examples/vla-smolvla.js +18 -14
  120. package/dist/examples/voice-assistant/voice-assistant.js +12 -12
  121. package/dist/index.d.ts +3 -4
  122. package/dist/index.js +3 -4
  123. package/dist/logging/client-logger.js +2 -1
  124. package/dist/logging/index.d.ts +1 -1
  125. package/dist/logging/index.js +1 -1
  126. package/dist/logging/namespaces.d.ts +1 -0
  127. package/dist/logging/namespaces.js +2 -0
  128. package/dist/logging/server-logger.js +1 -4
  129. package/dist/logging/utils.js +6 -1
  130. package/dist/models/registry/index.d.ts +17 -0
  131. package/dist/models/registry/index.js +20 -1
  132. package/dist/models/registry/models.d.ts +1062 -38
  133. package/dist/models/registry/models.js +3546 -2490
  134. package/dist/pear/pre.js +2 -2
  135. package/dist/schemas/bci-config.d.ts +37 -0
  136. package/dist/schemas/bci-config.js +2 -0
  137. package/dist/schemas/bci.d.ts +2 -0
  138. package/dist/schemas/common.d.ts +171 -94
  139. package/dist/schemas/completion-stream.d.ts +6 -3
  140. package/dist/schemas/completion-stream.js +10 -2
  141. package/dist/schemas/download-asset.d.ts +5 -5
  142. package/dist/schemas/engine-addon-map.d.ts +1 -1
  143. package/dist/schemas/engine-addon-map.js +6 -3
  144. package/dist/schemas/error.js +6 -1
  145. package/dist/schemas/llamacpp-config.d.ts +27 -8
  146. package/dist/schemas/llamacpp-config.js +19 -2
  147. package/dist/schemas/load-model.d.ts +4170 -570
  148. package/dist/schemas/load-model.js +85 -26
  149. package/dist/schemas/logging-stream.js +7 -1
  150. package/dist/schemas/model-src-utils.d.ts +6 -6
  151. package/dist/schemas/model-types.d.ts +14 -15
  152. package/dist/schemas/model-types.js +10 -11
  153. package/dist/schemas/ocr.d.ts +10 -8
  154. package/dist/schemas/ocr.js +8 -6
  155. package/dist/schemas/plugin.d.ts +6 -5
  156. package/dist/schemas/plugin.js +4 -4
  157. package/dist/schemas/rag.d.ts +4 -4
  158. package/dist/schemas/registry.d.ts +8 -8
  159. package/dist/schemas/registry.js +1 -1
  160. package/dist/schemas/reload-config.d.ts +6 -6
  161. package/dist/schemas/sdcpp-config.d.ts +12 -12
  162. package/dist/schemas/sdk-config.d.ts +171 -117
  163. package/dist/schemas/sdk-config.js +5 -5
  164. package/dist/schemas/sdk-errors-client.d.ts +1 -0
  165. package/dist/schemas/sdk-errors-client.js +7 -2
  166. package/dist/schemas/text-to-speech.d.ts +157 -13
  167. package/dist/schemas/text-to-speech.js +70 -7
  168. package/dist/schemas/transcription-config.d.ts +5 -1
  169. package/dist/schemas/transcription-config.js +2 -0
  170. package/dist/schemas/transcription.d.ts +3 -0
  171. package/dist/schemas/transcription.js +2 -1
  172. package/dist/schemas/translate.d.ts +6 -6
  173. package/dist/schemas/translate.js +2 -3
  174. package/dist/schemas/translation-config.d.ts +20 -20
  175. package/dist/server/bare/hyperswarm.js +3 -3
  176. package/dist/server/bare/ops/transcribe.js +46 -15
  177. package/dist/server/bare/plugins/bci-whispercpp-transcription/args.d.ts +3 -0
  178. package/dist/server/bare/plugins/bci-whispercpp-transcription/args.js +13 -0
  179. package/dist/server/bare/plugins/bci-whispercpp-transcription/plugin.d.ts +41 -0
  180. package/dist/server/bare/plugins/bci-whispercpp-transcription/plugin.js +6 -11
  181. package/dist/server/bare/plugins/bci-whispercpp-transcription/resolve-config.d.ts +75 -0
  182. package/dist/server/bare/plugins/bci-whispercpp-transcription/resolve-config.js +11 -0
  183. package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/plugin.d.ts +16 -10
  184. package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/plugin.js +25 -18
  185. package/dist/server/bare/plugins/index.d.ts +1 -1
  186. package/dist/server/bare/plugins/index.js +1 -1
  187. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stats.d.ts +10 -0
  188. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stats.js +29 -0
  189. package/dist/server/bare/plugins/llamacpp-completion/ops/completion-stream.js +4 -22
  190. package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +15 -7
  191. package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +7 -7
  192. package/dist/server/bare/plugins/parakeet-transcription/plugin.d.ts +2 -0
  193. package/dist/server/bare/plugins/sdcpp-generation/plugin.d.ts +10 -10
  194. package/dist/server/bare/plugins/tts-ggml/plugin.d.ts +14 -8
  195. package/dist/server/bare/plugins/tts-ggml/plugin.js +12 -0
  196. package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +3 -1
  197. package/dist/server/bare/registry/logging-stream-registry.d.ts +4 -2
  198. package/dist/server/bare/registry/logging-stream-registry.js +12 -7
  199. package/dist/server/bare/registry/model-config-utils.js +2 -2
  200. package/dist/server/bare/registry/registry-client.js +1 -1
  201. package/dist/server/bare/runtime-lifecycle.d.ts +9 -0
  202. package/dist/server/bare/runtime-lifecycle.js +24 -0
  203. package/dist/server/bare/types/addon-responses.d.ts +1 -0
  204. package/dist/server/env.js +7 -10
  205. package/dist/server/plugins/registry.js +2 -4
  206. package/dist/server/rpc/handlers/load-model/handler.js +2 -4
  207. package/dist/server/rpc/handlers/load-model/http.js +253 -51
  208. package/dist/server/rpc/handlers/logging-stream.js +4 -2
  209. package/dist/server/rpc/handlers/plugin-invoke.js +5 -16
  210. package/dist/server/utils/completion-normalizer.js +13 -4
  211. package/dist/server/utils/worker-lock.js +5 -5
  212. package/dist/server/worker-core.d.ts +1 -1
  213. package/dist/server/worker-core.js +28 -18
  214. package/dist/utils/errors-client.d.ts +3 -0
  215. package/dist/utils/errors-client.js +5 -0
  216. package/dist/utils/errors-server.d.ts +2 -0
  217. package/dist/utils/errors-server.js +3 -0
  218. package/dist/utils/zod-error.d.ts +3 -0
  219. package/dist/utils/zod-error.js +4 -0
  220. package/package.json +21 -24
  221. package/dist/polyfills/bare-globals.d.ts +0 -2
  222. package/dist/polyfills/bare-globals.js +0 -4
  223. package/dist/polyfills/bare-globals.noop.d.ts +0 -2
  224. package/dist/polyfills/bare-globals.noop.js +0 -1
  225. /package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/ops/ocr-stream.d.ts +0 -0
  226. /package/dist/server/bare/plugins/{onnx-ocr → ggml-ocr}/ops/ocr-stream.js +0 -0
@@ -91,7 +91,7 @@ export declare const reloadConfigOptionsSchema: z.ZodUnion<readonly [z.ZodObject
91
91
  "onnx-tts": "onnx-tts";
92
92
  "tts-ggml": "tts-ggml";
93
93
  "parakeet-transcription": "parakeet-transcription";
94
- "onnx-ocr": "onnx-ocr";
94
+ "ggml-ocr": "ggml-ocr";
95
95
  "sdcpp-generation": "sdcpp-generation";
96
96
  "ggml-vla": "ggml-vla";
97
97
  "ggml-classification": "ggml-classification";
@@ -196,7 +196,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
196
196
  "onnx-tts": "onnx-tts";
197
197
  "tts-ggml": "tts-ggml";
198
198
  "parakeet-transcription": "parakeet-transcription";
199
- "onnx-ocr": "onnx-ocr";
199
+ "ggml-ocr": "ggml-ocr";
200
200
  "sdcpp-generation": "sdcpp-generation";
201
201
  "ggml-vla": "ggml-vla";
202
202
  "ggml-classification": "ggml-classification";
@@ -278,7 +278,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
278
278
  engine?: string | undefined;
279
279
  expectedSize?: number | undefined;
280
280
  sha256Checksum?: string | 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;
281
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
282
282
  } | undefined;
283
283
  };
284
284
  }, {
@@ -349,7 +349,7 @@ export declare const reloadConfigOptionsToRequestSchema: z.ZodUnion<readonly [z.
349
349
  engine?: string | undefined;
350
350
  expectedSize?: number | undefined;
351
351
  sha256Checksum?: string | 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;
352
+ addon?: "embeddings" | "diffusion" | "tts" | "ocr" | "vla" | "llamacpp-completion" | "whispercpp-transcription" | "bci-whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "tts-ggml" | "parakeet-transcription" | "ggml-ocr" | "sdcpp-generation" | "ggml-vla" | "ggml-classification" | "llm" | "whisper" | "bci" | "nmt" | "parakeet" | "classification" | "vad" | undefined;
353
353
  } | undefined;
354
354
  };
355
355
  }>>]>;
@@ -449,7 +449,7 @@ export declare const reloadConfigWhisperRequestSchema: z.ZodObject<{
449
449
  "onnx-tts": "onnx-tts";
450
450
  "tts-ggml": "tts-ggml";
451
451
  "parakeet-transcription": "parakeet-transcription";
452
- "onnx-ocr": "onnx-ocr";
452
+ "ggml-ocr": "ggml-ocr";
453
453
  "sdcpp-generation": "sdcpp-generation";
454
454
  "ggml-vla": "ggml-vla";
455
455
  "ggml-classification": "ggml-classification";
@@ -559,7 +559,7 @@ export declare const reloadConfigRequestSchema: z.ZodUnion<readonly [z.ZodObject
559
559
  "onnx-tts": "onnx-tts";
560
560
  "tts-ggml": "tts-ggml";
561
561
  "parakeet-transcription": "parakeet-transcription";
562
- "onnx-ocr": "onnx-ocr";
562
+ "ggml-ocr": "ggml-ocr";
563
563
  "sdcpp-generation": "sdcpp-generation";
564
564
  "ggml-vla": "ggml-vla";
565
565
  "ggml-classification": "ggml-classification";
@@ -81,7 +81,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
81
81
  "onnx-tts": "onnx-tts";
82
82
  "tts-ggml": "tts-ggml";
83
83
  "parakeet-transcription": "parakeet-transcription";
84
- "onnx-ocr": "onnx-ocr";
84
+ "ggml-ocr": "ggml-ocr";
85
85
  "sdcpp-generation": "sdcpp-generation";
86
86
  "ggml-vla": "ggml-vla";
87
87
  "ggml-classification": "ggml-classification";
@@ -118,7 +118,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
118
118
  "onnx-tts": "onnx-tts";
119
119
  "tts-ggml": "tts-ggml";
120
120
  "parakeet-transcription": "parakeet-transcription";
121
- "onnx-ocr": "onnx-ocr";
121
+ "ggml-ocr": "ggml-ocr";
122
122
  "sdcpp-generation": "sdcpp-generation";
123
123
  "ggml-vla": "ggml-vla";
124
124
  "ggml-classification": "ggml-classification";
@@ -155,7 +155,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
155
155
  "onnx-tts": "onnx-tts";
156
156
  "tts-ggml": "tts-ggml";
157
157
  "parakeet-transcription": "parakeet-transcription";
158
- "onnx-ocr": "onnx-ocr";
158
+ "ggml-ocr": "ggml-ocr";
159
159
  "sdcpp-generation": "sdcpp-generation";
160
160
  "ggml-vla": "ggml-vla";
161
161
  "ggml-classification": "ggml-classification";
@@ -192,7 +192,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
192
192
  "onnx-tts": "onnx-tts";
193
193
  "tts-ggml": "tts-ggml";
194
194
  "parakeet-transcription": "parakeet-transcription";
195
- "onnx-ocr": "onnx-ocr";
195
+ "ggml-ocr": "ggml-ocr";
196
196
  "sdcpp-generation": "sdcpp-generation";
197
197
  "ggml-vla": "ggml-vla";
198
198
  "ggml-classification": "ggml-classification";
@@ -229,7 +229,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
229
229
  "onnx-tts": "onnx-tts";
230
230
  "tts-ggml": "tts-ggml";
231
231
  "parakeet-transcription": "parakeet-transcription";
232
- "onnx-ocr": "onnx-ocr";
232
+ "ggml-ocr": "ggml-ocr";
233
233
  "sdcpp-generation": "sdcpp-generation";
234
234
  "ggml-vla": "ggml-vla";
235
235
  "ggml-classification": "ggml-classification";
@@ -266,7 +266,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
266
266
  "onnx-tts": "onnx-tts";
267
267
  "tts-ggml": "tts-ggml";
268
268
  "parakeet-transcription": "parakeet-transcription";
269
- "onnx-ocr": "onnx-ocr";
269
+ "ggml-ocr": "ggml-ocr";
270
270
  "sdcpp-generation": "sdcpp-generation";
271
271
  "ggml-vla": "ggml-vla";
272
272
  "ggml-classification": "ggml-classification";
@@ -303,7 +303,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
303
303
  "onnx-tts": "onnx-tts";
304
304
  "tts-ggml": "tts-ggml";
305
305
  "parakeet-transcription": "parakeet-transcription";
306
- "onnx-ocr": "onnx-ocr";
306
+ "ggml-ocr": "ggml-ocr";
307
307
  "sdcpp-generation": "sdcpp-generation";
308
308
  "ggml-vla": "ggml-vla";
309
309
  "ggml-classification": "ggml-classification";
@@ -342,7 +342,7 @@ export declare const sdcppConfigSchema: z.ZodObject<{
342
342
  "onnx-tts": "onnx-tts";
343
343
  "tts-ggml": "tts-ggml";
344
344
  "parakeet-transcription": "parakeet-transcription";
345
- "onnx-ocr": "onnx-ocr";
345
+ "ggml-ocr": "ggml-ocr";
346
346
  "sdcpp-generation": "sdcpp-generation";
347
347
  "ggml-vla": "ggml-vla";
348
348
  "ggml-classification": "ggml-classification";
@@ -377,6 +377,8 @@ export declare const diffusionStatsSchema: z.ZodObject<{
377
377
  export type DiffusionStats = z.infer<typeof diffusionStatsSchema>;
378
378
  export declare const videoStatsSchema: z.ZodObject<{
379
379
  seed: z.ZodOptional<z.ZodNumber>;
380
+ width: z.ZodOptional<z.ZodNumber>;
381
+ height: z.ZodOptional<z.ZodNumber>;
380
382
  modelLoadMs: z.ZodOptional<z.ZodNumber>;
381
383
  generationMs: z.ZodOptional<z.ZodNumber>;
382
384
  totalGenerationMs: z.ZodOptional<z.ZodNumber>;
@@ -385,8 +387,6 @@ export declare const videoStatsSchema: z.ZodObject<{
385
387
  totalGenerations: z.ZodOptional<z.ZodNumber>;
386
388
  totalImages: z.ZodOptional<z.ZodNumber>;
387
389
  totalPixels: z.ZodOptional<z.ZodNumber>;
388
- width: z.ZodOptional<z.ZodNumber>;
389
- height: z.ZodOptional<z.ZodNumber>;
390
390
  totalVideos: z.ZodOptional<z.ZodNumber>;
391
391
  totalVideoFrames: z.ZodOptional<z.ZodNumber>;
392
392
  videoFrames: z.ZodOptional<z.ZodNumber>;
@@ -426,6 +426,8 @@ export declare const videoStreamResponseSchema: z.ZodObject<{
426
426
  done: z.ZodOptional<z.ZodBoolean>;
427
427
  stats: z.ZodOptional<z.ZodObject<{
428
428
  seed: z.ZodOptional<z.ZodNumber>;
429
+ width: z.ZodOptional<z.ZodNumber>;
430
+ height: z.ZodOptional<z.ZodNumber>;
429
431
  modelLoadMs: z.ZodOptional<z.ZodNumber>;
430
432
  generationMs: z.ZodOptional<z.ZodNumber>;
431
433
  totalGenerationMs: z.ZodOptional<z.ZodNumber>;
@@ -434,8 +436,6 @@ export declare const videoStreamResponseSchema: z.ZodObject<{
434
436
  totalGenerations: z.ZodOptional<z.ZodNumber>;
435
437
  totalImages: z.ZodOptional<z.ZodNumber>;
436
438
  totalPixels: z.ZodOptional<z.ZodNumber>;
437
- width: z.ZodOptional<z.ZodNumber>;
438
- height: z.ZodOptional<z.ZodNumber>;
439
439
  totalVideos: z.ZodOptional<z.ZodNumber>;
440
440
  totalVideoFrames: z.ZodOptional<z.ZodNumber>;
441
441
  videoFrames: z.ZodOptional<z.ZodNumber>;