feat(mac): add Qwen3 MLX streaming dictation

Replace the Sherpa offline pipeline with native MLX streaming, resilient model downloads, live transcript previews, and supporting tests and documentation.
This commit is contained in:
Rocky
2026-07-23 14:34:56 +08:00
parent f1a811fbf0
commit c0c9dad149
35 changed files with 1373 additions and 764 deletions
+15
View File
@@ -0,0 +1,15 @@
# ThirdParty
## mlx-audio-swift
macOS local ASR links `MLXAudioSTT` from [Blaizzy/mlx-audio-swift](https://github.com/Blaizzy/mlx-audio-swift).
Before `xcodegen generate` or opening the project, run:
```bash
./Scripts/ensure-mlx-audio-swift.sh
```
This clones the package (if missing) and applies OSG's `StreamingConfig.context` patch for vocabulary prompts.
The clone lives at `ThirdParty/mlx-audio-swift/` (gitignored). SPM resolves mlx-audio-swift's own dependencies on first Mac build.