dsh-plugin-term-dictionary: Building a terminology dictionary in DSH conversations

Introduction

When discussing architecture with agents or reading technical replies in DeepSeek Harness (DSH), you’ll frequently encounter abbreviations, identifier-style naming, or project-specific terms. After looking up their explanations, the knowledge often gets scattered across the chat history, and you have to ask again when the same term appears later. Manual note-taking is possible, but it doesn’t quite fit the rhythm of “conversation as workflow.”

Below is an introduction to the Term Dictionary (npm package dsh-plugin-term-dictionary, current version 1.1.4, MIT license) published by maintainer lakerian. It scans the text after agent replies are rendered and automatically records rare terms according to rules. Terms already in your personal dictionary can be hovered over in conversations to view explanations, or clicked to enter their entries. You can also select words or phrases to create entries with one click. Term detection and built-in glossary queries are performed locally in the browser without making network requests; only when model completion is needed for explanations does it use the host-side llm service.

What Is This

Term Dictionary is a Web client plugin for DSH: a “Term Dictionary” entry appears in the plugin area on the left side, and the dictionary panel is in the central main area. It also annotates and enables interaction with entries in the conversation area. It’s designed for users who frequently have technical conversations in DSH and want to consolidate “just-learned terms” into searchable entries.

The community directory SkillHub and the GitHub repository lakerian/dsh-plugin-term-dictionary are independent information sources with no official affiliation with DeepSeek or HF Cloud; DSH itself follows an “everything is a plugin” extension approach.

Core Features

Automatic Collection and Annotation

When agent replies finish rendering, the plugin scans English technical terms, abbreviations, identifier-style naming (such as camelCase, snake_case), and Chinese industry terms from the built-in glossary, creating entries for the top-confidence candidates. Words already collected in the personal dictionary are marked in replies with dashed underlines and a subtle background color (depending on the CSS Custom Highlight API; silently degrades when unsupported, with hover and click still available).

Automatic collection is not a “full-text dump.” The README outlines three thresholds:

  1. There must be term evidence (abbreviations or identifier-style naming, etc.); ordinary English prose and common words won’t be automatically collected.
  2. Words already explainable by the built-in glossary (such as quorum, idempotent) are no longer automatically collected, but can still be hovered over/clicked to view explanations, and can be manually added to the dictionary.
  3. Words previously deleted by users won’t be collected automatically again unless manually added back.

Example (from the repository description): WriteAheadLog and DSN will be collected; quorum / Kubernetes won’t be automatically collected; the and other common words won’t be collected.

Dictionary Panel

Click “Term Dictionary” on the left to search in the panel and browse through five views: “All / To Supplement / Pinned / Tagged / Deleted.” Supports editing, pinning, deleting, undeleting, and putting entries into groups. Secondary pages include Settings, Import / Export, and Entry Packs.

The settings page has three switches at the top: Auto Collect, Highlight Terms, Auto Explain (see the README section “Three Feature Switches” for behavior when turned off).

Conversation Area Interaction

For words collected or matched in the built-in glossary, the README defines three gestures:

Gesture Behavior
Mouse hover (default ~110ms, adjustable 0–200ms in settings) Show a brief explanation card
Click Personal dictionary entry: enter panel and locate; built-in glossary word: show explanation bubble; uncollected word: create or generate explanation with model
Select word/phrase “Add Entry” appears, open editor with pre-filled content

The source field source === "dictionary" indicates personal entries; source === "glossary" indicates the built-in glossary (about 860 English technical terms and 240 Chinese industry terms).

Explanations and Data

Explanations come from the built-in glossary, user edits, or clicking “Generate Explanation with Model” triggers the host to call the current profile’s llm service (routing order described in README). The authoritative dictionary file is at $DSH_HOME/dsh-plugin-term-dictionary/dictionary.json; there’s a localStorage copy on the browser side, synced with the host route /dsh-term-dictionary/*. User-written explanations won’t be automatically collected or overwritten by model results.

Installation and Activation

Environment requirement (from package.json): DSH >=0.2.0-rc.2.

Install from plugin marketplace (recommended in README): Settings → Plugin Marketplace → Search “Term Dictionary” → One-click install.

You can also directly install the npm package (replace <your profile> with your actual profile name):

dsh plugin --profile <your profile> add dsh-plugin-term-dictionary

After installation, restart the Host (both host and browser client load in running processes). The package doesn’t carry npm dependencies, and no build scripts need to be executed. The SkillHub directory page shows the plugin is currently in installable status, version 1.1.4.

Typical Usage

  1. After installing and restarting the Host, confirm in settings that both the plugin bundle and plugin row are enabled (mentioned in README development notes: bundle being selected doesn’t equal row enabled: true).
  2. Have technical conversations with the agent, observe automatic entry creation and underlining in replies; for words already covered by the built-in glossary, you can hover or click to read explanations without repeated collection.
  3. When encountering project-specific terms, select words or phrases in replies, click “Add Entry”, complete translations and explanations in the panel; if needed, click “Generate Explanation with Model” (depends on the profile having a configured and available llm route).
  4. Use import/export or entry packs in the panel to migrate entries across environments or for backup; organize long-term accumulated entries with groups and pinning.

Use Cases and Notes

Who it’s for: R&D and operations personnel who frequently read English technical replies in DSH and need personal glossaries with context snippets (single entry ~240-character context rule).

Permissions and Security: The plugin runs with the current DSH process permissions. Before installation, read the GitHub source code and LICENSE to determine whether to trust maintainer lakerian. The README clearly states that the host-side /dsh-term-dictionary/* route has no authentication, only listening on local loopback; if deployment changes (multi-user, remote access), you need to evaluate whether this design still applies.

Other limitations (README excerpt): Automatic collection is capped at 3 new entries per message; code blocks as a whole don’t participate in collection and annotation (inline code in body paragraphs can still be hovered/clicked for collected words); model explanations depend on the profile mounting llm service, other features remain available when unavailable.

Conclusion

Term Dictionary turns “rare words appearing in conversations” into a searchable, editable, importable/exportable local dictionary, and provides hover explanations and one-click entry creation in the reply area, reducing the cost of repeated word lookups. For installation or update notes, visit the SkillHub directory page and GitHub repository README.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye