@goodandready/dsh-voice 0.9.54 → 0.9.55
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.md +12 -0
- package/README.ru.md +12 -0
- package/README.zh.md +39 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -211,8 +211,20 @@ Open **Settings → Plugins → Plugin settings → Voice** in the Web UI:
|
|
|
211
211
|
hotkey: Control
|
|
212
212
|
autoStart: true
|
|
213
213
|
whisperModel: /models/ggml-medium-q8_0.bin
|
|
214
|
+
# Composer button visibility toggles (default: true)
|
|
215
|
+
showDictationModeButton: true # Mode selector pill ([Clean], [Task], [Bug], [Note], [Verbatim])
|
|
216
|
+
showDictationButton: true # Voice typing / mic button
|
|
217
|
+
showMessageButton: true # Voice note / message button
|
|
214
218
|
```
|
|
215
219
|
|
|
220
|
+
> **Composer button visibility (#326, #328)**:
|
|
221
|
+
> The `showDictationModeButton`, `showDictationButton`, and `showMessageButton` settings allow independently toggling the visibility of voice action buttons in the composer area (`conversation.input.right`).
|
|
222
|
+
> - When a button is disabled, it is cleanly removed from the interface across both current and newly opened chat tabs.
|
|
223
|
+
> - When all three buttons are disabled, the container returns `null` and unmounts with zero DOM footprint.
|
|
224
|
+
> - Settings persist reliably across application restarts in both Desktop and Web profiles (saved in `cordis.patch.yml`).
|
|
225
|
+
> - Underlying voice functionality (including keyboard push-to-talk with `hotkey: Control`, Silero VAD, and STT pipelines) remains fully active.
|
|
226
|
+
> - Primary navigation buttons (`Remote`, `Tasks`, `Kanban`, `Scheduled Tasks`) belong to separate core slots and remain completely unaffected.
|
|
227
|
+
|
|
216
228
|
> **Note on language handling**: Setting `language: ""` (default) allows providers to auto-detect the spoken language. Spoken numeral normalization (`wordsToDigits`) and standard Russian tech slang correction (`DEFAULT_JARGON_DICTIONARY`) activate conditionally only when Russian is selected or auto-detected in the transcript, ensuring non-Russian speech is never distorted.
|
|
217
229
|
|
|
218
230
|
---
|
package/README.ru.md
CHANGED
|
@@ -211,8 +211,20 @@ dsh plugin --profile web add @goodandready/dsh-voice
|
|
|
211
211
|
hotkey: Control
|
|
212
212
|
autoStart: true
|
|
213
213
|
whisperModel: /models/ggml-medium-q8_0.bin
|
|
214
|
+
# Переключатели видимости кнопок в строке ввода (по умолчанию: true)
|
|
215
|
+
showDictationModeButton: true # Переключатель режима диктовки ([Clean], [Task], [Bug], [Note], [Verbatim])
|
|
216
|
+
showDictationButton: true # Кнопка голосового ввода (микрофон)
|
|
217
|
+
showMessageButton: true # Кнопка голосового сообщения
|
|
214
218
|
```
|
|
215
219
|
|
|
220
|
+
> **Видимость кнопок поля ввода (#326, #328)**:
|
|
221
|
+
> Параметры `showDictationModeButton`, `showDictationButton` и `showMessageButton` позволяют независимо настраивать отображение голосовых кнопок в правой части поля ввода (`conversation.input.right`).
|
|
222
|
+
> - При отключении любого тумблера соответствующая кнопка скрывается как в текущем диалоге, так и в новых чатах.
|
|
223
|
+
> - При отключении всех трёх кнопок контейнер возвращает `null` и выгружается с нулевым следом в DOM.
|
|
224
|
+
> - Настройки надёжно сохраняются при перезапуске приложения и DSH как в Desktop, так и в Web профилях (в `cordis.patch.yml`).
|
|
225
|
+
> - Базовые возможности плагина (горячая клавиша по умолчанию `hotkey: Control`, Silero VAD, STT цепочки) остаются полностью функциональными.
|
|
226
|
+
> - Основные навигационные кнопки (`Remote`, `Tasks`, `Kanban`, `Scheduled Tasks`) используют собственные системные слоты и остаются полностью нетронутыми.
|
|
227
|
+
|
|
216
228
|
> **Примечание по языку**: Значение `language: ""` (по умолчанию) включает автоопределение языка провайдером. Нормализация числительных словами в цифры и стандартный словарь технического сленга применяются адаптивно только при распознавании русской речи, исключая искажение англоязычного текста.
|
|
217
229
|
|
|
218
230
|
---
|
package/README.zh.md
CHANGED
|
@@ -169,6 +169,45 @@ v0.8.18 质量审查后的修复批次(Gitea #79–#87,PR #88):
|
|
|
169
169
|
|
|
170
170
|
---
|
|
171
171
|
|
|
172
|
+
## ⚙️ 配置说明
|
|
173
|
+
|
|
174
|
+
在 Web UI 中打开 **设置 → 插件 → 插件设置 → Voice**:
|
|
175
|
+
|
|
176
|
+
```yaml
|
|
177
|
+
- id: dsh-voice
|
|
178
|
+
config:
|
|
179
|
+
dictation:
|
|
180
|
+
language: "" # 默认自动检测;或指定 "zh"、"en"、"ru" 等
|
|
181
|
+
vadSilenceMs: 700
|
|
182
|
+
chain:
|
|
183
|
+
- provider: deepgram
|
|
184
|
+
- provider: groq
|
|
185
|
+
- provider: local-whisper
|
|
186
|
+
message:
|
|
187
|
+
language: "" # 默认自动检测;或指定 "zh"、"en"、"ru" 等
|
|
188
|
+
autoSendMs: 4000
|
|
189
|
+
chain:
|
|
190
|
+
- provider: openai
|
|
191
|
+
- provider: local-whisper
|
|
192
|
+
hotkey: Control
|
|
193
|
+
autoStart: true
|
|
194
|
+
whisperModel: /models/ggml-medium-q8_0.bin
|
|
195
|
+
# 输入框按钮可见性开关(默认:true)
|
|
196
|
+
showDictationModeButton: true # 听写模式选择胶囊 ([Clean], [Task], [Bug], [Note], [Verbatim])
|
|
197
|
+
showDictationButton: true # 语音输入 / 麦克风按钮
|
|
198
|
+
showMessageButton: true # 语音消息按钮
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
> **输入框按钮可见性 (#326, #328)**:
|
|
202
|
+
> `showDictationModeButton`、`showDictationButton` 与 `showMessageButton` 支持在输入框右侧(`conversation.input.right`)独立显示或隐藏按钮。
|
|
203
|
+
> - 单独关闭时,按钮在当前及新建会话中立即隐藏。
|
|
204
|
+
> - 全部关闭时,容器组件返回 `null` 并完全卸载,零 DOM 残留。
|
|
205
|
+
> - 设置在 Desktop 与 Web 环境下重启均可靠持久化(保存在 `cordis.patch.yml` 中)。
|
|
206
|
+
> - 底层语音功能(快捷键对讲 `hotkey: Control`、VAD 停顿检测及转写链路)保持完全可用。
|
|
207
|
+
> - 主导航按钮(Remote、Tasks、Kanban、Scheduled Tasks)属于系统核心独立槽位,完全不受影响。
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
172
211
|
## 📦 安装指南
|
|
173
212
|
|
|
174
213
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-voice",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.55",
|
|
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",
|