Voice pair: free edge-tts neural speech synthesis + OpenAI-compatible ASR transcription.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-voice
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:STARDUSTLC666/dsh-voice
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
dsh-voice
DSH (DeepSeek Harness) voice plugin pair: let the agent speak and listen.
- voice_tts: text-to-speech over the edge-tts protocol (Microsoft Edge read-aloud service — free, unlimited, 22+ curated voices)
- voice_stt: speech-to-text over any OpenAI-compatible ASR endpoint (Groq / OpenAI / custom)
- voice_list: voice catalog
Installation
dsh plugin --profile web add dsh-voice
Configuration
voice_tts works with zero config; voice_stt needs an ASR key:
- id: voice
name: 'dsh-voice'
config:
asrEngine: groq # groq | openai | custom
asrModel: whisper-large-v3-turbo # Groq whisper model
# asrApiKey: gsk_... # prefer env var DSH_VOICE_ASR_KEY
ttsVoice: zh-CN-XiaoxiaoNeural # default voice
# proxyUrl: http://127.0.0.1:7890 # enable when the ASR endpoint needs a special proxy
Tools
| Tool | Purpose | Key parameters |
|---|---|---|
voice_tts |
Synthesize MP3 from text (free) | text required; voice/rate/pitch/output optional |
voice_stt |
Transcribe audio to text | audio required; engine/model/language/prompt/output optional |
voice_list |
Curated voice catalog | none |
Examples
voice_tts { text: hello world } # outputs voice_output.mp3
voice_tts { text: hello, voice: en-US-AriaNeural } # English female voice
voice_stt { audio: E:\audio\meeting.mp3, language: zh } # transcribe a recording
voice_list {}
Under the hood
- Direct edge-tts protocol: the Sec-MS-GEC token is generated locally with the official DRM algorithm (SHA256 of Windows file time + trusted client token, 5-minute windows); transport uses the
wslibrary with permessage-deflate and an optional HTTP CONNECT proxy tunnel - Zero API cost: TTS is completely free; STT costs only whatever your ASR provider charges
- Up-front validation: text ≤ 5000 chars, audio ≤ 25MB; same-name outputs auto-suffixed
- Protocol aligned with current open-source edge-tts (7.x) — no reliance on the outdated token endpoint
Development
pnpm install
pnpm test # build + 31 tests, including a real-synthesis integration test
License
MIT
Links
More in this category
liustack/modlens★ 1837
Vision bridge for text-only models: paste an image, get structured JSON evidence (OCR, layout, semantics).
Anionex/dsh-vision-toolkit★ 422
Vision tasks for text-only models: intent-aware image Q&A, long-screenshot OCR, UI reproduction, grounding, and pixel diff.
superdesigndev/treg★ 416
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
Lum1104/dsh-browser★ 156
Chrome sidebar extension that lets DSH operate your browser directly, no vision capabilities required.
zhaoolee/notes★ 142
Export DSH conversations as Smartisan Notes-style PNGs, or create and update Markdown notes in a configured account-scoped workspace.
ysr666/dsh-vision-router★ 135
Free vision for text-only agents: built-in keyless vision chain plus pixel tools (Q&A, grounding, crop, pixel diff, colors, OCR, SVG trace, cutout, screenshots); paste an image to use it.