dsh-voice-mode 0.7.15 → 0.7.16

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.
Files changed (2) hide show
  1. package/lib/client.js +5 -4
  2. package/package.json +2 -2
package/lib/client.js CHANGED
@@ -2815,7 +2815,7 @@ var interruptFirstAt = 0;
2815
2815
  var isSpeechFalseRun = 0;
2816
2816
  var lastReenterAt = 0;
2817
2817
  var INT_CONFIRM_FRAMES = { 0: 3, 1: 2, 2: 1 };
2818
- var inject = ["slots", "sessions", "settingsScope"];
2818
+ var inject = ["slots", "sessions"];
2819
2819
  var TELEMETRY_VIEW = [
2820
2820
  { stage: "utterance-end", key: "telUtteranceEnd" },
2821
2821
  { stage: "endpoint-fired", key: "telEndpoint" },
@@ -2825,7 +2825,7 @@ var TELEMETRY_VIEW = [
2825
2825
  { stage: "first-tts-chunk", key: "telFirstChunk" },
2826
2826
  { stage: "first-audio-played", key: "telFirstPlayed" }
2827
2827
  ];
2828
- var BUILD_TAG = "4575aac";
2828
+ var BUILD_TAG = "37c709b";
2829
2829
  var TELEMETRY_FLAG = "dsh-voice-mode.telemetry";
2830
2830
  var telemetryEnabled = typeof localStorage !== "undefined" && localStorage.getItem(TELEMETRY_FLAG) === "1";
2831
2831
  console.log("[dsh-voice] build=" + BUILD_TAG);
@@ -2950,7 +2950,8 @@ function apply(ctx) {
2950
2950
  VoiceOverlay
2951
2951
  )
2952
2952
  );
2953
- if (ctx.settingsScope) {
2953
+ const settingsScope = ctx.get?.("settingsScope");
2954
+ if (settingsScope) {
2954
2955
  ctx.slots.inject(
2955
2956
  "settings.plugin.item",
2956
2957
  () => ctx.slots.register(
@@ -2961,7 +2962,7 @@ function apply(ctx) {
2961
2962
  order: 100,
2962
2963
  label: t("stateVoiceMode")
2963
2964
  },
2964
- () => React.createElement(VoiceSettingsCard, { scope: ctx.settingsScope.bind({ namespace: "voice-mode" }) })
2965
+ () => React.createElement(VoiceSettingsCard, { scope: settingsScope.bind({ namespace: "voice-mode" }) })
2965
2966
  )
2966
2967
  );
2967
2968
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-voice-mode",
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 all dsh releases since 0.1.1-rc.2 (verified 0.1.1-rc.2 → 0.1.5-rc.2, plus 0.1.6-alpha.2 preview). · DSH 语音双工插件:流式识别入草稿、按句朗读+实时字幕、开口即打断;免 API Key、安全加固、全版本兼容(0.1.1-rc.2 起,含 0.1.5-rc.2 端到端验证 + 0.1.6-alpha.2 预览核验)。",
4
- "version": "0.7.15",
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 all dsh releases since 0.1.1-rc.2 (verified 0.1.1-rc.2 → 0.2.0-rc.2). · DSH 语音双工插件:流式识别入草稿、按句朗读+实时字幕、开口即打断;免 API Key、安全加固、全版本兼容(0.1.1-rc.2 起,已验证至 0.2.0-rc.2 端到端)。",
4
+ "version": "0.7.16",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "repository": {