rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:18301301961/dsh-voice-live
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Live streaming voice input for the DeepSeek Harness Web composer.
Speak, and words appear while you talk; press Done and the transcript is corrected once, then inserted into your draft. Recognition runs on your machine — audio never leaves the computer.
The live caption card sits above the composer: settled sentences in normal color, the sentence being recognized in grey.
0.2.2-rc.1 or newer. Tested on Windows x64; macOS and Linux are expected to work because the engine is resolved from the installation, but are untested.sherpa-onnx comes from the DSH installation and the model from DSH's speech service.idleTimeoutMs).Install the bundle by its package name — in the Plugins page, or by asking your agent to install it:
dsh-voice-live
git clone https://github.com/18301301961/dsh-voice-live.git
Then install that directory as a DSH bundle — either through the plugin manager with the absolute path, or by asking your agent to install it.
github:18301301961/dsh-voice-live#v1.1.0
Reload the page once after installing; the microphone button appears to the left of the send button. See PUBLISH.md for the full distribution guide.
Esc discards it.The bundle row lives in cordis.patch.yml:
| Field | Default | Meaning |
|---|---|---|
language |
zh |
auto, zh, en, yue, ja, ko |
threads |
4 |
ONNX Runtime threads |
partialIntervalMs |
480 |
Minimum live-caption refresh interval; widens automatically with decode cost |
partialWindowSeconds |
6 |
Audio window used for the sentence in progress |
vadThreshold |
0.5 |
Silero VAD threshold; raise it in noisy rooms |
minSilenceSeconds |
0.35 |
Silence that ends a sentence |
maxSpeechSeconds |
12 |
Longest continuous sentence before a forced break |
idleTimeoutMs |
300000 |
Release the engine after this idle time |
polish |
final |
final corrects the transcript once at the end; off keeps the local text |
vocabulary |
[] |
Terms the recognizer tends to misspell, for example [DSH, Cordis] |
polishInstructions |
empty | One extra sentence appended to the correction prompt |
polishMaxLatencyMs |
8000 |
Correction timeout; on timeout the local text is used |
engine.mjs — Silero VAD segmentation plus SenseVoice decoding; the in-progress sentence is re-decoded on a sliding window, the finished sentence once on its complete audio.worker.mjs — a child process (Electron Node mode) hosting the engine on a random loopback port with a per-process token, so model loading never blocks the Host.index.js — the /voice-live/* routes (same-origin and x-voice-live checks), sessions, warm-up, model preparation, audio forwarding and finish handling.polish.mjs — the correction pass: cheapest reasoning effort, temperature 0, hard timeout, and two guards (length ratio and character overlap) that reject rewrites.client.js — AudioWorklet capture (linear resampling to 16 kHz when needed), the caption card and draft insertion.Audio is decoded locally and never uploaded. With polish: final, only the finished text is sent to the model configured in DSH — which is where that text was headed anyway.
maxSpeechSeconds; the correction pass usually repairs the punctuation seam.MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。