dsh-voice-mode 0.7.1 → 0.7.2
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/assets/demo.gif +0 -0
- package/lib/client.js +2 -2
- package/package.json +1 -1
package/assets/demo.gif
CHANGED
|
Binary file
|
package/lib/client.js
CHANGED
|
@@ -2485,7 +2485,7 @@ var TELEMETRY_VIEW = [
|
|
|
2485
2485
|
{ stage: "first-tts-chunk", key: "telFirstChunk" },
|
|
2486
2486
|
{ stage: "first-audio-played", key: "telFirstPlayed" }
|
|
2487
2487
|
];
|
|
2488
|
-
var BUILD_TAG = "
|
|
2488
|
+
var BUILD_TAG = "56e7e10";
|
|
2489
2489
|
var TELEMETRY_FLAG = "dsh-voice-mode.telemetry";
|
|
2490
2490
|
var telemetryEnabled = typeof localStorage !== "undefined" && localStorage.getItem(TELEMETRY_FLAG) === "1";
|
|
2491
2491
|
console.log("[dsh-voice] build=" + BUILD_TAG);
|
|
@@ -4040,7 +4040,7 @@ function VoiceStatusBar({ bus, sessionId }) {
|
|
|
4040
4040
|
if (b.ui.interruptConfirmMs !== void 0) {
|
|
4041
4041
|
telParts.push(`${t("interruptConfirm")} ${fmt(b.ui.interruptConfirmMs)}`);
|
|
4042
4042
|
}
|
|
4043
|
-
if (b.ui.echoLevels) {
|
|
4043
|
+
if (telemetryEnabled && b.ui.echoLevels) {
|
|
4044
4044
|
const el = b.ui.echoLevels;
|
|
4045
4045
|
telParts.push(
|
|
4046
4046
|
`AEC delay=${Math.round(b.ui.echoDelayMs ?? 0)}ms floor=${el.floorRms.toFixed(4)} resid=${el.residualRms.toFixed(4)}`
|
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
|
+
"version": "0.7.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"repository": {
|