car-runtime 0.40.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -673,7 +673,15 @@ export class CarRuntime {
|
|
|
673
673
|
|
|
674
674
|
// --- Speech ---
|
|
675
675
|
|
|
676
|
-
/**
|
|
676
|
+
/**
|
|
677
|
+
* Provision the managed speech runtime and return its root path — the same
|
|
678
|
+
* root `speechHealth()` / `car speech doctor` report. The first call on a
|
|
679
|
+
* fresh machine builds a Python venv and can take minutes; afterwards it is
|
|
680
|
+
* a no-op. The returned path is not a success signal: on Apple Silicon the
|
|
681
|
+
* runtime is a fallback behind the native MLX backends, so a bootstrap that
|
|
682
|
+
* cannot run degrades instead of failing. Read
|
|
683
|
+
* `speechHealth().runtime.installed` for the real state.
|
|
684
|
+
*/
|
|
677
685
|
prepareSpeechRuntime(): Promise<string>;
|
|
678
686
|
|
|
679
687
|
/** Transcribe a local audio file. Returns JSON `{text, model_used, language, ...}`. */
|