@qvac/sdk 0.6.0 → 0.7.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.
Files changed (278) hide show
  1. package/LICENSE +1 -24
  2. package/NOTICE +632 -0
  3. package/README.md +2 -1
  4. package/dist/client/api/embed.js +1 -4
  5. package/dist/client/api/get-model-info.d.ts +10 -3
  6. package/dist/client/api/index.d.ts +2 -0
  7. package/dist/client/api/index.js +2 -0
  8. package/dist/client/api/invoke-plugin.d.ts +14 -0
  9. package/dist/client/api/invoke-plugin.js +38 -0
  10. package/dist/client/api/registry.d.ts +14 -0
  11. package/dist/client/api/registry.js +37 -0
  12. package/dist/client/api/transcribe.js +0 -4
  13. package/dist/client/api/unload-model.js +1 -1
  14. package/dist/client/config-loader/resolve-config.node.d.ts +3 -2
  15. package/dist/client/config-loader/resolve-config.node.js +31 -4
  16. package/dist/client/init-hooks.js +2 -1
  17. package/dist/client/rpc/bare-client.d.ts +2 -0
  18. package/dist/client/rpc/bare-client.js +48 -7
  19. package/dist/client/rpc/expo-device-info.d.ts +6 -0
  20. package/dist/client/rpc/expo-device-info.js +32 -0
  21. package/dist/client/rpc/expo-rpc-client.js +9 -32
  22. package/dist/client/rpc/node-rpc-client.d.ts +1 -1
  23. package/dist/client/rpc/node-rpc-client.js +201 -28
  24. package/dist/client/rpc/rpc-client.d.ts +1 -1
  25. package/dist/client/rpc/rpc-client.js +2 -2
  26. package/dist/constants/index.d.ts +1 -0
  27. package/dist/constants/index.js +1 -0
  28. package/dist/constants/registry.d.ts +2 -0
  29. package/dist/constants/registry.js +1 -0
  30. package/dist/examples/cache-management.js +2 -2
  31. package/dist/examples/config/plugins/plugins.config.d.ts +5 -0
  32. package/dist/examples/config/plugins/plugins.config.js +4 -0
  33. package/dist/examples/download-with-blind-relays.js +1 -1
  34. package/dist/examples/llamacpp-multimodal.js +3 -3
  35. package/dist/examples/llamacpp-native-tools.js +2 -2
  36. package/dist/examples/mcp-websearch.js +2 -2
  37. package/dist/examples/multi-model-demo.js +2 -2
  38. package/dist/examples/ocr-fasttext.js +4 -4
  39. package/dist/examples/parallel-download.js +2 -2
  40. package/dist/examples/plugins.d.ts +14 -0
  41. package/dist/examples/plugins.js +129 -0
  42. package/dist/examples/registry-query.d.ts +2 -0
  43. package/dist/examples/registry-query.js +87 -0
  44. package/dist/examples/translation/translation-bergamot-batch.js +2 -2
  45. package/dist/examples/translation/translation-bergamot.js +4 -4
  46. package/dist/examples/translation/translation-opus.js +2 -2
  47. package/dist/examples/translation/translation-stream.js +2 -2
  48. package/dist/examples/tts/chatterbox.d.ts +2 -0
  49. package/dist/examples/tts/chatterbox.js +59 -0
  50. package/dist/examples/tts/supertonic.d.ts +2 -0
  51. package/dist/examples/tts/supertonic.js +51 -0
  52. package/dist/examples/tts/utils.d.ts +17 -0
  53. package/dist/examples/tts/utils.js +93 -0
  54. package/dist/examples/whispercpp-filesystem.js +2 -3
  55. package/dist/examples/whispercpp-microphone-record.js +1 -2
  56. package/dist/examples/whispercpp-prompt.js +2 -3
  57. package/dist/expo/plugins/index.d.ts +3 -0
  58. package/dist/expo/plugins/index.js +3 -0
  59. package/dist/expo/plugins/resolve-sdk-package-dir.d.ts +15 -0
  60. package/dist/expo/plugins/resolve-sdk-package-dir.js +31 -0
  61. package/dist/expo/plugins/withAndroidArchitecture.d.ts +8 -0
  62. package/dist/expo/plugins/withAndroidArchitecture.js +52 -0
  63. package/dist/expo/plugins/withAndroidNdkVersion.d.ts +8 -0
  64. package/dist/expo/plugins/withAndroidNdkVersion.js +31 -0
  65. package/dist/expo/plugins/withDeviceInfo.d.ts +10 -0
  66. package/dist/expo/plugins/withDeviceInfo.js +48 -0
  67. package/dist/expo/plugins/withMobileBundle.d.ts +5 -2
  68. package/dist/expo/plugins/withMobileBundle.js +121 -65
  69. package/dist/expo/plugins/withQvacSDK.d.ts +4 -0
  70. package/dist/expo/plugins/withQvacSDK.js +26 -1
  71. package/dist/index.d.ts +4 -4
  72. package/dist/index.js +5 -5
  73. package/dist/models/{hyperdrive → registry}/index.js +1 -1
  74. package/dist/models/registry/models.d.ts +9056 -0
  75. package/dist/models/registry/models.js +9351 -0
  76. package/dist/models/update-models/codegen.d.ts +3 -0
  77. package/dist/models/update-models/codegen.js +135 -0
  78. package/dist/models/update-models/history.d.ts +13 -0
  79. package/dist/models/update-models/history.js +88 -0
  80. package/dist/models/update-models/index.d.ts +2 -0
  81. package/dist/models/update-models/index.js +124 -0
  82. package/dist/models/update-models/naming.d.ts +4 -0
  83. package/dist/models/update-models/naming.js +314 -0
  84. package/dist/models/update-models/processing.d.ts +8 -0
  85. package/dist/models/update-models/processing.js +67 -0
  86. package/dist/models/update-models/registry.d.ts +4 -0
  87. package/dist/models/update-models/registry.js +67 -0
  88. package/dist/models/update-models/shards.d.ts +4 -0
  89. package/dist/models/update-models/shards.js +57 -0
  90. package/dist/models/update-models/types.d.ts +60 -0
  91. package/dist/models/update-models/types.js +1 -0
  92. package/dist/models/update-models/utils.d.ts +3 -0
  93. package/dist/models/update-models/utils.js +21 -0
  94. package/dist/pear/pre.d.ts +18 -0
  95. package/dist/pear/pre.js +433 -0
  96. package/dist/schemas/common.d.ts +286 -32
  97. package/dist/schemas/common.js +12 -0
  98. package/dist/schemas/download-asset.d.ts +35 -11
  99. package/dist/schemas/download-asset.js +5 -1
  100. package/dist/schemas/engine-addon-map.d.ts +5 -0
  101. package/dist/schemas/engine-addon-map.js +49 -0
  102. package/dist/schemas/get-model-info.d.ts +32 -16
  103. package/dist/schemas/get-model-info.js +17 -8
  104. package/dist/schemas/index.d.ts +4 -1
  105. package/dist/schemas/index.js +4 -4
  106. package/dist/schemas/load-model.d.ts +2224 -900
  107. package/dist/schemas/load-model.js +130 -25
  108. package/dist/schemas/model-src-utils.d.ts +30 -12
  109. package/dist/schemas/model-src-utils.js +5 -2
  110. package/dist/schemas/model-types.d.ts +15 -4
  111. package/dist/schemas/model-types.js +21 -4
  112. package/dist/schemas/path-validation.d.ts +10 -0
  113. package/dist/schemas/path-validation.js +22 -0
  114. package/dist/schemas/plugin.d.ts +180 -0
  115. package/dist/schemas/plugin.js +132 -0
  116. package/dist/schemas/rag.d.ts +2 -2
  117. package/dist/schemas/rag.js +7 -3
  118. package/dist/schemas/registry.d.ts +338 -0
  119. package/dist/schemas/registry.js +91 -0
  120. package/dist/schemas/sdk-errors-client.d.ts +6 -6
  121. package/dist/schemas/sdk-errors-client.js +15 -15
  122. package/dist/schemas/sdk-errors-registry.d.ts +6 -0
  123. package/dist/schemas/sdk-errors-registry.js +8 -0
  124. package/dist/schemas/sdk-errors-server.d.ts +16 -2
  125. package/dist/schemas/sdk-errors-server.js +90 -10
  126. package/dist/schemas/text-to-speech.d.ts +670 -1
  127. package/dist/schemas/text-to-speech.js +51 -2
  128. package/dist/schemas/translate.d.ts +2 -2
  129. package/dist/scripts/run-security-tests-bare.d.ts +2 -0
  130. package/dist/scripts/run-security-tests-bare.js +78 -0
  131. package/dist/scripts/run-security-tests.d.ts +2 -0
  132. package/dist/scripts/run-security-tests.js +22 -0
  133. package/dist/server/bare/delegate-rpc-client.d.ts +6 -0
  134. package/dist/server/bare/delegate-rpc-client.js +136 -56
  135. package/dist/server/bare/{addons/llamacpp-embedding/handlers → ops}/embed.d.ts +1 -1
  136. package/dist/server/bare/{addons/llamacpp-embedding/handlers → ops}/embed.js +3 -3
  137. package/dist/server/bare/{addons/llamacpp-completion → ops}/kv-cache-utils.js +6 -6
  138. package/dist/server/bare/{addons → ops}/load-model.js +32 -42
  139. package/dist/server/bare/{addons/nmtcpp-translation/handlers → ops}/translate.d.ts +1 -1
  140. package/dist/server/bare/{addons/nmtcpp-translation/handlers → ops}/translate.js +5 -4
  141. package/dist/server/bare/plugins/index.d.ts +7 -0
  142. package/dist/server/bare/plugins/index.js +6 -0
  143. package/dist/server/bare/{addons/llamacpp-completion → plugins/llamacpp-completion/ops}/cache-logger.js +1 -1
  144. package/dist/server/bare/{addons/llamacpp-completion/handlers → plugins/llamacpp-completion/ops}/completion-stream.d.ts +1 -1
  145. package/dist/server/bare/{addons/llamacpp-completion/handlers → plugins/llamacpp-completion/ops}/completion-stream.js +2 -3
  146. package/dist/server/bare/plugins/llamacpp-completion/plugin.d.ts +115 -0
  147. package/dist/server/bare/plugins/llamacpp-completion/plugin.js +142 -0
  148. package/dist/server/bare/plugins/llamacpp-embedding/plugin.d.ts +24 -0
  149. package/dist/server/bare/plugins/llamacpp-embedding/plugin.js +73 -0
  150. package/dist/server/bare/plugins/nmtcpp-translation/plugin.d.ts +45 -0
  151. package/dist/server/bare/plugins/nmtcpp-translation/plugin.js +97 -0
  152. package/dist/server/bare/{addons/onnx-ocr/handlers → plugins/onnx-ocr/ops}/ocr-stream.js +2 -1
  153. package/dist/server/bare/plugins/onnx-ocr/plugin.d.ts +38 -0
  154. package/dist/server/bare/{addons/onnx-ocr/create-model.js → plugins/onnx-ocr/plugin.js} +39 -2
  155. package/dist/server/bare/{addons/onnx-tts/handlers → plugins/onnx-tts/ops}/text-to-speech.js +23 -1
  156. package/dist/server/bare/plugins/onnx-tts/plugin.d.ts +26 -0
  157. package/dist/server/bare/plugins/onnx-tts/plugin.js +162 -0
  158. package/dist/server/bare/plugins/onnx-tts/wav-helper.d.ts +14 -0
  159. package/dist/server/bare/plugins/onnx-tts/wav-helper.js +107 -0
  160. package/dist/server/bare/plugins/whispercpp-transcription/ops/transcribe-stream.d.ts +3 -0
  161. package/dist/server/bare/{addons/whispercpp-transcription/handlers → plugins/whispercpp-transcription/ops}/transcribe-stream.js +1 -2
  162. package/dist/server/bare/plugins/whispercpp-transcription/plugin.d.ts +31 -0
  163. package/dist/server/bare/plugins/whispercpp-transcription/plugin.js +74 -0
  164. package/dist/server/bare/rag-hyperdb/handlers/ingest.js +1 -1
  165. package/dist/server/bare/rag-hyperdb/handlers/search.js +1 -1
  166. package/dist/server/bare/rag-hyperdb/rag-workspace-manager.js +2 -1
  167. package/dist/server/bare/registry/config-registry.js +1 -1
  168. package/dist/server/bare/registry/model-config-utils.js +0 -11
  169. package/dist/server/bare/registry/registry-client.d.ts +5 -0
  170. package/dist/server/bare/registry/registry-client.js +37 -0
  171. package/dist/server/env.d.ts +22 -0
  172. package/dist/server/env.js +57 -0
  173. package/dist/server/plugins/index.d.ts +2 -0
  174. package/dist/server/plugins/index.js +1 -0
  175. package/dist/server/plugins/registry.d.ts +9 -0
  176. package/dist/server/plugins/registry.js +75 -0
  177. package/dist/server/rpc/delegate-transport.d.ts +11 -0
  178. package/dist/server/rpc/delegate-transport.js +60 -0
  179. package/dist/server/rpc/handle-request.d.ts +0 -9
  180. package/dist/server/rpc/handle-request.js +13 -321
  181. package/dist/server/rpc/handler-registry.d.ts +3 -0
  182. package/dist/server/rpc/handler-registry.js +84 -0
  183. package/dist/server/rpc/handler-utils.d.ts +22 -0
  184. package/dist/server/rpc/handler-utils.js +87 -0
  185. package/dist/server/rpc/handlers/cancelHandler.js +1 -1
  186. package/dist/server/rpc/handlers/completion-stream-delegated.js +1 -1
  187. package/dist/server/rpc/handlers/completion-stream.js +2 -43
  188. package/dist/server/rpc/handlers/delete-cache.js +1 -1
  189. package/dist/server/rpc/handlers/embed.js +2 -21
  190. package/dist/server/rpc/handlers/get-model-info.js +19 -15
  191. package/dist/server/rpc/handlers/index.d.ts +9 -0
  192. package/dist/server/rpc/handlers/index.js +9 -0
  193. package/dist/server/rpc/handlers/load-model/download-manager.d.ts +1 -0
  194. package/dist/server/rpc/handlers/load-model/download-manager.js +3 -0
  195. package/dist/server/rpc/handlers/load-model/handler.js +47 -24
  196. package/dist/server/rpc/handlers/load-model/http.js +3 -2
  197. package/dist/server/rpc/handlers/load-model/hyperdrive.js +14 -10
  198. package/dist/server/rpc/handlers/load-model/registry.d.ts +10 -0
  199. package/dist/server/rpc/handlers/load-model/registry.js +571 -0
  200. package/dist/server/rpc/handlers/load-model/resolve.js +18 -5
  201. package/dist/server/rpc/handlers/load-model-delegated.js +4 -2
  202. package/dist/server/rpc/handlers/ocr-stream.js +2 -37
  203. package/dist/server/rpc/handlers/ping.d.ts +3 -0
  204. package/dist/server/rpc/handlers/ping.js +3 -0
  205. package/dist/server/rpc/handlers/plugin-dispatch.d.ts +15 -0
  206. package/dist/server/rpc/handlers/plugin-dispatch.js +54 -0
  207. package/dist/server/rpc/handlers/plugin-invoke.d.ts +4 -0
  208. package/dist/server/rpc/handlers/plugin-invoke.js +87 -0
  209. package/dist/server/rpc/handlers/registry.d.ts +5 -0
  210. package/dist/server/rpc/handlers/registry.js +157 -0
  211. package/dist/server/rpc/handlers/text-to-speech.js +2 -5
  212. package/dist/server/rpc/handlers/transcribe-stream.js +2 -30
  213. package/dist/server/rpc/handlers/translate.js +2 -42
  214. package/dist/server/rpc/handlers/unload-model.js +1 -1
  215. package/dist/server/rpc/index.d.ts +1 -1
  216. package/dist/server/utils/archive.d.ts +1 -0
  217. package/dist/server/utils/archive.js +10 -2
  218. package/dist/server/utils/cache.d.ts +5 -0
  219. package/dist/server/utils/cache.js +26 -2
  220. package/dist/server/utils/gguf-tensor-extractor.js +3 -3
  221. package/dist/server/utils/index.d.ts +1 -1
  222. package/dist/server/utils/index.js +1 -1
  223. package/dist/server/utils/path-security.d.ts +12 -0
  224. package/dist/server/utils/path-security.js +25 -0
  225. package/dist/server/utils/shard-utils.js +3 -3
  226. package/dist/server/worker-core.d.ts +6 -0
  227. package/dist/server/worker-core.js +88 -0
  228. package/dist/server/worker.d.ts +4 -5
  229. package/dist/server/worker.js +18 -116
  230. package/dist/utils/errors-client.d.ts +9 -6
  231. package/dist/utils/errors-client.js +19 -11
  232. package/dist/utils/errors-server.d.ts +44 -5
  233. package/dist/utils/errors-server.js +82 -9
  234. package/dist/utils/path-sanitize.d.ts +17 -0
  235. package/dist/utils/path-sanitize.js +54 -0
  236. package/expo/plugins/patches/android-link.mjs +63 -0
  237. package/expo/plugins/patches/ios-link.mjs +63 -0
  238. package/package.json +74 -12
  239. package/dist/examples/text-to-speech.d.ts +0 -3
  240. package/dist/examples/text-to-speech.js +0 -137
  241. package/dist/models/hyperdrive/models.d.ts +0 -4003
  242. package/dist/models/hyperdrive/models.js +0 -4282
  243. package/dist/server/bare/addons/index.d.ts +0 -4
  244. package/dist/server/bare/addons/index.js +0 -3
  245. package/dist/server/bare/addons/llamacpp-completion/create-model.d.ts +0 -8
  246. package/dist/server/bare/addons/llamacpp-completion/create-model.js +0 -43
  247. package/dist/server/bare/addons/llamacpp-completion/index.d.ts +0 -4
  248. package/dist/server/bare/addons/llamacpp-completion/index.js +0 -3
  249. package/dist/server/bare/addons/llamacpp-embedding/create-model.d.ts +0 -8
  250. package/dist/server/bare/addons/llamacpp-embedding/create-model.js +0 -38
  251. package/dist/server/bare/addons/llamacpp-embedding/index.d.ts +0 -3
  252. package/dist/server/bare/addons/llamacpp-embedding/index.js +0 -2
  253. package/dist/server/bare/addons/nmtcpp-translation/create-model.d.ts +0 -8
  254. package/dist/server/bare/addons/nmtcpp-translation/create-model.js +0 -52
  255. package/dist/server/bare/addons/nmtcpp-translation/index.d.ts +0 -3
  256. package/dist/server/bare/addons/nmtcpp-translation/index.js +0 -2
  257. package/dist/server/bare/addons/onnx-ocr/create-model.d.ts +0 -10
  258. package/dist/server/bare/addons/onnx-ocr/index.d.ts +0 -3
  259. package/dist/server/bare/addons/onnx-ocr/index.js +0 -2
  260. package/dist/server/bare/addons/onnx-tts/create-model.d.ts +0 -10
  261. package/dist/server/bare/addons/onnx-tts/create-model.js +0 -25
  262. package/dist/server/bare/addons/onnx-tts/index.d.ts +0 -3
  263. package/dist/server/bare/addons/onnx-tts/index.js +0 -2
  264. package/dist/server/bare/addons/whispercpp-transcription/create-model.d.ts +0 -10
  265. package/dist/server/bare/addons/whispercpp-transcription/create-model.js +0 -37
  266. package/dist/server/bare/addons/whispercpp-transcription/handlers/transcribe-stream.d.ts +0 -3
  267. package/dist/server/bare/addons/whispercpp-transcription/index.d.ts +0 -3
  268. package/dist/server/bare/addons/whispercpp-transcription/index.js +0 -2
  269. /package/dist/models/{hyperdrive → registry}/index.d.ts +0 -0
  270. /package/dist/server/bare/{addons → ops}/cancel.d.ts +0 -0
  271. /package/dist/server/bare/{addons → ops}/cancel.js +0 -0
  272. /package/dist/server/bare/{addons/llamacpp-completion → ops}/kv-cache-utils.d.ts +0 -0
  273. /package/dist/server/bare/{addons → ops}/load-model.d.ts +0 -0
  274. /package/dist/server/bare/{addons → ops}/unload-model.d.ts +0 -0
  275. /package/dist/server/bare/{addons → ops}/unload-model.js +0 -0
  276. /package/dist/server/bare/{addons/llamacpp-completion → plugins/llamacpp-completion/ops}/cache-logger.d.ts +0 -0
  277. /package/dist/server/bare/{addons/onnx-ocr/handlers → plugins/onnx-ocr/ops}/ocr-stream.d.ts +0 -0
  278. /package/dist/server/bare/{addons/onnx-tts/handlers → plugins/onnx-tts/ops}/text-to-speech.d.ts +0 -0
@@ -8,8 +8,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
8
8
  src: z.ZodString;
9
9
  name: z.ZodOptional<z.ZodString>;
10
10
  modelId: z.ZodOptional<z.ZodString>;
11
- hyperdriveKey: z.ZodOptional<z.ZodString>;
12
- hyperbeeKey: z.ZodOptional<z.ZodString>;
11
+ registryPath: z.ZodOptional<z.ZodString>;
12
+ registrySource: z.ZodOptional<z.ZodString>;
13
+ blobCoreKey: z.ZodOptional<z.ZodString>;
14
+ blobIndex: z.ZodOptional<z.ZodNumber>;
15
+ engine: z.ZodOptional<z.ZodString>;
13
16
  expectedSize: z.ZodOptional<z.ZodNumber>;
14
17
  sha256Checksum: z.ZodOptional<z.ZodString>;
15
18
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -56,8 +59,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
56
59
  src: z.ZodString;
57
60
  name: z.ZodOptional<z.ZodString>;
58
61
  modelId: z.ZodOptional<z.ZodString>;
59
- hyperdriveKey: z.ZodOptional<z.ZodString>;
60
- hyperbeeKey: z.ZodOptional<z.ZodString>;
62
+ registryPath: z.ZodOptional<z.ZodString>;
63
+ registrySource: z.ZodOptional<z.ZodString>;
64
+ blobCoreKey: z.ZodOptional<z.ZodString>;
65
+ blobIndex: z.ZodOptional<z.ZodNumber>;
66
+ engine: z.ZodOptional<z.ZodString>;
61
67
  expectedSize: z.ZodOptional<z.ZodNumber>;
62
68
  sha256Checksum: z.ZodOptional<z.ZodString>;
63
69
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -91,8 +97,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
91
97
  src: z.ZodString;
92
98
  name: z.ZodOptional<z.ZodString>;
93
99
  modelId: z.ZodOptional<z.ZodString>;
94
- hyperdriveKey: z.ZodOptional<z.ZodString>;
95
- hyperbeeKey: z.ZodOptional<z.ZodString>;
100
+ registryPath: z.ZodOptional<z.ZodString>;
101
+ registrySource: z.ZodOptional<z.ZodString>;
102
+ blobCoreKey: z.ZodOptional<z.ZodString>;
103
+ blobIndex: z.ZodOptional<z.ZodNumber>;
104
+ engine: z.ZodOptional<z.ZodString>;
96
105
  expectedSize: z.ZodOptional<z.ZodNumber>;
97
106
  sha256Checksum: z.ZodOptional<z.ZodString>;
98
107
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -181,8 +190,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
181
190
  src: z.ZodString;
182
191
  name: z.ZodOptional<z.ZodString>;
183
192
  modelId: z.ZodOptional<z.ZodString>;
184
- hyperdriveKey: z.ZodOptional<z.ZodString>;
185
- hyperbeeKey: z.ZodOptional<z.ZodString>;
193
+ registryPath: z.ZodOptional<z.ZodString>;
194
+ registrySource: z.ZodOptional<z.ZodString>;
195
+ blobCoreKey: z.ZodOptional<z.ZodString>;
196
+ blobIndex: z.ZodOptional<z.ZodNumber>;
197
+ engine: z.ZodOptional<z.ZodString>;
186
198
  expectedSize: z.ZodOptional<z.ZodNumber>;
187
199
  sha256Checksum: z.ZodOptional<z.ZodString>;
188
200
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -212,8 +224,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
212
224
  src: z.ZodString;
213
225
  name: z.ZodOptional<z.ZodString>;
214
226
  modelId: z.ZodOptional<z.ZodString>;
215
- hyperdriveKey: z.ZodOptional<z.ZodString>;
216
- hyperbeeKey: z.ZodOptional<z.ZodString>;
227
+ registryPath: z.ZodOptional<z.ZodString>;
228
+ registrySource: z.ZodOptional<z.ZodString>;
229
+ blobCoreKey: z.ZodOptional<z.ZodString>;
230
+ blobIndex: z.ZodOptional<z.ZodNumber>;
231
+ engine: z.ZodOptional<z.ZodString>;
217
232
  expectedSize: z.ZodOptional<z.ZodNumber>;
218
233
  sha256Checksum: z.ZodOptional<z.ZodString>;
219
234
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -259,8 +274,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
259
274
  src: z.ZodString;
260
275
  name: z.ZodOptional<z.ZodString>;
261
276
  modelId: z.ZodOptional<z.ZodString>;
262
- hyperdriveKey: z.ZodOptional<z.ZodString>;
263
- hyperbeeKey: z.ZodOptional<z.ZodString>;
277
+ registryPath: z.ZodOptional<z.ZodString>;
278
+ registrySource: z.ZodOptional<z.ZodString>;
279
+ blobCoreKey: z.ZodOptional<z.ZodString>;
280
+ blobIndex: z.ZodOptional<z.ZodNumber>;
281
+ engine: z.ZodOptional<z.ZodString>;
264
282
  expectedSize: z.ZodOptional<z.ZodNumber>;
265
283
  sha256Checksum: z.ZodOptional<z.ZodString>;
266
284
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -539,8 +557,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
539
557
  src: z.ZodString;
540
558
  name: z.ZodOptional<z.ZodString>;
541
559
  modelId: z.ZodOptional<z.ZodString>;
542
- hyperdriveKey: z.ZodOptional<z.ZodString>;
543
- hyperbeeKey: z.ZodOptional<z.ZodString>;
560
+ registryPath: z.ZodOptional<z.ZodString>;
561
+ registrySource: z.ZodOptional<z.ZodString>;
562
+ blobCoreKey: z.ZodOptional<z.ZodString>;
563
+ blobIndex: z.ZodOptional<z.ZodNumber>;
564
+ engine: z.ZodOptional<z.ZodString>;
544
565
  expectedSize: z.ZodOptional<z.ZodNumber>;
545
566
  sha256Checksum: z.ZodOptional<z.ZodString>;
546
567
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -562,8 +583,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
562
583
  src: z.ZodString;
563
584
  name: z.ZodOptional<z.ZodString>;
564
585
  modelId: z.ZodOptional<z.ZodString>;
565
- hyperdriveKey: z.ZodOptional<z.ZodString>;
566
- hyperbeeKey: z.ZodOptional<z.ZodString>;
586
+ registryPath: z.ZodOptional<z.ZodString>;
587
+ registrySource: z.ZodOptional<z.ZodString>;
588
+ blobCoreKey: z.ZodOptional<z.ZodString>;
589
+ blobIndex: z.ZodOptional<z.ZodNumber>;
590
+ engine: z.ZodOptional<z.ZodString>;
567
591
  expectedSize: z.ZodOptional<z.ZodNumber>;
568
592
  sha256Checksum: z.ZodOptional<z.ZodString>;
569
593
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -594,8 +618,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
594
618
  src: z.ZodString;
595
619
  name: z.ZodOptional<z.ZodString>;
596
620
  modelId: z.ZodOptional<z.ZodString>;
597
- hyperdriveKey: z.ZodOptional<z.ZodString>;
598
- hyperbeeKey: z.ZodOptional<z.ZodString>;
621
+ registryPath: z.ZodOptional<z.ZodString>;
622
+ registrySource: z.ZodOptional<z.ZodString>;
623
+ blobCoreKey: z.ZodOptional<z.ZodString>;
624
+ blobIndex: z.ZodOptional<z.ZodNumber>;
625
+ engine: z.ZodOptional<z.ZodString>;
599
626
  expectedSize: z.ZodOptional<z.ZodNumber>;
600
627
  sha256Checksum: z.ZodOptional<z.ZodString>;
601
628
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -617,38 +644,311 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
617
644
  "onnx-tts": "onnx-tts";
618
645
  tts: "tts";
619
646
  }>;
620
- modelConfig: z.ZodObject<{
647
+ modelConfig: z.ZodUnion<readonly [z.ZodObject<{
648
+ ttsEngine: z.ZodLiteral<"chatterbox">;
621
649
  language: z.ZodEnum<{
622
650
  en: "en";
623
651
  de: "de";
624
652
  es: "es";
625
653
  it: "it";
626
654
  }>;
627
- }, z.core.$strip>;
628
- configSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
629
- src: z.ZodString;
630
- name: z.ZodOptional<z.ZodString>;
631
- modelId: z.ZodOptional<z.ZodString>;
632
- hyperdriveKey: z.ZodOptional<z.ZodString>;
633
- hyperbeeKey: z.ZodOptional<z.ZodString>;
634
- expectedSize: z.ZodOptional<z.ZodNumber>;
635
- sha256Checksum: z.ZodOptional<z.ZodString>;
636
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
637
- "llamacpp-completion": "llamacpp-completion";
638
- "whispercpp-transcription": "whispercpp-transcription";
639
- "llamacpp-embedding": "llamacpp-embedding";
640
- "nmtcpp-translation": "nmtcpp-translation";
641
- "onnx-tts": "onnx-tts";
642
- "onnx-ocr": "onnx-ocr";
643
- llm: "llm";
644
- whisper: "whisper";
645
- embeddings: "embeddings";
646
- nmt: "nmt";
647
- tts: "tts";
648
- ocr: "ocr";
649
- }>, z.ZodLiteral<"vad">]>>;
655
+ ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
656
+ src: z.ZodString;
657
+ name: z.ZodOptional<z.ZodString>;
658
+ modelId: z.ZodOptional<z.ZodString>;
659
+ registryPath: z.ZodOptional<z.ZodString>;
660
+ registrySource: z.ZodOptional<z.ZodString>;
661
+ blobCoreKey: z.ZodOptional<z.ZodString>;
662
+ blobIndex: z.ZodOptional<z.ZodNumber>;
663
+ engine: z.ZodOptional<z.ZodString>;
664
+ expectedSize: z.ZodOptional<z.ZodNumber>;
665
+ sha256Checksum: z.ZodOptional<z.ZodString>;
666
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
667
+ "llamacpp-completion": "llamacpp-completion";
668
+ "whispercpp-transcription": "whispercpp-transcription";
669
+ "llamacpp-embedding": "llamacpp-embedding";
670
+ "nmtcpp-translation": "nmtcpp-translation";
671
+ "onnx-tts": "onnx-tts";
672
+ "onnx-ocr": "onnx-ocr";
673
+ llm: "llm";
674
+ whisper: "whisper";
675
+ embeddings: "embeddings";
676
+ nmt: "nmt";
677
+ tts: "tts";
678
+ ocr: "ocr";
679
+ }>, z.ZodLiteral<"vad">]>>;
680
+ }, z.core.$strip>]>;
681
+ ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
682
+ src: z.ZodString;
683
+ name: z.ZodOptional<z.ZodString>;
684
+ modelId: z.ZodOptional<z.ZodString>;
685
+ registryPath: z.ZodOptional<z.ZodString>;
686
+ registrySource: z.ZodOptional<z.ZodString>;
687
+ blobCoreKey: z.ZodOptional<z.ZodString>;
688
+ blobIndex: z.ZodOptional<z.ZodNumber>;
689
+ engine: z.ZodOptional<z.ZodString>;
690
+ expectedSize: z.ZodOptional<z.ZodNumber>;
691
+ sha256Checksum: z.ZodOptional<z.ZodString>;
692
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
693
+ "llamacpp-completion": "llamacpp-completion";
694
+ "whispercpp-transcription": "whispercpp-transcription";
695
+ "llamacpp-embedding": "llamacpp-embedding";
696
+ "nmtcpp-translation": "nmtcpp-translation";
697
+ "onnx-tts": "onnx-tts";
698
+ "onnx-ocr": "onnx-ocr";
699
+ llm: "llm";
700
+ whisper: "whisper";
701
+ embeddings: "embeddings";
702
+ nmt: "nmt";
703
+ tts: "tts";
704
+ ocr: "ocr";
705
+ }>, z.ZodLiteral<"vad">]>>;
706
+ }, z.core.$strip>]>;
707
+ ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
708
+ src: z.ZodString;
709
+ name: z.ZodOptional<z.ZodString>;
710
+ modelId: z.ZodOptional<z.ZodString>;
711
+ registryPath: z.ZodOptional<z.ZodString>;
712
+ registrySource: z.ZodOptional<z.ZodString>;
713
+ blobCoreKey: z.ZodOptional<z.ZodString>;
714
+ blobIndex: z.ZodOptional<z.ZodNumber>;
715
+ engine: z.ZodOptional<z.ZodString>;
716
+ expectedSize: z.ZodOptional<z.ZodNumber>;
717
+ sha256Checksum: z.ZodOptional<z.ZodString>;
718
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
719
+ "llamacpp-completion": "llamacpp-completion";
720
+ "whispercpp-transcription": "whispercpp-transcription";
721
+ "llamacpp-embedding": "llamacpp-embedding";
722
+ "nmtcpp-translation": "nmtcpp-translation";
723
+ "onnx-tts": "onnx-tts";
724
+ "onnx-ocr": "onnx-ocr";
725
+ llm: "llm";
726
+ whisper: "whisper";
727
+ embeddings: "embeddings";
728
+ nmt: "nmt";
729
+ tts: "tts";
730
+ ocr: "ocr";
731
+ }>, z.ZodLiteral<"vad">]>>;
732
+ }, z.core.$strip>]>;
733
+ ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
734
+ src: z.ZodString;
735
+ name: z.ZodOptional<z.ZodString>;
736
+ modelId: z.ZodOptional<z.ZodString>;
737
+ registryPath: z.ZodOptional<z.ZodString>;
738
+ registrySource: z.ZodOptional<z.ZodString>;
739
+ blobCoreKey: z.ZodOptional<z.ZodString>;
740
+ blobIndex: z.ZodOptional<z.ZodNumber>;
741
+ engine: z.ZodOptional<z.ZodString>;
742
+ expectedSize: z.ZodOptional<z.ZodNumber>;
743
+ sha256Checksum: z.ZodOptional<z.ZodString>;
744
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
745
+ "llamacpp-completion": "llamacpp-completion";
746
+ "whispercpp-transcription": "whispercpp-transcription";
747
+ "llamacpp-embedding": "llamacpp-embedding";
748
+ "nmtcpp-translation": "nmtcpp-translation";
749
+ "onnx-tts": "onnx-tts";
750
+ "onnx-ocr": "onnx-ocr";
751
+ llm: "llm";
752
+ whisper: "whisper";
753
+ embeddings: "embeddings";
754
+ nmt: "nmt";
755
+ tts: "tts";
756
+ ocr: "ocr";
757
+ }>, z.ZodLiteral<"vad">]>>;
758
+ }, z.core.$strip>]>;
759
+ ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
760
+ src: z.ZodString;
761
+ name: z.ZodOptional<z.ZodString>;
762
+ modelId: z.ZodOptional<z.ZodString>;
763
+ registryPath: z.ZodOptional<z.ZodString>;
764
+ registrySource: z.ZodOptional<z.ZodString>;
765
+ blobCoreKey: z.ZodOptional<z.ZodString>;
766
+ blobIndex: z.ZodOptional<z.ZodNumber>;
767
+ engine: z.ZodOptional<z.ZodString>;
768
+ expectedSize: z.ZodOptional<z.ZodNumber>;
769
+ sha256Checksum: z.ZodOptional<z.ZodString>;
770
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
771
+ "llamacpp-completion": "llamacpp-completion";
772
+ "whispercpp-transcription": "whispercpp-transcription";
773
+ "llamacpp-embedding": "llamacpp-embedding";
774
+ "nmtcpp-translation": "nmtcpp-translation";
775
+ "onnx-tts": "onnx-tts";
776
+ "onnx-ocr": "onnx-ocr";
777
+ llm: "llm";
778
+ whisper: "whisper";
779
+ embeddings: "embeddings";
780
+ nmt: "nmt";
781
+ tts: "tts";
782
+ ocr: "ocr";
783
+ }>, z.ZodLiteral<"vad">]>>;
784
+ }, z.core.$strip>]>;
785
+ referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
786
+ src: z.ZodString;
787
+ name: z.ZodOptional<z.ZodString>;
788
+ modelId: z.ZodOptional<z.ZodString>;
789
+ registryPath: z.ZodOptional<z.ZodString>;
790
+ registrySource: z.ZodOptional<z.ZodString>;
791
+ blobCoreKey: z.ZodOptional<z.ZodString>;
792
+ blobIndex: z.ZodOptional<z.ZodNumber>;
793
+ engine: z.ZodOptional<z.ZodString>;
794
+ expectedSize: z.ZodOptional<z.ZodNumber>;
795
+ sha256Checksum: z.ZodOptional<z.ZodString>;
796
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
797
+ "llamacpp-completion": "llamacpp-completion";
798
+ "whispercpp-transcription": "whispercpp-transcription";
799
+ "llamacpp-embedding": "llamacpp-embedding";
800
+ "nmtcpp-translation": "nmtcpp-translation";
801
+ "onnx-tts": "onnx-tts";
802
+ "onnx-ocr": "onnx-ocr";
803
+ llm: "llm";
804
+ whisper: "whisper";
805
+ embeddings: "embeddings";
806
+ nmt: "nmt";
807
+ tts: "tts";
808
+ ocr: "ocr";
809
+ }>, z.ZodLiteral<"vad">]>>;
810
+ }, z.core.$strip>]>;
811
+ }, z.core.$strip>, z.ZodObject<{
812
+ ttsEngine: z.ZodLiteral<"supertonic">;
813
+ language: z.ZodEnum<{
814
+ en: "en";
815
+ de: "de";
816
+ es: "es";
817
+ it: "it";
818
+ }>;
819
+ ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
820
+ src: z.ZodString;
821
+ name: z.ZodOptional<z.ZodString>;
822
+ modelId: z.ZodOptional<z.ZodString>;
823
+ registryPath: z.ZodOptional<z.ZodString>;
824
+ registrySource: z.ZodOptional<z.ZodString>;
825
+ blobCoreKey: z.ZodOptional<z.ZodString>;
826
+ blobIndex: z.ZodOptional<z.ZodNumber>;
827
+ engine: z.ZodOptional<z.ZodString>;
828
+ expectedSize: z.ZodOptional<z.ZodNumber>;
829
+ sha256Checksum: z.ZodOptional<z.ZodString>;
830
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
831
+ "llamacpp-completion": "llamacpp-completion";
832
+ "whispercpp-transcription": "whispercpp-transcription";
833
+ "llamacpp-embedding": "llamacpp-embedding";
834
+ "nmtcpp-translation": "nmtcpp-translation";
835
+ "onnx-tts": "onnx-tts";
836
+ "onnx-ocr": "onnx-ocr";
837
+ llm: "llm";
838
+ whisper: "whisper";
839
+ embeddings: "embeddings";
840
+ nmt: "nmt";
841
+ tts: "tts";
842
+ ocr: "ocr";
843
+ }>, z.ZodLiteral<"vad">]>>;
844
+ }, z.core.$strip>]>;
845
+ ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
846
+ src: z.ZodString;
847
+ name: z.ZodOptional<z.ZodString>;
848
+ modelId: z.ZodOptional<z.ZodString>;
849
+ registryPath: z.ZodOptional<z.ZodString>;
850
+ registrySource: z.ZodOptional<z.ZodString>;
851
+ blobCoreKey: z.ZodOptional<z.ZodString>;
852
+ blobIndex: z.ZodOptional<z.ZodNumber>;
853
+ engine: z.ZodOptional<z.ZodString>;
854
+ expectedSize: z.ZodOptional<z.ZodNumber>;
855
+ sha256Checksum: z.ZodOptional<z.ZodString>;
856
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
857
+ "llamacpp-completion": "llamacpp-completion";
858
+ "whispercpp-transcription": "whispercpp-transcription";
859
+ "llamacpp-embedding": "llamacpp-embedding";
860
+ "nmtcpp-translation": "nmtcpp-translation";
861
+ "onnx-tts": "onnx-tts";
862
+ "onnx-ocr": "onnx-ocr";
863
+ llm: "llm";
864
+ whisper: "whisper";
865
+ embeddings: "embeddings";
866
+ nmt: "nmt";
867
+ tts: "tts";
868
+ ocr: "ocr";
869
+ }>, z.ZodLiteral<"vad">]>>;
870
+ }, z.core.$strip>]>;
871
+ ttsLatentDenoiserSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
872
+ src: z.ZodString;
873
+ name: z.ZodOptional<z.ZodString>;
874
+ modelId: z.ZodOptional<z.ZodString>;
875
+ registryPath: z.ZodOptional<z.ZodString>;
876
+ registrySource: z.ZodOptional<z.ZodString>;
877
+ blobCoreKey: z.ZodOptional<z.ZodString>;
878
+ blobIndex: z.ZodOptional<z.ZodNumber>;
879
+ engine: z.ZodOptional<z.ZodString>;
880
+ expectedSize: z.ZodOptional<z.ZodNumber>;
881
+ sha256Checksum: z.ZodOptional<z.ZodString>;
882
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
883
+ "llamacpp-completion": "llamacpp-completion";
884
+ "whispercpp-transcription": "whispercpp-transcription";
885
+ "llamacpp-embedding": "llamacpp-embedding";
886
+ "nmtcpp-translation": "nmtcpp-translation";
887
+ "onnx-tts": "onnx-tts";
888
+ "onnx-ocr": "onnx-ocr";
889
+ llm: "llm";
890
+ whisper: "whisper";
891
+ embeddings: "embeddings";
892
+ nmt: "nmt";
893
+ tts: "tts";
894
+ ocr: "ocr";
895
+ }>, z.ZodLiteral<"vad">]>>;
896
+ }, z.core.$strip>]>;
897
+ ttsVoiceDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
898
+ src: z.ZodString;
899
+ name: z.ZodOptional<z.ZodString>;
900
+ modelId: z.ZodOptional<z.ZodString>;
901
+ registryPath: z.ZodOptional<z.ZodString>;
902
+ registrySource: z.ZodOptional<z.ZodString>;
903
+ blobCoreKey: z.ZodOptional<z.ZodString>;
904
+ blobIndex: z.ZodOptional<z.ZodNumber>;
905
+ engine: z.ZodOptional<z.ZodString>;
906
+ expectedSize: z.ZodOptional<z.ZodNumber>;
907
+ sha256Checksum: z.ZodOptional<z.ZodString>;
908
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
909
+ "llamacpp-completion": "llamacpp-completion";
910
+ "whispercpp-transcription": "whispercpp-transcription";
911
+ "llamacpp-embedding": "llamacpp-embedding";
912
+ "nmtcpp-translation": "nmtcpp-translation";
913
+ "onnx-tts": "onnx-tts";
914
+ "onnx-ocr": "onnx-ocr";
915
+ llm: "llm";
916
+ whisper: "whisper";
917
+ embeddings: "embeddings";
918
+ nmt: "nmt";
919
+ tts: "tts";
920
+ ocr: "ocr";
921
+ }>, z.ZodLiteral<"vad">]>>;
922
+ }, z.core.$strip>]>;
923
+ ttsVoiceSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
924
+ src: z.ZodString;
925
+ name: z.ZodOptional<z.ZodString>;
926
+ modelId: z.ZodOptional<z.ZodString>;
927
+ registryPath: z.ZodOptional<z.ZodString>;
928
+ registrySource: z.ZodOptional<z.ZodString>;
929
+ blobCoreKey: z.ZodOptional<z.ZodString>;
930
+ blobIndex: z.ZodOptional<z.ZodNumber>;
931
+ engine: z.ZodOptional<z.ZodString>;
932
+ expectedSize: z.ZodOptional<z.ZodNumber>;
933
+ sha256Checksum: z.ZodOptional<z.ZodString>;
934
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
935
+ "llamacpp-completion": "llamacpp-completion";
936
+ "whispercpp-transcription": "whispercpp-transcription";
937
+ "llamacpp-embedding": "llamacpp-embedding";
938
+ "nmtcpp-translation": "nmtcpp-translation";
939
+ "onnx-tts": "onnx-tts";
940
+ "onnx-ocr": "onnx-ocr";
941
+ llm: "llm";
942
+ whisper: "whisper";
943
+ embeddings: "embeddings";
944
+ nmt: "nmt";
945
+ tts: "tts";
946
+ ocr: "ocr";
947
+ }>, z.ZodLiteral<"vad">]>>;
948
+ }, z.core.$strip>]>;
949
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
950
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
650
951
  }, z.core.$strip>]>;
651
- eSpeakDataPath: z.ZodString;
652
952
  seed: z.ZodOptional<z.ZodBoolean>;
653
953
  delegate: z.ZodOptional<z.ZodObject<{
654
954
  topic: z.ZodString;
@@ -662,8 +962,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
662
962
  src: z.ZodString;
663
963
  name: z.ZodOptional<z.ZodString>;
664
964
  modelId: z.ZodOptional<z.ZodString>;
665
- hyperdriveKey: z.ZodOptional<z.ZodString>;
666
- hyperbeeKey: z.ZodOptional<z.ZodString>;
965
+ registryPath: z.ZodOptional<z.ZodString>;
966
+ registrySource: z.ZodOptional<z.ZodString>;
967
+ blobCoreKey: z.ZodOptional<z.ZodString>;
968
+ blobIndex: z.ZodOptional<z.ZodNumber>;
969
+ engine: z.ZodOptional<z.ZodString>;
667
970
  expectedSize: z.ZodOptional<z.ZodNumber>;
668
971
  sha256Checksum: z.ZodOptional<z.ZodString>;
669
972
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -699,8 +1002,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
699
1002
  src: z.ZodString;
700
1003
  name: z.ZodOptional<z.ZodString>;
701
1004
  modelId: z.ZodOptional<z.ZodString>;
702
- hyperdriveKey: z.ZodOptional<z.ZodString>;
703
- hyperbeeKey: z.ZodOptional<z.ZodString>;
1005
+ registryPath: z.ZodOptional<z.ZodString>;
1006
+ registrySource: z.ZodOptional<z.ZodString>;
1007
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1008
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1009
+ engine: z.ZodOptional<z.ZodString>;
704
1010
  expectedSize: z.ZodOptional<z.ZodNumber>;
705
1011
  sha256Checksum: z.ZodOptional<z.ZodString>;
706
1012
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -726,16 +1032,56 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
726
1032
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
727
1033
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
728
1034
  }, z.core.$strip>>;
729
- }, z.core.$strip>]>, z.ZodTransform<{
730
- seed: boolean;
731
- modelSrc: string | {
732
- src: string;
733
- name?: string | undefined;
734
- modelId?: string | undefined;
735
- hyperdriveKey?: string | undefined;
736
- hyperbeeKey?: string | undefined;
737
- expectedSize?: number | undefined;
738
- sha256Checksum?: string | undefined;
1035
+ }, z.core.$strip>, z.ZodObject<{
1036
+ modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1037
+ src: z.ZodString;
1038
+ name: z.ZodOptional<z.ZodString>;
1039
+ modelId: z.ZodOptional<z.ZodString>;
1040
+ registryPath: z.ZodOptional<z.ZodString>;
1041
+ registrySource: z.ZodOptional<z.ZodString>;
1042
+ blobCoreKey: z.ZodOptional<z.ZodString>;
1043
+ blobIndex: z.ZodOptional<z.ZodNumber>;
1044
+ engine: z.ZodOptional<z.ZodString>;
1045
+ expectedSize: z.ZodOptional<z.ZodNumber>;
1046
+ sha256Checksum: z.ZodOptional<z.ZodString>;
1047
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
1048
+ "llamacpp-completion": "llamacpp-completion";
1049
+ "whispercpp-transcription": "whispercpp-transcription";
1050
+ "llamacpp-embedding": "llamacpp-embedding";
1051
+ "nmtcpp-translation": "nmtcpp-translation";
1052
+ "onnx-tts": "onnx-tts";
1053
+ "onnx-ocr": "onnx-ocr";
1054
+ llm: "llm";
1055
+ whisper: "whisper";
1056
+ embeddings: "embeddings";
1057
+ nmt: "nmt";
1058
+ tts: "tts";
1059
+ ocr: "ocr";
1060
+ }>, z.ZodLiteral<"vad">]>>;
1061
+ }, z.core.$strip>]>;
1062
+ modelType: z.ZodString;
1063
+ modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1064
+ seed: z.ZodOptional<z.ZodBoolean>;
1065
+ delegate: z.ZodOptional<z.ZodObject<{
1066
+ topic: z.ZodString;
1067
+ providerPublicKey: z.ZodString;
1068
+ timeout: z.ZodOptional<z.ZodNumber>;
1069
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1070
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1071
+ }, z.core.$strip>>;
1072
+ }, z.core.$strip>]>, z.ZodTransform<{
1073
+ seed: boolean;
1074
+ modelSrc: string | {
1075
+ src: string;
1076
+ name?: string | undefined;
1077
+ modelId?: string | undefined;
1078
+ registryPath?: string | undefined;
1079
+ registrySource?: string | undefined;
1080
+ blobCoreKey?: string | undefined;
1081
+ blobIndex?: number | undefined;
1082
+ engine?: string | undefined;
1083
+ expectedSize?: number | undefined;
1084
+ sha256Checksum?: string | undefined;
739
1085
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
740
1086
  };
741
1087
  modelType: "llamacpp-completion" | "llm";
@@ -764,8 +1110,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
764
1110
  src: string;
765
1111
  name?: string | undefined;
766
1112
  modelId?: string | undefined;
767
- hyperdriveKey?: string | undefined;
768
- hyperbeeKey?: string | undefined;
1113
+ registryPath?: string | undefined;
1114
+ registrySource?: string | undefined;
1115
+ blobCoreKey?: string | undefined;
1116
+ blobIndex?: number | undefined;
1117
+ engine?: string | undefined;
769
1118
  expectedSize?: number | undefined;
770
1119
  sha256Checksum?: string | undefined;
771
1120
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -783,8 +1132,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
783
1132
  src: string;
784
1133
  name?: string | undefined;
785
1134
  modelId?: string | undefined;
786
- hyperdriveKey?: string | undefined;
787
- hyperbeeKey?: string | undefined;
1135
+ registryPath?: string | undefined;
1136
+ registrySource?: string | undefined;
1137
+ blobCoreKey?: string | undefined;
1138
+ blobIndex?: number | undefined;
1139
+ engine?: string | undefined;
788
1140
  expectedSize?: number | undefined;
789
1141
  sha256Checksum?: string | undefined;
790
1142
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -850,8 +1202,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
850
1202
  src: string;
851
1203
  name?: string | undefined;
852
1204
  modelId?: string | undefined;
853
- hyperdriveKey?: string | undefined;
854
- hyperbeeKey?: string | undefined;
1205
+ registryPath?: string | undefined;
1206
+ registrySource?: string | undefined;
1207
+ blobCoreKey?: string | undefined;
1208
+ blobIndex?: number | undefined;
1209
+ engine?: string | undefined;
855
1210
  expectedSize?: number | undefined;
856
1211
  sha256Checksum?: string | undefined;
857
1212
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -869,8 +1224,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
869
1224
  src: string;
870
1225
  name?: string | undefined;
871
1226
  modelId?: string | undefined;
872
- hyperdriveKey?: string | undefined;
873
- hyperbeeKey?: string | undefined;
1227
+ registryPath?: string | undefined;
1228
+ registrySource?: string | undefined;
1229
+ blobCoreKey?: string | undefined;
1230
+ blobIndex?: number | undefined;
1231
+ engine?: string | undefined;
874
1232
  expectedSize?: number | undefined;
875
1233
  sha256Checksum?: string | undefined;
876
1234
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -897,8 +1255,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
897
1255
  src: string;
898
1256
  name?: string | undefined;
899
1257
  modelId?: string | undefined;
900
- hyperdriveKey?: string | undefined;
901
- hyperbeeKey?: string | undefined;
1258
+ registryPath?: string | undefined;
1259
+ registrySource?: string | undefined;
1260
+ blobCoreKey?: string | undefined;
1261
+ blobIndex?: number | undefined;
1262
+ engine?: string | undefined;
902
1263
  expectedSize?: number | undefined;
903
1264
  sha256Checksum?: string | undefined;
904
1265
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -951,8 +1312,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
951
1312
  src: string;
952
1313
  name?: string | undefined;
953
1314
  modelId?: string | undefined;
954
- hyperdriveKey?: string | undefined;
955
- hyperbeeKey?: string | undefined;
1315
+ registryPath?: string | undefined;
1316
+ registrySource?: string | undefined;
1317
+ blobCoreKey?: string | undefined;
1318
+ blobIndex?: number | undefined;
1319
+ engine?: string | undefined;
956
1320
  expectedSize?: number | undefined;
957
1321
  sha256Checksum?: string | undefined;
958
1322
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -961,8 +1325,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
961
1325
  src: string;
962
1326
  name?: string | undefined;
963
1327
  modelId?: string | undefined;
964
- hyperdriveKey?: string | undefined;
965
- hyperbeeKey?: string | undefined;
1328
+ registryPath?: string | undefined;
1329
+ registrySource?: string | undefined;
1330
+ blobCoreKey?: string | undefined;
1331
+ blobIndex?: number | undefined;
1332
+ engine?: string | undefined;
966
1333
  expectedSize?: number | undefined;
967
1334
  sha256Checksum?: string | undefined;
968
1335
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -980,27 +1347,168 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
980
1347
  src: string;
981
1348
  name?: string | undefined;
982
1349
  modelId?: string | undefined;
983
- hyperdriveKey?: string | undefined;
984
- hyperbeeKey?: string | undefined;
1350
+ registryPath?: string | undefined;
1351
+ registrySource?: string | undefined;
1352
+ blobCoreKey?: string | undefined;
1353
+ blobIndex?: number | undefined;
1354
+ engine?: string | undefined;
985
1355
  expectedSize?: number | undefined;
986
1356
  sha256Checksum?: string | undefined;
987
1357
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
988
1358
  };
989
1359
  modelType: "onnx-tts" | "tts";
990
1360
  modelConfig: {
1361
+ ttsEngine: "chatterbox";
991
1362
  language: "en" | "de" | "es" | "it";
1363
+ ttsTokenizerSrc: string | {
1364
+ src: string;
1365
+ name?: string | undefined;
1366
+ modelId?: string | undefined;
1367
+ registryPath?: string | undefined;
1368
+ registrySource?: string | undefined;
1369
+ blobCoreKey?: string | undefined;
1370
+ blobIndex?: number | undefined;
1371
+ engine?: string | undefined;
1372
+ expectedSize?: number | undefined;
1373
+ sha256Checksum?: string | undefined;
1374
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1375
+ };
1376
+ ttsSpeechEncoderSrc: string | {
1377
+ src: string;
1378
+ name?: string | undefined;
1379
+ modelId?: string | undefined;
1380
+ registryPath?: string | undefined;
1381
+ registrySource?: string | undefined;
1382
+ blobCoreKey?: string | undefined;
1383
+ blobIndex?: number | undefined;
1384
+ engine?: string | undefined;
1385
+ expectedSize?: number | undefined;
1386
+ sha256Checksum?: string | undefined;
1387
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1388
+ };
1389
+ ttsEmbedTokensSrc: string | {
1390
+ src: string;
1391
+ name?: string | undefined;
1392
+ modelId?: string | undefined;
1393
+ registryPath?: string | undefined;
1394
+ registrySource?: string | undefined;
1395
+ blobCoreKey?: string | undefined;
1396
+ blobIndex?: number | undefined;
1397
+ engine?: string | undefined;
1398
+ expectedSize?: number | undefined;
1399
+ sha256Checksum?: string | undefined;
1400
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1401
+ };
1402
+ ttsConditionalDecoderSrc: string | {
1403
+ src: string;
1404
+ name?: string | undefined;
1405
+ modelId?: string | undefined;
1406
+ registryPath?: string | undefined;
1407
+ registrySource?: string | undefined;
1408
+ blobCoreKey?: string | undefined;
1409
+ blobIndex?: number | undefined;
1410
+ engine?: string | undefined;
1411
+ expectedSize?: number | undefined;
1412
+ sha256Checksum?: string | undefined;
1413
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1414
+ };
1415
+ ttsLanguageModelSrc: string | {
1416
+ src: string;
1417
+ name?: string | undefined;
1418
+ modelId?: string | undefined;
1419
+ registryPath?: string | undefined;
1420
+ registrySource?: string | undefined;
1421
+ blobCoreKey?: string | undefined;
1422
+ blobIndex?: number | undefined;
1423
+ engine?: string | undefined;
1424
+ expectedSize?: number | undefined;
1425
+ sha256Checksum?: string | undefined;
1426
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1427
+ };
1428
+ referenceAudioSrc: string | {
1429
+ src: string;
1430
+ name?: string | undefined;
1431
+ modelId?: string | undefined;
1432
+ registryPath?: string | undefined;
1433
+ registrySource?: string | undefined;
1434
+ blobCoreKey?: string | undefined;
1435
+ blobIndex?: number | undefined;
1436
+ engine?: string | undefined;
1437
+ expectedSize?: number | undefined;
1438
+ sha256Checksum?: string | undefined;
1439
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1440
+ };
1441
+ } | {
1442
+ ttsEngine: "supertonic";
1443
+ language: "en" | "de" | "es" | "it";
1444
+ ttsTokenizerSrc: string | {
1445
+ src: string;
1446
+ name?: string | undefined;
1447
+ modelId?: string | undefined;
1448
+ registryPath?: string | undefined;
1449
+ registrySource?: string | undefined;
1450
+ blobCoreKey?: string | undefined;
1451
+ blobIndex?: number | undefined;
1452
+ engine?: string | undefined;
1453
+ expectedSize?: number | undefined;
1454
+ sha256Checksum?: string | undefined;
1455
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1456
+ };
1457
+ ttsTextEncoderSrc: string | {
1458
+ src: string;
1459
+ name?: string | undefined;
1460
+ modelId?: string | undefined;
1461
+ registryPath?: string | undefined;
1462
+ registrySource?: string | undefined;
1463
+ blobCoreKey?: string | undefined;
1464
+ blobIndex?: number | undefined;
1465
+ engine?: string | undefined;
1466
+ expectedSize?: number | undefined;
1467
+ sha256Checksum?: string | undefined;
1468
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1469
+ };
1470
+ ttsLatentDenoiserSrc: string | {
1471
+ src: string;
1472
+ name?: string | undefined;
1473
+ modelId?: string | undefined;
1474
+ registryPath?: string | undefined;
1475
+ registrySource?: string | undefined;
1476
+ blobCoreKey?: string | undefined;
1477
+ blobIndex?: number | undefined;
1478
+ engine?: string | undefined;
1479
+ expectedSize?: number | undefined;
1480
+ sha256Checksum?: string | undefined;
1481
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1482
+ };
1483
+ ttsVoiceDecoderSrc: string | {
1484
+ src: string;
1485
+ name?: string | undefined;
1486
+ modelId?: string | undefined;
1487
+ registryPath?: string | undefined;
1488
+ registrySource?: string | undefined;
1489
+ blobCoreKey?: string | undefined;
1490
+ blobIndex?: number | undefined;
1491
+ engine?: string | undefined;
1492
+ expectedSize?: number | undefined;
1493
+ sha256Checksum?: string | undefined;
1494
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1495
+ };
1496
+ ttsVoiceSrc: string | {
1497
+ src: string;
1498
+ name?: string | undefined;
1499
+ modelId?: string | undefined;
1500
+ registryPath?: string | undefined;
1501
+ registrySource?: string | undefined;
1502
+ blobCoreKey?: string | undefined;
1503
+ blobIndex?: number | undefined;
1504
+ engine?: string | undefined;
1505
+ expectedSize?: number | undefined;
1506
+ sha256Checksum?: string | undefined;
1507
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1508
+ };
1509
+ ttsSpeed?: number | undefined;
1510
+ ttsNumInferenceSteps?: number | undefined;
992
1511
  };
993
- configSrc: string | {
994
- src: string;
995
- name?: string | undefined;
996
- modelId?: string | undefined;
997
- hyperdriveKey?: string | undefined;
998
- hyperbeeKey?: string | undefined;
999
- expectedSize?: number | undefined;
1000
- sha256Checksum?: string | undefined;
1001
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1002
- };
1003
- eSpeakDataPath: string;
1004
1512
  delegate?: {
1005
1513
  topic: string;
1006
1514
  providerPublicKey: string;
@@ -1014,8 +1522,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1014
1522
  src: string;
1015
1523
  name?: string | undefined;
1016
1524
  modelId?: string | undefined;
1017
- hyperdriveKey?: string | undefined;
1018
- hyperbeeKey?: string | undefined;
1525
+ registryPath?: string | undefined;
1526
+ registrySource?: string | undefined;
1527
+ blobCoreKey?: string | undefined;
1528
+ blobIndex?: number | undefined;
1529
+ engine?: string | undefined;
1019
1530
  expectedSize?: number | undefined;
1020
1531
  sha256Checksum?: string | undefined;
1021
1532
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1035,8 +1546,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1035
1546
  src: string;
1036
1547
  name?: string | undefined;
1037
1548
  modelId?: string | undefined;
1038
- hyperdriveKey?: string | undefined;
1039
- hyperbeeKey?: string | undefined;
1549
+ registryPath?: string | undefined;
1550
+ registrySource?: string | undefined;
1551
+ blobCoreKey?: string | undefined;
1552
+ blobIndex?: number | undefined;
1553
+ engine?: string | undefined;
1040
1554
  expectedSize?: number | undefined;
1041
1555
  sha256Checksum?: string | undefined;
1042
1556
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1048,13 +1562,40 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1048
1562
  forceNewConnection: boolean;
1049
1563
  timeout?: number | undefined;
1050
1564
  } | undefined;
1565
+ } | {
1566
+ seed: boolean;
1567
+ modelSrc: string | {
1568
+ src: string;
1569
+ name?: string | undefined;
1570
+ modelId?: string | undefined;
1571
+ registryPath?: string | undefined;
1572
+ registrySource?: string | undefined;
1573
+ blobCoreKey?: string | undefined;
1574
+ blobIndex?: number | undefined;
1575
+ engine?: string | undefined;
1576
+ expectedSize?: number | undefined;
1577
+ sha256Checksum?: string | undefined;
1578
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1579
+ };
1580
+ modelType: string;
1581
+ modelConfig?: Record<string, unknown> | undefined;
1582
+ delegate?: {
1583
+ topic: string;
1584
+ providerPublicKey: string;
1585
+ fallbackToLocal: boolean;
1586
+ forceNewConnection: boolean;
1587
+ timeout?: number | undefined;
1588
+ } | undefined;
1051
1589
  }, {
1052
1590
  modelSrc: string | {
1053
1591
  src: string;
1054
1592
  name?: string | undefined;
1055
1593
  modelId?: string | undefined;
1056
- hyperdriveKey?: string | undefined;
1057
- hyperbeeKey?: string | undefined;
1594
+ registryPath?: string | undefined;
1595
+ registrySource?: string | undefined;
1596
+ blobCoreKey?: string | undefined;
1597
+ blobIndex?: number | undefined;
1598
+ engine?: string | undefined;
1058
1599
  expectedSize?: number | undefined;
1059
1600
  sha256Checksum?: string | undefined;
1060
1601
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1086,8 +1627,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1086
1627
  src: string;
1087
1628
  name?: string | undefined;
1088
1629
  modelId?: string | undefined;
1089
- hyperdriveKey?: string | undefined;
1090
- hyperbeeKey?: string | undefined;
1630
+ registryPath?: string | undefined;
1631
+ registrySource?: string | undefined;
1632
+ blobCoreKey?: string | undefined;
1633
+ blobIndex?: number | undefined;
1634
+ engine?: string | undefined;
1091
1635
  expectedSize?: number | undefined;
1092
1636
  sha256Checksum?: string | undefined;
1093
1637
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1104,8 +1648,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1104
1648
  src: string;
1105
1649
  name?: string | undefined;
1106
1650
  modelId?: string | undefined;
1107
- hyperdriveKey?: string | undefined;
1108
- hyperbeeKey?: string | undefined;
1651
+ registryPath?: string | undefined;
1652
+ registrySource?: string | undefined;
1653
+ blobCoreKey?: string | undefined;
1654
+ blobIndex?: number | undefined;
1655
+ engine?: string | undefined;
1109
1656
  expectedSize?: number | undefined;
1110
1657
  sha256Checksum?: string | undefined;
1111
1658
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1172,8 +1719,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1172
1719
  src: string;
1173
1720
  name?: string | undefined;
1174
1721
  modelId?: string | undefined;
1175
- hyperdriveKey?: string | undefined;
1176
- hyperbeeKey?: string | undefined;
1722
+ registryPath?: string | undefined;
1723
+ registrySource?: string | undefined;
1724
+ blobCoreKey?: string | undefined;
1725
+ blobIndex?: number | undefined;
1726
+ engine?: string | undefined;
1177
1727
  expectedSize?: number | undefined;
1178
1728
  sha256Checksum?: string | undefined;
1179
1729
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1190,8 +1740,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1190
1740
  src: string;
1191
1741
  name?: string | undefined;
1192
1742
  modelId?: string | undefined;
1193
- hyperdriveKey?: string | undefined;
1194
- hyperbeeKey?: string | undefined;
1743
+ registryPath?: string | undefined;
1744
+ registrySource?: string | undefined;
1745
+ blobCoreKey?: string | undefined;
1746
+ blobIndex?: number | undefined;
1747
+ engine?: string | undefined;
1195
1748
  expectedSize?: number | undefined;
1196
1749
  sha256Checksum?: string | undefined;
1197
1750
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1218,8 +1771,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1218
1771
  src: string;
1219
1772
  name?: string | undefined;
1220
1773
  modelId?: string | undefined;
1221
- hyperdriveKey?: string | undefined;
1222
- hyperbeeKey?: string | undefined;
1774
+ registryPath?: string | undefined;
1775
+ registrySource?: string | undefined;
1776
+ blobCoreKey?: string | undefined;
1777
+ blobIndex?: number | undefined;
1778
+ engine?: string | undefined;
1223
1779
  expectedSize?: number | undefined;
1224
1780
  sha256Checksum?: string | undefined;
1225
1781
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1272,8 +1828,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1272
1828
  src: string;
1273
1829
  name?: string | undefined;
1274
1830
  modelId?: string | undefined;
1275
- hyperdriveKey?: string | undefined;
1276
- hyperbeeKey?: string | undefined;
1831
+ registryPath?: string | undefined;
1832
+ registrySource?: string | undefined;
1833
+ blobCoreKey?: string | undefined;
1834
+ blobIndex?: number | undefined;
1835
+ engine?: string | undefined;
1277
1836
  expectedSize?: number | undefined;
1278
1837
  sha256Checksum?: string | undefined;
1279
1838
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1282,8 +1841,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1282
1841
  src: string;
1283
1842
  name?: string | undefined;
1284
1843
  modelId?: string | undefined;
1285
- hyperdriveKey?: string | undefined;
1286
- hyperbeeKey?: string | undefined;
1844
+ registryPath?: string | undefined;
1845
+ registrySource?: string | undefined;
1846
+ blobCoreKey?: string | undefined;
1847
+ blobIndex?: number | undefined;
1848
+ engine?: string | undefined;
1287
1849
  expectedSize?: number | undefined;
1288
1850
  sha256Checksum?: string | undefined;
1289
1851
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1301,27 +1863,168 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1301
1863
  src: string;
1302
1864
  name?: string | undefined;
1303
1865
  modelId?: string | undefined;
1304
- hyperdriveKey?: string | undefined;
1305
- hyperbeeKey?: string | undefined;
1866
+ registryPath?: string | undefined;
1867
+ registrySource?: string | undefined;
1868
+ blobCoreKey?: string | undefined;
1869
+ blobIndex?: number | undefined;
1870
+ engine?: string | undefined;
1306
1871
  expectedSize?: number | undefined;
1307
1872
  sha256Checksum?: string | undefined;
1308
1873
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1309
1874
  };
1310
1875
  modelType: "onnx-tts" | "tts";
1311
1876
  modelConfig: {
1877
+ ttsEngine: "chatterbox";
1312
1878
  language: "en" | "de" | "es" | "it";
1879
+ ttsTokenizerSrc: string | {
1880
+ src: string;
1881
+ name?: string | undefined;
1882
+ modelId?: string | undefined;
1883
+ registryPath?: string | undefined;
1884
+ registrySource?: string | undefined;
1885
+ blobCoreKey?: string | undefined;
1886
+ blobIndex?: number | undefined;
1887
+ engine?: string | undefined;
1888
+ expectedSize?: number | undefined;
1889
+ sha256Checksum?: string | undefined;
1890
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1891
+ };
1892
+ ttsSpeechEncoderSrc: string | {
1893
+ src: string;
1894
+ name?: string | undefined;
1895
+ modelId?: string | undefined;
1896
+ registryPath?: string | undefined;
1897
+ registrySource?: string | undefined;
1898
+ blobCoreKey?: string | undefined;
1899
+ blobIndex?: number | undefined;
1900
+ engine?: string | undefined;
1901
+ expectedSize?: number | undefined;
1902
+ sha256Checksum?: string | undefined;
1903
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1904
+ };
1905
+ ttsEmbedTokensSrc: string | {
1906
+ src: string;
1907
+ name?: string | undefined;
1908
+ modelId?: string | undefined;
1909
+ registryPath?: string | undefined;
1910
+ registrySource?: string | undefined;
1911
+ blobCoreKey?: string | undefined;
1912
+ blobIndex?: number | undefined;
1913
+ engine?: string | undefined;
1914
+ expectedSize?: number | undefined;
1915
+ sha256Checksum?: string | undefined;
1916
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1917
+ };
1918
+ ttsConditionalDecoderSrc: string | {
1919
+ src: string;
1920
+ name?: string | undefined;
1921
+ modelId?: string | undefined;
1922
+ registryPath?: string | undefined;
1923
+ registrySource?: string | undefined;
1924
+ blobCoreKey?: string | undefined;
1925
+ blobIndex?: number | undefined;
1926
+ engine?: string | undefined;
1927
+ expectedSize?: number | undefined;
1928
+ sha256Checksum?: string | undefined;
1929
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1930
+ };
1931
+ ttsLanguageModelSrc: string | {
1932
+ src: string;
1933
+ name?: string | undefined;
1934
+ modelId?: string | undefined;
1935
+ registryPath?: string | undefined;
1936
+ registrySource?: string | undefined;
1937
+ blobCoreKey?: string | undefined;
1938
+ blobIndex?: number | undefined;
1939
+ engine?: string | undefined;
1940
+ expectedSize?: number | undefined;
1941
+ sha256Checksum?: string | undefined;
1942
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1943
+ };
1944
+ referenceAudioSrc: string | {
1945
+ src: string;
1946
+ name?: string | undefined;
1947
+ modelId?: string | undefined;
1948
+ registryPath?: string | undefined;
1949
+ registrySource?: string | undefined;
1950
+ blobCoreKey?: string | undefined;
1951
+ blobIndex?: number | undefined;
1952
+ engine?: string | undefined;
1953
+ expectedSize?: number | undefined;
1954
+ sha256Checksum?: string | undefined;
1955
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1956
+ };
1957
+ } | {
1958
+ ttsEngine: "supertonic";
1959
+ language: "en" | "de" | "es" | "it";
1960
+ ttsTokenizerSrc: string | {
1961
+ src: string;
1962
+ name?: string | undefined;
1963
+ modelId?: string | undefined;
1964
+ registryPath?: string | undefined;
1965
+ registrySource?: string | undefined;
1966
+ blobCoreKey?: string | undefined;
1967
+ blobIndex?: number | undefined;
1968
+ engine?: string | undefined;
1969
+ expectedSize?: number | undefined;
1970
+ sha256Checksum?: string | undefined;
1971
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1972
+ };
1973
+ ttsTextEncoderSrc: string | {
1974
+ src: string;
1975
+ name?: string | undefined;
1976
+ modelId?: string | undefined;
1977
+ registryPath?: string | undefined;
1978
+ registrySource?: string | undefined;
1979
+ blobCoreKey?: string | undefined;
1980
+ blobIndex?: number | undefined;
1981
+ engine?: string | undefined;
1982
+ expectedSize?: number | undefined;
1983
+ sha256Checksum?: string | undefined;
1984
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1985
+ };
1986
+ ttsLatentDenoiserSrc: string | {
1987
+ src: string;
1988
+ name?: string | undefined;
1989
+ modelId?: string | undefined;
1990
+ registryPath?: string | undefined;
1991
+ registrySource?: string | undefined;
1992
+ blobCoreKey?: string | undefined;
1993
+ blobIndex?: number | undefined;
1994
+ engine?: string | undefined;
1995
+ expectedSize?: number | undefined;
1996
+ sha256Checksum?: string | undefined;
1997
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1998
+ };
1999
+ ttsVoiceDecoderSrc: string | {
2000
+ src: string;
2001
+ name?: string | undefined;
2002
+ modelId?: string | undefined;
2003
+ registryPath?: string | undefined;
2004
+ registrySource?: string | undefined;
2005
+ blobCoreKey?: string | undefined;
2006
+ blobIndex?: number | undefined;
2007
+ engine?: string | undefined;
2008
+ expectedSize?: number | undefined;
2009
+ sha256Checksum?: string | undefined;
2010
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
2011
+ };
2012
+ ttsVoiceSrc: string | {
2013
+ src: string;
2014
+ name?: string | undefined;
2015
+ modelId?: string | undefined;
2016
+ registryPath?: string | undefined;
2017
+ registrySource?: string | undefined;
2018
+ blobCoreKey?: string | undefined;
2019
+ blobIndex?: number | undefined;
2020
+ engine?: string | undefined;
2021
+ expectedSize?: number | undefined;
2022
+ sha256Checksum?: string | undefined;
2023
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
2024
+ };
2025
+ ttsSpeed?: number | undefined;
2026
+ ttsNumInferenceSteps?: number | undefined;
1313
2027
  };
1314
- configSrc: string | {
1315
- src: string;
1316
- name?: string | undefined;
1317
- modelId?: string | undefined;
1318
- hyperdriveKey?: string | undefined;
1319
- hyperbeeKey?: string | undefined;
1320
- expectedSize?: number | undefined;
1321
- sha256Checksum?: string | undefined;
1322
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
1323
- };
1324
- eSpeakDataPath: string;
1325
2028
  seed?: boolean | undefined;
1326
2029
  delegate?: {
1327
2030
  topic: string;
@@ -1335,8 +2038,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1335
2038
  src: string;
1336
2039
  name?: string | undefined;
1337
2040
  modelId?: string | undefined;
1338
- hyperdriveKey?: string | undefined;
1339
- hyperbeeKey?: string | undefined;
2041
+ registryPath?: string | undefined;
2042
+ registrySource?: string | undefined;
2043
+ blobCoreKey?: string | undefined;
2044
+ blobIndex?: number | undefined;
2045
+ engine?: string | undefined;
1340
2046
  expectedSize?: number | undefined;
1341
2047
  sha256Checksum?: string | undefined;
1342
2048
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1356,8 +2062,11 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1356
2062
  src: string;
1357
2063
  name?: string | undefined;
1358
2064
  modelId?: string | undefined;
1359
- hyperdriveKey?: string | undefined;
1360
- hyperbeeKey?: string | undefined;
2065
+ registryPath?: string | undefined;
2066
+ registrySource?: string | undefined;
2067
+ blobCoreKey?: string | undefined;
2068
+ blobIndex?: number | undefined;
2069
+ engine?: string | undefined;
1361
2070
  expectedSize?: number | undefined;
1362
2071
  sha256Checksum?: string | undefined;
1363
2072
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1370,14 +2079,41 @@ export declare const loadModelOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.Zo
1370
2079
  forceNewConnection: boolean;
1371
2080
  timeout?: number | undefined;
1372
2081
  } | undefined;
2082
+ } | {
2083
+ modelSrc: string | {
2084
+ src: string;
2085
+ name?: string | undefined;
2086
+ modelId?: string | undefined;
2087
+ registryPath?: string | undefined;
2088
+ registrySource?: string | undefined;
2089
+ blobCoreKey?: string | undefined;
2090
+ blobIndex?: number | undefined;
2091
+ engine?: string | undefined;
2092
+ expectedSize?: number | undefined;
2093
+ sha256Checksum?: string | undefined;
2094
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
2095
+ };
2096
+ modelType: string;
2097
+ modelConfig?: Record<string, unknown> | undefined;
2098
+ seed?: boolean | undefined;
2099
+ delegate?: {
2100
+ topic: string;
2101
+ providerPublicKey: string;
2102
+ fallbackToLocal: boolean;
2103
+ forceNewConnection: boolean;
2104
+ timeout?: number | undefined;
2105
+ } | undefined;
1373
2106
  }>>;
1374
2107
  export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1375
2108
  modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1376
2109
  src: z.ZodString;
1377
2110
  name: z.ZodOptional<z.ZodString>;
1378
2111
  modelId: z.ZodOptional<z.ZodString>;
1379
- hyperdriveKey: z.ZodOptional<z.ZodString>;
1380
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2112
+ registryPath: z.ZodOptional<z.ZodString>;
2113
+ registrySource: z.ZodOptional<z.ZodString>;
2114
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2115
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2116
+ engine: z.ZodOptional<z.ZodString>;
1381
2117
  expectedSize: z.ZodOptional<z.ZodNumber>;
1382
2118
  sha256Checksum: z.ZodOptional<z.ZodString>;
1383
2119
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1424,8 +2160,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1424
2160
  src: z.ZodString;
1425
2161
  name: z.ZodOptional<z.ZodString>;
1426
2162
  modelId: z.ZodOptional<z.ZodString>;
1427
- hyperdriveKey: z.ZodOptional<z.ZodString>;
1428
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2163
+ registryPath: z.ZodOptional<z.ZodString>;
2164
+ registrySource: z.ZodOptional<z.ZodString>;
2165
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2166
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2167
+ engine: z.ZodOptional<z.ZodString>;
1429
2168
  expectedSize: z.ZodOptional<z.ZodNumber>;
1430
2169
  sha256Checksum: z.ZodOptional<z.ZodString>;
1431
2170
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1477,8 +2216,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1477
2216
  src: string;
1478
2217
  name?: string | undefined;
1479
2218
  modelId?: string | undefined;
1480
- hyperdriveKey?: string | undefined;
1481
- hyperbeeKey?: string | undefined;
2219
+ registryPath?: string | undefined;
2220
+ registrySource?: string | undefined;
2221
+ blobCoreKey?: string | undefined;
2222
+ blobIndex?: number | undefined;
2223
+ engine?: string | undefined;
1482
2224
  expectedSize?: number | undefined;
1483
2225
  sha256Checksum?: string | undefined;
1484
2226
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1510,8 +2252,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1510
2252
  src: string;
1511
2253
  name?: string | undefined;
1512
2254
  modelId?: string | undefined;
1513
- hyperdriveKey?: string | undefined;
1514
- hyperbeeKey?: string | undefined;
2255
+ registryPath?: string | undefined;
2256
+ registrySource?: string | undefined;
2257
+ blobCoreKey?: string | undefined;
2258
+ blobIndex?: number | undefined;
2259
+ engine?: string | undefined;
1515
2260
  expectedSize?: number | undefined;
1516
2261
  sha256Checksum?: string | undefined;
1517
2262
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1530,8 +2275,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1530
2275
  src: z.ZodString;
1531
2276
  name: z.ZodOptional<z.ZodString>;
1532
2277
  modelId: z.ZodOptional<z.ZodString>;
1533
- hyperdriveKey: z.ZodOptional<z.ZodString>;
1534
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2278
+ registryPath: z.ZodOptional<z.ZodString>;
2279
+ registrySource: z.ZodOptional<z.ZodString>;
2280
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2281
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2282
+ engine: z.ZodOptional<z.ZodString>;
1535
2283
  expectedSize: z.ZodOptional<z.ZodNumber>;
1536
2284
  sha256Checksum: z.ZodOptional<z.ZodString>;
1537
2285
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1620,8 +2368,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1620
2368
  src: z.ZodString;
1621
2369
  name: z.ZodOptional<z.ZodString>;
1622
2370
  modelId: z.ZodOptional<z.ZodString>;
1623
- hyperdriveKey: z.ZodOptional<z.ZodString>;
1624
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2371
+ registryPath: z.ZodOptional<z.ZodString>;
2372
+ registrySource: z.ZodOptional<z.ZodString>;
2373
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2374
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2375
+ engine: z.ZodOptional<z.ZodString>;
1625
2376
  expectedSize: z.ZodOptional<z.ZodNumber>;
1626
2377
  sha256Checksum: z.ZodOptional<z.ZodString>;
1627
2378
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1669,8 +2420,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1669
2420
  src: string;
1670
2421
  name?: string | undefined;
1671
2422
  modelId?: string | undefined;
1672
- hyperdriveKey?: string | undefined;
1673
- hyperbeeKey?: string | undefined;
2423
+ registryPath?: string | undefined;
2424
+ registrySource?: string | undefined;
2425
+ blobCoreKey?: string | undefined;
2426
+ blobIndex?: number | undefined;
2427
+ engine?: string | undefined;
1674
2428
  expectedSize?: number | undefined;
1675
2429
  sha256Checksum?: string | undefined;
1676
2430
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1737,8 +2491,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1737
2491
  src: string;
1738
2492
  name?: string | undefined;
1739
2493
  modelId?: string | undefined;
1740
- hyperdriveKey?: string | undefined;
1741
- hyperbeeKey?: string | undefined;
2494
+ registryPath?: string | undefined;
2495
+ registrySource?: string | undefined;
2496
+ blobCoreKey?: string | undefined;
2497
+ blobIndex?: number | undefined;
2498
+ engine?: string | undefined;
1742
2499
  expectedSize?: number | undefined;
1743
2500
  sha256Checksum?: string | undefined;
1744
2501
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1757,8 +2514,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1757
2514
  src: z.ZodString;
1758
2515
  name: z.ZodOptional<z.ZodString>;
1759
2516
  modelId: z.ZodOptional<z.ZodString>;
1760
- hyperdriveKey: z.ZodOptional<z.ZodString>;
1761
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2517
+ registryPath: z.ZodOptional<z.ZodString>;
2518
+ registrySource: z.ZodOptional<z.ZodString>;
2519
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2520
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2521
+ engine: z.ZodOptional<z.ZodString>;
1762
2522
  expectedSize: z.ZodOptional<z.ZodNumber>;
1763
2523
  sha256Checksum: z.ZodOptional<z.ZodString>;
1764
2524
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -1821,8 +2581,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1821
2581
  src: string;
1822
2582
  name?: string | undefined;
1823
2583
  modelId?: string | undefined;
1824
- hyperdriveKey?: string | undefined;
1825
- hyperbeeKey?: string | undefined;
2584
+ registryPath?: string | undefined;
2585
+ registrySource?: string | undefined;
2586
+ blobCoreKey?: string | undefined;
2587
+ blobIndex?: number | undefined;
2588
+ engine?: string | undefined;
1826
2589
  expectedSize?: number | undefined;
1827
2590
  sha256Checksum?: string | undefined;
1828
2591
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -1851,8 +2614,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
1851
2614
  src: z.ZodString;
1852
2615
  name: z.ZodOptional<z.ZodString>;
1853
2616
  modelId: z.ZodOptional<z.ZodString>;
1854
- hyperdriveKey: z.ZodOptional<z.ZodString>;
1855
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2617
+ registryPath: z.ZodOptional<z.ZodString>;
2618
+ registrySource: z.ZodOptional<z.ZodString>;
2619
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2620
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2621
+ engine: z.ZodOptional<z.ZodString>;
1856
2622
  expectedSize: z.ZodOptional<z.ZodNumber>;
1857
2623
  sha256Checksum: z.ZodOptional<z.ZodString>;
1858
2624
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2131,8 +2897,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2131
2897
  src: z.ZodString;
2132
2898
  name: z.ZodOptional<z.ZodString>;
2133
2899
  modelId: z.ZodOptional<z.ZodString>;
2134
- hyperdriveKey: z.ZodOptional<z.ZodString>;
2135
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2900
+ registryPath: z.ZodOptional<z.ZodString>;
2901
+ registrySource: z.ZodOptional<z.ZodString>;
2902
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2903
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2904
+ engine: z.ZodOptional<z.ZodString>;
2136
2905
  expectedSize: z.ZodOptional<z.ZodNumber>;
2137
2906
  sha256Checksum: z.ZodOptional<z.ZodString>;
2138
2907
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2154,8 +2923,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2154
2923
  src: z.ZodString;
2155
2924
  name: z.ZodOptional<z.ZodString>;
2156
2925
  modelId: z.ZodOptional<z.ZodString>;
2157
- hyperdriveKey: z.ZodOptional<z.ZodString>;
2158
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2926
+ registryPath: z.ZodOptional<z.ZodString>;
2927
+ registrySource: z.ZodOptional<z.ZodString>;
2928
+ blobCoreKey: z.ZodOptional<z.ZodString>;
2929
+ blobIndex: z.ZodOptional<z.ZodNumber>;
2930
+ engine: z.ZodOptional<z.ZodString>;
2159
2931
  expectedSize: z.ZodOptional<z.ZodNumber>;
2160
2932
  sha256Checksum: z.ZodOptional<z.ZodString>;
2161
2933
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2247,8 +3019,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2247
3019
  src: string;
2248
3020
  name?: string | undefined;
2249
3021
  modelId?: string | undefined;
2250
- hyperdriveKey?: string | undefined;
2251
- hyperbeeKey?: string | undefined;
3022
+ registryPath?: string | undefined;
3023
+ registrySource?: string | undefined;
3024
+ blobCoreKey?: string | undefined;
3025
+ blobIndex?: number | undefined;
3026
+ engine?: string | undefined;
2252
3027
  expectedSize?: number | undefined;
2253
3028
  sha256Checksum?: string | undefined;
2254
3029
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -2301,8 +3076,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2301
3076
  src: string;
2302
3077
  name?: string | undefined;
2303
3078
  modelId?: string | undefined;
2304
- hyperdriveKey?: string | undefined;
2305
- hyperbeeKey?: string | undefined;
3079
+ registryPath?: string | undefined;
3080
+ registrySource?: string | undefined;
3081
+ blobCoreKey?: string | undefined;
3082
+ blobIndex?: number | undefined;
3083
+ engine?: string | undefined;
2306
3084
  expectedSize?: number | undefined;
2307
3085
  sha256Checksum?: string | undefined;
2308
3086
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -2311,8 +3089,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2311
3089
  src: string;
2312
3090
  name?: string | undefined;
2313
3091
  modelId?: string | undefined;
2314
- hyperdriveKey?: string | undefined;
2315
- hyperbeeKey?: string | undefined;
3092
+ registryPath?: string | undefined;
3093
+ registrySource?: string | undefined;
3094
+ blobCoreKey?: string | undefined;
3095
+ blobIndex?: number | undefined;
3096
+ engine?: string | undefined;
2316
3097
  expectedSize?: number | undefined;
2317
3098
  sha256Checksum?: string | undefined;
2318
3099
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -2332,8 +3113,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2332
3113
  src: z.ZodString;
2333
3114
  name: z.ZodOptional<z.ZodString>;
2334
3115
  modelId: z.ZodOptional<z.ZodString>;
2335
- hyperdriveKey: z.ZodOptional<z.ZodString>;
2336
- hyperbeeKey: z.ZodOptional<z.ZodString>;
3116
+ registryPath: z.ZodOptional<z.ZodString>;
3117
+ registrySource: z.ZodOptional<z.ZodString>;
3118
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3119
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3120
+ engine: z.ZodOptional<z.ZodString>;
2337
3121
  expectedSize: z.ZodOptional<z.ZodNumber>;
2338
3122
  sha256Checksum: z.ZodOptional<z.ZodString>;
2339
3123
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2355,38 +3139,311 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2355
3139
  "onnx-tts": "onnx-tts";
2356
3140
  tts: "tts";
2357
3141
  }>;
2358
- modelConfig: z.ZodObject<{
3142
+ modelConfig: z.ZodUnion<readonly [z.ZodObject<{
3143
+ ttsEngine: z.ZodLiteral<"chatterbox">;
2359
3144
  language: z.ZodEnum<{
2360
3145
  en: "en";
2361
3146
  de: "de";
2362
3147
  es: "es";
2363
3148
  it: "it";
2364
3149
  }>;
2365
- }, z.core.$strip>;
2366
- configSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2367
- src: z.ZodString;
2368
- name: z.ZodOptional<z.ZodString>;
2369
- modelId: z.ZodOptional<z.ZodString>;
2370
- hyperdriveKey: z.ZodOptional<z.ZodString>;
2371
- hyperbeeKey: z.ZodOptional<z.ZodString>;
2372
- expectedSize: z.ZodOptional<z.ZodNumber>;
2373
- sha256Checksum: z.ZodOptional<z.ZodString>;
2374
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
2375
- "llamacpp-completion": "llamacpp-completion";
2376
- "whispercpp-transcription": "whispercpp-transcription";
2377
- "llamacpp-embedding": "llamacpp-embedding";
2378
- "nmtcpp-translation": "nmtcpp-translation";
2379
- "onnx-tts": "onnx-tts";
2380
- "onnx-ocr": "onnx-ocr";
2381
- llm: "llm";
2382
- whisper: "whisper";
2383
- embeddings: "embeddings";
2384
- nmt: "nmt";
2385
- tts: "tts";
2386
- ocr: "ocr";
2387
- }>, z.ZodLiteral<"vad">]>>;
3150
+ ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3151
+ src: z.ZodString;
3152
+ name: z.ZodOptional<z.ZodString>;
3153
+ modelId: z.ZodOptional<z.ZodString>;
3154
+ registryPath: z.ZodOptional<z.ZodString>;
3155
+ registrySource: z.ZodOptional<z.ZodString>;
3156
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3157
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3158
+ engine: z.ZodOptional<z.ZodString>;
3159
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3160
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3161
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3162
+ "llamacpp-completion": "llamacpp-completion";
3163
+ "whispercpp-transcription": "whispercpp-transcription";
3164
+ "llamacpp-embedding": "llamacpp-embedding";
3165
+ "nmtcpp-translation": "nmtcpp-translation";
3166
+ "onnx-tts": "onnx-tts";
3167
+ "onnx-ocr": "onnx-ocr";
3168
+ llm: "llm";
3169
+ whisper: "whisper";
3170
+ embeddings: "embeddings";
3171
+ nmt: "nmt";
3172
+ tts: "tts";
3173
+ ocr: "ocr";
3174
+ }>, z.ZodLiteral<"vad">]>>;
3175
+ }, z.core.$strip>]>;
3176
+ ttsSpeechEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3177
+ src: z.ZodString;
3178
+ name: z.ZodOptional<z.ZodString>;
3179
+ modelId: z.ZodOptional<z.ZodString>;
3180
+ registryPath: z.ZodOptional<z.ZodString>;
3181
+ registrySource: z.ZodOptional<z.ZodString>;
3182
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3183
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3184
+ engine: z.ZodOptional<z.ZodString>;
3185
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3186
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3187
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3188
+ "llamacpp-completion": "llamacpp-completion";
3189
+ "whispercpp-transcription": "whispercpp-transcription";
3190
+ "llamacpp-embedding": "llamacpp-embedding";
3191
+ "nmtcpp-translation": "nmtcpp-translation";
3192
+ "onnx-tts": "onnx-tts";
3193
+ "onnx-ocr": "onnx-ocr";
3194
+ llm: "llm";
3195
+ whisper: "whisper";
3196
+ embeddings: "embeddings";
3197
+ nmt: "nmt";
3198
+ tts: "tts";
3199
+ ocr: "ocr";
3200
+ }>, z.ZodLiteral<"vad">]>>;
3201
+ }, z.core.$strip>]>;
3202
+ ttsEmbedTokensSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3203
+ src: z.ZodString;
3204
+ name: z.ZodOptional<z.ZodString>;
3205
+ modelId: z.ZodOptional<z.ZodString>;
3206
+ registryPath: z.ZodOptional<z.ZodString>;
3207
+ registrySource: z.ZodOptional<z.ZodString>;
3208
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3209
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3210
+ engine: z.ZodOptional<z.ZodString>;
3211
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3212
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3213
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3214
+ "llamacpp-completion": "llamacpp-completion";
3215
+ "whispercpp-transcription": "whispercpp-transcription";
3216
+ "llamacpp-embedding": "llamacpp-embedding";
3217
+ "nmtcpp-translation": "nmtcpp-translation";
3218
+ "onnx-tts": "onnx-tts";
3219
+ "onnx-ocr": "onnx-ocr";
3220
+ llm: "llm";
3221
+ whisper: "whisper";
3222
+ embeddings: "embeddings";
3223
+ nmt: "nmt";
3224
+ tts: "tts";
3225
+ ocr: "ocr";
3226
+ }>, z.ZodLiteral<"vad">]>>;
3227
+ }, z.core.$strip>]>;
3228
+ ttsConditionalDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3229
+ src: z.ZodString;
3230
+ name: z.ZodOptional<z.ZodString>;
3231
+ modelId: z.ZodOptional<z.ZodString>;
3232
+ registryPath: z.ZodOptional<z.ZodString>;
3233
+ registrySource: z.ZodOptional<z.ZodString>;
3234
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3235
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3236
+ engine: z.ZodOptional<z.ZodString>;
3237
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3238
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3239
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3240
+ "llamacpp-completion": "llamacpp-completion";
3241
+ "whispercpp-transcription": "whispercpp-transcription";
3242
+ "llamacpp-embedding": "llamacpp-embedding";
3243
+ "nmtcpp-translation": "nmtcpp-translation";
3244
+ "onnx-tts": "onnx-tts";
3245
+ "onnx-ocr": "onnx-ocr";
3246
+ llm: "llm";
3247
+ whisper: "whisper";
3248
+ embeddings: "embeddings";
3249
+ nmt: "nmt";
3250
+ tts: "tts";
3251
+ ocr: "ocr";
3252
+ }>, z.ZodLiteral<"vad">]>>;
3253
+ }, z.core.$strip>]>;
3254
+ ttsLanguageModelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3255
+ src: z.ZodString;
3256
+ name: z.ZodOptional<z.ZodString>;
3257
+ modelId: z.ZodOptional<z.ZodString>;
3258
+ registryPath: z.ZodOptional<z.ZodString>;
3259
+ registrySource: z.ZodOptional<z.ZodString>;
3260
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3261
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3262
+ engine: z.ZodOptional<z.ZodString>;
3263
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3264
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3265
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3266
+ "llamacpp-completion": "llamacpp-completion";
3267
+ "whispercpp-transcription": "whispercpp-transcription";
3268
+ "llamacpp-embedding": "llamacpp-embedding";
3269
+ "nmtcpp-translation": "nmtcpp-translation";
3270
+ "onnx-tts": "onnx-tts";
3271
+ "onnx-ocr": "onnx-ocr";
3272
+ llm: "llm";
3273
+ whisper: "whisper";
3274
+ embeddings: "embeddings";
3275
+ nmt: "nmt";
3276
+ tts: "tts";
3277
+ ocr: "ocr";
3278
+ }>, z.ZodLiteral<"vad">]>>;
3279
+ }, z.core.$strip>]>;
3280
+ referenceAudioSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3281
+ src: z.ZodString;
3282
+ name: z.ZodOptional<z.ZodString>;
3283
+ modelId: z.ZodOptional<z.ZodString>;
3284
+ registryPath: z.ZodOptional<z.ZodString>;
3285
+ registrySource: z.ZodOptional<z.ZodString>;
3286
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3287
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3288
+ engine: z.ZodOptional<z.ZodString>;
3289
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3290
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3291
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3292
+ "llamacpp-completion": "llamacpp-completion";
3293
+ "whispercpp-transcription": "whispercpp-transcription";
3294
+ "llamacpp-embedding": "llamacpp-embedding";
3295
+ "nmtcpp-translation": "nmtcpp-translation";
3296
+ "onnx-tts": "onnx-tts";
3297
+ "onnx-ocr": "onnx-ocr";
3298
+ llm: "llm";
3299
+ whisper: "whisper";
3300
+ embeddings: "embeddings";
3301
+ nmt: "nmt";
3302
+ tts: "tts";
3303
+ ocr: "ocr";
3304
+ }>, z.ZodLiteral<"vad">]>>;
3305
+ }, z.core.$strip>]>;
3306
+ }, z.core.$strip>, z.ZodObject<{
3307
+ ttsEngine: z.ZodLiteral<"supertonic">;
3308
+ language: z.ZodEnum<{
3309
+ en: "en";
3310
+ de: "de";
3311
+ es: "es";
3312
+ it: "it";
3313
+ }>;
3314
+ ttsTokenizerSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3315
+ src: z.ZodString;
3316
+ name: z.ZodOptional<z.ZodString>;
3317
+ modelId: z.ZodOptional<z.ZodString>;
3318
+ registryPath: z.ZodOptional<z.ZodString>;
3319
+ registrySource: z.ZodOptional<z.ZodString>;
3320
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3321
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3322
+ engine: z.ZodOptional<z.ZodString>;
3323
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3324
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3325
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3326
+ "llamacpp-completion": "llamacpp-completion";
3327
+ "whispercpp-transcription": "whispercpp-transcription";
3328
+ "llamacpp-embedding": "llamacpp-embedding";
3329
+ "nmtcpp-translation": "nmtcpp-translation";
3330
+ "onnx-tts": "onnx-tts";
3331
+ "onnx-ocr": "onnx-ocr";
3332
+ llm: "llm";
3333
+ whisper: "whisper";
3334
+ embeddings: "embeddings";
3335
+ nmt: "nmt";
3336
+ tts: "tts";
3337
+ ocr: "ocr";
3338
+ }>, z.ZodLiteral<"vad">]>>;
3339
+ }, z.core.$strip>]>;
3340
+ ttsTextEncoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3341
+ src: z.ZodString;
3342
+ name: z.ZodOptional<z.ZodString>;
3343
+ modelId: z.ZodOptional<z.ZodString>;
3344
+ registryPath: z.ZodOptional<z.ZodString>;
3345
+ registrySource: z.ZodOptional<z.ZodString>;
3346
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3347
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3348
+ engine: z.ZodOptional<z.ZodString>;
3349
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3350
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3351
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3352
+ "llamacpp-completion": "llamacpp-completion";
3353
+ "whispercpp-transcription": "whispercpp-transcription";
3354
+ "llamacpp-embedding": "llamacpp-embedding";
3355
+ "nmtcpp-translation": "nmtcpp-translation";
3356
+ "onnx-tts": "onnx-tts";
3357
+ "onnx-ocr": "onnx-ocr";
3358
+ llm: "llm";
3359
+ whisper: "whisper";
3360
+ embeddings: "embeddings";
3361
+ nmt: "nmt";
3362
+ tts: "tts";
3363
+ ocr: "ocr";
3364
+ }>, z.ZodLiteral<"vad">]>>;
3365
+ }, z.core.$strip>]>;
3366
+ ttsLatentDenoiserSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3367
+ src: z.ZodString;
3368
+ name: z.ZodOptional<z.ZodString>;
3369
+ modelId: z.ZodOptional<z.ZodString>;
3370
+ registryPath: z.ZodOptional<z.ZodString>;
3371
+ registrySource: z.ZodOptional<z.ZodString>;
3372
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3373
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3374
+ engine: z.ZodOptional<z.ZodString>;
3375
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3376
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3377
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3378
+ "llamacpp-completion": "llamacpp-completion";
3379
+ "whispercpp-transcription": "whispercpp-transcription";
3380
+ "llamacpp-embedding": "llamacpp-embedding";
3381
+ "nmtcpp-translation": "nmtcpp-translation";
3382
+ "onnx-tts": "onnx-tts";
3383
+ "onnx-ocr": "onnx-ocr";
3384
+ llm: "llm";
3385
+ whisper: "whisper";
3386
+ embeddings: "embeddings";
3387
+ nmt: "nmt";
3388
+ tts: "tts";
3389
+ ocr: "ocr";
3390
+ }>, z.ZodLiteral<"vad">]>>;
3391
+ }, z.core.$strip>]>;
3392
+ ttsVoiceDecoderSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3393
+ src: z.ZodString;
3394
+ name: z.ZodOptional<z.ZodString>;
3395
+ modelId: z.ZodOptional<z.ZodString>;
3396
+ registryPath: z.ZodOptional<z.ZodString>;
3397
+ registrySource: z.ZodOptional<z.ZodString>;
3398
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3399
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3400
+ engine: z.ZodOptional<z.ZodString>;
3401
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3402
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3403
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3404
+ "llamacpp-completion": "llamacpp-completion";
3405
+ "whispercpp-transcription": "whispercpp-transcription";
3406
+ "llamacpp-embedding": "llamacpp-embedding";
3407
+ "nmtcpp-translation": "nmtcpp-translation";
3408
+ "onnx-tts": "onnx-tts";
3409
+ "onnx-ocr": "onnx-ocr";
3410
+ llm: "llm";
3411
+ whisper: "whisper";
3412
+ embeddings: "embeddings";
3413
+ nmt: "nmt";
3414
+ tts: "tts";
3415
+ ocr: "ocr";
3416
+ }>, z.ZodLiteral<"vad">]>>;
3417
+ }, z.core.$strip>]>;
3418
+ ttsVoiceSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3419
+ src: z.ZodString;
3420
+ name: z.ZodOptional<z.ZodString>;
3421
+ modelId: z.ZodOptional<z.ZodString>;
3422
+ registryPath: z.ZodOptional<z.ZodString>;
3423
+ registrySource: z.ZodOptional<z.ZodString>;
3424
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3425
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3426
+ engine: z.ZodOptional<z.ZodString>;
3427
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3428
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3429
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3430
+ "llamacpp-completion": "llamacpp-completion";
3431
+ "whispercpp-transcription": "whispercpp-transcription";
3432
+ "llamacpp-embedding": "llamacpp-embedding";
3433
+ "nmtcpp-translation": "nmtcpp-translation";
3434
+ "onnx-tts": "onnx-tts";
3435
+ "onnx-ocr": "onnx-ocr";
3436
+ llm: "llm";
3437
+ whisper: "whisper";
3438
+ embeddings: "embeddings";
3439
+ nmt: "nmt";
3440
+ tts: "tts";
3441
+ ocr: "ocr";
3442
+ }>, z.ZodLiteral<"vad">]>>;
3443
+ }, z.core.$strip>]>;
3444
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
3445
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
2388
3446
  }, z.core.$strip>]>;
2389
- eSpeakDataPath: z.ZodString;
2390
3447
  seed: z.ZodOptional<z.ZodBoolean>;
2391
3448
  delegate: z.ZodOptional<z.ZodObject<{
2392
3449
  topic: z.ZodString;
@@ -2403,7 +3460,50 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2403
3460
  modelSrc: string;
2404
3461
  modelName: string | undefined;
2405
3462
  modelConfig: {
3463
+ ttsEngine: "chatterbox";
2406
3464
  language: "en" | "de" | "es" | "it";
3465
+ ttsTokenizerSrc: string;
3466
+ ttsSpeechEncoderSrc: string;
3467
+ ttsEmbedTokensSrc: string;
3468
+ ttsConditionalDecoderSrc: string;
3469
+ ttsLanguageModelSrc: string;
3470
+ referenceAudioSrc: string;
3471
+ ttsTextEncoderSrc?: never;
3472
+ ttsLatentDenoiserSrc?: never;
3473
+ ttsVoiceDecoderSrc?: never;
3474
+ ttsVoiceSrc?: never;
3475
+ ttsSpeed?: never;
3476
+ ttsNumInferenceSteps?: never;
3477
+ };
3478
+ seed: boolean;
3479
+ withProgress: boolean;
3480
+ delegate: {
3481
+ topic: string;
3482
+ providerPublicKey: string;
3483
+ fallbackToLocal: boolean;
3484
+ forceNewConnection: boolean;
3485
+ timeout?: number | undefined;
3486
+ } | undefined;
3487
+ } | {
3488
+ type: "loadModel";
3489
+ modelType: "onnx-tts";
3490
+ modelSrc: string;
3491
+ modelName: string | undefined;
3492
+ modelConfig: {
3493
+ ttsEngine: "supertonic";
3494
+ language: "en" | "de" | "es" | "it";
3495
+ ttsTokenizerSrc: string;
3496
+ ttsTextEncoderSrc: string;
3497
+ ttsLatentDenoiserSrc: string;
3498
+ ttsVoiceDecoderSrc: string;
3499
+ ttsVoiceSrc: string;
3500
+ ttsSpeed: number | undefined;
3501
+ ttsNumInferenceSteps: number | undefined;
3502
+ ttsSpeechEncoderSrc?: never;
3503
+ ttsEmbedTokensSrc?: never;
3504
+ ttsConditionalDecoderSrc?: never;
3505
+ ttsLanguageModelSrc?: never;
3506
+ referenceAudioSrc?: never;
2407
3507
  };
2408
3508
  seed: boolean;
2409
3509
  withProgress: boolean;
@@ -2414,34 +3514,173 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2414
3514
  forceNewConnection: boolean;
2415
3515
  timeout?: number | undefined;
2416
3516
  } | undefined;
2417
- configSrc: string;
2418
- eSpeakDataPath: string;
2419
3517
  }, {
2420
3518
  modelSrc: string | {
2421
3519
  src: string;
2422
3520
  name?: string | undefined;
2423
3521
  modelId?: string | undefined;
2424
- hyperdriveKey?: string | undefined;
2425
- hyperbeeKey?: string | undefined;
3522
+ registryPath?: string | undefined;
3523
+ registrySource?: string | undefined;
3524
+ blobCoreKey?: string | undefined;
3525
+ blobIndex?: number | undefined;
3526
+ engine?: string | undefined;
2426
3527
  expectedSize?: number | undefined;
2427
3528
  sha256Checksum?: string | undefined;
2428
3529
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
2429
3530
  };
2430
3531
  modelType: "onnx-tts" | "tts";
2431
3532
  modelConfig: {
3533
+ ttsEngine: "chatterbox";
2432
3534
  language: "en" | "de" | "es" | "it";
3535
+ ttsTokenizerSrc: string | {
3536
+ src: string;
3537
+ name?: string | undefined;
3538
+ modelId?: string | undefined;
3539
+ registryPath?: string | undefined;
3540
+ registrySource?: string | undefined;
3541
+ blobCoreKey?: string | undefined;
3542
+ blobIndex?: number | undefined;
3543
+ engine?: string | undefined;
3544
+ expectedSize?: number | undefined;
3545
+ sha256Checksum?: string | undefined;
3546
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3547
+ };
3548
+ ttsSpeechEncoderSrc: string | {
3549
+ src: string;
3550
+ name?: string | undefined;
3551
+ modelId?: string | undefined;
3552
+ registryPath?: string | undefined;
3553
+ registrySource?: string | undefined;
3554
+ blobCoreKey?: string | undefined;
3555
+ blobIndex?: number | undefined;
3556
+ engine?: string | undefined;
3557
+ expectedSize?: number | undefined;
3558
+ sha256Checksum?: string | undefined;
3559
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3560
+ };
3561
+ ttsEmbedTokensSrc: string | {
3562
+ src: string;
3563
+ name?: string | undefined;
3564
+ modelId?: string | undefined;
3565
+ registryPath?: string | undefined;
3566
+ registrySource?: string | undefined;
3567
+ blobCoreKey?: string | undefined;
3568
+ blobIndex?: number | undefined;
3569
+ engine?: string | undefined;
3570
+ expectedSize?: number | undefined;
3571
+ sha256Checksum?: string | undefined;
3572
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3573
+ };
3574
+ ttsConditionalDecoderSrc: string | {
3575
+ src: string;
3576
+ name?: string | undefined;
3577
+ modelId?: string | undefined;
3578
+ registryPath?: string | undefined;
3579
+ registrySource?: string | undefined;
3580
+ blobCoreKey?: string | undefined;
3581
+ blobIndex?: number | undefined;
3582
+ engine?: string | undefined;
3583
+ expectedSize?: number | undefined;
3584
+ sha256Checksum?: string | undefined;
3585
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3586
+ };
3587
+ ttsLanguageModelSrc: string | {
3588
+ src: string;
3589
+ name?: string | undefined;
3590
+ modelId?: string | undefined;
3591
+ registryPath?: string | undefined;
3592
+ registrySource?: string | undefined;
3593
+ blobCoreKey?: string | undefined;
3594
+ blobIndex?: number | undefined;
3595
+ engine?: string | undefined;
3596
+ expectedSize?: number | undefined;
3597
+ sha256Checksum?: string | undefined;
3598
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3599
+ };
3600
+ referenceAudioSrc: string | {
3601
+ src: string;
3602
+ name?: string | undefined;
3603
+ modelId?: string | undefined;
3604
+ registryPath?: string | undefined;
3605
+ registrySource?: string | undefined;
3606
+ blobCoreKey?: string | undefined;
3607
+ blobIndex?: number | undefined;
3608
+ engine?: string | undefined;
3609
+ expectedSize?: number | undefined;
3610
+ sha256Checksum?: string | undefined;
3611
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3612
+ };
3613
+ } | {
3614
+ ttsEngine: "supertonic";
3615
+ language: "en" | "de" | "es" | "it";
3616
+ ttsTokenizerSrc: string | {
3617
+ src: string;
3618
+ name?: string | undefined;
3619
+ modelId?: string | undefined;
3620
+ registryPath?: string | undefined;
3621
+ registrySource?: string | undefined;
3622
+ blobCoreKey?: string | undefined;
3623
+ blobIndex?: number | undefined;
3624
+ engine?: string | undefined;
3625
+ expectedSize?: number | undefined;
3626
+ sha256Checksum?: string | undefined;
3627
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3628
+ };
3629
+ ttsTextEncoderSrc: string | {
3630
+ src: string;
3631
+ name?: string | undefined;
3632
+ modelId?: string | undefined;
3633
+ registryPath?: string | undefined;
3634
+ registrySource?: string | undefined;
3635
+ blobCoreKey?: string | undefined;
3636
+ blobIndex?: number | undefined;
3637
+ engine?: string | undefined;
3638
+ expectedSize?: number | undefined;
3639
+ sha256Checksum?: string | undefined;
3640
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3641
+ };
3642
+ ttsLatentDenoiserSrc: string | {
3643
+ src: string;
3644
+ name?: string | undefined;
3645
+ modelId?: string | undefined;
3646
+ registryPath?: string | undefined;
3647
+ registrySource?: string | undefined;
3648
+ blobCoreKey?: string | undefined;
3649
+ blobIndex?: number | undefined;
3650
+ engine?: string | undefined;
3651
+ expectedSize?: number | undefined;
3652
+ sha256Checksum?: string | undefined;
3653
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3654
+ };
3655
+ ttsVoiceDecoderSrc: string | {
3656
+ src: string;
3657
+ name?: string | undefined;
3658
+ modelId?: string | undefined;
3659
+ registryPath?: string | undefined;
3660
+ registrySource?: string | undefined;
3661
+ blobCoreKey?: string | undefined;
3662
+ blobIndex?: number | undefined;
3663
+ engine?: string | undefined;
3664
+ expectedSize?: number | undefined;
3665
+ sha256Checksum?: string | undefined;
3666
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3667
+ };
3668
+ ttsVoiceSrc: string | {
3669
+ src: string;
3670
+ name?: string | undefined;
3671
+ modelId?: string | undefined;
3672
+ registryPath?: string | undefined;
3673
+ registrySource?: string | undefined;
3674
+ blobCoreKey?: string | undefined;
3675
+ blobIndex?: number | undefined;
3676
+ engine?: string | undefined;
3677
+ expectedSize?: number | undefined;
3678
+ sha256Checksum?: string | undefined;
3679
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3680
+ };
3681
+ ttsSpeed?: number | undefined;
3682
+ ttsNumInferenceSteps?: number | undefined;
2433
3683
  };
2434
- configSrc: string | {
2435
- src: string;
2436
- name?: string | undefined;
2437
- modelId?: string | undefined;
2438
- hyperdriveKey?: string | undefined;
2439
- hyperbeeKey?: string | undefined;
2440
- expectedSize?: number | undefined;
2441
- sha256Checksum?: string | undefined;
2442
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
2443
- };
2444
- eSpeakDataPath: string;
2445
3684
  seed?: boolean | undefined;
2446
3685
  delegate?: {
2447
3686
  topic: string;
@@ -2457,8 +3696,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2457
3696
  src: z.ZodString;
2458
3697
  name: z.ZodOptional<z.ZodString>;
2459
3698
  modelId: z.ZodOptional<z.ZodString>;
2460
- hyperdriveKey: z.ZodOptional<z.ZodString>;
2461
- hyperbeeKey: z.ZodOptional<z.ZodString>;
3699
+ registryPath: z.ZodOptional<z.ZodString>;
3700
+ registrySource: z.ZodOptional<z.ZodString>;
3701
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3702
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3703
+ engine: z.ZodOptional<z.ZodString>;
2462
3704
  expectedSize: z.ZodOptional<z.ZodNumber>;
2463
3705
  sha256Checksum: z.ZodOptional<z.ZodString>;
2464
3706
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2494,8 +3736,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2494
3736
  src: z.ZodString;
2495
3737
  name: z.ZodOptional<z.ZodString>;
2496
3738
  modelId: z.ZodOptional<z.ZodString>;
2497
- hyperdriveKey: z.ZodOptional<z.ZodString>;
2498
- hyperbeeKey: z.ZodOptional<z.ZodString>;
3739
+ registryPath: z.ZodOptional<z.ZodString>;
3740
+ registrySource: z.ZodOptional<z.ZodString>;
3741
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3742
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3743
+ engine: z.ZodOptional<z.ZodString>;
2499
3744
  expectedSize: z.ZodOptional<z.ZodNumber>;
2500
3745
  sha256Checksum: z.ZodOptional<z.ZodString>;
2501
3746
  addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
@@ -2544,8 +3789,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2544
3789
  src: string;
2545
3790
  name?: string | undefined;
2546
3791
  modelId?: string | undefined;
2547
- hyperdriveKey?: string | undefined;
2548
- hyperbeeKey?: string | undefined;
3792
+ registryPath?: string | undefined;
3793
+ registrySource?: string | undefined;
3794
+ blobCoreKey?: string | undefined;
3795
+ blobIndex?: number | undefined;
3796
+ engine?: string | undefined;
2549
3797
  expectedSize?: number | undefined;
2550
3798
  sha256Checksum?: string | undefined;
2551
3799
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -2565,8 +3813,11 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2565
3813
  src: string;
2566
3814
  name?: string | undefined;
2567
3815
  modelId?: string | undefined;
2568
- hyperdriveKey?: string | undefined;
2569
- hyperbeeKey?: string | undefined;
3816
+ registryPath?: string | undefined;
3817
+ registrySource?: string | undefined;
3818
+ blobCoreKey?: string | undefined;
3819
+ blobIndex?: number | undefined;
3820
+ engine?: string | undefined;
2570
3821
  expectedSize?: number | undefined;
2571
3822
  sha256Checksum?: string | undefined;
2572
3823
  addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
@@ -2581,6 +3832,86 @@ export declare const loadModelOptionsToRequestSchema: z.ZodUnion<readonly [z.Zod
2581
3832
  } | undefined;
2582
3833
  onProgress?: unknown;
2583
3834
  withProgress?: boolean | undefined;
3835
+ }>>, z.ZodPipe<z.ZodObject<{
3836
+ modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
3837
+ src: z.ZodString;
3838
+ name: z.ZodOptional<z.ZodString>;
3839
+ modelId: z.ZodOptional<z.ZodString>;
3840
+ registryPath: z.ZodOptional<z.ZodString>;
3841
+ registrySource: z.ZodOptional<z.ZodString>;
3842
+ blobCoreKey: z.ZodOptional<z.ZodString>;
3843
+ blobIndex: z.ZodOptional<z.ZodNumber>;
3844
+ engine: z.ZodOptional<z.ZodString>;
3845
+ expectedSize: z.ZodOptional<z.ZodNumber>;
3846
+ sha256Checksum: z.ZodOptional<z.ZodString>;
3847
+ addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
3848
+ "llamacpp-completion": "llamacpp-completion";
3849
+ "whispercpp-transcription": "whispercpp-transcription";
3850
+ "llamacpp-embedding": "llamacpp-embedding";
3851
+ "nmtcpp-translation": "nmtcpp-translation";
3852
+ "onnx-tts": "onnx-tts";
3853
+ "onnx-ocr": "onnx-ocr";
3854
+ llm: "llm";
3855
+ whisper: "whisper";
3856
+ embeddings: "embeddings";
3857
+ nmt: "nmt";
3858
+ tts: "tts";
3859
+ ocr: "ocr";
3860
+ }>, z.ZodLiteral<"vad">]>>;
3861
+ }, z.core.$strip>]>;
3862
+ modelType: z.ZodString;
3863
+ modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3864
+ seed: z.ZodOptional<z.ZodBoolean>;
3865
+ delegate: z.ZodOptional<z.ZodObject<{
3866
+ topic: z.ZodString;
3867
+ providerPublicKey: z.ZodString;
3868
+ timeout: z.ZodOptional<z.ZodNumber>;
3869
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3870
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3871
+ }, z.core.$strip>>;
3872
+ onProgress: z.ZodOptional<z.ZodUnknown>;
3873
+ withProgress: z.ZodOptional<z.ZodBoolean>;
3874
+ }, z.core.$strip>, z.ZodTransform<{
3875
+ type: "loadModel";
3876
+ modelType: string;
3877
+ modelSrc: string;
3878
+ modelName: string | undefined;
3879
+ modelConfig: Record<string, unknown>;
3880
+ seed: boolean;
3881
+ withProgress: boolean;
3882
+ delegate: {
3883
+ topic: string;
3884
+ providerPublicKey: string;
3885
+ fallbackToLocal: boolean;
3886
+ forceNewConnection: boolean;
3887
+ timeout?: number | undefined;
3888
+ } | undefined;
3889
+ }, {
3890
+ modelSrc: string | {
3891
+ src: string;
3892
+ name?: string | undefined;
3893
+ modelId?: string | undefined;
3894
+ registryPath?: string | undefined;
3895
+ registrySource?: string | undefined;
3896
+ blobCoreKey?: string | undefined;
3897
+ blobIndex?: number | undefined;
3898
+ engine?: string | undefined;
3899
+ expectedSize?: number | undefined;
3900
+ sha256Checksum?: string | undefined;
3901
+ addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
3902
+ };
3903
+ modelType: string;
3904
+ modelConfig?: Record<string, unknown> | undefined;
3905
+ seed?: boolean | undefined;
3906
+ delegate?: {
3907
+ topic: string;
3908
+ providerPublicKey: string;
3909
+ fallbackToLocal: boolean;
3910
+ forceNewConnection: boolean;
3911
+ timeout?: number | undefined;
3912
+ } | undefined;
3913
+ onProgress?: unknown;
3914
+ withProgress?: boolean | undefined;
2584
3915
  }>>]>;
2585
3916
  export declare const loadLlmModelRequestSchema: z.ZodObject<{
2586
3917
  type: z.ZodLiteral<"loadModel">;
@@ -2588,7 +3919,6 @@ export declare const loadLlmModelRequestSchema: z.ZodObject<{
2588
3919
  modelName: z.ZodOptional<z.ZodString>;
2589
3920
  projectionModelSrc: z.ZodOptional<z.ZodString>;
2590
3921
  vadModelSrc: z.ZodOptional<z.ZodString>;
2591
- configSrc: z.ZodOptional<z.ZodString>;
2592
3922
  detectorModelSrc: z.ZodOptional<z.ZodString>;
2593
3923
  withProgress: z.ZodOptional<z.ZodBoolean>;
2594
3924
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -2627,7 +3957,6 @@ export declare const loadWhisperModelRequestSchema: z.ZodObject<{
2627
3957
  modelName: z.ZodOptional<z.ZodString>;
2628
3958
  projectionModelSrc: z.ZodOptional<z.ZodString>;
2629
3959
  vadModelSrc: z.ZodOptional<z.ZodString>;
2630
- configSrc: z.ZodOptional<z.ZodString>;
2631
3960
  detectorModelSrc: z.ZodOptional<z.ZodString>;
2632
3961
  withProgress: z.ZodOptional<z.ZodBoolean>;
2633
3962
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -2708,7 +4037,6 @@ export declare const loadEmbeddingsModelRequestSchema: z.ZodObject<{
2708
4037
  modelName: z.ZodOptional<z.ZodString>;
2709
4038
  projectionModelSrc: z.ZodOptional<z.ZodString>;
2710
4039
  vadModelSrc: z.ZodOptional<z.ZodString>;
2711
- configSrc: z.ZodOptional<z.ZodString>;
2712
4040
  detectorModelSrc: z.ZodOptional<z.ZodString>;
2713
4041
  withProgress: z.ZodOptional<z.ZodBoolean>;
2714
4042
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -2738,7 +4066,6 @@ export declare const loadNmtModelRequestSchema: z.ZodObject<{
2738
4066
  modelName: z.ZodOptional<z.ZodString>;
2739
4067
  projectionModelSrc: z.ZodOptional<z.ZodString>;
2740
4068
  vadModelSrc: z.ZodOptional<z.ZodString>;
2741
- configSrc: z.ZodOptional<z.ZodString>;
2742
4069
  detectorModelSrc: z.ZodOptional<z.ZodString>;
2743
4070
  withProgress: z.ZodOptional<z.ZodBoolean>;
2744
4071
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3006,7 +4333,40 @@ export declare const loadNmtModelRequestSchema: z.ZodObject<{
3006
4333
  srcVocabSrc: z.ZodOptional<z.ZodString>;
3007
4334
  dstVocabSrc: z.ZodOptional<z.ZodString>;
3008
4335
  }, z.core.$strip>;
3009
- export declare const loadTtsModelRequestSchema: z.ZodObject<{
4336
+ export declare const loadTtsChatterboxModelRequestSchema: z.ZodObject<{
4337
+ type: z.ZodLiteral<"loadModel">;
4338
+ modelSrc: z.ZodString;
4339
+ modelName: z.ZodOptional<z.ZodString>;
4340
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
4341
+ vadModelSrc: z.ZodOptional<z.ZodString>;
4342
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
4343
+ withProgress: z.ZodOptional<z.ZodBoolean>;
4344
+ seed: z.ZodOptional<z.ZodBoolean>;
4345
+ delegate: z.ZodOptional<z.ZodObject<{
4346
+ topic: z.ZodString;
4347
+ providerPublicKey: z.ZodString;
4348
+ timeout: z.ZodOptional<z.ZodNumber>;
4349
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4350
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4351
+ }, z.core.$strip>>;
4352
+ modelType: z.ZodLiteral<"onnx-tts">;
4353
+ modelConfig: z.ZodObject<{
4354
+ ttsEngine: z.ZodLiteral<"chatterbox">;
4355
+ language: z.ZodEnum<{
4356
+ en: "en";
4357
+ de: "de";
4358
+ es: "es";
4359
+ it: "it";
4360
+ }>;
4361
+ ttsTokenizerSrc: z.ZodString;
4362
+ ttsSpeechEncoderSrc: z.ZodString;
4363
+ ttsEmbedTokensSrc: z.ZodString;
4364
+ ttsConditionalDecoderSrc: z.ZodString;
4365
+ ttsLanguageModelSrc: z.ZodString;
4366
+ referenceAudioSrc: z.ZodString;
4367
+ }, z.core.$strip>;
4368
+ }, z.core.$strip>;
4369
+ export declare const loadTtsSupertonicModelRequestSchema: z.ZodObject<{
3010
4370
  type: z.ZodLiteral<"loadModel">;
3011
4371
  modelSrc: z.ZodString;
3012
4372
  modelName: z.ZodOptional<z.ZodString>;
@@ -3024,15 +4384,69 @@ export declare const loadTtsModelRequestSchema: z.ZodObject<{
3024
4384
  }, z.core.$strip>>;
3025
4385
  modelType: z.ZodLiteral<"onnx-tts">;
3026
4386
  modelConfig: z.ZodObject<{
4387
+ ttsEngine: z.ZodLiteral<"supertonic">;
3027
4388
  language: z.ZodEnum<{
3028
4389
  en: "en";
3029
4390
  de: "de";
3030
4391
  es: "es";
3031
4392
  it: "it";
3032
4393
  }>;
4394
+ ttsTokenizerSrc: z.ZodString;
4395
+ ttsTextEncoderSrc: z.ZodString;
4396
+ ttsLatentDenoiserSrc: z.ZodString;
4397
+ ttsVoiceDecoderSrc: z.ZodString;
4398
+ ttsVoiceSrc: z.ZodString;
4399
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
4400
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
3033
4401
  }, z.core.$strip>;
3034
- configSrc: z.ZodString;
3035
- eSpeakDataPath: z.ZodString;
4402
+ }, z.core.$strip>;
4403
+ export declare const loadTtsModelRequestSchema: z.ZodObject<{
4404
+ type: z.ZodLiteral<"loadModel">;
4405
+ modelSrc: z.ZodString;
4406
+ modelName: z.ZodOptional<z.ZodString>;
4407
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
4408
+ vadModelSrc: z.ZodOptional<z.ZodString>;
4409
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
4410
+ withProgress: z.ZodOptional<z.ZodBoolean>;
4411
+ seed: z.ZodOptional<z.ZodBoolean>;
4412
+ delegate: z.ZodOptional<z.ZodObject<{
4413
+ topic: z.ZodString;
4414
+ providerPublicKey: z.ZodString;
4415
+ timeout: z.ZodOptional<z.ZodNumber>;
4416
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4417
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4418
+ }, z.core.$strip>>;
4419
+ modelType: z.ZodLiteral<"onnx-tts">;
4420
+ modelConfig: z.ZodUnion<readonly [z.ZodObject<{
4421
+ ttsEngine: z.ZodLiteral<"chatterbox">;
4422
+ language: z.ZodEnum<{
4423
+ en: "en";
4424
+ de: "de";
4425
+ es: "es";
4426
+ it: "it";
4427
+ }>;
4428
+ ttsTokenizerSrc: z.ZodString;
4429
+ ttsSpeechEncoderSrc: z.ZodString;
4430
+ ttsEmbedTokensSrc: z.ZodString;
4431
+ ttsConditionalDecoderSrc: z.ZodString;
4432
+ ttsLanguageModelSrc: z.ZodString;
4433
+ referenceAudioSrc: z.ZodString;
4434
+ }, z.core.$strip>, z.ZodObject<{
4435
+ ttsEngine: z.ZodLiteral<"supertonic">;
4436
+ language: z.ZodEnum<{
4437
+ en: "en";
4438
+ de: "de";
4439
+ es: "es";
4440
+ it: "it";
4441
+ }>;
4442
+ ttsTokenizerSrc: z.ZodString;
4443
+ ttsTextEncoderSrc: z.ZodString;
4444
+ ttsLatentDenoiserSrc: z.ZodString;
4445
+ ttsVoiceDecoderSrc: z.ZodString;
4446
+ ttsVoiceSrc: z.ZodString;
4447
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
4448
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
4449
+ }, z.core.$strip>]>;
3036
4450
  }, z.core.$strip>;
3037
4451
  export declare const loadOcrModelRequestSchema: z.ZodObject<{
3038
4452
  type: z.ZodLiteral<"loadModel">;
@@ -3040,7 +4454,6 @@ export declare const loadOcrModelRequestSchema: z.ZodObject<{
3040
4454
  modelName: z.ZodOptional<z.ZodString>;
3041
4455
  projectionModelSrc: z.ZodOptional<z.ZodString>;
3042
4456
  vadModelSrc: z.ZodOptional<z.ZodString>;
3043
- configSrc: z.ZodOptional<z.ZodString>;
3044
4457
  detectorModelSrc: z.ZodOptional<z.ZodString>;
3045
4458
  withProgress: z.ZodOptional<z.ZodBoolean>;
3046
4459
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3063,13 +4476,31 @@ export declare const loadOcrModelRequestSchema: z.ZodObject<{
3063
4476
  recognizerBatchSize: z.ZodOptional<z.ZodNumber>;
3064
4477
  }, z.core.$strip>;
3065
4478
  }, z.core.$strip>;
4479
+ export declare const loadCustomPluginModelRequestSchema: z.ZodObject<{
4480
+ type: z.ZodLiteral<"loadModel">;
4481
+ modelSrc: z.ZodString;
4482
+ modelName: z.ZodOptional<z.ZodString>;
4483
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
4484
+ vadModelSrc: z.ZodOptional<z.ZodString>;
4485
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
4486
+ withProgress: z.ZodOptional<z.ZodBoolean>;
4487
+ seed: z.ZodOptional<z.ZodBoolean>;
4488
+ delegate: z.ZodOptional<z.ZodObject<{
4489
+ topic: z.ZodString;
4490
+ providerPublicKey: z.ZodString;
4491
+ timeout: z.ZodOptional<z.ZodNumber>;
4492
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4493
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4494
+ }, z.core.$strip>>;
4495
+ modelType: z.ZodString;
4496
+ modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4497
+ }, z.core.$strip>;
3066
4498
  export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
3067
4499
  type: z.ZodLiteral<"loadModel">;
3068
4500
  modelSrc: z.ZodString;
3069
4501
  modelName: z.ZodOptional<z.ZodString>;
3070
4502
  projectionModelSrc: z.ZodOptional<z.ZodString>;
3071
4503
  vadModelSrc: z.ZodOptional<z.ZodString>;
3072
- configSrc: z.ZodOptional<z.ZodString>;
3073
4504
  detectorModelSrc: z.ZodOptional<z.ZodString>;
3074
4505
  withProgress: z.ZodOptional<z.ZodBoolean>;
3075
4506
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3107,7 +4538,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3107
4538
  modelName: z.ZodOptional<z.ZodString>;
3108
4539
  projectionModelSrc: z.ZodOptional<z.ZodString>;
3109
4540
  vadModelSrc: z.ZodOptional<z.ZodString>;
3110
- configSrc: z.ZodOptional<z.ZodString>;
3111
4541
  detectorModelSrc: z.ZodOptional<z.ZodString>;
3112
4542
  withProgress: z.ZodOptional<z.ZodBoolean>;
3113
4543
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3187,7 +4617,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3187
4617
  modelName: z.ZodOptional<z.ZodString>;
3188
4618
  projectionModelSrc: z.ZodOptional<z.ZodString>;
3189
4619
  vadModelSrc: z.ZodOptional<z.ZodString>;
3190
- configSrc: z.ZodOptional<z.ZodString>;
3191
4620
  detectorModelSrc: z.ZodOptional<z.ZodString>;
3192
4621
  withProgress: z.ZodOptional<z.ZodBoolean>;
3193
4622
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3216,7 +4645,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3216
4645
  modelName: z.ZodOptional<z.ZodString>;
3217
4646
  projectionModelSrc: z.ZodOptional<z.ZodString>;
3218
4647
  vadModelSrc: z.ZodOptional<z.ZodString>;
3219
- configSrc: z.ZodOptional<z.ZodString>;
3220
4648
  detectorModelSrc: z.ZodOptional<z.ZodString>;
3221
4649
  withProgress: z.ZodOptional<z.ZodBoolean>;
3222
4650
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3500,23 +4928,42 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3500
4928
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3501
4929
  }, z.core.$strip>>;
3502
4930
  modelType: z.ZodLiteral<"onnx-tts">;
3503
- modelConfig: z.ZodObject<{
4931
+ modelConfig: z.ZodUnion<readonly [z.ZodObject<{
4932
+ ttsEngine: z.ZodLiteral<"chatterbox">;
3504
4933
  language: z.ZodEnum<{
3505
4934
  en: "en";
3506
4935
  de: "de";
3507
4936
  es: "es";
3508
4937
  it: "it";
3509
4938
  }>;
3510
- }, z.core.$strip>;
3511
- configSrc: z.ZodString;
3512
- eSpeakDataPath: z.ZodString;
4939
+ ttsTokenizerSrc: z.ZodString;
4940
+ ttsSpeechEncoderSrc: z.ZodString;
4941
+ ttsEmbedTokensSrc: z.ZodString;
4942
+ ttsConditionalDecoderSrc: z.ZodString;
4943
+ ttsLanguageModelSrc: z.ZodString;
4944
+ referenceAudioSrc: z.ZodString;
4945
+ }, z.core.$strip>, z.ZodObject<{
4946
+ ttsEngine: z.ZodLiteral<"supertonic">;
4947
+ language: z.ZodEnum<{
4948
+ en: "en";
4949
+ de: "de";
4950
+ es: "es";
4951
+ it: "it";
4952
+ }>;
4953
+ ttsTokenizerSrc: z.ZodString;
4954
+ ttsTextEncoderSrc: z.ZodString;
4955
+ ttsLatentDenoiserSrc: z.ZodString;
4956
+ ttsVoiceDecoderSrc: z.ZodString;
4957
+ ttsVoiceSrc: z.ZodString;
4958
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
4959
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
4960
+ }, z.core.$strip>]>;
3513
4961
  }, z.core.$strip>, z.ZodObject<{
3514
4962
  type: z.ZodLiteral<"loadModel">;
3515
4963
  modelSrc: z.ZodString;
3516
4964
  modelName: z.ZodOptional<z.ZodString>;
3517
4965
  projectionModelSrc: z.ZodOptional<z.ZodString>;
3518
4966
  vadModelSrc: z.ZodOptional<z.ZodString>;
3519
- configSrc: z.ZodOptional<z.ZodString>;
3520
4967
  detectorModelSrc: z.ZodOptional<z.ZodString>;
3521
4968
  withProgress: z.ZodOptional<z.ZodBoolean>;
3522
4969
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -3538,6 +4985,24 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3538
4985
  lowConfidenceThreshold: z.ZodOptional<z.ZodNumber>;
3539
4986
  recognizerBatchSize: z.ZodOptional<z.ZodNumber>;
3540
4987
  }, z.core.$strip>;
4988
+ }, z.core.$strip>, z.ZodObject<{
4989
+ type: z.ZodLiteral<"loadModel">;
4990
+ modelSrc: z.ZodString;
4991
+ modelName: z.ZodOptional<z.ZodString>;
4992
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
4993
+ vadModelSrc: z.ZodOptional<z.ZodString>;
4994
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
4995
+ withProgress: z.ZodOptional<z.ZodBoolean>;
4996
+ seed: z.ZodOptional<z.ZodBoolean>;
4997
+ delegate: z.ZodOptional<z.ZodObject<{
4998
+ topic: z.ZodString;
4999
+ providerPublicKey: z.ZodString;
5000
+ timeout: z.ZodOptional<z.ZodNumber>;
5001
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5002
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5003
+ }, z.core.$strip>>;
5004
+ modelType: z.ZodString;
5005
+ modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3541
5006
  }, z.core.$strip>]>, z.ZodTransform<{
3542
5007
  seed: boolean;
3543
5008
  type: "loadModel";
@@ -3566,7 +5031,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3566
5031
  modelName?: string | undefined;
3567
5032
  projectionModelSrc?: string | undefined;
3568
5033
  vadModelSrc?: string | undefined;
3569
- configSrc?: string | undefined;
3570
5034
  detectorModelSrc?: string | undefined;
3571
5035
  withProgress?: boolean | undefined;
3572
5036
  delegate?: {
@@ -3640,7 +5104,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3640
5104
  modelName?: string | undefined;
3641
5105
  projectionModelSrc?: string | undefined;
3642
5106
  vadModelSrc?: string | undefined;
3643
- configSrc?: string | undefined;
3644
5107
  detectorModelSrc?: string | undefined;
3645
5108
  withProgress?: boolean | undefined;
3646
5109
  delegate?: {
@@ -3666,7 +5129,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3666
5129
  modelName?: string | undefined;
3667
5130
  projectionModelSrc?: string | undefined;
3668
5131
  vadModelSrc?: string | undefined;
3669
- configSrc?: string | undefined;
3670
5132
  detectorModelSrc?: string | undefined;
3671
5133
  withProgress?: boolean | undefined;
3672
5134
  delegate?: {
@@ -3727,7 +5189,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3727
5189
  modelName?: string | undefined;
3728
5190
  projectionModelSrc?: string | undefined;
3729
5191
  vadModelSrc?: string | undefined;
3730
- configSrc?: string | undefined;
3731
5192
  detectorModelSrc?: string | undefined;
3732
5193
  withProgress?: boolean | undefined;
3733
5194
  delegate?: {
@@ -3745,10 +5206,25 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3745
5206
  modelSrc: string;
3746
5207
  modelType: "onnx-tts";
3747
5208
  modelConfig: {
5209
+ ttsEngine: "chatterbox";
3748
5210
  language: "en" | "de" | "es" | "it";
5211
+ ttsTokenizerSrc: string;
5212
+ ttsSpeechEncoderSrc: string;
5213
+ ttsEmbedTokensSrc: string;
5214
+ ttsConditionalDecoderSrc: string;
5215
+ ttsLanguageModelSrc: string;
5216
+ referenceAudioSrc: string;
5217
+ } | {
5218
+ ttsEngine: "supertonic";
5219
+ language: "en" | "de" | "es" | "it";
5220
+ ttsTokenizerSrc: string;
5221
+ ttsTextEncoderSrc: string;
5222
+ ttsLatentDenoiserSrc: string;
5223
+ ttsVoiceDecoderSrc: string;
5224
+ ttsVoiceSrc: string;
5225
+ ttsSpeed?: number | undefined;
5226
+ ttsNumInferenceSteps?: number | undefined;
3749
5227
  };
3750
- configSrc: string;
3751
- eSpeakDataPath: string;
3752
5228
  modelName?: string | undefined;
3753
5229
  projectionModelSrc?: string | undefined;
3754
5230
  vadModelSrc?: string | undefined;
@@ -3779,7 +5255,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3779
5255
  modelName?: string | undefined;
3780
5256
  projectionModelSrc?: string | undefined;
3781
5257
  vadModelSrc?: string | undefined;
3782
- configSrc?: string | undefined;
3783
5258
  detectorModelSrc?: string | undefined;
3784
5259
  withProgress?: boolean | undefined;
3785
5260
  delegate?: {
@@ -3789,6 +5264,24 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3789
5264
  forceNewConnection: boolean;
3790
5265
  timeout?: number | undefined;
3791
5266
  } | undefined;
5267
+ } | {
5268
+ seed: boolean;
5269
+ type: "loadModel";
5270
+ modelSrc: string;
5271
+ modelType: string;
5272
+ modelName?: string | undefined;
5273
+ projectionModelSrc?: string | undefined;
5274
+ vadModelSrc?: string | undefined;
5275
+ detectorModelSrc?: string | undefined;
5276
+ withProgress?: boolean | undefined;
5277
+ delegate?: {
5278
+ topic: string;
5279
+ providerPublicKey: string;
5280
+ fallbackToLocal: boolean;
5281
+ forceNewConnection: boolean;
5282
+ timeout?: number | undefined;
5283
+ } | undefined;
5284
+ modelConfig?: Record<string, unknown> | undefined;
3792
5285
  }, {
3793
5286
  type: "loadModel";
3794
5287
  modelSrc: string;
@@ -3816,7 +5309,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3816
5309
  modelName?: string | undefined;
3817
5310
  projectionModelSrc?: string | undefined;
3818
5311
  vadModelSrc?: string | undefined;
3819
- configSrc?: string | undefined;
3820
5312
  detectorModelSrc?: string | undefined;
3821
5313
  withProgress?: boolean | undefined;
3822
5314
  seed?: boolean | undefined;
@@ -3890,7 +5382,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3890
5382
  modelName?: string | undefined;
3891
5383
  projectionModelSrc?: string | undefined;
3892
5384
  vadModelSrc?: string | undefined;
3893
- configSrc?: string | undefined;
3894
5385
  detectorModelSrc?: string | undefined;
3895
5386
  withProgress?: boolean | undefined;
3896
5387
  seed?: boolean | undefined;
@@ -3916,7 +5407,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3916
5407
  modelName?: string | undefined;
3917
5408
  projectionModelSrc?: string | undefined;
3918
5409
  vadModelSrc?: string | undefined;
3919
- configSrc?: string | undefined;
3920
5410
  detectorModelSrc?: string | undefined;
3921
5411
  withProgress?: boolean | undefined;
3922
5412
  seed?: boolean | undefined;
@@ -3977,7 +5467,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3977
5467
  modelName?: string | undefined;
3978
5468
  projectionModelSrc?: string | undefined;
3979
5469
  vadModelSrc?: string | undefined;
3980
- configSrc?: string | undefined;
3981
5470
  detectorModelSrc?: string | undefined;
3982
5471
  withProgress?: boolean | undefined;
3983
5472
  seed?: boolean | undefined;
@@ -3995,10 +5484,25 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
3995
5484
  modelSrc: string;
3996
5485
  modelType: "onnx-tts";
3997
5486
  modelConfig: {
5487
+ ttsEngine: "chatterbox";
5488
+ language: "en" | "de" | "es" | "it";
5489
+ ttsTokenizerSrc: string;
5490
+ ttsSpeechEncoderSrc: string;
5491
+ ttsEmbedTokensSrc: string;
5492
+ ttsConditionalDecoderSrc: string;
5493
+ ttsLanguageModelSrc: string;
5494
+ referenceAudioSrc: string;
5495
+ } | {
5496
+ ttsEngine: "supertonic";
3998
5497
  language: "en" | "de" | "es" | "it";
5498
+ ttsTokenizerSrc: string;
5499
+ ttsTextEncoderSrc: string;
5500
+ ttsLatentDenoiserSrc: string;
5501
+ ttsVoiceDecoderSrc: string;
5502
+ ttsVoiceSrc: string;
5503
+ ttsSpeed?: number | undefined;
5504
+ ttsNumInferenceSteps?: number | undefined;
3999
5505
  };
4000
- configSrc: string;
4001
- eSpeakDataPath: string;
4002
5506
  modelName?: string | undefined;
4003
5507
  projectionModelSrc?: string | undefined;
4004
5508
  vadModelSrc?: string | undefined;
@@ -4029,7 +5533,6 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
4029
5533
  modelName?: string | undefined;
4030
5534
  projectionModelSrc?: string | undefined;
4031
5535
  vadModelSrc?: string | undefined;
4032
- configSrc?: string | undefined;
4033
5536
  detectorModelSrc?: string | undefined;
4034
5537
  withProgress?: boolean | undefined;
4035
5538
  seed?: boolean | undefined;
@@ -4040,6 +5543,24 @@ export declare const loadModelSrcRequestSchema: z.ZodPipe<z.ZodUnion<readonly [z
4040
5543
  forceNewConnection: boolean;
4041
5544
  timeout?: number | undefined;
4042
5545
  } | undefined;
5546
+ } | {
5547
+ type: "loadModel";
5548
+ modelSrc: string;
5549
+ modelType: string;
5550
+ modelName?: string | undefined;
5551
+ projectionModelSrc?: string | undefined;
5552
+ vadModelSrc?: string | undefined;
5553
+ detectorModelSrc?: string | undefined;
5554
+ withProgress?: boolean | undefined;
5555
+ seed?: boolean | undefined;
5556
+ delegate?: {
5557
+ topic: string;
5558
+ providerPublicKey: string;
5559
+ fallbackToLocal: boolean;
5560
+ forceNewConnection: boolean;
5561
+ timeout?: number | undefined;
5562
+ } | undefined;
5563
+ modelConfig?: Record<string, unknown> | undefined;
4043
5564
  }>>;
4044
5565
  export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
4045
5566
  type: z.ZodLiteral<"loadModel">;
@@ -4047,7 +5568,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4047
5568
  modelName: z.ZodOptional<z.ZodString>;
4048
5569
  projectionModelSrc: z.ZodOptional<z.ZodString>;
4049
5570
  vadModelSrc: z.ZodOptional<z.ZodString>;
4050
- configSrc: z.ZodOptional<z.ZodString>;
4051
5571
  detectorModelSrc: z.ZodOptional<z.ZodString>;
4052
5572
  withProgress: z.ZodOptional<z.ZodBoolean>;
4053
5573
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -4085,7 +5605,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4085
5605
  modelName: z.ZodOptional<z.ZodString>;
4086
5606
  projectionModelSrc: z.ZodOptional<z.ZodString>;
4087
5607
  vadModelSrc: z.ZodOptional<z.ZodString>;
4088
- configSrc: z.ZodOptional<z.ZodString>;
4089
5608
  detectorModelSrc: z.ZodOptional<z.ZodString>;
4090
5609
  withProgress: z.ZodOptional<z.ZodBoolean>;
4091
5610
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -4165,7 +5684,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4165
5684
  modelName: z.ZodOptional<z.ZodString>;
4166
5685
  projectionModelSrc: z.ZodOptional<z.ZodString>;
4167
5686
  vadModelSrc: z.ZodOptional<z.ZodString>;
4168
- configSrc: z.ZodOptional<z.ZodString>;
4169
5687
  detectorModelSrc: z.ZodOptional<z.ZodString>;
4170
5688
  withProgress: z.ZodOptional<z.ZodBoolean>;
4171
5689
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -4194,7 +5712,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4194
5712
  modelName: z.ZodOptional<z.ZodString>;
4195
5713
  projectionModelSrc: z.ZodOptional<z.ZodString>;
4196
5714
  vadModelSrc: z.ZodOptional<z.ZodString>;
4197
- configSrc: z.ZodOptional<z.ZodString>;
4198
5715
  detectorModelSrc: z.ZodOptional<z.ZodString>;
4199
5716
  withProgress: z.ZodOptional<z.ZodBoolean>;
4200
5717
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -4478,23 +5995,42 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4478
5995
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4479
5996
  }, z.core.$strip>>;
4480
5997
  modelType: z.ZodLiteral<"onnx-tts">;
4481
- modelConfig: z.ZodObject<{
5998
+ modelConfig: z.ZodUnion<readonly [z.ZodObject<{
5999
+ ttsEngine: z.ZodLiteral<"chatterbox">;
4482
6000
  language: z.ZodEnum<{
4483
6001
  en: "en";
4484
6002
  de: "de";
4485
6003
  es: "es";
4486
6004
  it: "it";
4487
6005
  }>;
4488
- }, z.core.$strip>;
4489
- configSrc: z.ZodString;
4490
- eSpeakDataPath: z.ZodString;
6006
+ ttsTokenizerSrc: z.ZodString;
6007
+ ttsSpeechEncoderSrc: z.ZodString;
6008
+ ttsEmbedTokensSrc: z.ZodString;
6009
+ ttsConditionalDecoderSrc: z.ZodString;
6010
+ ttsLanguageModelSrc: z.ZodString;
6011
+ referenceAudioSrc: z.ZodString;
6012
+ }, z.core.$strip>, z.ZodObject<{
6013
+ ttsEngine: z.ZodLiteral<"supertonic">;
6014
+ language: z.ZodEnum<{
6015
+ en: "en";
6016
+ de: "de";
6017
+ es: "es";
6018
+ it: "it";
6019
+ }>;
6020
+ ttsTokenizerSrc: z.ZodString;
6021
+ ttsTextEncoderSrc: z.ZodString;
6022
+ ttsLatentDenoiserSrc: z.ZodString;
6023
+ ttsVoiceDecoderSrc: z.ZodString;
6024
+ ttsVoiceSrc: z.ZodString;
6025
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
6026
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
6027
+ }, z.core.$strip>]>;
4491
6028
  }, z.core.$strip>, z.ZodObject<{
4492
6029
  type: z.ZodLiteral<"loadModel">;
4493
6030
  modelSrc: z.ZodString;
4494
6031
  modelName: z.ZodOptional<z.ZodString>;
4495
6032
  projectionModelSrc: z.ZodOptional<z.ZodString>;
4496
6033
  vadModelSrc: z.ZodOptional<z.ZodString>;
4497
- configSrc: z.ZodOptional<z.ZodString>;
4498
6034
  detectorModelSrc: z.ZodOptional<z.ZodString>;
4499
6035
  withProgress: z.ZodOptional<z.ZodBoolean>;
4500
6036
  seed: z.ZodOptional<z.ZodBoolean>;
@@ -4516,6 +6052,24 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4516
6052
  lowConfidenceThreshold: z.ZodOptional<z.ZodNumber>;
4517
6053
  recognizerBatchSize: z.ZodOptional<z.ZodNumber>;
4518
6054
  }, z.core.$strip>;
6055
+ }, z.core.$strip>, z.ZodObject<{
6056
+ type: z.ZodLiteral<"loadModel">;
6057
+ modelSrc: z.ZodString;
6058
+ modelName: z.ZodOptional<z.ZodString>;
6059
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
6060
+ vadModelSrc: z.ZodOptional<z.ZodString>;
6061
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
6062
+ withProgress: z.ZodOptional<z.ZodBoolean>;
6063
+ seed: z.ZodOptional<z.ZodBoolean>;
6064
+ delegate: z.ZodOptional<z.ZodObject<{
6065
+ topic: z.ZodString;
6066
+ providerPublicKey: z.ZodString;
6067
+ timeout: z.ZodOptional<z.ZodNumber>;
6068
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6069
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6070
+ }, z.core.$strip>>;
6071
+ modelType: z.ZodString;
6072
+ modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4519
6073
  }, z.core.$strip>]>, z.ZodTransform<{
4520
6074
  seed: boolean;
4521
6075
  type: "loadModel";
@@ -4544,7 +6098,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4544
6098
  modelName?: string | undefined;
4545
6099
  projectionModelSrc?: string | undefined;
4546
6100
  vadModelSrc?: string | undefined;
4547
- configSrc?: string | undefined;
4548
6101
  detectorModelSrc?: string | undefined;
4549
6102
  withProgress?: boolean | undefined;
4550
6103
  delegate?: {
@@ -4618,7 +6171,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4618
6171
  modelName?: string | undefined;
4619
6172
  projectionModelSrc?: string | undefined;
4620
6173
  vadModelSrc?: string | undefined;
4621
- configSrc?: string | undefined;
4622
6174
  detectorModelSrc?: string | undefined;
4623
6175
  withProgress?: boolean | undefined;
4624
6176
  delegate?: {
@@ -4644,7 +6196,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4644
6196
  modelName?: string | undefined;
4645
6197
  projectionModelSrc?: string | undefined;
4646
6198
  vadModelSrc?: string | undefined;
4647
- configSrc?: string | undefined;
4648
6199
  detectorModelSrc?: string | undefined;
4649
6200
  withProgress?: boolean | undefined;
4650
6201
  delegate?: {
@@ -4705,7 +6256,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4705
6256
  modelName?: string | undefined;
4706
6257
  projectionModelSrc?: string | undefined;
4707
6258
  vadModelSrc?: string | undefined;
4708
- configSrc?: string | undefined;
4709
6259
  detectorModelSrc?: string | undefined;
4710
6260
  withProgress?: boolean | undefined;
4711
6261
  delegate?: {
@@ -4723,10 +6273,25 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4723
6273
  modelSrc: string;
4724
6274
  modelType: "onnx-tts";
4725
6275
  modelConfig: {
6276
+ ttsEngine: "chatterbox";
6277
+ language: "en" | "de" | "es" | "it";
6278
+ ttsTokenizerSrc: string;
6279
+ ttsSpeechEncoderSrc: string;
6280
+ ttsEmbedTokensSrc: string;
6281
+ ttsConditionalDecoderSrc: string;
6282
+ ttsLanguageModelSrc: string;
6283
+ referenceAudioSrc: string;
6284
+ } | {
6285
+ ttsEngine: "supertonic";
4726
6286
  language: "en" | "de" | "es" | "it";
6287
+ ttsTokenizerSrc: string;
6288
+ ttsTextEncoderSrc: string;
6289
+ ttsLatentDenoiserSrc: string;
6290
+ ttsVoiceDecoderSrc: string;
6291
+ ttsVoiceSrc: string;
6292
+ ttsSpeed?: number | undefined;
6293
+ ttsNumInferenceSteps?: number | undefined;
4727
6294
  };
4728
- configSrc: string;
4729
- eSpeakDataPath: string;
4730
6295
  modelName?: string | undefined;
4731
6296
  projectionModelSrc?: string | undefined;
4732
6297
  vadModelSrc?: string | undefined;
@@ -4757,7 +6322,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4757
6322
  modelName?: string | undefined;
4758
6323
  projectionModelSrc?: string | undefined;
4759
6324
  vadModelSrc?: string | undefined;
4760
- configSrc?: string | undefined;
4761
6325
  detectorModelSrc?: string | undefined;
4762
6326
  withProgress?: boolean | undefined;
4763
6327
  delegate?: {
@@ -4767,6 +6331,24 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4767
6331
  forceNewConnection: boolean;
4768
6332
  timeout?: number | undefined;
4769
6333
  } | undefined;
6334
+ } | {
6335
+ seed: boolean;
6336
+ type: "loadModel";
6337
+ modelSrc: string;
6338
+ modelType: string;
6339
+ modelName?: string | undefined;
6340
+ projectionModelSrc?: string | undefined;
6341
+ vadModelSrc?: string | undefined;
6342
+ detectorModelSrc?: string | undefined;
6343
+ withProgress?: boolean | undefined;
6344
+ delegate?: {
6345
+ topic: string;
6346
+ providerPublicKey: string;
6347
+ fallbackToLocal: boolean;
6348
+ forceNewConnection: boolean;
6349
+ timeout?: number | undefined;
6350
+ } | undefined;
6351
+ modelConfig?: Record<string, unknown> | undefined;
4770
6352
  }, {
4771
6353
  type: "loadModel";
4772
6354
  modelSrc: string;
@@ -4794,7 +6376,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4794
6376
  modelName?: string | undefined;
4795
6377
  projectionModelSrc?: string | undefined;
4796
6378
  vadModelSrc?: string | undefined;
4797
- configSrc?: string | undefined;
4798
6379
  detectorModelSrc?: string | undefined;
4799
6380
  withProgress?: boolean | undefined;
4800
6381
  seed?: boolean | undefined;
@@ -4868,7 +6449,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4868
6449
  modelName?: string | undefined;
4869
6450
  projectionModelSrc?: string | undefined;
4870
6451
  vadModelSrc?: string | undefined;
4871
- configSrc?: string | undefined;
4872
6452
  detectorModelSrc?: string | undefined;
4873
6453
  withProgress?: boolean | undefined;
4874
6454
  seed?: boolean | undefined;
@@ -4894,7 +6474,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4894
6474
  modelName?: string | undefined;
4895
6475
  projectionModelSrc?: string | undefined;
4896
6476
  vadModelSrc?: string | undefined;
4897
- configSrc?: string | undefined;
4898
6477
  detectorModelSrc?: string | undefined;
4899
6478
  withProgress?: boolean | undefined;
4900
6479
  seed?: boolean | undefined;
@@ -4955,7 +6534,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4955
6534
  modelName?: string | undefined;
4956
6535
  projectionModelSrc?: string | undefined;
4957
6536
  vadModelSrc?: string | undefined;
4958
- configSrc?: string | undefined;
4959
6537
  detectorModelSrc?: string | undefined;
4960
6538
  withProgress?: boolean | undefined;
4961
6539
  seed?: boolean | undefined;
@@ -4973,10 +6551,25 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
4973
6551
  modelSrc: string;
4974
6552
  modelType: "onnx-tts";
4975
6553
  modelConfig: {
6554
+ ttsEngine: "chatterbox";
4976
6555
  language: "en" | "de" | "es" | "it";
6556
+ ttsTokenizerSrc: string;
6557
+ ttsSpeechEncoderSrc: string;
6558
+ ttsEmbedTokensSrc: string;
6559
+ ttsConditionalDecoderSrc: string;
6560
+ ttsLanguageModelSrc: string;
6561
+ referenceAudioSrc: string;
6562
+ } | {
6563
+ ttsEngine: "supertonic";
6564
+ language: "en" | "de" | "es" | "it";
6565
+ ttsTokenizerSrc: string;
6566
+ ttsTextEncoderSrc: string;
6567
+ ttsLatentDenoiserSrc: string;
6568
+ ttsVoiceDecoderSrc: string;
6569
+ ttsVoiceSrc: string;
6570
+ ttsSpeed?: number | undefined;
6571
+ ttsNumInferenceSteps?: number | undefined;
4977
6572
  };
4978
- configSrc: string;
4979
- eSpeakDataPath: string;
4980
6573
  modelName?: string | undefined;
4981
6574
  projectionModelSrc?: string | undefined;
4982
6575
  vadModelSrc?: string | undefined;
@@ -5007,7 +6600,6 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
5007
6600
  modelName?: string | undefined;
5008
6601
  projectionModelSrc?: string | undefined;
5009
6602
  vadModelSrc?: string | undefined;
5010
- configSrc?: string | undefined;
5011
6603
  detectorModelSrc?: string | undefined;
5012
6604
  withProgress?: boolean | undefined;
5013
6605
  seed?: boolean | undefined;
@@ -5018,6 +6610,24 @@ export declare const loadModelRequestSchema: z.ZodUnion<readonly [z.ZodPipe<z.Zo
5018
6610
  forceNewConnection: boolean;
5019
6611
  timeout?: number | undefined;
5020
6612
  } | undefined;
6613
+ } | {
6614
+ type: "loadModel";
6615
+ modelSrc: string;
6616
+ modelType: string;
6617
+ modelName?: string | undefined;
6618
+ projectionModelSrc?: string | undefined;
6619
+ vadModelSrc?: string | undefined;
6620
+ detectorModelSrc?: string | undefined;
6621
+ withProgress?: boolean | undefined;
6622
+ seed?: boolean | undefined;
6623
+ delegate?: {
6624
+ topic: string;
6625
+ providerPublicKey: string;
6626
+ fallbackToLocal: boolean;
6627
+ forceNewConnection: boolean;
6628
+ timeout?: number | undefined;
6629
+ } | undefined;
6630
+ modelConfig?: Record<string, unknown> | undefined;
5021
6631
  }>>, z.ZodUnion<readonly [z.ZodObject<{
5022
6632
  type: z.ZodLiteral<"loadModel">;
5023
6633
  modelId: z.ZodString;
@@ -5112,43 +6722,49 @@ export declare const modelProgressUpdateSchema: z.ZodObject<{
5112
6722
  overallTotal: z.ZodNumber;
5113
6723
  overallPercentage: z.ZodNumber;
5114
6724
  }, z.core.$strip>>;
6725
+ onnxInfo: z.ZodOptional<z.ZodObject<{
6726
+ currentFile: z.ZodString;
6727
+ fileIndex: z.ZodNumber;
6728
+ totalFiles: z.ZodNumber;
6729
+ overallDownloaded: z.ZodNumber;
6730
+ overallTotal: z.ZodNumber;
6731
+ overallPercentage: z.ZodNumber;
6732
+ }, z.core.$strip>>;
5115
6733
  }, z.core.$strip>;
5116
6734
  export declare const hyperdriveUrlSchema: z.ZodPipe<z.ZodString, z.ZodTransform<{
5117
6735
  key: string;
5118
6736
  path: string;
5119
6737
  }, string>>;
6738
+ /**
6739
+ * Schema for registry:// URLs (internal use only).
6740
+ * Users should use model constants from @qvac/sdk instead of raw URLs.
6741
+ * Format: registry://source/path/to/model.gguf
6742
+ */
6743
+ export declare const registryUrlSchema: z.ZodPipe<z.ZodString, z.ZodTransform<{
6744
+ registrySource: string;
6745
+ registryPath: string;
6746
+ }, string>>;
5120
6747
  export declare const loadModelServerParamsSchema: z.ZodObject<{
5121
6748
  modelId: z.ZodString;
5122
6749
  modelPath: z.ZodString;
5123
6750
  options: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
5124
- modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5125
- src: z.ZodString;
5126
- name: z.ZodOptional<z.ZodString>;
5127
- modelId: z.ZodOptional<z.ZodString>;
5128
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5129
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5130
- expectedSize: z.ZodOptional<z.ZodNumber>;
5131
- sha256Checksum: z.ZodOptional<z.ZodString>;
5132
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5133
- "llamacpp-completion": "llamacpp-completion";
5134
- "whispercpp-transcription": "whispercpp-transcription";
5135
- "llamacpp-embedding": "llamacpp-embedding";
5136
- "nmtcpp-translation": "nmtcpp-translation";
5137
- "onnx-tts": "onnx-tts";
5138
- "onnx-ocr": "onnx-ocr";
5139
- llm: "llm";
5140
- whisper: "whisper";
5141
- embeddings: "embeddings";
5142
- nmt: "nmt";
5143
- tts: "tts";
5144
- ocr: "ocr";
5145
- }>, z.ZodLiteral<"vad">]>>;
5146
- }, z.core.$strip>]>;
5147
- modelType: z.ZodEnum<{
5148
- "llamacpp-completion": "llamacpp-completion";
5149
- llm: "llm";
5150
- }>;
5151
- modelConfig: z.ZodOptional<z.ZodObject<{
6751
+ type: z.ZodLiteral<"loadModel">;
6752
+ modelSrc: z.ZodString;
6753
+ modelName: z.ZodOptional<z.ZodString>;
6754
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
6755
+ vadModelSrc: z.ZodOptional<z.ZodString>;
6756
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
6757
+ withProgress: z.ZodOptional<z.ZodBoolean>;
6758
+ seed: z.ZodOptional<z.ZodBoolean>;
6759
+ delegate: z.ZodOptional<z.ZodObject<{
6760
+ topic: z.ZodString;
6761
+ providerPublicKey: z.ZodString;
6762
+ timeout: z.ZodOptional<z.ZodNumber>;
6763
+ fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6764
+ forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
6765
+ }, z.core.$strip>>;
6766
+ modelType: z.ZodLiteral<"llamacpp-completion">;
6767
+ modelConfig: z.ZodObject<{
5152
6768
  ctx_size: z.ZodOptional<z.ZodNumber>;
5153
6769
  temp: z.ZodOptional<z.ZodNumber>;
5154
6770
  top_p: z.ZodOptional<z.ZodNumber>;
@@ -5167,31 +6783,16 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5167
6783
  stop_sequences: z.ZodOptional<z.ZodArray<z.ZodString>>;
5168
6784
  n_discarded: z.ZodOptional<z.ZodNumber>;
5169
6785
  tools: z.ZodOptional<z.ZodBoolean>;
5170
- }, z.core.$strict>>;
6786
+ }, z.core.$strip>;
6787
+ }, z.core.$strip>, z.ZodObject<{
6788
+ type: z.ZodLiteral<"loadModel">;
6789
+ modelSrc: z.ZodString;
6790
+ modelName: z.ZodOptional<z.ZodString>;
6791
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
6792
+ vadModelSrc: z.ZodOptional<z.ZodString>;
6793
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
6794
+ withProgress: z.ZodOptional<z.ZodBoolean>;
5171
6795
  seed: z.ZodOptional<z.ZodBoolean>;
5172
- projectionModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5173
- src: z.ZodString;
5174
- name: z.ZodOptional<z.ZodString>;
5175
- modelId: z.ZodOptional<z.ZodString>;
5176
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5177
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5178
- expectedSize: z.ZodOptional<z.ZodNumber>;
5179
- sha256Checksum: z.ZodOptional<z.ZodString>;
5180
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5181
- "llamacpp-completion": "llamacpp-completion";
5182
- "whispercpp-transcription": "whispercpp-transcription";
5183
- "llamacpp-embedding": "llamacpp-embedding";
5184
- "nmtcpp-translation": "nmtcpp-translation";
5185
- "onnx-tts": "onnx-tts";
5186
- "onnx-ocr": "onnx-ocr";
5187
- llm: "llm";
5188
- whisper: "whisper";
5189
- embeddings: "embeddings";
5190
- nmt: "nmt";
5191
- tts: "tts";
5192
- ocr: "ocr";
5193
- }>, z.ZodLiteral<"vad">]>>;
5194
- }, z.core.$strip>]>>;
5195
6796
  delegate: z.ZodOptional<z.ZodObject<{
5196
6797
  topic: z.ZodString;
5197
6798
  providerPublicKey: z.ZodString;
@@ -5199,124 +6800,78 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5199
6800
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5200
6801
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5201
6802
  }, z.core.$strip>>;
5202
- toolFormat: z.ZodDefault<z.ZodEnum<{
5203
- json: "json";
5204
- xml: "xml";
5205
- }>>;
5206
- }, z.core.$strip>, z.ZodObject<{
5207
- modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5208
- src: z.ZodString;
5209
- name: z.ZodOptional<z.ZodString>;
5210
- modelId: z.ZodOptional<z.ZodString>;
5211
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5212
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5213
- expectedSize: z.ZodOptional<z.ZodNumber>;
5214
- sha256Checksum: z.ZodOptional<z.ZodString>;
5215
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5216
- "llamacpp-completion": "llamacpp-completion";
5217
- "whispercpp-transcription": "whispercpp-transcription";
5218
- "llamacpp-embedding": "llamacpp-embedding";
5219
- "nmtcpp-translation": "nmtcpp-translation";
5220
- "onnx-tts": "onnx-tts";
5221
- "onnx-ocr": "onnx-ocr";
5222
- llm: "llm";
5223
- whisper: "whisper";
5224
- embeddings: "embeddings";
5225
- nmt: "nmt";
5226
- tts: "tts";
5227
- ocr: "ocr";
5228
- }>, z.ZodLiteral<"vad">]>>;
5229
- }, z.core.$strip>]>;
5230
- modelType: z.ZodEnum<{
5231
- "whispercpp-transcription": "whispercpp-transcription";
5232
- whisper: "whisper";
5233
- }>;
5234
- modelConfig: z.ZodOptional<z.ZodObject<{
5235
- strategy: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
6803
+ modelType: z.ZodLiteral<"whispercpp-transcription">;
6804
+ modelConfig: z.ZodObject<{
6805
+ strategy: z.ZodOptional<z.ZodEnum<{
5236
6806
  greedy: "greedy";
5237
6807
  beam_search: "beam_search";
5238
- }>>>;
5239
- n_threads: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5240
- n_max_text_ctx: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5241
- offset_ms: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5242
- duration_ms: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5243
- audio_ctx: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5244
- translate: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5245
- no_context: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5246
- no_timestamps: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5247
- single_segment: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5248
- print_special: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5249
- print_progress: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5250
- print_realtime: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5251
- print_timestamps: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5252
- token_timestamps: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5253
- thold_pt: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5254
- thold_ptsum: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5255
- max_len: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5256
- split_on_word: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5257
- max_tokens: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5258
- debug_mode: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5259
- tdrz_enable: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5260
- suppress_regex: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5261
- initial_prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5262
- language: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5263
- detect_language: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5264
- suppress_blank: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5265
- suppress_nst: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5266
- temperature: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5267
- length_penalty: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5268
- temperature_inc: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5269
- entropy_thold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5270
- logprob_thold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5271
- greedy_best_of: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5272
- beam_search_beam_size: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5273
- vad_model_path: z.ZodOptional<z.ZodOptional<z.ZodString>>;
5274
- vad_params: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6808
+ }>>;
6809
+ n_threads: z.ZodOptional<z.ZodNumber>;
6810
+ n_max_text_ctx: z.ZodOptional<z.ZodNumber>;
6811
+ offset_ms: z.ZodOptional<z.ZodNumber>;
6812
+ duration_ms: z.ZodOptional<z.ZodNumber>;
6813
+ audio_ctx: z.ZodOptional<z.ZodNumber>;
6814
+ translate: z.ZodOptional<z.ZodBoolean>;
6815
+ no_context: z.ZodOptional<z.ZodBoolean>;
6816
+ no_timestamps: z.ZodOptional<z.ZodBoolean>;
6817
+ single_segment: z.ZodOptional<z.ZodBoolean>;
6818
+ print_special: z.ZodOptional<z.ZodBoolean>;
6819
+ print_progress: z.ZodOptional<z.ZodBoolean>;
6820
+ print_realtime: z.ZodOptional<z.ZodBoolean>;
6821
+ print_timestamps: z.ZodOptional<z.ZodBoolean>;
6822
+ token_timestamps: z.ZodOptional<z.ZodBoolean>;
6823
+ thold_pt: z.ZodOptional<z.ZodNumber>;
6824
+ thold_ptsum: z.ZodOptional<z.ZodNumber>;
6825
+ max_len: z.ZodOptional<z.ZodNumber>;
6826
+ split_on_word: z.ZodOptional<z.ZodBoolean>;
6827
+ max_tokens: z.ZodOptional<z.ZodNumber>;
6828
+ debug_mode: z.ZodOptional<z.ZodBoolean>;
6829
+ tdrz_enable: z.ZodOptional<z.ZodBoolean>;
6830
+ suppress_regex: z.ZodOptional<z.ZodString>;
6831
+ initial_prompt: z.ZodOptional<z.ZodString>;
6832
+ language: z.ZodOptional<z.ZodString>;
6833
+ detect_language: z.ZodOptional<z.ZodBoolean>;
6834
+ suppress_blank: z.ZodOptional<z.ZodBoolean>;
6835
+ suppress_nst: z.ZodOptional<z.ZodBoolean>;
6836
+ temperature: z.ZodOptional<z.ZodNumber>;
6837
+ length_penalty: z.ZodOptional<z.ZodNumber>;
6838
+ temperature_inc: z.ZodOptional<z.ZodNumber>;
6839
+ entropy_thold: z.ZodOptional<z.ZodNumber>;
6840
+ logprob_thold: z.ZodOptional<z.ZodNumber>;
6841
+ greedy_best_of: z.ZodOptional<z.ZodNumber>;
6842
+ beam_search_beam_size: z.ZodOptional<z.ZodNumber>;
6843
+ vad_model_path: z.ZodOptional<z.ZodString>;
6844
+ vad_params: z.ZodOptional<z.ZodObject<{
5275
6845
  threshold: z.ZodOptional<z.ZodNumber>;
5276
6846
  min_speech_duration_ms: z.ZodOptional<z.ZodNumber>;
5277
6847
  min_silence_duration_ms: z.ZodOptional<z.ZodNumber>;
5278
6848
  max_speech_duration_s: z.ZodOptional<z.ZodNumber>;
5279
6849
  speech_pad_ms: z.ZodOptional<z.ZodNumber>;
5280
6850
  samples_overlap: z.ZodOptional<z.ZodNumber>;
5281
- }, z.core.$strip>>>;
5282
- audio_format: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
6851
+ }, z.core.$strip>>;
6852
+ audio_format: z.ZodOptional<z.ZodEnum<{
5283
6853
  f32le: "f32le";
5284
6854
  s16le: "s16le";
5285
- }>>>;
5286
- contextParams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6855
+ }>>;
6856
+ contextParams: z.ZodOptional<z.ZodObject<{
5287
6857
  model: z.ZodOptional<z.ZodString>;
5288
6858
  use_gpu: z.ZodOptional<z.ZodBoolean>;
5289
6859
  flash_attn: z.ZodOptional<z.ZodBoolean>;
5290
6860
  gpu_device: z.ZodOptional<z.ZodNumber>;
5291
- }, z.core.$strip>>>;
5292
- miscConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6861
+ }, z.core.$strip>>;
6862
+ miscConfig: z.ZodOptional<z.ZodObject<{
5293
6863
  caption_enabled: z.ZodOptional<z.ZodBoolean>;
5294
- }, z.core.$strip>>>;
5295
- }, z.core.$strict>>;
6864
+ }, z.core.$strip>>;
6865
+ }, z.core.$strip>;
6866
+ }, z.core.$strip>, z.ZodObject<{
6867
+ type: z.ZodLiteral<"loadModel">;
6868
+ modelSrc: z.ZodString;
6869
+ modelName: z.ZodOptional<z.ZodString>;
6870
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
6871
+ vadModelSrc: z.ZodOptional<z.ZodString>;
6872
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
6873
+ withProgress: z.ZodOptional<z.ZodBoolean>;
5296
6874
  seed: z.ZodOptional<z.ZodBoolean>;
5297
- vadModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5298
- src: z.ZodString;
5299
- name: z.ZodOptional<z.ZodString>;
5300
- modelId: z.ZodOptional<z.ZodString>;
5301
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5302
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5303
- expectedSize: z.ZodOptional<z.ZodNumber>;
5304
- sha256Checksum: z.ZodOptional<z.ZodString>;
5305
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5306
- "llamacpp-completion": "llamacpp-completion";
5307
- "whispercpp-transcription": "whispercpp-transcription";
5308
- "llamacpp-embedding": "llamacpp-embedding";
5309
- "nmtcpp-translation": "nmtcpp-translation";
5310
- "onnx-tts": "onnx-tts";
5311
- "onnx-ocr": "onnx-ocr";
5312
- llm: "llm";
5313
- whisper: "whisper";
5314
- embeddings: "embeddings";
5315
- nmt: "nmt";
5316
- tts: "tts";
5317
- ocr: "ocr";
5318
- }>, z.ZodLiteral<"vad">]>>;
5319
- }, z.core.$strip>]>>;
5320
6875
  delegate: z.ZodOptional<z.ZodObject<{
5321
6876
  topic: z.ZodString;
5322
6877
  providerPublicKey: z.ZodString;
@@ -5324,35 +6879,8 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5324
6879
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5325
6880
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5326
6881
  }, z.core.$strip>>;
5327
- }, z.core.$strip>, z.ZodObject<{
5328
- modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5329
- src: z.ZodString;
5330
- name: z.ZodOptional<z.ZodString>;
5331
- modelId: z.ZodOptional<z.ZodString>;
5332
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5333
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5334
- expectedSize: z.ZodOptional<z.ZodNumber>;
5335
- sha256Checksum: z.ZodOptional<z.ZodString>;
5336
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5337
- "llamacpp-completion": "llamacpp-completion";
5338
- "whispercpp-transcription": "whispercpp-transcription";
5339
- "llamacpp-embedding": "llamacpp-embedding";
5340
- "nmtcpp-translation": "nmtcpp-translation";
5341
- "onnx-tts": "onnx-tts";
5342
- "onnx-ocr": "onnx-ocr";
5343
- llm: "llm";
5344
- whisper: "whisper";
5345
- embeddings: "embeddings";
5346
- nmt: "nmt";
5347
- tts: "tts";
5348
- ocr: "ocr";
5349
- }>, z.ZodLiteral<"vad">]>>;
5350
- }, z.core.$strip>]>;
5351
- modelType: z.ZodEnum<{
5352
- "llamacpp-embedding": "llamacpp-embedding";
5353
- embeddings: "embeddings";
5354
- }>;
5355
- modelConfig: z.ZodOptional<z.ZodObject<{
6882
+ modelType: z.ZodLiteral<"llamacpp-embedding">;
6883
+ modelConfig: z.ZodObject<{
5356
6884
  gpuLayers: z.ZodOptional<z.ZodNumber>;
5357
6885
  device: z.ZodOptional<z.ZodString>;
5358
6886
  batchSize: z.ZodOptional<z.ZodNumber>;
@@ -5362,7 +6890,15 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5362
6890
  off: "off";
5363
6891
  }>>;
5364
6892
  rawConfig: z.ZodOptional<z.ZodString>;
5365
- }, z.core.$strict>>;
6893
+ }, z.core.$strip>;
6894
+ }, z.core.$strip>, z.ZodObject<{
6895
+ type: z.ZodLiteral<"loadModel">;
6896
+ modelSrc: z.ZodString;
6897
+ modelName: z.ZodOptional<z.ZodString>;
6898
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
6899
+ vadModelSrc: z.ZodOptional<z.ZodString>;
6900
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
6901
+ withProgress: z.ZodOptional<z.ZodBoolean>;
5366
6902
  seed: z.ZodOptional<z.ZodBoolean>;
5367
6903
  delegate: z.ZodOptional<z.ZodObject<{
5368
6904
  topic: z.ZodString;
@@ -5371,34 +6907,7 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5371
6907
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5372
6908
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5373
6909
  }, z.core.$strip>>;
5374
- }, z.core.$strip>, z.ZodObject<{
5375
- modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5376
- src: z.ZodString;
5377
- name: z.ZodOptional<z.ZodString>;
5378
- modelId: z.ZodOptional<z.ZodString>;
5379
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5380
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5381
- expectedSize: z.ZodOptional<z.ZodNumber>;
5382
- sha256Checksum: z.ZodOptional<z.ZodString>;
5383
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5384
- "llamacpp-completion": "llamacpp-completion";
5385
- "whispercpp-transcription": "whispercpp-transcription";
5386
- "llamacpp-embedding": "llamacpp-embedding";
5387
- "nmtcpp-translation": "nmtcpp-translation";
5388
- "onnx-tts": "onnx-tts";
5389
- "onnx-ocr": "onnx-ocr";
5390
- llm: "llm";
5391
- whisper: "whisper";
5392
- embeddings: "embeddings";
5393
- nmt: "nmt";
5394
- tts: "tts";
5395
- ocr: "ocr";
5396
- }>, z.ZodLiteral<"vad">]>>;
5397
- }, z.core.$strip>]>;
5398
- modelType: z.ZodEnum<{
5399
- "nmtcpp-translation": "nmtcpp-translation";
5400
- nmt: "nmt";
5401
- }>;
6910
+ modelType: z.ZodLiteral<"nmtcpp-translation">;
5402
6911
  modelConfig: z.ZodPipe<z.ZodDiscriminatedUnion<[z.ZodObject<{
5403
6912
  mode: z.ZodOptional<z.ZodEnum<{
5404
6913
  full: "full";
@@ -5652,52 +7161,16 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5652
7161
  topk?: number | undefined;
5653
7162
  topp?: number | undefined;
5654
7163
  }>>;
5655
- srcVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5656
- src: z.ZodString;
5657
- name: z.ZodOptional<z.ZodString>;
5658
- modelId: z.ZodOptional<z.ZodString>;
5659
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5660
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5661
- expectedSize: z.ZodOptional<z.ZodNumber>;
5662
- sha256Checksum: z.ZodOptional<z.ZodString>;
5663
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5664
- "llamacpp-completion": "llamacpp-completion";
5665
- "whispercpp-transcription": "whispercpp-transcription";
5666
- "llamacpp-embedding": "llamacpp-embedding";
5667
- "nmtcpp-translation": "nmtcpp-translation";
5668
- "onnx-tts": "onnx-tts";
5669
- "onnx-ocr": "onnx-ocr";
5670
- llm: "llm";
5671
- whisper: "whisper";
5672
- embeddings: "embeddings";
5673
- nmt: "nmt";
5674
- tts: "tts";
5675
- ocr: "ocr";
5676
- }>, z.ZodLiteral<"vad">]>>;
5677
- }, z.core.$strip>]>>;
5678
- dstVocabSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5679
- src: z.ZodString;
5680
- name: z.ZodOptional<z.ZodString>;
5681
- modelId: z.ZodOptional<z.ZodString>;
5682
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5683
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5684
- expectedSize: z.ZodOptional<z.ZodNumber>;
5685
- sha256Checksum: z.ZodOptional<z.ZodString>;
5686
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5687
- "llamacpp-completion": "llamacpp-completion";
5688
- "whispercpp-transcription": "whispercpp-transcription";
5689
- "llamacpp-embedding": "llamacpp-embedding";
5690
- "nmtcpp-translation": "nmtcpp-translation";
5691
- "onnx-tts": "onnx-tts";
5692
- "onnx-ocr": "onnx-ocr";
5693
- llm: "llm";
5694
- whisper: "whisper";
5695
- embeddings: "embeddings";
5696
- nmt: "nmt";
5697
- tts: "tts";
5698
- ocr: "ocr";
5699
- }>, z.ZodLiteral<"vad">]>>;
5700
- }, z.core.$strip>]>>;
7164
+ srcVocabSrc: z.ZodOptional<z.ZodString>;
7165
+ dstVocabSrc: z.ZodOptional<z.ZodString>;
7166
+ }, z.core.$strip>, z.ZodObject<{
7167
+ type: z.ZodLiteral<"loadModel">;
7168
+ modelSrc: z.ZodString;
7169
+ modelName: z.ZodOptional<z.ZodString>;
7170
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
7171
+ vadModelSrc: z.ZodOptional<z.ZodString>;
7172
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
7173
+ withProgress: z.ZodOptional<z.ZodBoolean>;
5701
7174
  seed: z.ZodOptional<z.ZodBoolean>;
5702
7175
  delegate: z.ZodOptional<z.ZodObject<{
5703
7176
  topic: z.ZodString;
@@ -5706,66 +7179,45 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5706
7179
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5707
7180
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5708
7181
  }, z.core.$strip>>;
5709
- }, z.core.$strip>, z.ZodObject<{
5710
- modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5711
- src: z.ZodString;
5712
- name: z.ZodOptional<z.ZodString>;
5713
- modelId: z.ZodOptional<z.ZodString>;
5714
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5715
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5716
- expectedSize: z.ZodOptional<z.ZodNumber>;
5717
- sha256Checksum: z.ZodOptional<z.ZodString>;
5718
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5719
- "llamacpp-completion": "llamacpp-completion";
5720
- "whispercpp-transcription": "whispercpp-transcription";
5721
- "llamacpp-embedding": "llamacpp-embedding";
5722
- "nmtcpp-translation": "nmtcpp-translation";
5723
- "onnx-tts": "onnx-tts";
5724
- "onnx-ocr": "onnx-ocr";
5725
- llm: "llm";
5726
- whisper: "whisper";
5727
- embeddings: "embeddings";
5728
- nmt: "nmt";
5729
- tts: "tts";
5730
- ocr: "ocr";
5731
- }>, z.ZodLiteral<"vad">]>>;
5732
- }, z.core.$strip>]>;
5733
- modelType: z.ZodEnum<{
5734
- "onnx-tts": "onnx-tts";
5735
- tts: "tts";
5736
- }>;
5737
- modelConfig: z.ZodObject<{
7182
+ modelType: z.ZodLiteral<"onnx-tts">;
7183
+ modelConfig: z.ZodUnion<readonly [z.ZodObject<{
7184
+ ttsEngine: z.ZodLiteral<"chatterbox">;
5738
7185
  language: z.ZodEnum<{
5739
7186
  en: "en";
5740
7187
  de: "de";
5741
7188
  es: "es";
5742
7189
  it: "it";
5743
7190
  }>;
5744
- }, z.core.$strip>;
5745
- configSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5746
- src: z.ZodString;
5747
- name: z.ZodOptional<z.ZodString>;
5748
- modelId: z.ZodOptional<z.ZodString>;
5749
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5750
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5751
- expectedSize: z.ZodOptional<z.ZodNumber>;
5752
- sha256Checksum: z.ZodOptional<z.ZodString>;
5753
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5754
- "llamacpp-completion": "llamacpp-completion";
5755
- "whispercpp-transcription": "whispercpp-transcription";
5756
- "llamacpp-embedding": "llamacpp-embedding";
5757
- "nmtcpp-translation": "nmtcpp-translation";
5758
- "onnx-tts": "onnx-tts";
5759
- "onnx-ocr": "onnx-ocr";
5760
- llm: "llm";
5761
- whisper: "whisper";
5762
- embeddings: "embeddings";
5763
- nmt: "nmt";
5764
- tts: "tts";
5765
- ocr: "ocr";
5766
- }>, z.ZodLiteral<"vad">]>>;
7191
+ ttsTokenizerSrc: z.ZodString;
7192
+ ttsSpeechEncoderSrc: z.ZodString;
7193
+ ttsEmbedTokensSrc: z.ZodString;
7194
+ ttsConditionalDecoderSrc: z.ZodString;
7195
+ ttsLanguageModelSrc: z.ZodString;
7196
+ referenceAudioSrc: z.ZodString;
7197
+ }, z.core.$strip>, z.ZodObject<{
7198
+ ttsEngine: z.ZodLiteral<"supertonic">;
7199
+ language: z.ZodEnum<{
7200
+ en: "en";
7201
+ de: "de";
7202
+ es: "es";
7203
+ it: "it";
7204
+ }>;
7205
+ ttsTokenizerSrc: z.ZodString;
7206
+ ttsTextEncoderSrc: z.ZodString;
7207
+ ttsLatentDenoiserSrc: z.ZodString;
7208
+ ttsVoiceDecoderSrc: z.ZodString;
7209
+ ttsVoiceSrc: z.ZodString;
7210
+ ttsSpeed: z.ZodOptional<z.ZodNumber>;
7211
+ ttsNumInferenceSteps: z.ZodOptional<z.ZodNumber>;
5767
7212
  }, z.core.$strip>]>;
5768
- eSpeakDataPath: z.ZodString;
7213
+ }, z.core.$strip>, z.ZodObject<{
7214
+ type: z.ZodLiteral<"loadModel">;
7215
+ modelSrc: z.ZodString;
7216
+ modelName: z.ZodOptional<z.ZodString>;
7217
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
7218
+ vadModelSrc: z.ZodOptional<z.ZodString>;
7219
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
7220
+ withProgress: z.ZodOptional<z.ZodBoolean>;
5769
7221
  seed: z.ZodOptional<z.ZodBoolean>;
5770
7222
  delegate: z.ZodOptional<z.ZodObject<{
5771
7223
  topic: z.ZodString;
@@ -5774,67 +7226,25 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5774
7226
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5775
7227
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5776
7228
  }, z.core.$strip>>;
7229
+ modelType: z.ZodLiteral<"onnx-ocr">;
7230
+ modelConfig: z.ZodObject<{
7231
+ langList: z.ZodOptional<z.ZodArray<z.ZodString>>;
7232
+ useGPU: z.ZodOptional<z.ZodBoolean>;
7233
+ timeout: z.ZodOptional<z.ZodNumber>;
7234
+ magRatio: z.ZodOptional<z.ZodNumber>;
7235
+ defaultRotationAngles: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
7236
+ contrastRetry: z.ZodOptional<z.ZodBoolean>;
7237
+ lowConfidenceThreshold: z.ZodOptional<z.ZodNumber>;
7238
+ recognizerBatchSize: z.ZodOptional<z.ZodNumber>;
7239
+ }, z.core.$strip>;
5777
7240
  }, z.core.$strip>, z.ZodObject<{
5778
- modelSrc: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5779
- src: z.ZodString;
5780
- name: z.ZodOptional<z.ZodString>;
5781
- modelId: z.ZodOptional<z.ZodString>;
5782
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5783
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5784
- expectedSize: z.ZodOptional<z.ZodNumber>;
5785
- sha256Checksum: z.ZodOptional<z.ZodString>;
5786
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5787
- "llamacpp-completion": "llamacpp-completion";
5788
- "whispercpp-transcription": "whispercpp-transcription";
5789
- "llamacpp-embedding": "llamacpp-embedding";
5790
- "nmtcpp-translation": "nmtcpp-translation";
5791
- "onnx-tts": "onnx-tts";
5792
- "onnx-ocr": "onnx-ocr";
5793
- llm: "llm";
5794
- whisper: "whisper";
5795
- embeddings: "embeddings";
5796
- nmt: "nmt";
5797
- tts: "tts";
5798
- ocr: "ocr";
5799
- }>, z.ZodLiteral<"vad">]>>;
5800
- }, z.core.$strip>]>;
5801
- modelType: z.ZodEnum<{
5802
- "onnx-ocr": "onnx-ocr";
5803
- ocr: "ocr";
5804
- }>;
5805
- modelConfig: z.ZodOptional<z.ZodObject<{
5806
- langList: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
5807
- useGPU: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5808
- timeout: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5809
- magRatio: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5810
- defaultRotationAngles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber>>>;
5811
- contrastRetry: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
5812
- lowConfidenceThreshold: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5813
- recognizerBatchSize: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
5814
- }, z.core.$strict>>;
5815
- detectorModelSrc: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
5816
- src: z.ZodString;
5817
- name: z.ZodOptional<z.ZodString>;
5818
- modelId: z.ZodOptional<z.ZodString>;
5819
- hyperdriveKey: z.ZodOptional<z.ZodString>;
5820
- hyperbeeKey: z.ZodOptional<z.ZodString>;
5821
- expectedSize: z.ZodOptional<z.ZodNumber>;
5822
- sha256Checksum: z.ZodOptional<z.ZodString>;
5823
- addon: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
5824
- "llamacpp-completion": "llamacpp-completion";
5825
- "whispercpp-transcription": "whispercpp-transcription";
5826
- "llamacpp-embedding": "llamacpp-embedding";
5827
- "nmtcpp-translation": "nmtcpp-translation";
5828
- "onnx-tts": "onnx-tts";
5829
- "onnx-ocr": "onnx-ocr";
5830
- llm: "llm";
5831
- whisper: "whisper";
5832
- embeddings: "embeddings";
5833
- nmt: "nmt";
5834
- tts: "tts";
5835
- ocr: "ocr";
5836
- }>, z.ZodLiteral<"vad">]>>;
5837
- }, z.core.$strip>]>>;
7241
+ type: z.ZodLiteral<"loadModel">;
7242
+ modelSrc: z.ZodString;
7243
+ modelName: z.ZodOptional<z.ZodString>;
7244
+ projectionModelSrc: z.ZodOptional<z.ZodString>;
7245
+ vadModelSrc: z.ZodOptional<z.ZodString>;
7246
+ detectorModelSrc: z.ZodOptional<z.ZodString>;
7247
+ withProgress: z.ZodOptional<z.ZodBoolean>;
5838
7248
  seed: z.ZodOptional<z.ZodBoolean>;
5839
7249
  delegate: z.ZodOptional<z.ZodObject<{
5840
7250
  topic: z.ZodString;
@@ -5843,21 +7253,14 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5843
7253
  fallbackToLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5844
7254
  forceNewConnection: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
5845
7255
  }, z.core.$strip>>;
7256
+ modelType: z.ZodString;
7257
+ modelConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5846
7258
  }, z.core.$strip>]>, z.ZodTransform<{
5847
7259
  seed: boolean;
5848
- modelSrc: string | {
5849
- src: string;
5850
- name?: string | undefined;
5851
- modelId?: string | undefined;
5852
- hyperdriveKey?: string | undefined;
5853
- hyperbeeKey?: string | undefined;
5854
- expectedSize?: number | undefined;
5855
- sha256Checksum?: string | undefined;
5856
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
5857
- };
5858
- modelType: "llamacpp-completion" | "llm";
5859
- toolFormat: "json" | "xml";
5860
- modelConfig?: {
7260
+ type: "loadModel";
7261
+ modelSrc: string;
7262
+ modelType: "llamacpp-completion";
7263
+ modelConfig: {
5861
7264
  ctx_size?: number | undefined;
5862
7265
  temp?: number | undefined;
5863
7266
  top_p?: number | undefined;
@@ -5876,17 +7279,12 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5876
7279
  stop_sequences?: string[] | undefined;
5877
7280
  n_discarded?: number | undefined;
5878
7281
  tools?: boolean | undefined;
5879
- } | undefined;
5880
- projectionModelSrc?: string | {
5881
- src: string;
5882
- name?: string | undefined;
5883
- modelId?: string | undefined;
5884
- hyperdriveKey?: string | undefined;
5885
- hyperbeeKey?: string | undefined;
5886
- expectedSize?: number | undefined;
5887
- sha256Checksum?: string | undefined;
5888
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
5889
- } | undefined;
7282
+ };
7283
+ modelName?: string | undefined;
7284
+ projectionModelSrc?: string | undefined;
7285
+ vadModelSrc?: string | undefined;
7286
+ detectorModelSrc?: string | undefined;
7287
+ withProgress?: boolean | undefined;
5890
7288
  delegate?: {
5891
7289
  topic: string;
5892
7290
  providerPublicKey: string;
@@ -5896,18 +7294,10 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5896
7294
  } | undefined;
5897
7295
  } | {
5898
7296
  seed: boolean;
5899
- modelSrc: string | {
5900
- src: string;
5901
- name?: string | undefined;
5902
- modelId?: string | undefined;
5903
- hyperdriveKey?: string | undefined;
5904
- hyperbeeKey?: string | undefined;
5905
- expectedSize?: number | undefined;
5906
- sha256Checksum?: string | undefined;
5907
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
5908
- };
5909
- modelType: "whispercpp-transcription" | "whisper";
5910
- modelConfig?: {
7297
+ type: "loadModel";
7298
+ modelSrc: string;
7299
+ modelType: "whispercpp-transcription";
7300
+ modelConfig: {
5911
7301
  strategy?: "greedy" | "beam_search" | undefined;
5912
7302
  n_threads?: number | undefined;
5913
7303
  n_max_text_ctx?: number | undefined;
@@ -5962,17 +7352,12 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5962
7352
  miscConfig?: {
5963
7353
  caption_enabled?: boolean | undefined;
5964
7354
  } | undefined;
5965
- } | undefined;
5966
- vadModelSrc?: string | {
5967
- src: string;
5968
- name?: string | undefined;
5969
- modelId?: string | undefined;
5970
- hyperdriveKey?: string | undefined;
5971
- hyperbeeKey?: string | undefined;
5972
- expectedSize?: number | undefined;
5973
- sha256Checksum?: string | undefined;
5974
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
5975
- } | undefined;
7355
+ };
7356
+ modelName?: string | undefined;
7357
+ projectionModelSrc?: string | undefined;
7358
+ vadModelSrc?: string | undefined;
7359
+ detectorModelSrc?: string | undefined;
7360
+ withProgress?: boolean | undefined;
5976
7361
  delegate?: {
5977
7362
  topic: string;
5978
7363
  providerPublicKey: string;
@@ -5982,25 +7367,22 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
5982
7367
  } | undefined;
5983
7368
  } | {
5984
7369
  seed: boolean;
5985
- modelSrc: string | {
5986
- src: string;
5987
- name?: string | undefined;
5988
- modelId?: string | undefined;
5989
- hyperdriveKey?: string | undefined;
5990
- hyperbeeKey?: string | undefined;
5991
- expectedSize?: number | undefined;
5992
- sha256Checksum?: string | undefined;
5993
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
5994
- };
5995
- modelType: "llamacpp-embedding" | "embeddings";
5996
- modelConfig?: {
7370
+ type: "loadModel";
7371
+ modelSrc: string;
7372
+ modelType: "llamacpp-embedding";
7373
+ modelConfig: {
5997
7374
  gpuLayers?: number | undefined;
5998
7375
  device?: string | undefined;
5999
7376
  batchSize?: number | undefined;
6000
7377
  ctxSize?: number | undefined;
6001
7378
  flashAttention?: "on" | "off" | undefined;
6002
7379
  rawConfig?: string | undefined;
6003
- } | undefined;
7380
+ };
7381
+ modelName?: string | undefined;
7382
+ projectionModelSrc?: string | undefined;
7383
+ vadModelSrc?: string | undefined;
7384
+ detectorModelSrc?: string | undefined;
7385
+ withProgress?: boolean | undefined;
6004
7386
  delegate?: {
6005
7387
  topic: string;
6006
7388
  providerPublicKey: string;
@@ -6010,17 +7392,9 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6010
7392
  } | undefined;
6011
7393
  } | {
6012
7394
  seed: boolean;
6013
- modelSrc: string | {
6014
- src: string;
6015
- name?: string | undefined;
6016
- modelId?: string | undefined;
6017
- hyperdriveKey?: string | undefined;
6018
- hyperbeeKey?: string | undefined;
6019
- expectedSize?: number | undefined;
6020
- sha256Checksum?: string | undefined;
6021
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6022
- };
6023
- modelType: "nmtcpp-translation" | "nmt";
7395
+ type: "loadModel";
7396
+ modelSrc: string;
7397
+ modelType: "nmtcpp-translation";
6024
7398
  modelConfig: {
6025
7399
  mode: "full";
6026
7400
  beamsize: number;
@@ -6064,26 +7438,11 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6064
7438
  from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
6065
7439
  to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
6066
7440
  };
6067
- srcVocabSrc?: string | {
6068
- src: string;
6069
- name?: string | undefined;
6070
- modelId?: string | undefined;
6071
- hyperdriveKey?: string | undefined;
6072
- hyperbeeKey?: string | undefined;
6073
- expectedSize?: number | undefined;
6074
- sha256Checksum?: string | undefined;
6075
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6076
- } | undefined;
6077
- dstVocabSrc?: string | {
6078
- src: string;
6079
- name?: string | undefined;
6080
- modelId?: string | undefined;
6081
- hyperdriveKey?: string | undefined;
6082
- hyperbeeKey?: string | undefined;
6083
- expectedSize?: number | undefined;
6084
- sha256Checksum?: string | undefined;
6085
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6086
- } | undefined;
7441
+ modelName?: string | undefined;
7442
+ projectionModelSrc?: string | undefined;
7443
+ vadModelSrc?: string | undefined;
7444
+ detectorModelSrc?: string | undefined;
7445
+ withProgress?: boolean | undefined;
6087
7446
  delegate?: {
6088
7447
  topic: string;
6089
7448
  providerPublicKey: string;
@@ -6091,33 +7450,38 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6091
7450
  forceNewConnection: boolean;
6092
7451
  timeout?: number | undefined;
6093
7452
  } | undefined;
7453
+ srcVocabSrc?: string | undefined;
7454
+ dstVocabSrc?: string | undefined;
6094
7455
  } | {
6095
7456
  seed: boolean;
6096
- modelSrc: string | {
6097
- src: string;
6098
- name?: string | undefined;
6099
- modelId?: string | undefined;
6100
- hyperdriveKey?: string | undefined;
6101
- hyperbeeKey?: string | undefined;
6102
- expectedSize?: number | undefined;
6103
- sha256Checksum?: string | undefined;
6104
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6105
- };
6106
- modelType: "onnx-tts" | "tts";
7457
+ type: "loadModel";
7458
+ modelSrc: string;
7459
+ modelType: "onnx-tts";
6107
7460
  modelConfig: {
7461
+ ttsEngine: "chatterbox";
6108
7462
  language: "en" | "de" | "es" | "it";
7463
+ ttsTokenizerSrc: string;
7464
+ ttsSpeechEncoderSrc: string;
7465
+ ttsEmbedTokensSrc: string;
7466
+ ttsConditionalDecoderSrc: string;
7467
+ ttsLanguageModelSrc: string;
7468
+ referenceAudioSrc: string;
7469
+ } | {
7470
+ ttsEngine: "supertonic";
7471
+ language: "en" | "de" | "es" | "it";
7472
+ ttsTokenizerSrc: string;
7473
+ ttsTextEncoderSrc: string;
7474
+ ttsLatentDenoiserSrc: string;
7475
+ ttsVoiceDecoderSrc: string;
7476
+ ttsVoiceSrc: string;
7477
+ ttsSpeed?: number | undefined;
7478
+ ttsNumInferenceSteps?: number | undefined;
6109
7479
  };
6110
- configSrc: string | {
6111
- src: string;
6112
- name?: string | undefined;
6113
- modelId?: string | undefined;
6114
- hyperdriveKey?: string | undefined;
6115
- hyperbeeKey?: string | undefined;
6116
- expectedSize?: number | undefined;
6117
- sha256Checksum?: string | undefined;
6118
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6119
- };
6120
- eSpeakDataPath: string;
7480
+ modelName?: string | undefined;
7481
+ projectionModelSrc?: string | undefined;
7482
+ vadModelSrc?: string | undefined;
7483
+ detectorModelSrc?: string | undefined;
7484
+ withProgress?: boolean | undefined;
6121
7485
  delegate?: {
6122
7486
  topic: string;
6123
7487
  providerPublicKey: string;
@@ -6127,18 +7491,10 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6127
7491
  } | undefined;
6128
7492
  } | {
6129
7493
  seed: boolean;
6130
- modelSrc: string | {
6131
- src: string;
6132
- name?: string | undefined;
6133
- modelId?: string | undefined;
6134
- hyperdriveKey?: string | undefined;
6135
- hyperbeeKey?: string | undefined;
6136
- expectedSize?: number | undefined;
6137
- sha256Checksum?: string | undefined;
6138
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6139
- };
6140
- modelType: "onnx-ocr" | "ocr";
6141
- modelConfig?: {
7494
+ type: "loadModel";
7495
+ modelSrc: string;
7496
+ modelType: "onnx-ocr";
7497
+ modelConfig: {
6142
7498
  langList?: string[] | undefined;
6143
7499
  useGPU?: boolean | undefined;
6144
7500
  timeout?: number | undefined;
@@ -6147,17 +7503,29 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6147
7503
  contrastRetry?: boolean | undefined;
6148
7504
  lowConfidenceThreshold?: number | undefined;
6149
7505
  recognizerBatchSize?: number | undefined;
7506
+ };
7507
+ modelName?: string | undefined;
7508
+ projectionModelSrc?: string | undefined;
7509
+ vadModelSrc?: string | undefined;
7510
+ detectorModelSrc?: string | undefined;
7511
+ withProgress?: boolean | undefined;
7512
+ delegate?: {
7513
+ topic: string;
7514
+ providerPublicKey: string;
7515
+ fallbackToLocal: boolean;
7516
+ forceNewConnection: boolean;
7517
+ timeout?: number | undefined;
6150
7518
  } | undefined;
6151
- detectorModelSrc?: string | {
6152
- src: string;
6153
- name?: string | undefined;
6154
- modelId?: string | undefined;
6155
- hyperdriveKey?: string | undefined;
6156
- hyperbeeKey?: string | undefined;
6157
- expectedSize?: number | undefined;
6158
- sha256Checksum?: string | undefined;
6159
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6160
- } | undefined;
7519
+ } | {
7520
+ seed: boolean;
7521
+ type: "loadModel";
7522
+ modelSrc: string;
7523
+ modelType: string;
7524
+ modelName?: string | undefined;
7525
+ projectionModelSrc?: string | undefined;
7526
+ vadModelSrc?: string | undefined;
7527
+ detectorModelSrc?: string | undefined;
7528
+ withProgress?: boolean | undefined;
6161
7529
  delegate?: {
6162
7530
  topic: string;
6163
7531
  providerPublicKey: string;
@@ -6165,20 +7533,12 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6165
7533
  forceNewConnection: boolean;
6166
7534
  timeout?: number | undefined;
6167
7535
  } | undefined;
7536
+ modelConfig?: Record<string, unknown> | undefined;
6168
7537
  }, {
6169
- modelSrc: string | {
6170
- src: string;
6171
- name?: string | undefined;
6172
- modelId?: string | undefined;
6173
- hyperdriveKey?: string | undefined;
6174
- hyperbeeKey?: string | undefined;
6175
- expectedSize?: number | undefined;
6176
- sha256Checksum?: string | undefined;
6177
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6178
- };
6179
- modelType: "llamacpp-completion" | "llm";
6180
- toolFormat: "json" | "xml";
6181
- modelConfig?: {
7538
+ type: "loadModel";
7539
+ modelSrc: string;
7540
+ modelType: "llamacpp-completion";
7541
+ modelConfig: {
6182
7542
  ctx_size?: number | undefined;
6183
7543
  temp?: number | undefined;
6184
7544
  top_p?: number | undefined;
@@ -6197,18 +7557,13 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6197
7557
  stop_sequences?: string[] | undefined;
6198
7558
  n_discarded?: number | undefined;
6199
7559
  tools?: boolean | undefined;
6200
- } | undefined;
7560
+ };
7561
+ modelName?: string | undefined;
7562
+ projectionModelSrc?: string | undefined;
7563
+ vadModelSrc?: string | undefined;
7564
+ detectorModelSrc?: string | undefined;
7565
+ withProgress?: boolean | undefined;
6201
7566
  seed?: boolean | undefined;
6202
- projectionModelSrc?: string | {
6203
- src: string;
6204
- name?: string | undefined;
6205
- modelId?: string | undefined;
6206
- hyperdriveKey?: string | undefined;
6207
- hyperbeeKey?: string | undefined;
6208
- expectedSize?: number | undefined;
6209
- sha256Checksum?: string | undefined;
6210
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6211
- } | undefined;
6212
7567
  delegate?: {
6213
7568
  topic: string;
6214
7569
  providerPublicKey: string;
@@ -6217,18 +7572,10 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6217
7572
  timeout?: number | undefined;
6218
7573
  } | undefined;
6219
7574
  } | {
6220
- modelSrc: string | {
6221
- src: string;
6222
- name?: string | undefined;
6223
- modelId?: string | undefined;
6224
- hyperdriveKey?: string | undefined;
6225
- hyperbeeKey?: string | undefined;
6226
- expectedSize?: number | undefined;
6227
- sha256Checksum?: string | undefined;
6228
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6229
- };
6230
- modelType: "whispercpp-transcription" | "whisper";
6231
- modelConfig?: {
7575
+ type: "loadModel";
7576
+ modelSrc: string;
7577
+ modelType: "whispercpp-transcription";
7578
+ modelConfig: {
6232
7579
  strategy?: "greedy" | "beam_search" | undefined;
6233
7580
  n_threads?: number | undefined;
6234
7581
  n_max_text_ctx?: number | undefined;
@@ -6283,18 +7630,13 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6283
7630
  miscConfig?: {
6284
7631
  caption_enabled?: boolean | undefined;
6285
7632
  } | undefined;
6286
- } | undefined;
7633
+ };
7634
+ modelName?: string | undefined;
7635
+ projectionModelSrc?: string | undefined;
7636
+ vadModelSrc?: string | undefined;
7637
+ detectorModelSrc?: string | undefined;
7638
+ withProgress?: boolean | undefined;
6287
7639
  seed?: boolean | undefined;
6288
- vadModelSrc?: string | {
6289
- src: string;
6290
- name?: string | undefined;
6291
- modelId?: string | undefined;
6292
- hyperdriveKey?: string | undefined;
6293
- hyperbeeKey?: string | undefined;
6294
- expectedSize?: number | undefined;
6295
- sha256Checksum?: string | undefined;
6296
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6297
- } | undefined;
6298
7640
  delegate?: {
6299
7641
  topic: string;
6300
7642
  providerPublicKey: string;
@@ -6303,25 +7645,22 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6303
7645
  timeout?: number | undefined;
6304
7646
  } | undefined;
6305
7647
  } | {
6306
- modelSrc: string | {
6307
- src: string;
6308
- name?: string | undefined;
6309
- modelId?: string | undefined;
6310
- hyperdriveKey?: string | undefined;
6311
- hyperbeeKey?: string | undefined;
6312
- expectedSize?: number | undefined;
6313
- sha256Checksum?: string | undefined;
6314
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6315
- };
6316
- modelType: "llamacpp-embedding" | "embeddings";
6317
- modelConfig?: {
7648
+ type: "loadModel";
7649
+ modelSrc: string;
7650
+ modelType: "llamacpp-embedding";
7651
+ modelConfig: {
6318
7652
  gpuLayers?: number | undefined;
6319
7653
  device?: string | undefined;
6320
7654
  batchSize?: number | undefined;
6321
7655
  ctxSize?: number | undefined;
6322
7656
  flashAttention?: "on" | "off" | undefined;
6323
7657
  rawConfig?: string | undefined;
6324
- } | undefined;
7658
+ };
7659
+ modelName?: string | undefined;
7660
+ projectionModelSrc?: string | undefined;
7661
+ vadModelSrc?: string | undefined;
7662
+ detectorModelSrc?: string | undefined;
7663
+ withProgress?: boolean | undefined;
6325
7664
  seed?: boolean | undefined;
6326
7665
  delegate?: {
6327
7666
  topic: string;
@@ -6331,17 +7670,9 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6331
7670
  timeout?: number | undefined;
6332
7671
  } | undefined;
6333
7672
  } | {
6334
- modelSrc: string | {
6335
- src: string;
6336
- name?: string | undefined;
6337
- modelId?: string | undefined;
6338
- hyperdriveKey?: string | undefined;
6339
- hyperbeeKey?: string | undefined;
6340
- expectedSize?: number | undefined;
6341
- sha256Checksum?: string | undefined;
6342
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6343
- };
6344
- modelType: "nmtcpp-translation" | "nmt";
7673
+ type: "loadModel";
7674
+ modelSrc: string;
7675
+ modelType: "nmtcpp-translation";
6345
7676
  modelConfig: {
6346
7677
  mode: "full";
6347
7678
  beamsize: number;
@@ -6385,26 +7716,11 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6385
7716
  from: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
6386
7717
  to: "asm_Beng" | "ben_Beng" | "brx_Deva" | "doi_Deva" | "eng_Latn" | "gom_Deva" | "guj_Gujr" | "hin_Deva" | "kan_Knda" | "kas_Arab" | "kas_Deva" | "mai_Deva" | "mal_Mlym" | "mar_Deva" | "mni_Beng" | "mni_Mtei" | "npi_Deva" | "ory_Orya" | "pan_Guru" | "san_Deva" | "sat_Olck" | "snd_Arab" | "snd_Deva" | "tam_Taml" | "tel_Telu" | "urd_Arab";
6387
7718
  };
6388
- srcVocabSrc?: string | {
6389
- src: string;
6390
- name?: string | undefined;
6391
- modelId?: string | undefined;
6392
- hyperdriveKey?: string | undefined;
6393
- hyperbeeKey?: string | undefined;
6394
- expectedSize?: number | undefined;
6395
- sha256Checksum?: string | undefined;
6396
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6397
- } | undefined;
6398
- dstVocabSrc?: string | {
6399
- src: string;
6400
- name?: string | undefined;
6401
- modelId?: string | undefined;
6402
- hyperdriveKey?: string | undefined;
6403
- hyperbeeKey?: string | undefined;
6404
- expectedSize?: number | undefined;
6405
- sha256Checksum?: string | undefined;
6406
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6407
- } | undefined;
7719
+ modelName?: string | undefined;
7720
+ projectionModelSrc?: string | undefined;
7721
+ vadModelSrc?: string | undefined;
7722
+ detectorModelSrc?: string | undefined;
7723
+ withProgress?: boolean | undefined;
6408
7724
  seed?: boolean | undefined;
6409
7725
  delegate?: {
6410
7726
  topic: string;
@@ -6413,32 +7729,37 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6413
7729
  forceNewConnection: boolean;
6414
7730
  timeout?: number | undefined;
6415
7731
  } | undefined;
7732
+ srcVocabSrc?: string | undefined;
7733
+ dstVocabSrc?: string | undefined;
6416
7734
  } | {
6417
- modelSrc: string | {
6418
- src: string;
6419
- name?: string | undefined;
6420
- modelId?: string | undefined;
6421
- hyperdriveKey?: string | undefined;
6422
- hyperbeeKey?: string | undefined;
6423
- expectedSize?: number | undefined;
6424
- sha256Checksum?: string | undefined;
6425
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6426
- };
6427
- modelType: "onnx-tts" | "tts";
7735
+ type: "loadModel";
7736
+ modelSrc: string;
7737
+ modelType: "onnx-tts";
6428
7738
  modelConfig: {
7739
+ ttsEngine: "chatterbox";
6429
7740
  language: "en" | "de" | "es" | "it";
7741
+ ttsTokenizerSrc: string;
7742
+ ttsSpeechEncoderSrc: string;
7743
+ ttsEmbedTokensSrc: string;
7744
+ ttsConditionalDecoderSrc: string;
7745
+ ttsLanguageModelSrc: string;
7746
+ referenceAudioSrc: string;
7747
+ } | {
7748
+ ttsEngine: "supertonic";
7749
+ language: "en" | "de" | "es" | "it";
7750
+ ttsTokenizerSrc: string;
7751
+ ttsTextEncoderSrc: string;
7752
+ ttsLatentDenoiserSrc: string;
7753
+ ttsVoiceDecoderSrc: string;
7754
+ ttsVoiceSrc: string;
7755
+ ttsSpeed?: number | undefined;
7756
+ ttsNumInferenceSteps?: number | undefined;
6430
7757
  };
6431
- configSrc: string | {
6432
- src: string;
6433
- name?: string | undefined;
6434
- modelId?: string | undefined;
6435
- hyperdriveKey?: string | undefined;
6436
- hyperbeeKey?: string | undefined;
6437
- expectedSize?: number | undefined;
6438
- sha256Checksum?: string | undefined;
6439
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6440
- };
6441
- eSpeakDataPath: string;
7758
+ modelName?: string | undefined;
7759
+ projectionModelSrc?: string | undefined;
7760
+ vadModelSrc?: string | undefined;
7761
+ detectorModelSrc?: string | undefined;
7762
+ withProgress?: boolean | undefined;
6442
7763
  seed?: boolean | undefined;
6443
7764
  delegate?: {
6444
7765
  topic: string;
@@ -6448,18 +7769,10 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6448
7769
  timeout?: number | undefined;
6449
7770
  } | undefined;
6450
7771
  } | {
6451
- modelSrc: string | {
6452
- src: string;
6453
- name?: string | undefined;
6454
- modelId?: string | undefined;
6455
- hyperdriveKey?: string | undefined;
6456
- hyperbeeKey?: string | undefined;
6457
- expectedSize?: number | undefined;
6458
- sha256Checksum?: string | undefined;
6459
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6460
- };
6461
- modelType: "onnx-ocr" | "ocr";
6462
- modelConfig?: {
7772
+ type: "loadModel";
7773
+ modelSrc: string;
7774
+ modelType: "onnx-ocr";
7775
+ modelConfig: {
6463
7776
  langList?: string[] | undefined;
6464
7777
  useGPU?: boolean | undefined;
6465
7778
  timeout?: number | undefined;
@@ -6468,17 +7781,29 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6468
7781
  contrastRetry?: boolean | undefined;
6469
7782
  lowConfidenceThreshold?: number | undefined;
6470
7783
  recognizerBatchSize?: number | undefined;
7784
+ };
7785
+ modelName?: string | undefined;
7786
+ projectionModelSrc?: string | undefined;
7787
+ vadModelSrc?: string | undefined;
7788
+ detectorModelSrc?: string | undefined;
7789
+ withProgress?: boolean | undefined;
7790
+ seed?: boolean | undefined;
7791
+ delegate?: {
7792
+ topic: string;
7793
+ providerPublicKey: string;
7794
+ fallbackToLocal: boolean;
7795
+ forceNewConnection: boolean;
7796
+ timeout?: number | undefined;
6471
7797
  } | undefined;
6472
- detectorModelSrc?: string | {
6473
- src: string;
6474
- name?: string | undefined;
6475
- modelId?: string | undefined;
6476
- hyperdriveKey?: string | undefined;
6477
- hyperbeeKey?: string | undefined;
6478
- expectedSize?: number | undefined;
6479
- sha256Checksum?: string | undefined;
6480
- addon?: "llamacpp-completion" | "whispercpp-transcription" | "llamacpp-embedding" | "nmtcpp-translation" | "onnx-tts" | "onnx-ocr" | "llm" | "whisper" | "embeddings" | "nmt" | "tts" | "ocr" | "vad" | undefined;
6481
- } | undefined;
7798
+ } | {
7799
+ type: "loadModel";
7800
+ modelSrc: string;
7801
+ modelType: string;
7802
+ modelName?: string | undefined;
7803
+ projectionModelSrc?: string | undefined;
7804
+ vadModelSrc?: string | undefined;
7805
+ detectorModelSrc?: string | undefined;
7806
+ withProgress?: boolean | undefined;
6482
7807
  seed?: boolean | undefined;
6483
7808
  delegate?: {
6484
7809
  topic: string;
@@ -6487,11 +7812,10 @@ export declare const loadModelServerParamsSchema: z.ZodObject<{
6487
7812
  forceNewConnection: boolean;
6488
7813
  timeout?: number | undefined;
6489
7814
  } | undefined;
7815
+ modelConfig?: Record<string, unknown> | undefined;
6490
7816
  }>>;
6491
7817
  projectionModelPath: z.ZodOptional<z.ZodString>;
6492
7818
  vadModelPath: z.ZodOptional<z.ZodString>;
6493
- ttsConfigModelPath: z.ZodOptional<z.ZodString>;
6494
- eSpeakDataPath: z.ZodOptional<z.ZodString>;
6495
7819
  detectorModelPath: z.ZodOptional<z.ZodString>;
6496
7820
  modelName: z.ZodOptional<z.ZodString>;
6497
7821
  }, z.core.$strip>;