Preface¶
When writing plugins for DeepSeek Harness (DSH), many issues aren’t documented officially: silent clipboard copy failures, restarting the plugin not taking effect after code changes (client restart is actually required), custom agents receiving messages but not executing, tooltip flickering, etc. Everyone ends up hitting the same issues and wasting hours, repeating the same cost.
dsh-plugin-dev-tools (maintained by eighteentang) is a small set of client-side tools for DSH plugin developers, distributed along with a knowledge base of practical experience. Once installed, toggle individual features on demand under Settings → Dev Tools. Current version 1.5.1, MIT license. Community directory: SkillHub plugin page; source code: GitHub.
What is this¶
In one sentence: UI element locator (Alt + hover), plugin-bundled pitfall knowledge base, and self-check/requirement alignment injection into AI workflows in dev mode.
Plugin category: Client; pure JavaScript, no build/prepare scripts, no build authorization required when installing from GitHub (no need to configure allowBuilds in pnpm-workspace.yaml).
Core features¶
UI Locator (Alt + hover)¶
- Move mouse over target UI, press Alt once.
- A floating box appears near cursor: region ownership, full CSS path, dimensions, etc.
- The box doesn’t follow the mouse, allowing easy “Copy”; also use
Ctrl+Alt+Cto copy directly. - Click outside box to collapse; press Alt again to re-locate.
The copied result can be directly pasted to AI or colleagues. Format example:
【UI Locator】Sidebar bottom action area
slot: sidebar.footer.action
Element: div.dvt-controls
Path: body > div.app > div.sidebar > div.dvt-controls
Size: 120×26 top=720 left=12
Description: 💀 End Process button rendered here
If it shows “(unregistered element)”, it means this position hasn’t been named in the plugin yet; feedback the path to the maintainer for addition.
Development experience base¶
Full experience in repo file experience/经验库.md, bundled with plugin. README lists current 77 verified entries; settings page shows version, entry count, update date and fingerprint (sample: version 2026-10-13, fingerprint 78594924).
- Index is injected into AI assistant prompts (when dev mode master switch is on), letting the model know “what pitfalls exist” without loading full text into context (full text ~103k chars; index assembled with fixed budget, injected ~6.6k chars per activation when dev mode is on).
- After updating the experience file, click ⟳ Refresh on settings page, no client restart needed; whether there’s an update should be verified by comparing entry count and fingerprint, not just the date.
- When dev mode is enabled, a
record_experiencetool is registered, allowing AI to record new pitfalls into the knowledge base.
Contribution format and parsing rules in README; entries marked “project-specific” will not be injected into other users’ prompts.
Dev mode master switch¶
When enabled:
- Mandatory self-check before starting — check official docs, framework implementations, find existing solutions; clarify that “not found doesn’t mean nonexistent”.
- Define requirements before starting work — when user says “want to do XX”, first align four elements (name/purpose/use case/workspace), confirm before planning, plan and confirm again before implementing.
- Register
record_experienceand experience index injection.
When disabled, the above injections and tools are actually unregistered (not just hidden), injected characters = 0.
End Process button (💀)¶
💀 at bottom of sidebar: terminate DSH host process. After confirmation, a DSH recovery dialog appears (framework treats host termination as abnormal, this is normal flow), allowing “Restart” (README says ~7 sec) or “Exit”. Plugin doesn’t offer “one-click restart” because DSH currently has no external restart IPC; killing and restarting manually is much slower per README tests.
Development diagnostics¶
Select “Dev Diagnostics” tab on right sidebar guide page (needs to be selected once to pin). For answering “why changes don’t take effect”: conclusion bar, environment (link/copy install, paths, whether HMR watches source), key file content hash comparison (! needs restart / ~ effective / · consistent), in-process service list, experience base consistency, recent host logs, etc. Host plugin console.log doesn’t persist to disk on desktop; plugin logs to ~/.dsh/dev-tools.log (512 KB cap). Read-only self-check JSON: GET http://127.0.0.1:8800/dev-tools/self-check.
README notes: modifying .js source requires client restart (ESM cache); modifying experience/经验库.md and other runtime-read files doesn’t need restart; profile config/patch usually doesn’t need restart (HMR watches config). @deepseek-ai/dsh-base patches HMR config.root to [], by default not watching plugin source, base takes precedence.
Installation & activation¶
Prerequisites¶
- DSH desktop client installed.
- Plugin installed into current DSH profile.
Install from GitHub (recommended)¶
- Open DSH → sidebar Plugins → Add plugin.
- Enter:
github:eighteentang/dsh-plugin-dev-tools
- Verify dsh-plugin-dev-tools appears in list and is enabled.
- Restart client once (DSH caches loaded modules by path, new code needs restart to load).
Local path install (alternative)¶
Download repo, place dev-tools folder in a long-term path without Chinese characters or spaces, enter folder absolute path when adding plugin. Client restart also required. If local path is link: format, dependencies won’t be installed; this plugin has zero dependencies, usually no impact.
Confirmation¶
Open Settings → Dev Tools, should see master switch and sub-tools; experience base metadata and ⟳ refresh button also on this page.
Typical usage summary¶
| Scenario | Action |
|---|---|
| Ask AI “which slot is this button in” | Alt locate → copy path and slot |
| Reduce undocumented pitfalls for AI | Enable dev mode master switch, use experience index and self-check injection |
| User requests new feature | Use injected “four elements → planning → re-confirmation” workflow |
Plugin .js changes not effective |
Check dev diagnostics tab for file hashes and services; restart client if needed |
| Only update experience markdown | Replace file → ⟳ refresh on settings page |
Use cases & notes¶
For whom: people developing or maintaining DSH plugins, needing to locate client UI, wanting to accumulate pitfall experiences and share with assistant context.
Permissions & security: Plugin runs under current DSH process permissions, can terminate host process, write logs under ~/.dsh/, register AI tools and prompt injections. Before installing, review source code and LICENSE to ensure maintainer and code behavior are acceptable.
Ecosystem notes: DSH advocates “everything is a plugin”; SkillHub etc. are community directories, not officially affiliated with DeepSeek/High-Flyer, this article doesn’t use “official app store” terminology.
Known limitations (from README): terminating process must go through recovery dialog; Config.listConfigs may show unsupported (external plugins can’t introspect schemastery inside asar); experience index truncates solutions to 60 chars, symptoms to 100 chars, details require AI to read full file.
Conclusion¶
dsh-plugin-dev-tools consolidates “how UI elements are named, where pitfalls are, what to check before starting” into a toggleable client plugin: use Alt for locating, experience base distributed with package and index injected in dev mode, use dev diagnostics to compare disk and process states when code changes don’t take effect.
- Directory page: https://www.skillhub.cn/plugins/eighteentang/dsh-plugin-dev-tools
- GitHub: https://github.com/eighteentang/dsh-plugin-dev-tools