@goodandready/dsh-voice 0.9.30 → 0.9.32
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 +3 -0
- package/README.ru.md +3 -0
- package/README.zh.md +3 -0
- package/lib/client.js +627 -93
- package/lib/dictation-modes.js +28 -0
- package/lib/host-routes.js +53 -19
- package/lib/macros.js +53 -0
- package/lib/polish.js +14 -6
- package/lib/providers.js +3 -1
- package/lib/schema.js +16 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,9 @@ graph LR
|
|
|
73
73
|
---
|
|
74
74
|
|
|
75
75
|
## ✨ Key Features
|
|
76
|
+
- 🎙️ **4 Dictation Post-Processing Modes (#264)**: Verbatim (0 LLM calls, raw STT), Clean text (punctuation & filler removal without fact alteration), Agent task (structured problem/goals/criteria), and Note (key thoughts & actions). Customizable prompt templates with 1-click default restore.
|
|
77
|
+
- ⚡ **Dynamic Context-Aware Lexicon Boosting (#167)**: Gathers technical identifiers, code tokens, and vocabulary from composer drafts, recent chat history, and open code blocks, passing them as hints to Deepgram (`&keywords=...`), Groq, local-whisper, and SenseVoice.
|
|
78
|
+
- 🎯 **Voice Action Macros (#167)**: User-defined spoken trigger phrases (e.g. "review code", "run tests") expand into structured prompt templates with `{text}` argument replacement.
|
|
76
79
|
|
|
77
80
|
* 🎙️ **Streaming Dictation with VAD**: Speech is automatically sliced at natural pauses (`vadSilenceMs`, default 700ms) and typed into the composer in real time.
|
|
78
81
|
* 🌊 **Voice Notes with Cancel Window**: Record your thought and have it automatically dispatched to the agent after a safety countdown (`autoSendMs`, default 4000ms).
|
package/README.ru.md
CHANGED
|
@@ -73,6 +73,9 @@ graph LR
|
|
|
73
73
|
---
|
|
74
74
|
|
|
75
75
|
## ✨ Ключевые возможности
|
|
76
|
+
- 🎙️ **4 режима диктовки (#264)**: «Дословно» (0 вызовов LLM, чистый STT), «Чистый текст» (пунктуация и удаление мусорных слов без искажения фактов), «Задача агенту» (структурированная формулировка проблемы, целей и критериев приёмки), «Заметка» (ключевые мысли и задачи). Настраиваемые шаблоны с кнопкой сброса к стандартам.
|
|
77
|
+
- ⚡ **Контекстный бустинг лексикона (#167)**: сбор терминов и идентификаторов из активного черновика, последних сообщений чата и блоков кода в DOM, с передачей в Deepgram (`&keywords`), Groq (`prompt`), local-whisper и SenseVoice.
|
|
78
|
+
- 🎯 **Голосовые макросы (#167)**: настраиваемые шаблоны голосовых действий («сделай ревью», «запусти тесты»), автоматически раскрывающиеся в структурированные промпты с подстановкой `{text}`.
|
|
76
79
|
|
|
77
80
|
* 🎙️ **Потоковая диктовка с VAD**: аудиопоток режется по естественным паузам речи (`vadSilenceMs`, по умолчанию 700 мс) и мгновенно печатается в поле ввода.
|
|
78
81
|
* 🌊 **Голосовые заметки с окном отмены**: запишите законченную мысль — сообщение автоматически уйдёт агенту по истечении таймера (`autoSendMs`, по умолчанию 4000 мс).
|
package/README.zh.md
CHANGED
|
@@ -73,6 +73,9 @@ graph LR
|
|
|
73
73
|
---
|
|
74
74
|
|
|
75
75
|
## ✨ 核心亮点
|
|
76
|
+
- 🎙️ **4 种听写后处理模式 (#264)**:逐字直录(0 次 LLM 调用)、清爽文本(整理标点符号与语气词)、智能体任务(结构化问题、目标与验收标准)、便签备忘(要点与行动项)。支持自定义提示词模板与一键重置。
|
|
77
|
+
- ⚡ **动态会话上下文词汇增强 (#167)**:自动提取输入框草稿、会话消息与代码块中的专业术语,透传给 Deepgram、Groq、local-whisper 与 SenseVoice 识别引擎。
|
|
78
|
+
- 🎯 **语音动作宏指令 (#167)**:语音短语(如“做代码审查”、“运行测试”)自动展开为带有 `{text}` 参数替换的结构化提示词模板。
|
|
76
79
|
|
|
77
80
|
* 🎙️ **VAD 智能流式听写**:说话停顿自动切句(`vadSilenceMs`,默认 700ms),文字实时追加至输入框。
|
|
78
81
|
* 🌊 **带撤回窗口的语音消息**:录制完整语音,转写后在倒计时(`autoSendMs`,默认 4000ms)结束后自动发送。
|