Introduction¶
In DeepSeek Harness technical sessions, you frequently encounter specialized English terminology (latency, token, throughput, race condition…). The traditional approach to looking up words is: select → open search → flip through web pages → dig through a pile of general meanings to find the technical one. It’s slow and breaks your reading flow.
dsh-gloss keeps the lookup action within the session: select a word and a card pops up in place, showing the phonetic transcription + a professional Chinese explanation, with technical definitions automatically ranked first. The entire process doesn’t call a model, doesn’t modify any configuration, and has an offline fallback when the network is down.
What Is This¶
dsh-gloss is a network-enabled utility plugin developed by PHANTOM-NINE for DeepSeek Harness. Its core capability is select-and-lookup. It works by listening to user selection events, fetching definitions from the free Youdao Dictionary API, re-sorting them with technical definitions first, and includes a built-in 17,397-word ECDICT offline dictionary as a fallback.
The plugin requires zero configuration, doesn’t call any model, doesn’t modify user config files, and is ready to use immediately after installation.
Core Features¶
Select and Lookup¶
Select any English word or phrase in a session message with your mouse (words inside inline code blocks work too), and a card instantly pops up displaying the phonetic transcription and a Chinese explanation. Re-querying the same word hits the cache and displays immediately.
Technical Definitions First¶
Definitions are sorted by technical relevance. For example:
latency→ delay/latency (computer, networking, telecommunications)token→ token (AI and large language models) / token (computer science)throughput→ data throughput (computer, networking)cache→ to store (data) in high-speed buffer memory
General meanings (e.g., medical, psychological) are ranked lower.
Phonetic Transcription and TTS¶
Phonetic transcriptions come from standard dictionary data. Click the 🔈 button on the card to read the current word aloud using the system English voice (works offline; only speaks when you click).
Offline Fallback¶
Online lookups use the free Youdao API (~0.04–0.12 seconds). If a word isn’t found or the network is unavailable, it automatically falls back to the built-in 17,397-word ECDICT offline dictionary.
Configuration Isolation¶
dsh-gloss never writes to the following locations:
~/.dsh/profiles/*/cordis.patch.yml~/.dsh/settings-legacy.yaml,settings.yaml.imported~/.dsh/prompt-inject.md,dsh-purge/,guard/,.credentials.yaml
The plugin activates entirely through the bundled cordis.patch.yml (dsh.bundle.patch) synthesized in memory. It declares no Config schema, doesn’t call any settings API that would rewrite profiles, and makes zero modifications to your existing configuration.
Installation and Activation¶
Run in the terminal:
dsh plugin install dsh-gloss
For local development installation, run in the desktop profile directory:
pnpm add "dsh-gloss@file:/path/to/dsh-gloss"
After installation, restart DeepSeek Harness to use it.
Typical Usage¶
- Select an English word or phrase in a session message.
- A card pops up in place, showing the phonetic transcription + professional Chinese explanation.
- Optionally click 🔈 to read the word aloud.
- Click outside the card, press Esc, or click × to close.
Keyboard selection (Shift+arrow keys, etc.) also triggers it; touch devices support long-press to select.
Use Cases and Notes¶
Ideal for quickly understanding specialized English terminology in technical sessions, such as reading session logs in AI, networking, databases, concurrency, and related fields.
The plugin runs with the current dsh process permissions. We recommend reviewing the GitHub repository source code and license (MIT) before installation.
Summary¶
dsh-gloss transforms word lookup from “leaving the session” to “looking up in place.” It uses an online dictionary for accuracy, technical-definition sorting for professionalism, and an offline dictionary plus configuration isolation for availability and safety. For users who frequently read technical English in DSH, this is a low-intrusion, high-value supplementary tool.
- Plugin directory: https://www.skillhub.cn/plugins/PHANTOM-NINE/dsh-gloss
- GitHub repository: https://github.com/PHANTOM-NINE/dsh-gloss