dsh-voice-mode 0.7.33 → 0.7.34
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/README.en.md +34 -29
- package/README.md +37 -34
- package/SECURITY.md +6 -6
- package/lib/client.js +1 -1
- package/lib/index.js +3 -3
- package/lib/msedge-tts.cjs +45 -41
- package/package.json +9 -9
package/README.en.md
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
[](./LICENSE)
|
|
4
4
|
[](https://github.com/qishuilalala/dsh-voice-mode/releases)
|
|
5
5
|
[](https://www.npmjs.com/package/dsh-voice-mode)
|
|
6
|
-
[](https://github.com/qishuilalala/dsh-voice-mode/actions/workflows/ci.yml)
|
|
7
7
|
|
|
8
8
|
Full-duplex voice conversation mode for DeepSeek Harness (dsh): speak, get a
|
|
9
9
|
spoken answer. Streamed zipformer2 ASR → editable draft → auto send → the
|
|
10
10
|
final reply is read out sentence-by-sentence via Edge TTS, and your voice
|
|
11
|
-
interrupts playback and the running turn. No API key.
|
|
11
|
+
interrupts playback and the running turn. No additional speech-service API key is needed for the default path; the host LLM has its own configuration and costs.
|
|
12
12
|
|
|
13
13
|
> **English** · [中文](https://github.com/qishuilalala/dsh-voice-mode/blob/HEAD/plugin/dsh-voice-mode/README.md)
|
|
14
14
|
|
|
@@ -16,22 +16,23 @@ interrupts playback and the running turn. No API key.
|
|
|
16
16
|
|
|
17
17
|

|
|
18
18
|
|
|
19
|
-
> **
|
|
19
|
+
> **Current status (2026-10-28):** v0.7.34 fixes Kokoro int8/fp32 model and explicitly hashed support-file downloads using historical upstream revisions that match the existing checksums. Check npm and Releases for availability; v0.7.33 does not contain this fix. Models, voices and cache locations are unchanged. Do not disable checksum verification.
|
|
20
20
|
>
|
|
21
|
-
>
|
|
21
|
+
> CI results do not establish real-device audio quality or compatibility with every host version. See the [changelog](https://github.com/qishuilalala/dsh-voice-mode/blob/main/CHANGELOG.md), [compatibility evidence](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/compat-contract.md), and [roadmap](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/plan/roadmap-2026-10.md). The declared dsh range is `>=0.1.1-rc.2 <0.3.0-0`; untested versions are not guaranteed.
|
|
22
|
+
|
|
22
23
|
|
|
23
24
|
---
|
|
24
25
|
|
|
25
26
|
## 🤝 Fork enhancements (this repo)
|
|
26
27
|
|
|
27
|
-
- **Edge cloud TTS by default; local TTS optional (privacy-first)**: local VITS (Chinese) and local Kokoro (zh+en, 103 voices; `int8` default ~109 MB / `fp32` ~311 MB
|
|
28
|
+
- **Edge cloud TTS by default; local TTS optional (privacy-first)**: local VITS (Chinese) and local Kokoro (zh+en, 103 voices; `int8` default ~109 MB / `fp32` ~311 MB with a larger model; native `sherpa-onnx-node` addon, no WASM memory limits) run in an isolated child process;
|
|
28
29
|
- **103 Kokoro voices** (F0-measured gender labels, 4 favourite male voices pinned), browsed with a ◀▶ stepper;
|
|
29
30
|
- **Delta transport**: partials upload only the new 0.9 s — long push-to-talk segments finalize in seconds;
|
|
30
31
|
- **Interaction**: a mode-switch button next to the mic (continuous ⇄ hold, persisted); hold mode records only while held;
|
|
31
32
|
- **Long segments**: continuous listening stitches consecutive segments into one message (internally chunked at 30 s and concatenated across chunks); 1500 ms silence split by default; hold keeps pauses from splitting;
|
|
32
|
-
- **Hardening**: session-existence check, loopback + Origin guards,
|
|
33
|
+
- **Hardening**: session-existence check, loopback + Origin guards, endpoint-specific rate limits, pinned digests for primary/listed model files (auxiliary directories use manifest/presence checks), download-host allowlist.
|
|
33
34
|
|
|
34
|
-
> ℹ️ The `demo-voice-flow.gif` at the top is a **
|
|
35
|
+
> ℹ️ The `demo-voice-flow.gif` at the top is a **recorded example of the UI** (voice mode → live transcription → pause auto-send → sentence-by-sentence read-aloud with live captions), produced by driving the real pipeline via `screenshots/scripts/capture-demo.mjs`; the UI keeps evolving, so the actual interface prevails.
|
|
35
36
|
|
|
36
37
|
---
|
|
37
38
|
|
|
@@ -51,14 +52,16 @@ interrupts playback and the running turn. No API key.
|
|
|
51
52
|
- **Barge-in**: three sensitivity levels of voice-onset detection → local mute + host synth queue invalidation (epoch) + running turn cancellation (the half-finished part is kept and naturally flows into your new message). With a wake word set, barge-in **remains speak-to-interrupt** (the gate is the VAD, not the wake word; the engine returns to standby afterwards)
|
|
52
53
|
- **Lazy model download with progress**: the zipformer2 Chinese streaming model (~160 MB, `.part` resumable) is downloaded on first use with live progress in the status bar; `npm run prefetch` can pre-download it
|
|
53
54
|
- **Resilience and diagnostics**: mic-denied red hint, visible model-download failure, TTS unreachable status hint (auto retry), failed submit keeps the text in the draft, SSE auto-reconnect; the status bar also hints when the recognition / barge-in detect channel fails several times in a row or the state sync drops (self-healing transient failures stay quiet); when SenseVoice finalization takes over 2 s the status bar counts up "recognizing… Ns"; a "copy diagnostics" button copies version / runtime state / settings snapshot / phase timings in one click — **never any transcript text** (privacy)
|
|
54
|
-
- **Settings**: location depends on your dsh version (see Settings below), with voice / rate / interrupt sensitivity / silence pause / idle timeout / model mirror / auto send / interaction mode / wake word / ITN / caption tiers / yield semantics / yield window / barge-in salvage / LLM correction; **voices are previewable** (the "试听/Preview" button synthesizes and plays the current voice at the current rate
|
|
55
|
+
- **Settings**: location depends on your dsh version (see Settings below), with voice / rate / interrupt sensitivity / silence pause / idle timeout / model mirror / auto send / interaction mode / wake word / ITN / caption tiers / yield semantics / yield window / barge-in salvage / LLM correction; **voices are previewable** (the "试听/Preview" button synthesizes and plays the current voice at the current rate (first use may download or load a model), no need to enter voice mode; custom ShortNames are previewable too)
|
|
55
56
|
- **Interface language**: follows dsh's language setting (Settings → General → Language) and **switches instantly, no reload** — the settings page, voice status bar, captions, voice names/gender/accent and error messages all follow it, and the LLM spoken-style prompt is chosen in English or Chinese accordingly. Dictionaries are registered in dsh's official locale service under the `voice-mode` namespace, so community language packs can add more languages (missing ones fall back to English). The plugin's name and description in the Plugins page are localized too.
|
|
56
|
-
- **Idle exit**: auto-exit and mic release after 5 minutes of inactivity (reading
|
|
57
|
+
- **Idle exit**: auto-exit and mic release after 5 minutes of inactivity (reading, speech and a running turn renew the timer, subject to a two-hour cap since the last user activity)
|
|
57
58
|
|
|
58
59
|
---
|
|
59
60
|
|
|
60
61
|
## ⌨️ Interaction gestures
|
|
61
62
|
|
|
63
|
+
Speaking to trigger a hard interruption stops playback and requests cancellation of the current running turn. The separate “stop reading” action only stops read-aloud; these are different actions.
|
|
64
|
+
|
|
62
65
|
| Gesture | Behaviour |
|
|
63
66
|
| --- | --- |
|
|
64
67
|
| Click the mic button / `Ctrl+Shift+V` | Enter / exit voice mode (clicking the button does not steal composer focus; while waiting for a reply or reading, one click stops reading and exits completely) |
|
|
@@ -73,9 +76,9 @@ interrupts playback and the running turn. No API key.
|
|
|
73
76
|
|
|
74
77
|
---
|
|
75
78
|
|
|
76
|
-
## 🚀 Quick Start (
|
|
79
|
+
## 🚀 Quick Start (model download time varies)
|
|
77
80
|
|
|
78
|
-
**Requirements**: dsh web (Node ≥
|
|
81
|
+
**Requirements**: dsh web (the plugin declares Node ≥18; the host may require a newer version), a modern browser (Chrome / Edge / Firefox, supporting `getUserMedia` and Web Audio).
|
|
79
82
|
|
|
80
83
|
```sh
|
|
81
84
|
# Option 1: from npm (recommended)
|
|
@@ -94,7 +97,7 @@ dsh plugin --profile web add .
|
|
|
94
97
|
|
|
95
98
|
**Bundle plugins require a dsh restart to take effect** (restart methods by platform):
|
|
96
99
|
|
|
97
|
-
- **Linux
|
|
100
|
+
- **Linux with a configured systemd service**: restart the actual service (for example, `systemctl restart dsh` only if that is its name). The install command above targets the web profile; use your actual profile for other deployments.
|
|
98
101
|
- **Windows / macOS / manual hosting**: restart your dsh process (kill and run `dsh web` again, or restart it in your service manager)
|
|
99
102
|
|
|
100
103
|
**Optional**: pre-download the ASR model to reduce the download wait on the first voice-mode entry:
|
|
@@ -136,9 +139,9 @@ If a wake word is configured, you land in standby first (the status bar prompts
|
|
|
136
139
|
| `rate` | `1.1` | Reading speed multiplier (0.5 slow ~ 2.0 fast), **applies live** (batch J 1.0→1.1) |
|
|
137
140
|
| `interruptLevel` | `0` | Barge-in sensitivity (host-side VAD frame detection + echo gate): 0 high threshold (3 frames) / 1 medium (2 frames) / 2 low (1 frame) |
|
|
138
141
|
| `bargeInMode` | `detect` | Barge-in mode: `detect` auto-probes native echo cancellation (default; falls back to hold-to-talk when it is not in effect) / `auto` force interrupt as soon as you speak (headphones / quiet rooms) / `manual` hold-to-talk (recommended on loudspeakers). Batch 7O default, I10-exempt (ADR-0006) |
|
|
139
|
-
| `echoGateDb` | `6` |
|
|
142
|
+
| `echoGateDb` | `6` | Fallback echo-gate threshold when native AEC is unavailable. Inactive with native AEC. Only on the fallback path, a higher value is more conservative; verify the device and barge-in mode before tuning |
|
|
140
143
|
| `silenceMs` | `1500` | Silence pause in ms that marks the end of a complete sentence |
|
|
141
|
-
| `idleTimeoutMinutes` | `5` | Minutes of inactivity before auto-exiting voice mode (reading
|
|
144
|
+
| `idleTimeoutMinutes` | `5` | Minutes of inactivity before auto-exiting voice mode (reading, speech and a running turn renew the timer, subject to a two-hour cap since the last user activity) |
|
|
142
145
|
| `modelHost` | default | Model download host (use `https://hf-mirror.com` on mainland networks) |
|
|
143
146
|
| `autoSend` | `true` | Auto-send once quiet (consecutive segments join into one message); when off, text only goes to the draft (hold `Ctrl` / release in hold mode still sends) |
|
|
144
147
|
| `mode` | `toggle` | Interaction mode: `toggle` continuous listening + 1500 ms silence split; `hold` push-to-talk, release to send (short tap exits); `once` one utterance, then exit after the reply is read aloud |
|
|
@@ -280,14 +283,14 @@ flowchart LR
|
|
|
280
283
|
- Speech and reading only happen for the session pointed to by the global single-active pointer `activeVoiceSession`; other sessions pass through `llm/stream` with zero overhead (mode isolation)
|
|
281
284
|
- The `llm/stream` tap is lossless: every chunk passes through unchanged; segmentation/synthesis only observe and never block the model stream
|
|
282
285
|
- ASR runs host-side (sherpa-onnx WASM, zipformer2 Chinese streaming + SenseVoice finalization which adds punctuation); the browser only captures audio (`getUserMedia` 16k mono) and does endpoint detection
|
|
283
|
-
- Local TTS (VITS / native Kokoro) runs in an isolated child process (fork, auto-restart); barge-in kills the in-flight synthesis
|
|
286
|
+
- Local TTS (VITS / native Kokoro) runs in an isolated child process (fork, auto-restart); barge-in kills the in-flight synthesis to release its worker resources
|
|
284
287
|
- The TTS queue is per-session with an epoch version: old frames are all invalidated after a barge-in, so it is truly silent
|
|
285
288
|
|
|
286
289
|
---
|
|
287
290
|
|
|
288
|
-
## 🔍
|
|
291
|
+
## 🔍 Historical comparison with the early upstream implementation
|
|
289
292
|
|
|
290
|
-
| Dimension |
|
|
293
|
+
| Dimension | Early upstream (historical) | dsh-voice-mode (this plugin) |
|
|
291
294
|
| --- | --- | --- |
|
|
292
295
|
| Recognition model | Cloud API (needs key) | **Local zipformer2 + SenseVoice** (zero key) |
|
|
293
296
|
| Multi-language | English-first | **SenseVoice auto-recognition + ITN** |
|
|
@@ -295,7 +298,7 @@ flowchart LR
|
|
|
295
298
|
| Barge-in detection | Basic VAD | **3 sensitivity levels + echo gate + yield semantics** |
|
|
296
299
|
| Caption a11y | None | **4 font tiers + 3 width tiers + theme-following** |
|
|
297
300
|
| Wake word | None | **Lightweight streaming match + prefix filler whitelist** |
|
|
298
|
-
| dsh compatibility | — |
|
|
301
|
+
| dsh compatibility | — | Declared range `>=0.1.1-rc.2 <0.3.0-0`; consult the tested-version matrix |
|
|
299
302
|
|
|
300
303
|
---
|
|
301
304
|
|
|
@@ -305,10 +308,10 @@ An honest disclosure of what the plugin does (mapped to the awesome-dsh-plugin c
|
|
|
305
308
|
|
|
306
309
|
| Category | What it does | Where data goes |
|
|
307
310
|
| --- | --- | --- |
|
|
308
|
-
| **network** | (1) The default read-aloud engine **Edge** sends the **reply text to be spoken** over WebSocket to Microsoft `speech.platform.bing.com` (cloud synthesis —
|
|
311
|
+
| **network** | (1) The default read-aloud engine **Edge** sends the **reply text to be spoken** over WebSocket to Microsoft `speech.platform.bing.com` (cloud synthesis — local VITS / Kokoro avoids this TTS request after its models are ready; host LLM traffic is separate); (2) downloads local models on first use from `huggingface.co` (or your configured mirror `hf-mirror.com`) with host restrictions and pinned digests for primary/listed files; auxiliary directories use manifest/presence checks; (3) registers loopback HTTP routes `/voice-mode/*` on the dsh host (loopback only by default; LAN needs `allowLan`) | Browser audio is sent to the configured dsh host for recognition; the plugin does not use an independent cloud ASR. Edge sends text to Microsoft. Submitted transcripts and optional LLM correction follow the host LLM configuration |
|
|
309
312
|
| **fs-read / fs-write** | Model cache (Linux/macOS `~/.cache/dsh-voice-mode/models/`, Windows `%LOCALAPPDATA%\dsh-voice-mode\models\`); the dsh 0.1.7+ settings overlay `$DSH_HOME/voice-mode.settings.json`; **never touches your workspace files** | All local |
|
|
310
313
|
| **shell (child processes)** | Local TTS synthesis runs in a separate child process (`child_process.fork` → `lib/tts-vits-worker.cjs`); when the host is Electron (the official desktop app), it additionally probes and launches a real Node.js for Kokoro (`node -p …` to check the version). **It never executes user input and never builds shell command strings** | Local |
|
|
311
|
-
| **env** |
|
|
314
|
+
| **env** | Uses directory/runtime environment settings such as `DSH_HOME`, `LOCALAPPDATA`, `PATH` and optional `DSHVM_NODE`; this default speech path does not require an extra speech-service API key | — |
|
|
312
315
|
|
|
313
316
|
Also: the on-device recording fixture used for debugging is **off by default**; the plugin sends no telemetry. See [`SECURITY.md`](https://github.com/qishuilalala/dsh-voice-mode/blob/main/SECURITY.md) for the threat model and how to report vulnerabilities.
|
|
314
317
|
|
|
@@ -316,11 +319,11 @@ Also: the on-device recording fixture used for debugging is **off by default**;
|
|
|
316
319
|
|
|
317
320
|
- **Local models are not shipped in the package**: the ASR (streaming zipformer, SenseVoice re-transcription), VAD and local TTS (VITS / Kokoro) models are **downloaded on first use from Hugging Face (or your configured mirror)** into a local cache; they come from export repositories in the [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) ecosystem (`csukuangfj/*`). Each model is licensed by its **original authors** — this plugin's MIT license does **not** cover them; verify the upstream licenses before commercial use (the model list is under "Model & cache"; the constants are in `src/asr-host.ts` / `src/tts-local.ts`).
|
|
318
321
|
- **The Edge cloud read-aloud is a third-party online service**: the default engine uses the Microsoft Edge browser "Read Aloud" endpoint via [`msedge-tts`](https://github.com/Migushthe2nd/MsEdgeTTS). It is not an officially supported Microsoft API — **availability, rate limits and terms are Microsoft's** and may change at any time. For stability/compliance-sensitive use, switch to local VITS / Kokoro (offline).
|
|
319
|
-
- Licenses of the third-party code inlined into the published package (`msedge-tts` and its dependencies) are in [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md); `pnpm audit`
|
|
322
|
+
- Licenses of the third-party code inlined into the published package (`msedge-tts` and its dependencies) are in [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md); `pnpm audit` checks known high+ advisories and does not establish the absence of undisclosed or untracked vulnerabilities (CI `audit` job keeps watching).
|
|
320
323
|
|
|
321
324
|
### Compatibility declaration (what the plugin market's version filter reads)
|
|
322
325
|
|
|
323
|
-
`package.json` declares `engines.dsh = ">=0.1.1-rc.2 <0.3.0-0"
|
|
326
|
+
`package.json` declares `engines.dsh = ">=0.1.1-rc.2 <0.3.0-0"`. This is an eligibility range, not evidence that every version in it has passed tests. The compatibility record lists tested releases through 0.2.2-alpha.2 and the forms actually exercised. The weekly workflow compares upstream tags and opens an issue for uncovered versions; it does not automatically rerun the full matrix. `peerDependencies` lists `@deepseek-ai/cordis` and `react` supplied by the host.
|
|
324
327
|
|
|
325
328
|
## 🚧 Known limitations
|
|
326
329
|
|
|
@@ -351,7 +354,7 @@ Also: the on-device recording fixture used for debugging is **off by default**;
|
|
|
351
354
|
| No sound and no captions on the default (Edge cloud) engine | Edge read-aloud depends on a Microsoft online service. If several sentences fail in a row you will see "cloud read-aloud unavailable" — switch the engine to local VITS / Kokoro in settings. v0.7.23 and earlier are silent since 2026-10-15 (server-side handshake rejection) — upgrade to ≥0.7.24 |
|
|
352
355
|
| Caption appears (overlay) but no sound | Check system volume/output; if autoplay is blocked, click anywhere on the page and retry |
|
|
353
356
|
| Status bar shows `朗读连接失败:正在重试…` | Edge TTS unreachable (overseas service), auto-retries; if it persists, check network/proxy |
|
|
354
|
-
| Poor recognition |
|
|
357
|
+
| Poor recognition | Reduce background noise and compare partial/final text. `interruptLevel` controls barge-in, not recognition accuracy |
|
|
355
358
|
| Hold mode has no effect | Make sure hold mode is active and you're in voice mode (button shows `按住说话`); the browser window must be in the foreground |
|
|
356
359
|
| Preview button reports synthesis failure | Edge TTS unreachable (overseas) or the ShortName doesn't exist: verify the name (`node scripts/list-voices.mjs` lists all) and retry later |
|
|
357
360
|
| Caption is hidden behind the input box | Default `captionMaxWidth=1` (70vw) + `captionFontSize=0` (12px) can overlap the bottom input on narrow viewports; raise the tier or click the caption's `×` to dismiss |
|
|
@@ -364,18 +367,20 @@ Also: the on-device recording fixture used for debugging is **off by default**;
|
|
|
364
367
|
|
|
365
368
|
## 🛣️ Roadmap
|
|
366
369
|
|
|
367
|
-
|
|
370
|
+
The [current roadmap](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/plan/roadmap-2026-10.md) defines priorities, candidate admission, acceptance gates and rollback conditions.
|
|
368
371
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
-
|
|
372
|
+
1. Close confirmed defects and validate one real ASR → editable draft → send → TTS workflow.
|
|
373
|
+
2. Address the highest-loss experience problems: dropped speech, unintended sends, edit conflicts and recovery.
|
|
374
|
+
3. Make model updates and fallback controlled; evaluate new models or protocols only against a measured bottleneck. A new backend is optional, not a delivery promise.
|
|
375
|
+
|
|
376
|
+
Client-side VAD, WebSocket migration, voice cloning and broad tool integration are not approved near-term work. The [historical backlog](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/competitive/backlog.md) preserves earlier research; its old Ready labels and estimates are not current commitments.
|
|
374
377
|
|
|
375
378
|
---
|
|
376
379
|
|
|
377
380
|
## 🛠️ Development
|
|
378
381
|
|
|
382
|
+
Use Node.js 22.18+ on the 22.x line and pnpm 11 for source development/tests; macOS builds require macOS 12+. The plugin runtime declaration is not the test-toolchain requirement.
|
|
383
|
+
|
|
379
384
|
### Dependency discipline (important)
|
|
380
385
|
|
|
381
386
|
- **Runtime dependencies** (`dependencies`): `@deepseek-ai/schemastery`, `sherpa-onnx`, `sherpa-onnx-node` — external at runtime, resolved from the registry.
|
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
[](LICENSE)
|
|
4
4
|
[](https://github.com/qishuilalala/dsh-voice-mode/releases)
|
|
5
5
|
[](https://www.npmjs.com/package/dsh-voice-mode)
|
|
6
|
-
[](https://github.com/qishuilalala/dsh-voice-mode/actions/workflows/ci.yml)
|
|
7
7
|
|
|
8
|
-
DeepSeek Harness 语音双工对话模式:会话内一键进入 → 边说边出字的流式识别 → 停顿自动发送 →
|
|
8
|
+
DeepSeek Harness 语音双工对话模式:会话内一键进入 → 边说边出字的流式识别 → 停顿自动发送 → 最终答复按句合成后播放 + 实时字幕,开口即可打断(真 barge-in)。默认语音路径无需额外语音 API Key,识别在宿主端推理;宿主 LLM 的配置与费用另计。
|
|
9
9
|
|
|
10
10
|
**中文** · [English](https://github.com/qishuilalala/dsh-voice-mode/blob/HEAD/plugin/dsh-voice-mode/README.en.md)
|
|
11
11
|
|
|
@@ -29,9 +29,10 @@ dsh ≥0.1.7 上按钮挂在发送键左侧(`conversation.input.activity`)
|
|
|
29
29
|
- 状态条与字幕默认开启;两项都关掉即上图的「全部收进按钮」形态,此时录音计时显示在按钮下方、提示文字显示在按钮旁
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
>
|
|
32
|
+
> **当前状态(2026-10-28)**:v0.7.34 修复 Kokoro int8/fp32 主模型及固定摘要支持文件下载校验失败;可安装版本以 npm 徽章与 Releases 为准。v0.7.33 不含这项修复。修复使用与既有摘要匹配的上游历史版本,不改模型、音色或缓存目录,请勿关闭摘要校验。
|
|
33
33
|
>
|
|
34
|
-
>
|
|
34
|
+
> CI 通过不代表真实听感、所有硬件或所有宿主版本均已验证。详见 [CHANGELOG](https://github.com/qishuilalala/dsh-voice-mode/blob/main/CHANGELOG.md)、[兼容证据](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/compat-contract.md)和[后续路线图](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/plan/roadmap-2026-10.md)。包声明范围为 `>=0.1.1-rc.2 <0.3.0-0`,未测版本不保证。
|
|
35
|
+
|
|
35
36
|
|
|
36
37
|
---
|
|
37
38
|
|
|
@@ -39,18 +40,18 @@ dsh ≥0.1.7 上按钮挂在发送键左侧(`conversation.input.activity`)
|
|
|
39
40
|
|
|
40
41
|
本仓库在上游 [haoku123/dsh-voice](https://github.com/haoku123/dsh-voice) 基础上加入了大量增强,核心如下(完整清单见 git 历史与 [docs/rules/STATE.md](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/rules/STATE.md)):
|
|
41
42
|
|
|
42
|
-
- **朗读默认 Edge 云端;本地 TTS
|
|
43
|
-
- 本地 VITS
|
|
44
|
-
- 本地 Kokoro(**中英混读**,103 音色;`int8` 默认约 109MB / 可选 `fp32` 约 311MB
|
|
45
|
-
- Edge
|
|
43
|
+
- **朗读默认 Edge 云端;本地 TTS 可选(隐私优先)**:本地合成不向独立在线 TTS 服务发送回复文本,宿主 LLM 的网络请求不受此选项控制——
|
|
44
|
+
- 本地 VITS(WASM 运行时,`sherpa-onnx-vits-zh-ll`,纯中文,5 说话人);
|
|
45
|
+
- 本地 Kokoro(**中英混读**,103 音色;`int8` 默认约 109MB / 可选 `fp32` 约 311MB 的较大模型),经 `sherpa-onnx-node` **原生 addon** 运行(原生运行时,实际资源占用与稳定性需按设备验证);
|
|
46
|
+
- Edge 云端为默认朗读引擎,也可在设置中重新选择(设置 `ttsEngine: edge`);设置面板「朗读引擎」热切换。
|
|
46
47
|
- **Kokoro 音色全量 103 个**(F0 实测标定性别),四个常用男声置顶带编号;音色面板用 **下拉列表 + ◀▶ 步进**切换;
|
|
47
48
|
- **增量传输**:partial 只传新增 0.9 秒,长段按住说话松手**秒出定稿**(不再整段重传重解码);
|
|
48
49
|
- **交互增强**:输入框旁**模式切换按钮**(持续聆听 ⇄ 按住说话,保存到设置);按住说模式下**按住才录、不按住不打断**;
|
|
49
50
|
- **长段支持**:持续聆听连续多段自动拼成一条消息(内部按 30s 分块识别,跨块累积拼接),静音断句默认 1500 毫秒;按住说停顿不断句;
|
|
50
|
-
- **朗读稳定性**:打断即终止在途合成释放 CPU
|
|
51
|
-
- **安全加固**:会话存在性校验 / 回环+Origin 校验 /
|
|
51
|
+
- **朗读稳定性**:打断即终止在途合成释放 CPU;合成不阻塞宿主主线程,句间等待取决于模型与硬件;长朗读不触发空闲下线;
|
|
52
|
+
- **安全加固**:会话存在性校验 / 回环+Origin 校验 / 按端点配置限流 / 主要模型与清单内支持文件固定 SHA256(辅助目录仍为清单/存在性检查) / 下载域名白名单 / 重定向守卫。
|
|
52
53
|
|
|
53
|
-
> ℹ️ 顶部 `demo-voice-flow.gif`
|
|
54
|
+
> ℹ️ 顶部 `demo-voice-flow.gif` 是**界面的真实录制示例**(语音模式 → 边说边出字 → 停顿自动发送 → 按句朗读 + 实时字幕),由 `screenshots/scripts/capture-demo.mjs` 驱动真实链路产出;UI 持续演进,以实际界面为准。
|
|
54
55
|
|
|
55
56
|
---
|
|
56
57
|
|
|
@@ -65,7 +66,7 @@ dsh ≥0.1.7 上按钮挂在发送键左侧(`conversation.input.activity`)
|
|
|
65
66
|
- **唤醒词(可选,默认关)**:设置 `wakeWord` 后进入待机态,说出唤醒词才开始识别(如「你好小D」)。**可直接与命令连说**(「你好小D,帮我查天气」)——唤醒词会在定稿/字幕里自动剥掉、不进消息;匹配带容错(同音字替换「小莫→小墨」、首字错、前置语气词「呃/喂/我说」),建议 3-4 字;待机态状态条实时显示「说『x』开始 · 它听到的转写」,唤醒成败可自查。边界(重要):**仅 `toggle` 模式生效**(`hold` / 手动打断下唤醒词静默失效);**说完整一句后回到待机态需重说唤醒词**(只喊唤醒词、还没说命令时保持聆听,可停顿想好再说);**朗读期说唤醒词不触发**(打断由 VAD 开口即触发,与唤醒词无关)
|
|
66
67
|
- **字幕档位**:`captionFontSize` 4 档(0=12px / 1=14px / 2=18px / 3=24px)+ `captionMaxWidth` 3 档(0=50vw / 1=70vw / 2=90vw),窄屏自适应
|
|
67
68
|
- **让位语义**(ADR-0008):`backchannelYield` 默认开—— 朗读期用户插话「嗯/对」自动让位 1.5s,真要说走硬打断;让 LLM 主动让出话轮(人格层让位);关掉恢复改造前行为
|
|
68
|
-
- **输出链路**:只朗读最终答复的 `text-delta`(reasoning
|
|
69
|
+
- **输出链路**:只朗读最终答复的 `text-delta`(reasoning/工具调用不读),按句合成后播放(默认 Edge 云端;可切本地 VITS/Kokoro,中英混读选 Kokoro)+ 右下角实时字幕浮层;工具调用触发提示音;全文照常写入聊天记录;口语化提示词(设置 `spokenFormat`,默认开)让回复为自然短句、不带 Markdown 排版符号
|
|
69
70
|
- **开口打断(barge-in)**:服务端 Silero VAD 帧级检测 + 回声门控(echoGateDb)三档灵敏度 → 本地静音 + host 合成队列作废 + 正在运行的回合取消(保留半截并自然续入新消息);朗读中自动切超灵敏档。开启唤醒词后打断**仍是开口即打断**(打断门控是 VAD,不是唤醒词;打断后回待机态)
|
|
70
71
|
- **模型懒加载与进度**:首次使用自动下载识别/合成模型(`.part` 断点续传),状态条实时显示进度;可用 `npm run prefetch` 预下载
|
|
71
72
|
- **设置**:入口随 dsh 版本而不同(见下方「设置」),可调朗读引擎/音色/语速/打断灵敏度/静音停顿/空闲超时/模型镜像/自动发送/交互模式/唤醒词/口语化提示词/字幕档位/让位语义/让位窗口/打断语音抢救/LLM 纠错;**音色可试听**(按当前音色+语速即时合成预览,自定义 ShortName 亦可)
|
|
@@ -75,19 +76,19 @@ dsh ≥0.1.7 上按钮挂在发送键左侧(`conversation.input.activity`)
|
|
|
75
76
|
|
|
76
77
|
---
|
|
77
78
|
|
|
78
|
-
## 🚀
|
|
79
|
+
## 🚀 快速开始(Quick Start)
|
|
79
80
|
|
|
80
81
|
```sh
|
|
81
82
|
dsh plugin --profile web add dsh-voice-mode
|
|
82
83
|
```
|
|
83
84
|
|
|
84
|
-
|
|
85
|
+
命令针对 web profile;其他 profile 使用实际配置名称。安装后按部署方式重启宿主;只有配置了对应 systemd 服务的环境才使用服务重启命令。
|
|
85
86
|
|
|
86
87
|
**第一次用**:
|
|
87
88
|
|
|
88
89
|
1. 进入任一会话,按 `Ctrl+Shift+V`(或点输入区麦克风按钮)进入语音模式,状态条显示「聆听中…」;
|
|
89
90
|
2. 说一句完整的话(如「帮我看看今天的天气」)→ 实时字幕立即出现,停顿后自动发送;
|
|
90
|
-
3. AI
|
|
91
|
+
3. AI 回复开始朗读时,尝试发声打断,检查朗读是否停止及后续转写;设备上不可靠时使用按住说话。
|
|
91
92
|
|
|
92
93
|
---
|
|
93
94
|
|
|
@@ -124,7 +125,7 @@ bundle 插件安装后需重启 dsh 生效(Linux:`systemctl restart dsh`;
|
|
|
124
125
|
| `rate` | `1.1` | 朗读语速倍率(0.5 慢速 ~ 2.0 快速),**即时生效** |
|
|
125
126
|
| `interruptLevel` | `0` | 发声打断灵敏度(服务端 VAD 帧级检测 + 回声门控):0 高门槛(3 帧)/ 1 中(2 帧)/ 2 低(1 帧) |
|
|
126
127
|
| `bargeInMode` | `detect` | 打断方式:`detect` 自动探测本机原生回声消除状态(默认;未生效时切为长按打断)/ `auto` 强制开口即打断(耳机、安静环境推荐)/ `manual` 长按打断(外放推荐)。批 7O 默认,I10 豁免(ADR-0006) |
|
|
127
|
-
| `echoGateDb` | `6` |
|
|
128
|
+
| `echoGateDb` | `6` | 无原生 AEC 时的回声门兜底阈值;原生 AEC 有效时不参与。仅在兜底路径中,增大更保守、减小更易触发;先确认设备与打断模式 |
|
|
128
129
|
| `silenceMs` | `1500` | 说完整一句的静音停顿毫秒数 |
|
|
129
130
|
| `idleTimeoutMinutes` | `5` | 无活动自动退出语音模式的分钟数(朗读计为活动) |
|
|
130
131
|
| `modelHost` | 默认源 | 模型下载源(国内网络填 `https://hf-mirror.com`) |
|
|
@@ -274,9 +275,9 @@ flowchart LR
|
|
|
274
275
|
|
|
275
276
|
---
|
|
276
277
|
|
|
277
|
-
## 🔍
|
|
278
|
+
## 🔍 与早期上游实现的历史对照
|
|
278
279
|
|
|
279
|
-
| 维度 |
|
|
280
|
+
| 维度 | 早期上游(历史) | dsh-voice-mode(本插件) |
|
|
280
281
|
| --- | --- | --- |
|
|
281
282
|
| 识别模型 | 云端 API(需 key) | **本地 zipformer2 + SenseVoice**(零 key) |
|
|
282
283
|
| 多语种 | 英文为主 | **SenseVoice 自动识别(zh/en/ja/ko/yue)+ ITN** |
|
|
@@ -284,7 +285,7 @@ flowchart LR
|
|
|
284
285
|
| 打断检测 | 基础 VAD | **三档灵敏度 + 回声门控 + 让位语义** |
|
|
285
286
|
| 字幕 a11y | 无 | **4 档字号 + 3 档宽度 + 主题跟随** |
|
|
286
287
|
| 唤醒词 | 无 | **轻量流式匹配 + 前缀语气词白名单** |
|
|
287
|
-
| 兼容 dsh | — |
|
|
288
|
+
| 兼容 dsh | — | 声明范围 `>=0.1.1-rc.2 <0.3.0-0`;以已测版本矩阵为准 |
|
|
288
289
|
|
|
289
290
|
---
|
|
290
291
|
|
|
@@ -294,10 +295,10 @@ flowchart LR
|
|
|
294
295
|
|
|
295
296
|
| 类别 | 具体行为 | 数据去向 |
|
|
296
297
|
| --- | --- | --- |
|
|
297
|
-
| **network** |
|
|
298
|
+
| **network** | Edge 将待朗读文本发往微软在线服务;本地模型从官方源或配置镜像下载,主要模型及清单内支持文件做摘要校验,辅助目录用清单/存在性检查;插件在宿主注册 `/voice-mode/*` 路由 | 浏览器音频发送到所连接的 dsh 宿主识别,不使用独立云 ASR;提交文本及可选 LLM 纠错遵循宿主配置。切换本地 TTS 不会让宿主 LLM 自动离线 |
|
|
298
299
|
| **fs-read / fs-write** | 模型缓存(Linux/macOS `~/.cache/dsh-voice-mode/models/`,Windows `%LOCALAPPDATA%\dsh-voice-mode\models\`);dsh 0.1.7+ 的设置覆盖层 `$DSH_HOME/voice-mode.settings.json`;**不读写你的工作区文件** | 全部在本机 |
|
|
299
300
|
| **shell(子进程)** | 本地 TTS 合成跑在独立子进程(`child_process.fork` → `lib/tts-vits-worker.cjs`);宿主为 Electron(官方桌面端)时,为 Kokoro 额外探测并启动一个真正的 Node.js(`node -p …` 探测版本,见 ADR/兼容契约)。**不执行用户输入、不经 shell 拼接命令** | 本机 |
|
|
300
|
-
| **env** |
|
|
301
|
+
| **env** | 使用目录和运行时定位相关环境设置,如 `DSH_HOME`、`LOCALAPPDATA`、`PATH` 和可选 `DSHVM_NODE`;默认语音路径无需额外语音服务密钥 | 宿主 LLM 的配置和费用另计 |
|
|
301
302
|
|
|
302
303
|
补充:调试用的真机录制(fixture)默认**关闭**;插件不上传遥测。完整威胁模型与漏洞报告方式见仓库根目录 [`SECURITY.md`](https://github.com/qishuilalala/dsh-voice-mode/blob/main/SECURITY.md)。
|
|
303
304
|
|
|
@@ -305,11 +306,11 @@ flowchart LR
|
|
|
305
306
|
|
|
306
307
|
- **本地模型不随包分发**:ASR(zipformer 流式、SenseVoice 重译)、VAD、本地 TTS(VITS / Kokoro)的模型由插件**首次使用时从 Hugging Face(或你配置的镜像)下载**到本机缓存,来源为 [sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx) 生态的导出仓库(`csukuangfj/*`)。各模型的许可由其**原作者**决定,本插件的 MIT 许可**不覆盖**这些模型;用于商业场景前请自行核对上游许可(模型清单见下文「模型与缓存」,对应常量在 `src/asr-host.ts` / `src/tts-local.ts`)。
|
|
307
308
|
- **Edge 云端朗读是第三方在线服务**:默认引擎经 [`msedge-tts`](https://github.com/Migushthe2nd/MsEdgeTTS) 使用微软 Edge 浏览器「大声朗读」的在线接口——这不是微软官方提供的稳定 API,**可用性、速率与条款均由微软决定**,可能随时变化。对稳定性/合规有要求的场景请改用本地 VITS / Kokoro(离线)。
|
|
308
|
-
- 被内联进发布包的第三方代码(`msedge-tts` 及其依赖)的许可见 [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md)
|
|
309
|
+
- 被内联进发布包的第三方代码(`msedge-tts` 及其依赖)的许可见 [`THIRD_PARTY_NOTICES.md`](./THIRD_PARTY_NOTICES.md);`pnpm audit` 检查依赖数据库中的 high+ 公告,不能保证不存在未公开或未覆盖漏洞(CI `audit` job 持续监测)。
|
|
309
310
|
|
|
310
311
|
### 兼容声明(插件市场的版本筛选依据)
|
|
311
312
|
|
|
312
|
-
`package.json` 声明 `engines.dsh = ">=0.1.1-rc.2 <0.3.0-0"
|
|
313
|
+
`package.json` 声明 `engines.dsh = ">=0.1.1-rc.2 <0.3.0-0"`。这是版本准入范围,不代表区间内每个版本都已实测。兼容记录列出了截至 0.2.2-alpha.2 的已测版本及实际测试形态。每周工作流只比对上游标签并为未覆盖版本开 issue,不会自动跑完整矩阵。`peerDependencies` 声明宿主提供的 `@deepseek-ai/cordis` 与 `react`。
|
|
313
314
|
|
|
314
315
|
## 🚧 已知限制
|
|
315
316
|
|
|
@@ -322,7 +323,7 @@ flowchart LR
|
|
|
322
323
|
- hold 模式按住时切换窗口/标签页会**放弃本段**(防持续收音)
|
|
323
324
|
- hero(新会话空态)无语音入口:请先进入会话使用麦克风按钮
|
|
324
325
|
- `spokenFormat` 提示词经官方 `system-prompt/assemble` 瀑布注入;若当前会话使用**完整提示词**配置(persona `complete: true` 的 agent preset),提示词不注入(官方 complete 契约优先)
|
|
325
|
-
- 本地 Kokoro
|
|
326
|
+
- 本地 Kokoro 打断后下一句前可能需要重建引擎,耗时取决于设备与模型(打断即终止在途合成的代价)
|
|
326
327
|
- **苹果 Safari / iOS**:
|
|
327
328
|
- 需 **HTTPS 或 localhost**(iOS/macOS Safari 强制安全上下文;`http://` 局域网 IP 下麦克风不可用)
|
|
328
329
|
- 首次进入需授权麦克风;被拒后到「设置 → Safari → 麦克风」开启(iOS)
|
|
@@ -337,15 +338,15 @@ flowchart LR
|
|
|
337
338
|
| --- | --- |
|
|
338
339
|
| 点麦克风无反应,状态条红字 | 浏览器拒绝麦克风:地址栏(iOS 为 设置 → Safari → 麦克风)开启后重试 |
|
|
339
340
|
| 状态条「正在加载模型… x%」卡住 | 检查网络;模型较大可先 `npm run prefetch`;国内网络 `modelHost` 配 `https://hf-mirror.com` |
|
|
340
|
-
| 朗读无声音/无字幕 |
|
|
341
|
+
| 朗读无声音/无字幕 | Edge 需要外网;核对状态条、页面音量与自动播放权限。模型就绪后可手动切本地引擎;首次下载失败先看顶部 Kokoro 升级说明,不绕过摘要校验。历史 Edge 握手修复见 CHANGELOG |
|
|
341
342
|
| AI 回复**偶尔不朗读**(某句没声/整条没声) | 已定位三类原因并修(v0.7.10):① 云端 TTS 偶发超时——单句自动重试 3 次,仍失败会**跳过该句并在状态条提示**「有一句朗读失败,已跳过」(此前是静默丢句);② 浏览器挂起 AudioContext(切到后台标签页/长时间静音后回来)——播放被调度但无声、UI 却显示朗读中;现在每次入队与**任意点击/按键**都会自动恢复;③ SSE 断线丢帧导致整句不完整——按设计丢弃该句(避免播坏音频),可开 `localStorage['dsh-voice-mode.telemetry']='1'` 看 `tts-drop-sentence` 诊断 |
|
|
342
343
|
| 语音模式进不去 | 检查插件 `enabled`;多标签页时确认当前会话为活动会话 |
|
|
343
|
-
| 识别到但不是我要说的 |
|
|
344
|
+
| 识别到但不是我要说的 | 环境噪声或唤醒词误判:减少噪声并对比实时转写和定稿;`interruptLevel` 只影响打断,不提高识别准确率 |
|
|
344
345
|
| 唤醒词唤不醒 | 先看待机态状态条的实时转写(它听到了什么):同音字 1 字内已自动容错;停顿约 1.5 秒(= 静音断句时长)再说,清掉待机段残留语音、从段首重新匹配;换一个转写稳定的词(建议 3-4 字) |
|
|
345
346
|
| 打断后说话没反应(开了唤醒词) | 唤醒词只管「开始识别」的门:打断/每句断句后回到待机态,**需重说唤醒词**再继续说;待机态状态条会显示「说『x』开始」提示 |
|
|
346
347
|
| 唤醒词完全没反应 | ① 确认交互模式是 `toggle`(`hold` 与手动打断下唤醒词不生效);② 确认 `bargeInMode`:`manual`(或 `detect` 在本机无原生回声消除时自动落 manual)会关闭常驻聆听 → 唤醒词失效,改回 `auto` 或按住麦克风/Ctrl;③ 朗读期说唤醒词不触发(先等 AI 说完);④ 看待机态实时转写,确认它听到了什么(同音字 1 字内已容错,建议 3-4 字词) |
|
|
347
348
|
| 按住说话松手后没反应 | 确认交互模式为「按住说」且按住期间按钮高亮;松手后识别定稿约 1 秒内进入草稿 |
|
|
348
|
-
| 打不断(朗读中开口无反应) |
|
|
349
|
+
| 打不断(朗读中开口无反应) | 将 `interruptLevel` 向 2 调整(2 最敏感,0 高门槛),确认麦克风与回声消除;仍不可靠时用按住说话。原生 AEC 有效时 `echoGateDb` 不参与门控,无原生 AEC 时才是兜底参数 |
|
|
349
350
|
| 官方桌面端上选本地 Kokoro,设置里显示「加载失败」并提示需要 Node.js | 桌面端宿主是 Electron,Kokoro 的原生 addon 在其中不可用:在系统 PATH 上安装 Node.js ≥18(或设环境变量 `DSHVM_NODE` 指向它)后重试;或改用默认的 Edge / 本地 VITS(桌面端不受影响) |
|
|
350
351
|
| 字幕被输入框挡住 | 默认 `captionMaxWidth=1`(70vw)+ `captionFontSize=0`(12px)在窄屏可能与底部输入框重叠;调高档位或点字幕浮层「×」收起 |
|
|
351
352
|
| 让位行为异常(朗读期说「嗯」不停 / 真话被打断) | 「嗯/对」类短词触发让位 1.5s 后继续朗读;继续说真话会走硬打断;不要时关 `backchannelYield` 即可恢复改造前行为(ADR-0008) |
|
|
@@ -357,21 +358,23 @@ flowchart LR
|
|
|
357
358
|
|
|
358
359
|
## 🛣️ 路线图(Roadmap)
|
|
359
360
|
|
|
360
|
-
|
|
361
|
+
[当前路线图](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/plan/roadmap-2026-10.md)统一记录优先级、候选准入、验收门槛与回滚条件。
|
|
362
|
+
|
|
363
|
+
1. 先闭环已确认缺陷,验证真实 ASR → 可编辑草稿 → 发送 → TTS。
|
|
364
|
+
2. 优先解决丢句、误发、编辑冲突和恢复成本等高损失体验问题。
|
|
365
|
+
3. 推进可控的模型更新与回退;新模型或协议只有实测瓶颈证据才进入实验,不承诺必增后端。
|
|
361
366
|
|
|
362
|
-
|
|
363
|
-
- 🚧 **P0(近期)**:ADR-0003 VAD 下沉 / ADR-0006 第一级探测接通 manual / F1 emotion DSL 全量上线
|
|
364
|
-
- 📋 **P1(中期)**:MCP `voice_*` 工具集 / 卡片表单 draft validate / 状态条 idle 优化
|
|
365
|
-
- 💡 **P2(远期)**:声音克隆(用户已决定推迟)/ ADR-0004 WebSocket transport
|
|
366
|
-
- ⏸️ **已推迟**:xAI fallback / C1 人格层(用户已决定推迟)
|
|
367
|
+
客户端 VAD、WebSocket 重写、声音克隆与广泛工具控制不作为已批准的近期工作。[历史 backlog](https://github.com/qishuilalala/dsh-voice-mode/blob/main/docs/competitive/backlog.md)保留先前研究,旧 Ready 和估时不构成当前承诺。
|
|
367
368
|
|
|
368
369
|
---
|
|
369
370
|
|
|
370
371
|
## 🛠️ 开发
|
|
371
372
|
|
|
373
|
+
源码开发/测试使用 Node.js 22.18 或以上的 22.x 与 pnpm 11;macOS 构建要求 macOS 12 或以上;插件运行时声明不等于测试工具链要求。
|
|
374
|
+
|
|
372
375
|
```sh
|
|
373
376
|
pnpm install && pnpm build # esbuild:lib/index.js(host)+ lib/client.js(browser)
|
|
374
|
-
pnpm test #
|
|
377
|
+
pnpm test # 执行包脚本中的单测、台架与结构守卫;范围以实际配置和输出为准
|
|
375
378
|
systemctl restart dsh # 本机加载新 host 代码;其他平台重启 dsh 进程
|
|
376
379
|
```
|
|
377
380
|
|
package/SECURITY.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 安全策略 / Security Policy
|
|
2
2
|
|
|
3
|
-
本文件适用于 **npm 包 `dsh-voice-mode`**(源码在仓库的 `plugin/dsh-voice-mode/` 目录)。仓库级说明见 [
|
|
3
|
+
本文件适用于 **npm 包 `dsh-voice-mode`**(源码在仓库的 `plugin/dsh-voice-mode/` 目录)。仓库级说明见 [仓库安全策略](https://github.com/qishuilalala/dsh-voice-mode/security/policy)。
|
|
4
4
|
|
|
5
5
|
## 支持的版本 / Supported versions
|
|
6
6
|
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
## 权限与数据流
|
|
10
10
|
|
|
11
11
|
- **麦克风**:仅在用户主动进入语音模式后申请录音权限;退出即释放。
|
|
12
|
-
- **网络**:默认使用 Edge 云端朗读(微软在线服务);可切换为本地 VITS / Kokoro
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
12
|
+
- **网络**:默认使用 Edge 云端朗读(微软在线服务);可切换为本地 VITS / Kokoro,完成模型下载后可在本机合成;宿主的 LLM 请求仍遵循其自身网络配置。
|
|
13
|
+
- **本地推理**:浏览器音频发送到所连接的 dsh 宿主,由 zipformer2 流式识别与 SenseVoice 定稿;不使用独立云 ASR。宿主部署在远端时,音频会离开浏览器所在设备。
|
|
14
|
+
- **模型下载**:主要识别模型合计约 390MB;选择本地朗读时还需额外下载相应模型。实际资源与下载状态见设置,完整缓存后可在宿主端推理。
|
|
15
|
+
- **数据去向**:插件不向独立遥测服务上传录音或转写;转写发送后进入宿主对话,默认 Edge 朗读会向微软发送待朗读文本;「复制诊断信息」只含版本、运行状态、设置快照与各阶段耗时。
|
|
16
16
|
|
|
17
17
|
## 报告漏洞
|
|
18
18
|
|
|
@@ -25,4 +25,4 @@
|
|
|
25
25
|
|
|
26
26
|
- 发布包内联的第三方代码(`msedge-tts` 及其传递依赖)版本在 `THIRD_PARTY_NOTICES.md` 中逐项列出,与 `pnpm-lock.yaml` 解析版本一致(由 `scripts/check-notices-versions.mjs` 机械校验)。
|
|
27
27
|
- 仓库启用 Dependabot 维护依赖,并按 SHA 钉住的扫描器工作流做持续安全检查(`.github/workflows/hol-scanner.yml`)。
|
|
28
|
-
-
|
|
28
|
+
- 0.7.33 已消除历史扫描命中;扫描通过不等于不存在漏洞。历史成因与处置见仓库安全策略。
|
package/lib/client.js
CHANGED
|
@@ -3984,7 +3984,7 @@ function telemetryDeltas(tel) {
|
|
|
3984
3984
|
}
|
|
3985
3985
|
return out;
|
|
3986
3986
|
}
|
|
3987
|
-
var BUILD_TAG = "
|
|
3987
|
+
var BUILD_TAG = "8933da4";
|
|
3988
3988
|
var TELEMETRY_FLAG = "dsh-voice-mode.telemetry";
|
|
3989
3989
|
var telemetryEnabled = typeof localStorage !== "undefined" && localStorage.getItem(TELEMETRY_FLAG) === "1";
|
|
3990
3990
|
console.log("[dsh-voice] build=" + BUILD_TAG);
|
package/lib/index.js
CHANGED
|
@@ -251,7 +251,7 @@ async function downloadVerified(opts) {
|
|
|
251
251
|
opts.signal?.removeEventListener("abort", onAbort);
|
|
252
252
|
}
|
|
253
253
|
async function downloadBody() {
|
|
254
|
-
const url = `${host}/${repo}/resolve
|
|
254
|
+
const url = `${host}/${repo}/resolve/${spec.revision ?? "main"}/${spec.file}`;
|
|
255
255
|
const partSt = await stat(partPath).catch(() => null);
|
|
256
256
|
const resumeFrom = partSt?.isFile() ? partSt.size : 0;
|
|
257
257
|
const headers = { "user-agent": "dsh-voice-mode" };
|
|
@@ -2078,9 +2078,9 @@ var kokoroWorkerPaths = (dir, modelFile) => ({
|
|
|
2078
2078
|
lang: ""
|
|
2079
2079
|
});
|
|
2080
2080
|
function kokoroSpec(model) {
|
|
2081
|
-
const main = model === "fp32" ? { file: "model.onnx", sha256: "acc4adc175b9d9986106cd20060329673ad5a2e12ef3c557d2d3745b694f8b38" } : { file: "model.int8.onnx", sha256: "bda15858163726a492d02a9a727bc263551b86ac77f90812c4b30ff41d380e26" };
|
|
2081
|
+
const main = model === "fp32" ? { file: "model.onnx", revision: "914313412b607d95400bcd12446233fbd1248801", sha256: "acc4adc175b9d9986106cd20060329673ad5a2e12ef3c557d2d3745b694f8b38" } : { file: "model.int8.onnx", revision: "155831f1b4ba23b1f5c058be6a61df90cefb2a37", sha256: "bda15858163726a492d02a9a727bc263551b86ac77f90812c4b30ff41d380e26" };
|
|
2082
2082
|
return {
|
|
2083
|
-
files: [main, ...KOKORO_SHARED_FILES],
|
|
2083
|
+
files: [main, ...KOKORO_SHARED_FILES.map((f) => ({ ...f, revision: main.revision }))],
|
|
2084
2084
|
workerPaths: (dir) => kokoroWorkerPaths(dir, main.file),
|
|
2085
2085
|
defaultVoice: "zf_xiaobei",
|
|
2086
2086
|
toSid: kokoroVoiceToSid
|
package/lib/msedge-tts.cjs
CHANGED
|
@@ -5,7 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
-
|
|
8
|
+
try {
|
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
+
} catch (e) {
|
|
11
|
+
throw mod = 0, e;
|
|
12
|
+
}
|
|
9
13
|
};
|
|
10
14
|
var __export = (target, all) => {
|
|
11
15
|
for (var name in all)
|
|
@@ -9308,7 +9312,7 @@ var require_shams = __commonJS({
|
|
|
9308
9312
|
return true;
|
|
9309
9313
|
}
|
|
9310
9314
|
var obj = {};
|
|
9311
|
-
var sym = Symbol("test");
|
|
9315
|
+
var sym = /* @__PURE__ */ Symbol("test");
|
|
9312
9316
|
var symObj = Object(sym);
|
|
9313
9317
|
if (typeof sym === "string") {
|
|
9314
9318
|
return false;
|
|
@@ -9367,7 +9371,7 @@ var require_has_symbols = __commonJS({
|
|
|
9367
9371
|
if (typeof origSymbol("foo") !== "symbol") {
|
|
9368
9372
|
return false;
|
|
9369
9373
|
}
|
|
9370
|
-
if (typeof Symbol("bar") !== "symbol") {
|
|
9374
|
+
if (typeof /* @__PURE__ */ Symbol("bar") !== "symbol") {
|
|
9371
9375
|
return false;
|
|
9372
9376
|
}
|
|
9373
9377
|
return hasSymbolSham();
|
|
@@ -9624,7 +9628,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
9624
9628
|
var throwTypeError = function() {
|
|
9625
9629
|
throw new $TypeError();
|
|
9626
9630
|
};
|
|
9627
|
-
var ThrowTypeError = $gOPD ? function() {
|
|
9631
|
+
var ThrowTypeError = $gOPD ? (function() {
|
|
9628
9632
|
try {
|
|
9629
9633
|
arguments.callee;
|
|
9630
9634
|
return throwTypeError;
|
|
@@ -9635,7 +9639,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
9635
9639
|
return throwTypeError;
|
|
9636
9640
|
}
|
|
9637
9641
|
}
|
|
9638
|
-
}() : throwTypeError;
|
|
9642
|
+
})() : throwTypeError;
|
|
9639
9643
|
var hasSymbols = require_has_symbols()();
|
|
9640
9644
|
var getProto = require_get_proto();
|
|
9641
9645
|
var $ObjectGPO = require_Object_getPrototypeOf();
|
|
@@ -12584,7 +12588,7 @@ var require_axios = __commonJS({
|
|
|
12584
12588
|
});
|
|
12585
12589
|
return byteStringHeaders;
|
|
12586
12590
|
}
|
|
12587
|
-
var $internals$1 = Symbol("internals");
|
|
12591
|
+
var $internals$1 = /* @__PURE__ */ Symbol("internals");
|
|
12588
12592
|
function normalizeHeader(header) {
|
|
12589
12593
|
return header && String(header).trim().toLowerCase();
|
|
12590
12594
|
}
|
|
@@ -13269,7 +13273,7 @@ var require_axios = __commonJS({
|
|
|
13269
13273
|
}
|
|
13270
13274
|
return url2;
|
|
13271
13275
|
}
|
|
13272
|
-
var $internals = Symbol("internals");
|
|
13276
|
+
var $internals = /* @__PURE__ */ Symbol("internals");
|
|
13273
13277
|
function countHandlers(handlers) {
|
|
13274
13278
|
return handlers ? handlers.length : 0;
|
|
13275
13279
|
}
|
|
@@ -13865,7 +13869,7 @@ var require_axios = __commonJS({
|
|
|
13865
13869
|
}
|
|
13866
13870
|
});
|
|
13867
13871
|
}
|
|
13868
|
-
var kInternals = Symbol("internals");
|
|
13872
|
+
var kInternals = /* @__PURE__ */ Symbol("internals");
|
|
13869
13873
|
var AxiosTransformStream = class extends stream.Transform {
|
|
13870
13874
|
constructor(options) {
|
|
13871
13875
|
options = utils$1.toFlatObject(options, {
|
|
@@ -14063,13 +14067,13 @@ var require_axios = __commonJS({
|
|
|
14063
14067
|
computedHeaders["Content-Length"] = contentLength;
|
|
14064
14068
|
}
|
|
14065
14069
|
headersHandler && headersHandler(computedHeaders);
|
|
14066
|
-
return stream.Readable.from(async function* () {
|
|
14070
|
+
return stream.Readable.from((async function* () {
|
|
14067
14071
|
for (const part of parts) {
|
|
14068
14072
|
yield boundaryBytes;
|
|
14069
14073
|
yield* part.encode();
|
|
14070
14074
|
}
|
|
14071
14075
|
yield footerBytes;
|
|
14072
|
-
}());
|
|
14076
|
+
})());
|
|
14073
14077
|
};
|
|
14074
14078
|
var ZlibHeaderTransformStream = class extends stream.Transform {
|
|
14075
14079
|
__transform(chunk, encoding, callback) {
|
|
@@ -14730,15 +14734,15 @@ var require_axios = __commonJS({
|
|
|
14730
14734
|
https: httpsFollow
|
|
14731
14735
|
} = followRedirects;
|
|
14732
14736
|
var isHttps = /https:?/;
|
|
14733
|
-
var kAxiosSocketListener = Symbol("axios.http.socketListener");
|
|
14734
|
-
var kAxiosCurrentReq = Symbol("axios.http.currentReq");
|
|
14737
|
+
var kAxiosSocketListener = /* @__PURE__ */ Symbol("axios.http.socketListener");
|
|
14738
|
+
var kAxiosCurrentReq = /* @__PURE__ */ Symbol("axios.http.currentReq");
|
|
14735
14739
|
function handleSocketError(err) {
|
|
14736
14740
|
const current = this[kAxiosCurrentReq];
|
|
14737
14741
|
if (current && !current.destroyed) {
|
|
14738
14742
|
current.destroy(err);
|
|
14739
14743
|
}
|
|
14740
14744
|
}
|
|
14741
|
-
var kAxiosInstalledTunnel = Symbol("axios.http.installedTunnel");
|
|
14745
|
+
var kAxiosInstalledTunnel = /* @__PURE__ */ Symbol("axios.http.installedTunnel");
|
|
14742
14746
|
var tunnelingAgentCache = /* @__PURE__ */ new Map();
|
|
14743
14747
|
var tunnelingAgentCacheUser = /* @__PURE__ */ new WeakMap();
|
|
14744
14748
|
var NODE_NATIVE_ENV_PROXY_SUPPORT = {
|
|
@@ -17117,10 +17121,10 @@ var require_constants = __commonJS({
|
|
|
17117
17121
|
EMPTY_BUFFER: Buffer.alloc(0),
|
|
17118
17122
|
GUID: "258EAFA5-E914-47DA-95CA-C5AB0DC85B11",
|
|
17119
17123
|
hasBlob,
|
|
17120
|
-
kForOnEventAttribute: Symbol("kIsForOnEventAttribute"),
|
|
17121
|
-
kListener: Symbol("kListener"),
|
|
17122
|
-
kStatusCode: Symbol("status-code"),
|
|
17123
|
-
kWebSocket: Symbol("websocket"),
|
|
17124
|
+
kForOnEventAttribute: /* @__PURE__ */ Symbol("kIsForOnEventAttribute"),
|
|
17125
|
+
kListener: /* @__PURE__ */ Symbol("kListener"),
|
|
17126
|
+
kStatusCode: /* @__PURE__ */ Symbol("status-code"),
|
|
17127
|
+
kWebSocket: /* @__PURE__ */ Symbol("websocket"),
|
|
17124
17128
|
NOOP: () => {
|
|
17125
17129
|
}
|
|
17126
17130
|
};
|
|
@@ -17215,8 +17219,8 @@ var require_buffer_util = __commonJS({
|
|
|
17215
17219
|
var require_limiter = __commonJS({
|
|
17216
17220
|
"node_modules/.pnpm/ws@8.21.3/node_modules/ws/lib/limiter.js"(exports2, module2) {
|
|
17217
17221
|
"use strict";
|
|
17218
|
-
var kDone = Symbol("kDone");
|
|
17219
|
-
var kRun = Symbol("kRun");
|
|
17222
|
+
var kDone = /* @__PURE__ */ Symbol("kDone");
|
|
17223
|
+
var kRun = /* @__PURE__ */ Symbol("kRun");
|
|
17220
17224
|
var Limiter = class {
|
|
17221
17225
|
/**
|
|
17222
17226
|
* Creates a new `Limiter`.
|
|
@@ -17271,11 +17275,11 @@ var require_permessage_deflate = __commonJS({
|
|
|
17271
17275
|
var { kStatusCode } = require_constants();
|
|
17272
17276
|
var FastBuffer = Buffer[Symbol.species];
|
|
17273
17277
|
var TRAILER = Buffer.from([0, 0, 255, 255]);
|
|
17274
|
-
var kPerMessageDeflate = Symbol("permessage-deflate");
|
|
17275
|
-
var kTotalLength = Symbol("total-length");
|
|
17276
|
-
var kCallback = Symbol("callback");
|
|
17277
|
-
var kBuffers = Symbol("buffers");
|
|
17278
|
-
var kError = Symbol("error");
|
|
17278
|
+
var kPerMessageDeflate = /* @__PURE__ */ Symbol("permessage-deflate");
|
|
17279
|
+
var kTotalLength = /* @__PURE__ */ Symbol("total-length");
|
|
17280
|
+
var kCallback = /* @__PURE__ */ Symbol("callback");
|
|
17281
|
+
var kBuffers = /* @__PURE__ */ Symbol("buffers");
|
|
17282
|
+
var kError = /* @__PURE__ */ Symbol("error");
|
|
17279
17283
|
var zlibLimiter;
|
|
17280
17284
|
var PerMessageDeflate = class {
|
|
17281
17285
|
/**
|
|
@@ -18490,7 +18494,7 @@ var require_sender = __commonJS({
|
|
|
18490
18494
|
var { EMPTY_BUFFER, kWebSocket, NOOP } = require_constants();
|
|
18491
18495
|
var { isBlob, isValidStatusCode } = require_validation();
|
|
18492
18496
|
var { mask: applyMask, toBuffer } = require_buffer_util();
|
|
18493
|
-
var kByteLength = Symbol("kByteLength");
|
|
18497
|
+
var kByteLength = /* @__PURE__ */ Symbol("kByteLength");
|
|
18494
18498
|
var maskBuffer = Buffer.alloc(4);
|
|
18495
18499
|
var RANDOM_POOL_SIZE = 8 * 1024;
|
|
18496
18500
|
var randomPool;
|
|
@@ -18975,14 +18979,14 @@ var require_event_target = __commonJS({
|
|
|
18975
18979
|
"node_modules/.pnpm/ws@8.21.3/node_modules/ws/lib/event-target.js"(exports2, module2) {
|
|
18976
18980
|
"use strict";
|
|
18977
18981
|
var { kForOnEventAttribute, kListener } = require_constants();
|
|
18978
|
-
var kCode = Symbol("kCode");
|
|
18979
|
-
var kData = Symbol("kData");
|
|
18980
|
-
var kError = Symbol("kError");
|
|
18981
|
-
var kMessage = Symbol("kMessage");
|
|
18982
|
-
var kReason = Symbol("kReason");
|
|
18983
|
-
var kTarget = Symbol("kTarget");
|
|
18984
|
-
var kType = Symbol("kType");
|
|
18985
|
-
var kWasClean = Symbol("kWasClean");
|
|
18982
|
+
var kCode = /* @__PURE__ */ Symbol("kCode");
|
|
18983
|
+
var kData = /* @__PURE__ */ Symbol("kData");
|
|
18984
|
+
var kError = /* @__PURE__ */ Symbol("kError");
|
|
18985
|
+
var kMessage = /* @__PURE__ */ Symbol("kMessage");
|
|
18986
|
+
var kReason = /* @__PURE__ */ Symbol("kReason");
|
|
18987
|
+
var kTarget = /* @__PURE__ */ Symbol("kTarget");
|
|
18988
|
+
var kType = /* @__PURE__ */ Symbol("kType");
|
|
18989
|
+
var kWasClean = /* @__PURE__ */ Symbol("kWasClean");
|
|
18986
18990
|
var Event = class {
|
|
18987
18991
|
/**
|
|
18988
18992
|
* Create a new `Event`.
|
|
@@ -19384,7 +19388,7 @@ var require_websocket = __commonJS({
|
|
|
19384
19388
|
} = require_event_target();
|
|
19385
19389
|
var { format, parse } = require_extension();
|
|
19386
19390
|
var { toBuffer } = require_buffer_util();
|
|
19387
|
-
var kAborted = Symbol("kAborted");
|
|
19391
|
+
var kAborted = /* @__PURE__ */ Symbol("kAborted");
|
|
19388
19392
|
var protocolVersions = [8, 13];
|
|
19389
19393
|
var readyStates = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"];
|
|
19390
19394
|
var subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
@@ -22581,7 +22585,7 @@ var require_buffer = __commonJS({
|
|
|
22581
22585
|
function numberIsNaN(obj) {
|
|
22582
22586
|
return obj !== obj;
|
|
22583
22587
|
}
|
|
22584
|
-
var hexSliceLookupTable = function() {
|
|
22588
|
+
var hexSliceLookupTable = (function() {
|
|
22585
22589
|
const alphabet = "0123456789abcdef";
|
|
22586
22590
|
const table = new Array(256);
|
|
22587
22591
|
for (let i = 0; i < 16; ++i) {
|
|
@@ -22591,7 +22595,7 @@ var require_buffer = __commonJS({
|
|
|
22591
22595
|
}
|
|
22592
22596
|
}
|
|
22593
22597
|
return table;
|
|
22594
|
-
}();
|
|
22598
|
+
})();
|
|
22595
22599
|
function defineBigIntMethod(fn) {
|
|
22596
22600
|
return typeof BigInt === "undefined" ? BufferBigIntNotDefined : fn;
|
|
22597
22601
|
}
|
|
@@ -22760,7 +22764,7 @@ var require_SecMsGec = __commonJS({
|
|
|
22760
22764
|
var require_MsEdgeTTS = __commonJS({
|
|
22761
22765
|
"node_modules/.pnpm/msedge-tts@2.1.1_debug@4.4.3/node_modules/msedge-tts/dist/MsEdgeTTS.js"(exports2) {
|
|
22762
22766
|
"use strict";
|
|
22763
|
-
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
22767
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
22764
22768
|
if (k2 === void 0) k2 = k;
|
|
22765
22769
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
22766
22770
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -22769,13 +22773,13 @@ var require_MsEdgeTTS = __commonJS({
|
|
|
22769
22773
|
} };
|
|
22770
22774
|
}
|
|
22771
22775
|
Object.defineProperty(o, k2, desc);
|
|
22772
|
-
} : function(o, m, k, k2) {
|
|
22776
|
+
}) : (function(o, m, k, k2) {
|
|
22773
22777
|
if (k2 === void 0) k2 = k;
|
|
22774
22778
|
o[k2] = m[k];
|
|
22775
|
-
});
|
|
22776
|
-
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
22779
|
+
}));
|
|
22780
|
+
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
|
|
22777
22781
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
22778
|
-
} : function(o, v) {
|
|
22782
|
+
}) : function(o, v) {
|
|
22779
22783
|
o["default"] = v;
|
|
22780
22784
|
});
|
|
22781
22785
|
var __importStar = exports2 && exports2.__importStar || function(mod) {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-voice-mode",
|
|
3
|
-
"description": "
|
|
3
|
+
"description": "Voice plugin for DeepSeek Harness: local streaming speech recognition into editable drafts, sentence-by-sentence read-aloud with captions, and voice interruption. Edge online or local VITS/Kokoro TTS; host compatibility is bounded by engines.dsh.",
|
|
4
4
|
"icon": "./icon.svg",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.34",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"repository": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
88
|
+
"@deepseek-ai/schemastery": "^3.18.5",
|
|
89
89
|
"sherpa-onnx": "^1.13.6",
|
|
90
90
|
"sherpa-onnx-node": "1.13.6"
|
|
91
91
|
},
|
|
@@ -95,15 +95,15 @@
|
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
98
|
-
"@deepseek-ai/dsh-host-webserver": "0.1.5-rc.
|
|
99
|
-
"@deepseek-ai/dsh-llm": "0.1.5-rc.
|
|
98
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.5-rc.3",
|
|
99
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.3",
|
|
100
100
|
"@deepseek-ai/dsh-settings": "0.1.5-rc.1",
|
|
101
101
|
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1",
|
|
102
|
-
"@types/node": "^26.
|
|
103
|
-
"@types/react": "^19.
|
|
104
|
-
"esbuild": "^0.
|
|
102
|
+
"@types/node": "^26.6.5",
|
|
103
|
+
"@types/react": "^19.3.0",
|
|
104
|
+
"esbuild": "^0.28.2",
|
|
105
105
|
"msedge-tts": "^2.1.1",
|
|
106
|
-
"playwright-core": "1.
|
|
106
|
+
"playwright-core": "1.64.1",
|
|
107
107
|
"typescript": "^5.9.2"
|
|
108
108
|
},
|
|
109
109
|
"keywords": [
|