Introduction¶
Reading assistant replies in DeepSeek Harness (DSH) for extended periods can cause eye strain; copying content to other tools for TTS disrupts the conversation flow. Jingdu (Whale Read) is a plugin for the DSH Web client: simply tap to read below the reply, or auto-play after the task completes; long texts can be summarized into spoken summaries via Chat before synthesis, and it supports streaming playback from the first packet, personas, and local caching. Below is an introduction to the plugin’s positioning, capabilities, and installation usage.
What is it¶
Jingdu is maintained by Kylin412, and the repository is kylin412/dsh-jingdu, categorized as a Client plugin in the community directory. Current version 1.0.0, license MIT.
The plugin uses DeepSeek’s TTS and Chat APIs via the Open Platform to convert assistant replies into speech; API Keys are stored in the plugin’s private credentials and the local browser, without occupying DSH’s shared DEEPSEEK_API_KEY. DSH account login tokens cannot call TTS and require a separate sk- prefixed Key.
Core Features¶
Click to Read and Auto-play¶
Default is muted, and a read button appears at the bottom of each completed reply; playback can be paused or stopped, and synthesis can be cancelled. After enabling “Auto-play after task completion,” the reply can be read once automatically after it settles (default off). Auto-play only takes effect once for replies newly completed within about 30 seconds that haven’t been played yet.
Summary and Full Text¶
“Read Content” defaults to Summary: longer replies are first compressed by deepseek-chat into 2-3 spoken sentences before synthesis; short replies are read directly. Can switch to Full Text mode, reading by sentence according to the original text.
Streaming Playback and Caching¶
When the browser has a local Key, it connects directly to the DeepSeek TTS WebSocket; playback starts when the first PCM packet arrives; falls back to Host’s /api/dsh-tts/speak returning WAV on failure. Audio is written to IndexedDB (default max 120 entries / 200 MB, evicted by time); summaries are written to localStorage, reused within 7 days (max 50 entries). Repeated content can be quickly replayed from cache.
Persona and Voice¶
Define identity, tone, and rules via soul.md; the settings page allows editing, saving, reloading, or disabling the persona. “Persona / Tone” in settings supplements the tone only if it doesn’t conflict with soul.md. Voice can be selected as stella (female) or tide (male).
Sidebar and Key Status¶
The left sidebar has a “Jingdu” entry, so common configurations don’t require opening the settings popup every time. After saving the Key, a green dot next to the title indicates it is configured; there are green/red status lights nearby.
Requirements¶
Confirm before installation:
- DSH is installed and running (Web profile,
0.2.2series;package.jsonrequiresdshto be>=0.2.2-0 <0.3.0-0). - Node.js 22 or higher.
- Browser can access
api.deepseek.comand allow WebSocket, IndexedDB, and audio playback. - A DeepSeek Open Platform
sk-API Key.
Installation and Enablement¶
From npm (after package release):
dsh plugin --profile web add dsh-jingdu
From local source directory (replace path with your absolute path):
dsh plugin --profile web add ./dsh-jingdu
Install bundle in a running DSH session:
plugin_manager install_bundle C:\path\to\dsh-jingdu
After installation, refresh the page. “Jingdu” should appear in the left sidebar. Offline distribution can use dist/dsh-jingdu-1.0.0.tgz, checksums in dist/SHA256SUMS.txt.
When the old package name was dsh-deepseek-tts, remove it first then install the new package:
plugin_manager remove_bundle dsh-deepseek-tts
Key, settings, and cache use the old internal storage keys, so data is generally not lost after upgrade.
Security Tip: The plugin runs Host routes and client injection under DSH process permissions. Before installing, it is recommended to read the repository source code and MIT license to confirm that Keys and text are only sent to api.deepseek.com (plugin readme states no telemetry, no third-party uploads).
First Use¶
- Open “Jingdu” in the left sidebar.
- Enter the
sk-prefixed API Key and click “Save”; the green dot indicates configured. - Click “Test” to confirm sound; or click the read button below any assistant reply.
- If auto-play is needed, open “Auto-play after task completion”. Browsers often require one real interaction with the page before auto-play can sound; refresh first, then tap the page, or manually play once.
When the Key is not configured, clicking read for the first time will also pop up a guide to enter it.
Main Configuration Items¶
| Configuration | Default | Description |
|---|---|---|
| API Key | Empty | Only stored in plugin private credentials and local browser |
| Read Content | Summary | Summary compressed then read; Full text reads by sentence |
| Reply Voice | stella |
stella female / tide male |
| Persona / Tone | Empty | Supplements soul.md, takes effect if no conflict |
| Enable Persona | On | Persona does not enter summary prompt when off |
| Auto-play after task completion | Off | Only reads newly completed and unplayed replies once |
| Play sound after playback ends | On | Beeps after auto-read ends |
| Voice Cache | Enabled | View count and usage, one-click clear |
Typical Usage¶
Manual Read¶
- Wait for assistant reply to complete.
- Click read button in the operation row at the bottom of the reply (same column as Copy, Like).
- Defaults to requesting summary then TTS; loading ring shows while loading; can click stop while playing.
- Click again to stop playback.
Auto-play¶
Open “Auto-play after task completion” in settings. If auto-play doesn’t sound after refresh, interact with the page once first.
Latency Expectations¶
Summary stage still requires one Chat call (README实测约 0.7–1.2 秒); can skip for short replies or summary cache hits. Streaming path changes from “entire WAV” to “first packet arrival” — WebSocket open ~0.15s, first audio frame ~0.95s (see repository TEST-REPORT). TTS is charged per billing character, actual cost based on DeepSeek bill.
Suitable Scenarios and Limitations¶
Suitable for: Developers and users who want to listen to replies while working on the DSH Web side, need summarized listening/reading, or require fixed persona/tone reading.
Limitations (excerpt from README):
- Max 4000 words for single manual read body; max 12000 words for summary input;
soul.mdmax 20000 bytes. - TTS single request max 10000 billing characters; plugin currently does not provide speed settings.
- Only one reply plays at a time; new start stops the previous one.
- Streaming playback depends on Key in browser
localStorage; fallback is slower WAV when using server-side Key only. - Currently adapted for DSH Web profile; mobile browser not specifically adapted.
Silent Troubleshooting: Confirm Key green dot and test sound; check tab mute and autoplay policies; 401, missing_api_key or WebSocket errors in Console/Network are mostly related to Key type or unsaved status. TTS must use Open Platform sk- Key, cannot use DSH login token.
Ecosystem¶
DSH uses an “everything is a plugin” extension method; SkillHub Plugin Directory is a community site with no official affiliation with DeepSeek / Hypi. Jingdu’s directory page and source code repository are below for version checking and issue feedback:
- Directory: https://www.skillhub.cn/plugins/Kylin412/dsh-jingdu
- GitHub: https://github.com/Kylin412/dsh-jingdu
Uninstall in session:
plugin_manager remove_bundle dsh-jingdu
After the above steps, you can directly turn assistant outputs into audible, cached, and persona-able voice within a DSH session without moving content to external TTS tools.