Introduction¶
In DeepSeek Harness (DSH), when the assistant replies, you can only read the text — there’s rarely any “audible” feedback. Online TTS requires network access and isn’t suitable for privacy-sensitive scenarios; browser-built-in speech is limited to the web environment and offers a restricted set of voices. Local synthesis solves both problems: the audio never leaves your machine, and you can customize the voice.
What follows is a walkthrough of odo-tech/dsh-yukkuli, a plugin that makes DSH assistant replies be read aloud using “Yukkuri” voices. All synthesis happens locally: text → kana → phonemes → WAV. No online TTS is called, no browser is required — on the Web side, audio plays directly in the tab you’re already looking at; on the TUI side, it’s handed off to mpv.
What Is This¶
This is a DSH client plugin maintained by ODO-TECH. Its core value: within a DSH conversation flow, it synthesizes and plays back the assistant’s utterance for each turn using a local engine.
It is not a voice-cloning tool, nor does it do streaming synthesis. Its goal is to provide configurable voice feedback in conversational contexts: you can choose which sessions to listen to, pick a voice and emotion, and long replies are segmented by kana length and played as they are synthesized.
Core Features¶
- Local synthesis: Text is first converted to kana, then rendered into WAV by the AquesTalk engine — the entire pipeline runs locally. Audio never leaves your machine and is not routed through any online service.
- Six voices: Reimu / Marisa / Cirno / Tenshi / Patchouli / Bass Patchouli.
- Seven emotions: Neutral, Happy, Angry, Sad, Surprised, Shy, Sleepy.
- Reads only the current turn’s spoken text: It will not read thinking traces, tool outputs, or older messages. Each passage is read exactly once.
- Long replies are played while being synthesized: Segmented by kana length, so you don’t have to wait for the entire audio to finish rendering.
- Chinese support: Chinese characters are converted to kana first; numbers follow Chinese reading conventions (123 → “one hundred twenty-three”).
Installation & Activation¶
Prerequisites¶
- Windows (currently only verified on this platform)
- Node.js ≥ 22
- DSH (the
dshcommand must be available) - AquesTalk SDK — you must obtain it yourself; this repository does not bundle its binaries
- mpv — required for the TUI side only; not needed for the Web side
1. Place the SDK¶
Obtain the AquesTalk10 and AqKanji2Koe libraries from yukumo.net, and place them in this structure (the default lookup path is ~/yukkuri-sdk):
%USERPROFILE%\yukkuri-sdk\
├── aqk2k_win\
│ ├── lib64\AqKanji2Koe.dll
│ └── aq_dic\aqdic.bin
└── aqtk10_win\
└── lib64\AquesTalk.dll
That’s all you need: Tenshi / Patchouli / Bass Patchouli run on AquesTalk1, whose engine is handled by aquestalk.js (v86 emulation) in the dependencies and executes locally — no separate SDK download required.
If you install it somewhere else, set the environment variable YUKKURI_SDK_ROOT to point to that location.
⚠️ The path must be pure ASCII. AqKanji2Koe reads the dictionary path using ANSI encoding; Chinese characters in the path will cause Create to fail with the error “システム辞書(aqdic.bin)が不正、または辞書パスの文字コード不正”. This error looks like a corrupted dictionary but is actually a path-encoding issue.
2. Install the Plugin¶
dsh plugin --profile web add github:ODO-TECH/dsh-yukkuli
The synthesis core ships with the package — no second package to install. Restart DSH after installation.
This plugin is not published on npm, so a package-name style like add dsh-yukkuri-tts will not work. Avoid it.
Three additional installation methods all yield the same result:
| Method | Command |
|---|---|
| DSH “Discover” page | Open the plugin page → enable the experimental “Custom Plugin Index” → Discover → add index source https://odo-tech.github.io/dsh-yukkuli/market/index.json → click Install on the card |
| Local source | git clone https://github.com/ODO-TECH/dsh-yukkuli.git then dsh plugin --profile web add "file:<absolute-path-to-repo>" |
| Offline package | After extracting, run dsh plugin --profile web add "file:<extracted-dir>\dsh-yukkuri-tts"; see 安装.md inside the package for details |
The offline package ships with pre-installed dependencies (Windows x64, ~27 MB), so the target machine does not need internet access.
3. Verify the Installation¶
dsh --profile web --dump-config | grep -A1 yukkuri-tts
You should see - id: yukkuri-tts / name: dsh-yukkuri-tts. If you don’t, it means the plugin wasn’t installed into the profile — this is not a plugin bug.
Typical Usage¶
After installation, open the DSH settings page → “Yukkuri”:
- Check “Auto-read”
- Select a voice
- Check the sessions you want to listen to
From then on, the assistant’s reply will be read aloud after each turn.
By default, no sessions are listened to — this is intentional. Having it start reading the moment you install would be startling.
You can also drive it directly via commands:
/yukkuri status Check status
/yukkuri on Turn on (in TUI, also listens only to the current session)
/yukkuri off Turn off
/yukkuri watch all Listen to all sessions
/yukkuri watch current Listen to the current session only
/yukkuri voice cirno Switch voice
/yukkuri emotion happy Switch emotion
/yukkuri say 那句要念的话 Test a line
Configuration¶
The config file lives at ~/.dsh/yukkuri-tts.json (follows DSH_HOME if it points elsewhere). The settings page edits this file.
{
"enabled": true,
"watch": [],
"voice": "reimu",
"emotion": "neutral",
"maxKana": 100,
"intervalMs": 1500,
"keepSegments": 40
}
| Key | Purpose |
|---|---|
enabled |
Master switch for auto-read |
watch |
Session IDs to listen to; empty array = listen to none |
voice / emotion |
Voice and emotion (see below) |
maxKana |
Max kana count per segment (engine cap: 100) |
intervalMs |
Polling interval (milliseconds) |
keepSegments |
Max number of segments kept in memory |
Voices¶
| voice | Character | Engine |
|---|---|---|
reimu |
Hakurei Reimu | AquesTalk10 F1 |
marisa |
Kirisame Marisa | AquesTalk10 F2 |
cirno |
Cirno | AquesTalk10 F3 |
tenshi |
Bei no Kyō Tenshi | AquesTalk1 F1 |
patchouli |
Patchouli | AquesTalk1 f1 (pitch +4%, speed 92) |
patchouli_bass |
Bass Patchouli | AquesTalk1 R1 |
See core/docs/角色音色对照.md for voice parameters and engine details.
emotion: neutral / happy / angry / sad / surprised / shy / sleepy
Use Cases & Notes¶
Suitable for:
- Developers who need in-conversation voice feedback without relying on online TTS.
- Agent developers who need to control voice and emotion to differentiate characters or scenarios.
Caveats:
- The plugin runs with the privileges of the current DSH process. Review the source code and license before installing.
- Currently only verified on Windows (koffi + Windows DLL).
- The per-call synthesis limit is approximately 100 kana; long replies are split into segments. Chinese-to-kana conversion inflates by roughly 2.3×, consuming more segments.
- The cache is in-memory only; it is cleared on process restart. The cap is 500 entries.
- No voice cloning, no streaming synthesis.
Closing¶
This plugin provides local speech synthesis within DSH with configurable voices, making it well-suited for conversational scenarios that call for audible feedback. If you’re running DSH on Windows and would like the assistant’s replies to be read aloud, give it a try.
Directory page: https://www.skillhub.cn/plugins/ODO-TECH/dsh-yukkuli
GitHub: https://github.com/ODO-TECH/dsh-yukkuli