@goodandready/dsh-voice 0.8.34 → 0.8.36

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/lib/client.js CHANGED
@@ -2166,7 +2166,7 @@ window.__ModuleLoader__.load({
2166
2166
  // writes are dropped. The server does not share that restriction, and
2167
2167
  // dsh-lanmode rebuilds the same mechanics on the same calls. Prefer its
2168
2168
  // service when installed, otherwise the kernel one (fine on loopback).
2169
- const scope = ((ctx.get && ctx.get('lanSettings')) || ctx.settingsScope).bind({ namespace: NS })
2169
+ const scope = ((ctx.get && ctx.get('lanSettings')) || ctx.configForms).get(NS)
2170
2170
  const [snap, setSnap] = React.useState(null)
2171
2171
  const [draft, setDraft] = React.useState(null)
2172
2172
  const [saved, setSaved] = React.useState(false)
@@ -2214,7 +2214,7 @@ window.__ModuleLoader__.load({
2214
2214
  const timer = setInterval(() => {
2215
2215
  if (tries >= 15) { clearInterval(timer); return }
2216
2216
  tries += 1
2217
- try { ctx.settingsScope.describe().load() } catch (e) { /* service not up yet */ }
2217
+ try { ctx.configForms.describe().load() } catch (e) { /* service not up yet */ }
2218
2218
  }, 1000)
2219
2219
  return () => clearInterval(timer)
2220
2220
  }, [ready])
@@ -3146,7 +3146,7 @@ window.__ModuleLoader__.load({
3146
3146
  ))
3147
3147
  }
3148
3148
 
3149
- exports.inject = ['timer', 'slots', 'settingsScope', 'locale']
3149
+ exports.inject = ['timer', 'slots', 'configForms', 'locale']
3150
3150
  exports.apply = function apply(ctx) {
3151
3151
  // English is the source and fallback language; Chinese is the built-in
3152
3152
  // localized user dictionary. Other languages (like Russian) come from
@@ -99,7 +99,7 @@ export async function downloadArchive(url, destPath, onProgress) {
99
99
 
100
100
  export function extractTarBz2(archivePath, targetDir) {
101
101
  return new Promise((resolve, reject) => {
102
- const child = spawn('tar', ['-xjf', archivePath, '-C', targetDir])
102
+ const child = spawn('tar', ['-xjf', archivePath, '-C', targetDir], { windowsHide: true })
103
103
  let stderr = ''
104
104
  child.stderr.on('data', (d) => { stderr += d })
105
105
  child.on('close', (code) => {
package/lib/wav.js CHANGED
@@ -22,7 +22,9 @@ export function toWav16k(bytes, ffmpegBin = 'ffmpeg', signal = null) {
22
22
  '-i', 'pipe:0',
23
23
  '-ar', '16000', '-ac', '1',
24
24
  '-f', 'wav', 'pipe:1',
25
- ])
25
+ ], {
26
+ windowsHide: true,
27
+ })
26
28
  const out = []
27
29
  const err = []
28
30
  let done = false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-voice",
3
- "version": "0.8.34",
3
+ "version": "0.8.36",
4
4
  "description": "Voice input for DeepSeek Harness: dictation chunked by pauses and voice messages, each with its own provider fallback chain (Deepgram, Groq, HuggingFace, local whisper.cpp, plus any OpenAI-compatible API of your own).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -53,7 +53,11 @@
53
53
  },
54
54
  "client": {
55
55
  "platform": "web",
56
- "inject": []
56
+ "inject": [
57
+ "@deepseek-ai/dsh-client-ui-slots",
58
+ "@deepseek-ai/dsh-client-locale",
59
+ "@deepseek-ai/dsh-client-ui-settings"
60
+ ]
57
61
  }
58
62
  },
59
63
  "peerDependencies": {