dsh-voice-mode 0.7.4 → 0.7.5

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 CHANGED
@@ -106,7 +106,7 @@ If a wake word is configured, you land in standby first (the status bar prompts
106
106
  | `silenceMs` | `1500` | Silence pause in ms that marks the end of a complete sentence |
107
107
  | `idleTimeoutMinutes` | `10` | Minutes of inactivity before auto-exiting voice mode (reading counts as activity) |
108
108
  | `modelHost` | default | Model download host (use `https://hf-mirror.com` on mainland networks) |
109
- | `autoSend` | `true` | Auto-send after a finalized transcript; when off, text only goes to the draft (hold `Ctrl` / release in hold mode still sends) |
109
+ | `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) |
110
110
  | `mode` | `toggle` | Interaction mode: `toggle` continuous listening + 1500 ms silence split; `hold` push-to-talk, release to send (short tap exits) |
111
111
  | `wakeWord` | empty (off) | Wake word (e.g. `你好小D`): speak it after entering to activate, avoiding accidental triggers; empty = off |
112
112
 
package/README.md CHANGED
@@ -80,7 +80,7 @@ bundle 插件安装后需重启 dsh 生效(Linux:`systemctl restart dsh`;
80
80
  | `silenceMs` | `1500` | 说完整一句的静音停顿毫秒数 |
81
81
  | `idleTimeoutMinutes` | `10` | 无活动自动退出语音模式的分钟数(朗读计为活动) |
82
82
  | `modelHost` | 默认源 | 模型下载源(国内网络填 `https://hf-mirror.com`) |
83
- | `autoSend` | `true` | 识别定稿后自动发送;关闭则只进草稿(按住 `Ctrl` / hold 松手仍会发送) |
83
+ | `autoSend` | `true` | 静音到点自动发送(连续多段拼成一条消息);关闭则只进草稿(按住 `Ctrl` / hold 松手仍会发送) |
84
84
  | `mode` | `toggle` | 交互模式:`toggle` 持续聆听 + 1500ms 静音断句;`hold` 按住说话、松手发送(短按退出) |
85
85
  | `wakeWord` | 空(关) | 唤醒词(如「你好小D」):进入后先说唤醒词激活,避免误触;空 = 关闭 |
86
86
  | `spokenFormat` | `true` | 语音会话注入口语化提示词:开启后**仅当前语音会话**的回复被注入「口语化短句、不用 Markdown 排版符号」提示词(朗读更顺),**即时生效** |
package/lib/client.js CHANGED
@@ -2484,7 +2484,7 @@ var TELEMETRY_VIEW = [
2484
2484
  { stage: "first-tts-chunk", key: "telFirstChunk" },
2485
2485
  { stage: "first-audio-played", key: "telFirstPlayed" }
2486
2486
  ];
2487
- var BUILD_TAG = "54a46dd";
2487
+ var BUILD_TAG = "60e6822";
2488
2488
  var TELEMETRY_FLAG = "dsh-voice-mode.telemetry";
2489
2489
  var telemetryEnabled = typeof localStorage !== "undefined" && localStorage.getItem(TELEMETRY_FLAG) === "1";
2490
2490
  console.log("[dsh-voice] build=" + BUILD_TAG);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-voice-mode",
3
3
  "description": "Full-duplex voice plugin for DeepSeek Harness: local zipformer2 streaming ASR (no API key) → editable draft; Edge TTS or local VITS / Kokoro read-aloud with live captions; true barge-in; hardened HTTP surface + model SHA256 pinning; compatible with dsh 0.1.1 → 0.1.2. · DSH 语音双工插件:流式识别入草稿、按句朗读+实时字幕、开口即打断;免 API Key、安全加固、新旧版本兼容。",
4
- "version": "0.7.4",
4
+ "version": "0.7.5",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "repository": {