wencharmwang/dsh-voice

wencharmwang★ 0TypeScript最后同步: 2026-08-18

在 GitHub 打开

plugin of voice input for DeepSeek Harness

README 摘要

dsh-voice Voice input for DeepSeek Harness ( dsh ). A single dual-face plugin that brings local, private speech-to-text to both the Web UI and the TUI: - Host half — a ctx.stt service backed by an ONNX Whisper model ( @huggingface/transformers + onnxruntime-node ), plus the HTTP routes the browser mic button posts to. - Browser half — a microphone button in the composer ( exports["./client"] ). No external binaries are required: the ONNX runtime ships as a prebuilt native addon per platform, and the model is a quantized Whisper ONNX downloaded from the Hugging Face Hub on first use. Microphone recording in the TUI still needs a system recorder (ffmpeg / sox / arecord); web voice records in the browser and needs nothing extra. Install dsh-voice is a bundle you add to a dsh profile. From npm: Or straight from this repository (pnpm runs the prepare build on install): pnpm ≥10 refuses to run a git dependency's prepare script until it is allowlisted. If the first add fails, copy the printed package key into the profile's pnpm-workspace.yaml under allowBuilds and re-run the add. The bundle declares its own cordis.patch.yml , so dsh plugin add both installs the package and activates the v…

在 GitHub 查看完整 README →
终端/TUIdeepseek-harnessdsh-pluginspeech-to-textwhispertuiweb ui

分类