@goodandready/dsh-voice 0.8.35 → 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 +3 -3
- package/package.json +6 -2
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.
|
|
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.
|
|
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', '
|
|
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
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-voice",
|
|
3
|
-
"version": "0.8.
|
|
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": {
|