@hxnnxs/opencode-voice 0.1.9 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0 - 2026-08-10
4
+
5
+ ### Added
6
+
7
+ - Added the managed Rust `transcribe-cpp` sidecar and 68 verified GGUF ASR models from Handy's catalog, including GigaAM, Parakeet, Moonshine, Canary, SenseVoice, Qwen, Voxtral, and Granite families.
8
+ - Added managed engine install, status, import, remove, and diagnostics support for both `whisper.cpp` and `transcribe-cpp`.
9
+ - Added `opencode-voice update` to update an installed plugin.
10
+
11
+ ### Changed
12
+
13
+ - Reorganized voice settings around one recording key and grouped transcription and system settings.
14
+ - Hold-to-talk is now shown as unavailable until OpenCode exposes reliable terminal key-release events to TUI plugins.
15
+
16
+ ### Fixed
17
+
18
+ - Fixed Windows recorder startup to try DirectShow's enumerated microphone names when no microphone is configured. DirectShow's `audio=default` alias is retained only as a final fallback because it is not reliably supported.
19
+ - Expanded recorder startup errors with the exact `ffmpeg` command and captured `ffmpeg` stderr to make Windows microphone failures actionable.
20
+ - Added standard Handy-equivalent Whisper variants plus verified Tiny, Base, Small, Medium, and Turbo GGML quantizations to the local Whisper model picker.
21
+
3
22
  All notable changes to this project are documented here.
4
23
 
5
24
  ## 0.1.9 - 2026-06-21
package/PUBLISHING.md CHANGED
@@ -12,7 +12,7 @@ Before publishing:
12
12
  2. Keep the OpenCode plugin id as `opencode-voice` unless you want users to see a different plugin id.
13
13
  3. Confirm published install examples in all `README*.md` files use `@hxnnxs/opencode-voice`.
14
14
  4. Create the GitHub repository `ihxnnxs/opencode-voice` and push `main`.
15
- 5. Run the **Engine Release** GitHub Actions workflow first. It must publish:
15
+ 5. Run the **Engine Release** GitHub Actions workflow first. It builds both `whisper-cli` and the Rust `opencode-voice-transcribe` sidecar for every platform, then publishes:
16
16
 
17
17
  ```txt
18
18
  https://github.com/ihxnnxs/opencode-voice/releases/download/v0.1.0/registry.json
@@ -30,7 +30,7 @@ npm publish --dry-run
30
30
  ## Release checklist
31
31
 
32
32
  - Confirm `bin/opencode-voice.js` is executable in `npm pack --dry-run --json` (`mode: 493`).
33
- - Confirm `opencode-voice engine install whisper.cpp` downloads and probes the managed engine from the release registry.
34
- - Confirm `opencode-voice doctor` reports a working managed engine probe.
33
+ - Confirm `opencode-voice engine install whisper.cpp` and `opencode-voice engine install transcribe-cpp` download and probe managed engines from the release registry.
34
+ - Confirm `opencode-voice doctor` reports both managed runtime probes.
35
35
  - Confirm model downloads write `.sha256` verification markers.
36
36
  - Tag the release after the GitHub Actions release check passes.
package/README.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  ---
28
28
 
29
- ### Installation
29
+ ## Install
30
30
 
31
31
  One command through OpenCode:
32
32
 
@@ -34,7 +34,7 @@ One command through OpenCode:
34
34
  opencode plugin @hxnnxs/opencode-voice
35
35
  ```
36
36
 
37
- Restart OpenCode after installing. First launch downloads the managed `whisper.cpp` engine and then the selected model. The user does not install `whisper-cli` manually.
37
+ Restart OpenCode after installing. On first launch, choose a model. The plugin downloads its required local runtime and model weights automatically. Audio and transcription stay on your machine.
38
38
 
39
39
  Optional CLI installer. It runs the same OpenCode plugin install command and pre-downloads the managed engine:
40
40
 
@@ -42,20 +42,28 @@ Optional CLI installer. It runs the same OpenCode plugin install command and pre
42
42
  npx @hxnnxs/opencode-voice install
43
43
  ```
44
44
 
45
+ Update an installed plugin to the latest published version, then restart OpenCode:
46
+
47
+ ```bash
48
+ npx @hxnnxs/opencode-voice update
49
+ ```
50
+
51
+ Add `--global` if the plugin was installed in OpenCode's global configuration.
52
+
45
53
  Do not clone the repo unless you want to develop the plugin.
46
54
 
47
55
  > [!TIP]
48
- > First launch opens a model picker. Choose a Whisper model, let it download, then use `ctrl+r` to dictate into the prompt.
56
+ > First launch opens a model picker. Choose a local model, let it download, then use `ctrl+r` to dictate into the prompt.
49
57
 
50
- ### Requirements
58
+ ## What It Installs
51
59
 
52
60
  The plugin manages the STT engine and models:
53
61
 
54
- - downloads `whisper.cpp` from the opencode-voice GitHub Release registry
55
- - stores it in `~/.cache/opencode-voice/engines/whisper.cpp/<platform>-<arch>/`
56
- - downloads the selected Whisper model on first setup
62
+ - downloads `whisper.cpp` or the Rust `transcribe-cpp` sidecar from the opencode-voice GitHub Release registry
63
+ - stores each runtime in `~/.cache/opencode-voice/engines/<engine>/<platform>-<arch>/`
64
+ - downloads the selected model on first setup
57
65
 
58
- Manual `whisper-cli` install is optional. If a local binary already exists, `opencode-voice` can still import or use it.
66
+ Manual runtime installation is optional. Existing `whisper-cli` or `opencode-voice-transcribe` binaries can also be imported through the CLI.
59
67
 
60
68
  Check your machine:
61
69
 
@@ -63,13 +71,14 @@ Check your machine:
63
71
  npx @hxnnxs/opencode-voice doctor
64
72
  ```
65
73
 
66
- Install the managed engine without opening OpenCode:
74
+ Install or inspect a managed runtime without opening OpenCode:
67
75
 
68
76
  ```bash
69
- npx @hxnnxs/opencode-voice engine install whisper.cpp
77
+ npx @hxnnxs/opencode-voice engine install transcribe-cpp
78
+ npx @hxnnxs/opencode-voice engine status transcribe-cpp
70
79
  ```
71
80
 
72
- ### Usage
81
+ ## Use It
73
82
 
74
83
  Commands:
75
84
 
@@ -85,28 +94,55 @@ ctrl+r -> start recording
85
94
  ctrl+r -> stop, transcribe, and append
86
95
  ```
87
96
 
88
- Hold-to-talk is disabled by default because terminal release events vary by terminal. You can still configure a hold hotkey in `/voice-settings`.
97
+ In `/voice-settings` -> **Recording**, choose one **Record key**. Toggle recording starts on the first press and transcribes on the second. Hold-to-talk is shown as unavailable until OpenCode exposes terminal key-release events to TUI plugins.
98
+
99
+ Settings also let you select a microphone, language, model, download location, and whether `/voice` submits the prompt after transcription.
89
100
 
90
- ### Models
101
+ ## Models
91
102
 
92
- Available now through `whisper.cpp`:
103
+ The picker includes 19 `whisper.cpp` GGML choices and 68 ASR GGUF models from Handy's `transcribe.cpp` catalog. Pick one model at a time; only that model is downloaded.
104
+
105
+ Useful `whisper.cpp` starting points:
93
106
 
94
107
  | Model | Size | Notes |
95
108
  | -------------------- | ------ | ----------------------------- |
109
+ | Whisper Tiny Q5_1 | 31 MB | fastest, lowest accuracy |
110
+ | Whisper Base Q5_1 | 57 MB | small multilingual option |
111
+ | Whisper Small Q5_1 | 181 MB | compact Small |
96
112
  | Whisper Small | 465 MB | default, multilingual |
97
- | Whisper Medium Q4_1 | 469 MB | better accuracy |
113
+ | Whisper Medium Q4_1 | 469 MB | Handy-compatible quantization |
114
+ | Whisper Medium Q5_0 | 514 MB | higher-quality multilingual |
115
+ | Whisper Turbo Q5_0 | 547 MB | compact large-v3 Turbo |
98
116
  | Whisper Turbo | 1.5 GB | large, faster than full large |
99
117
  | Whisper Large Q5_0 | 1.0 GB | accurate, slower |
100
118
 
101
- Model downloads support resume, retry, progress, and SHA256 verification.
119
+ The managed `transcribe-cpp` sidecar provides these Handy catalog families. Diarization and VAD assets are excluded because they do not produce text through the transcription runtime.
120
+
121
+ | Model | Size | Notes |
122
+ | --- | --- | --- |
123
+ | Parakeet, Nemotron, GigaAM | varies | English, multilingual, and Russian models |
124
+ | Moonshine | varies | English plus language-specific variants |
125
+ | Canary, Cohere, SenseVoice, Fun-ASR | varies | multilingual and specialized recognizers |
126
+ | Whisper, Breeze, Voxtral, Qwen, Granite | varies | general-purpose and language-specialized models |
102
127
 
103
- Planned sidecar models:
128
+ Model downloads support resume, retry, progress, and SHA256 verification. Sidecar catalog URLs are pinned to an upstream Hugging Face revision and their LFS SHA-256 digest, so a model cannot be activated until its expected artifact verifies.
129
+
130
+ > [!NOTE]
131
+ > Large models can require multiple gigabytes of disk space and significant memory. Start with Whisper Small, GigaAM V3 for Russian, or Parakeet for a fast GGUF option.
132
+
133
+ ## Troubleshooting
134
+
135
+ Run diagnostics first:
136
+
137
+ ```bash
138
+ npx @hxnnxs/opencode-voice doctor
139
+ ```
104
140
 
105
- - Parakeet V3
106
- - GigaAM v3
107
- - Moonshine V2 Small
141
+ - `Engine not found in registry: transcribe-cpp`: the installed plugin expects a release registry that does not yet include the sidecar. Update the plugin after its matching Engine Release is published, or locally import a built sidecar with `opencode-voice engine import transcribe-cpp <path>`.
142
+ - `Could not start recorder` on Windows: open `/voice-settings` and select the enumerated microphone rather than relying on the system default. The error includes the exact `ffmpeg` command and stderr for diagnosis.
143
+ - Hold-to-talk is unavailable: current OpenCode releases do not expose terminal key-release events to TUI plugins. Use the default `ctrl+r` toggle mode instead.
108
144
 
109
- ### Platform Status
145
+ ## Platform Status
110
146
 
111
147
  | Platform | Status |
112
148
  | -------- | ------ |
@@ -114,7 +150,7 @@ Planned sidecar models:
114
150
  | macOS | one-command engine/model install; recording uses `ffmpeg` AVFoundation until the native recorder sidecar ships |
115
151
  | Windows | one-command engine/model/recorder install; recording uses DirectShow through a managed cached `ffmpeg.exe`, with system/bundled ffmpeg fallback |
116
152
 
117
- ### Architecture
153
+ ## Architecture
118
154
 
119
155
  The package follows the public OpenCode TUI plugin shape used by community plugins.
120
156
 
@@ -128,32 +164,33 @@ Files:
128
164
  - `index.js` - TUI plugin entrypoint, commands, dialogs, keymap layer
129
165
  - `lib/models.js` - model registry, cache paths, default settings
130
166
  - `lib/download.js` - resumable model download and SHA256 verification
131
- - `lib/engine.js` - recorder selection, managed Windows recorder install, and `whisper-cli` transcription
167
+ - `lib/engine.js` - recorder selection, managed Windows recorder install, and runtime-routed transcription
132
168
  - `lib/engines.js` - managed native engine download, status, import, and removal
169
+ - `lib/handy-model-catalog.js` - pinned Handy GGUF model metadata
133
170
  - `bin/opencode-voice.js` - install wrapper and diagnostics CLI
171
+ - `sidecar/` - Rust `transcribe-cpp` command-line runtime for GGUF models
134
172
 
135
- Voice input needs native audio and STT binaries. The JS plugin manages OpenCode UI, settings, engine/model downloads, and prompt insertion. A future native sidecar should replace shell recorders and add fast VAD plus Handy-style models.
173
+ Voice input needs native audio and STT binaries. The JS plugin manages OpenCode UI, settings, model downloads, and prompt insertion. The managed Rust sidecar provides the `transcribe.cpp` runtime for supported GGUF model families.
136
174
 
137
- ### Roadmap
175
+ ## Roadmap
138
176
 
139
- - publish managed `whisper-cli` release assets before npm release
140
177
  - Rust recorder sidecar with `cpal` and VAD
141
- - Parakeet, GigaAM, SenseVoice, Canary, and Moonshine model support
178
+ - streaming transcription for sidecar models
142
179
  - Windows recorder stability and UX polish
143
- - faster streaming-style transcription
144
180
 
145
- ### Development
181
+ ## Development
146
182
 
147
183
  Run checks:
148
184
 
149
185
  ```bash
150
186
  npm run check
151
187
  npm pack --dry-run
188
+ cargo check --manifest-path sidecar/Cargo.toml
152
189
  ```
153
190
 
154
- This MVP has no build step.
191
+ The JavaScript plugin has no frontend build step. The optional GGUF runtime is a Rust sidecar built by the Engine Release workflow.
155
192
 
156
- Development install from a checkout:
193
+ Use the current checkout in OpenCode:
157
194
 
158
195
  ```bash
159
196
  git clone https://github.com/ihxnnxs/opencode-voice.git opencode-voice
@@ -161,15 +198,18 @@ cd opencode-voice
161
198
  opencode plugin "$(pwd)"
162
199
  ```
163
200
 
164
- ### Project Status
201
+ ## Project Status
165
202
 
166
203
  This is an independent OpenCode plugin. It is not built by the OpenCode team and is not affiliated with OpenCode.
167
204
 
168
- ### Credits
205
+ ## Credits
169
206
 
170
207
  - OpenCode wordmark SVG adapted from the public [OpenCode repository](https://github.com/anomalyco/opencode). The `voice` mark was added for this plugin.
171
- - Local transcription uses [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
172
- - Model download metadata follows the local-first UX researched from [Handy](https://github.com/cjpais/Handy).
208
+ - [Handy](https://github.com/cjpais/Handy) inspired the local-first model experience and supplies the curated `transcribe.cpp` model catalog this plugin pins and verifies.
209
+ - Local Whisper transcription uses [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
210
+ - Handy GGUF transcription runs through the Rust [`transcribe-cpp`](https://crates.io/crates/transcribe-cpp) binding and its upstream `transcribe.cpp` runtime.
211
+ - Recording and conversion rely on [FFmpeg](https://ffmpeg.org/) where the platform recorder requires it; managed distribution uses [`ffmpeg-static`](https://github.com/eugeneware/ffmpeg-static).
212
+ - Model artifacts are hosted by [Hugging Face](https://huggingface.co/). Individual model creators and licenses remain those declared by each upstream model repository; their pinned source URLs are retained in `lib/handy-model-catalog.js`.
173
213
 
174
214
  ---
175
215
 
@@ -15,11 +15,12 @@ function help() {
15
15
 
16
16
  Usage:
17
17
  opencode-voice install [--global] [--no-engine]
18
+ opencode-voice update [--global]
18
19
  opencode-voice doctor [--json]
19
- opencode-voice engine status whisper.cpp [--json]
20
- opencode-voice engine install whisper.cpp
21
- opencode-voice engine import whisper.cpp [path-to-whisper-cli]
22
- opencode-voice engine remove whisper.cpp
20
+ opencode-voice engine status <whisper.cpp|transcribe-cpp> [--json]
21
+ opencode-voice engine install <whisper.cpp|transcribe-cpp>
22
+ opencode-voice engine import <whisper.cpp|transcribe-cpp> [path-to-binary]
23
+ opencode-voice engine remove <whisper.cpp|transcribe-cpp>
23
24
 
24
25
  Development install from this checkout:
25
26
  opencode plugin <path-to-this-checkout>
@@ -98,6 +99,8 @@ async function doctor() {
98
99
  : {};
99
100
  const engine = getEngineStatus("whisper.cpp");
100
101
  const probe = engine.resolvedBinary ? await probeEngine("whisper.cpp", engine.resolvedBinary) : { ok: false, message: "missing binary" };
102
+ const sidecar = getEngineStatus("transcribe-cpp");
103
+ const sidecarProbe = sidecar.resolvedBinary ? await probeEngine("transcribe-cpp", sidecar.resolvedBinary) : { ok: false, message: "missing binary" };
101
104
  const recorder = getRecorderStatus(recorderOptions);
102
105
  const ffmpeg = recorderInstall?.resolvedBinary || resolveCommand("ffmpeg", recorderOptions);
103
106
  const arecord = resolveCommand("arecord", recorderOptions);
@@ -109,6 +112,8 @@ async function doctor() {
109
112
  recordingsDir: getAudioDir(),
110
113
  engine,
111
114
  probe,
115
+ sidecar,
116
+ sidecarProbe,
112
117
  recorder,
113
118
  recorders: {
114
119
  ffmpeg,
@@ -141,6 +146,9 @@ async function doctor() {
141
146
  `Managed engine dir: ${engine.managedDir}`,
142
147
  `whisper-cli: ${engine.resolvedBinary || "missing"}`,
143
148
  `Probe: ${probe.ok ? "ok" : probe.message}`,
149
+ `Sidecar source: ${sidecar.source}`,
150
+ `opencode-voice-transcribe: ${sidecar.resolvedBinary || "missing"}`,
151
+ `Sidecar probe: ${sidecarProbe.ok ? "ok" : sidecarProbe.message}`,
144
152
  `Recorder source: ${recorder.source}`,
145
153
  `Managed recorder dir: ${recorder.managedDir}`,
146
154
  `Managed recorder installed: ${recorder.managedInstalled ? "yes" : "no"}`,
@@ -160,7 +168,7 @@ async function engineCommand() {
160
168
  const [action, engineId = "whisper.cpp", maybePath] = args;
161
169
  const { getEngineStatus, importManagedEngine, installManagedEngine, removeManagedEngine } = await runtime();
162
170
 
163
- if (engineId !== "whisper.cpp") {
171
+ if (!["whisper.cpp", "transcribe-cpp"].includes(engineId)) {
164
172
  console.error(`Unsupported engine: ${engineId}`);
165
173
  process.exit(1);
166
174
  }
@@ -268,7 +276,20 @@ async function installCommand() {
268
276
  }
269
277
  }
270
278
 
279
+ function updateCommand() {
280
+ const pluginArgs = args.filter((arg) => arg === "--global");
281
+ const spawnOptions = { stdio: "inherit" };
282
+ if (process.platform === "win32") spawnOptions.shell = true;
283
+ const result = spawnSync("opencode", ["plugin", packageName(), "--force", ...pluginArgs], spawnOptions);
284
+ if (result.error) {
285
+ console.error(`Failed to run opencode: ${result.error.message}`);
286
+ process.exit(1);
287
+ }
288
+ if ((result.status ?? 1) !== 0) process.exit(result.status ?? 1);
289
+ }
290
+
271
291
  if (command === "install") await installCommand();
292
+ else if (command === "update") updateCommand();
272
293
  else if (command === "doctor") await doctor();
273
294
  else if (command === "engine") await engineCommand();
274
295
  else help();
package/docs/README.es.md CHANGED
@@ -166,8 +166,11 @@ Este es un OpenCode plugin independiente. No está construido por el equipo de O
166
166
  ### Créditos
167
167
 
168
168
  - OpenCode wordmark SVG adaptado del [OpenCode repository](https://github.com/anomalyco/opencode). La marca `voice` se añadió para este plugin.
169
- - La transcripción local usa [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
170
- - La metadata de descarga de modelos sigue el UX local-first investigado en [Handy](https://github.com/cjpais/Handy).
169
+ - [Handy](https://github.com/cjpais/Handy) inspiró la experiencia local-first y aporta el catálogo de modelos `transcribe.cpp` que este plugin fija y verifica.
170
+ - La transcripción local de Whisper usa [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
171
+ - Los modelos GGUF de Handy se ejecutan mediante el binding Rust [`transcribe-cpp`](https://crates.io/crates/transcribe-cpp) y su runtime upstream `transcribe.cpp`.
172
+ - La grabación y conversión usan [FFmpeg](https://ffmpeg.org/) cuando la plataforma lo necesita; la distribución managed usa [`ffmpeg-static`](https://github.com/eugeneware/ffmpeg-static).
173
+ - Los artefactos de modelos están alojados en [Hugging Face](https://huggingface.co/). Los autores y licencias de cada modelo son los declarados en su repositorio upstream; las URL de origen fijadas se conservan en `lib/handy-model-catalog.js`.
171
174
 
172
175
  ---
173
176
 
package/docs/README.ru.md CHANGED
@@ -166,8 +166,11 @@ opencode plugin "$(pwd)"
166
166
  ### Кредиты
167
167
 
168
168
  - OpenCode wordmark SVG адаптирован из публичного [OpenCode repository](https://github.com/anomalyco/opencode). Метка `voice` добавлена для этого плагина.
169
- - Локальная транскрибация использует [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
170
- - Metadata загрузки моделей следует local-first UX, изученному в [Handy](https://github.com/cjpais/Handy).
169
+ - [Handy](https://github.com/cjpais/Handy) вдохновил local-first UX и предоставляет каталог моделей `transcribe.cpp`, который плагин закрепляет по ревизии и проверяет.
170
+ - Локальная транскрибация Whisper использует [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp).
171
+ - GGUF-модели Handy работают через Rust binding [`transcribe-cpp`](https://crates.io/crates/transcribe-cpp) и его upstream runtime `transcribe.cpp`.
172
+ - Для записи и конвертации там, где это требуется платформе, используется [FFmpeg](https://ffmpeg.org/); managed-дистрибуция использует [`ffmpeg-static`](https://github.com/eugeneware/ffmpeg-static).
173
+ - Артефакты моделей размещены на [Hugging Face](https://huggingface.co/). Авторы и лицензии каждой модели определяются её upstream-репозиторием; закреплённые URL источников сохранены в `lib/handy-model-catalog.js`.
171
174
 
172
175
  ---
173
176
 
package/docs/README.zh.md CHANGED
@@ -83,7 +83,7 @@ ctrl+r -> 开始录音
83
83
  ctrl+r -> 停止、转写并插入文本
84
84
  ```
85
85
 
86
- 默认关闭 hold-to-talk,因为 terminal release events 在不同终端中表现不一致。你仍然可以在 `/voice-settings` 中配置 hold 快捷键。
86
+ 使用 `/voice-settings` -> **Recording** 配置一个录音快捷键。当前使用 toggle 模式:第一次按下开始录音,第二次按下停止、转写并插入文本。Hold-to-talk 需要 OpenCode 向 TUI 插件提供按键释放事件,因此目前不可用。
87
87
 
88
88
  ### 模型
89
89
 
@@ -98,11 +98,11 @@ ctrl+r -> 停止、转写并插入文本
98
98
 
99
99
  模型下载支持断点续传、重试、进度显示和 SHA256 校验。
100
100
 
101
- 计划中的 sidecar 模型:
101
+ 通过 `transcribe-cpp` sidecar 可用的 Handy 模型系列:
102
102
 
103
- - Parakeet V3
104
- - GigaAM v3
105
- - Moonshine V2 Small
103
+ - Parakeet、Nemotron、GigaAM
104
+ - Moonshine、Canary、Cohere、SenseVoice、Fun-ASR
105
+ - Whisper、Breeze、Voxtral、Qwen、Granite
106
106
 
107
107
  ### 平台状态
108
108
 
@@ -166,8 +166,11 @@ opencode plugin "$(pwd)"
166
166
  ### 鸣谢
167
167
 
168
168
  - OpenCode wordmark SVG 改编自公开的 [OpenCode repository](https://github.com/anomalyco/opencode)。`voice` 标记为本插件新增。
169
- - 本地转写使用 [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp)。
170
- - 模型下载 metadata 参考了 [Handy](https://github.com/cjpais/Handy) 的 local-first UX。
169
+ - [Handy](https://github.com/cjpais/Handy) 启发了 local-first 模型体验,并提供本插件固定版本并验证的 `transcribe.cpp` 模型目录。
170
+ - 本地 Whisper 转写使用 [`whisper.cpp`](https://github.com/ggml-org/whisper.cpp)。
171
+ - Handy GGUF 模型通过 Rust binding [`transcribe-cpp`](https://crates.io/crates/transcribe-cpp) 及其 upstream `transcribe.cpp` runtime 运行。
172
+ - 平台需要时,录音和转换使用 [FFmpeg](https://ffmpeg.org/);managed 分发使用 [`ffmpeg-static`](https://github.com/eugeneware/ffmpeg-static)。
173
+ - 模型文件由 [Hugging Face](https://huggingface.co/) 托管。每个模型的作者和许可证以其 upstream 仓库声明为准;固定的源 URL 保留在 `lib/handy-model-catalog.js` 中。
171
174
 
172
175
  ---
173
176