dsh-plugin-dedupe
Run the following command in DeepSeek Harness:
dsh plugin install Jiaoyc224/dsh-plugin-dedupe
Paste the following prompt into your AI chat to install this plugin:
Install this plugin in DeepSeek Harness by running dsh plugin install Jiaoyc224/dsh-plugin-dedupe; the full source is available at https://github.com/Jiaoyc224/dsh-plugin-dedupe .
About this plugin
Maintaining a DSH profile can turn into a dependency quagmire: the same plugin may be declared from npm, GitHub, and local file paths at the same time, while stale copies of the same package linger in node_modules. This kind of duplication makes the dependency graph hard to reason about and can cause unpredictable overwrite behavior during installs.
dsh-plugin-dedupe loads as a Cordis plugin and automatically scans the current profile at startup, cross-referencing package.json declarations against actual node_modules contents. It flags same-name multi-source declarations, duplicate package directories, and undeclared dsh-* leftovers, distinguishing hard errors from softer warnings. Its standout feature is registering as a pnpm preinstall hook that exits with a non-zero code before any duplicate plugin is even downloaded, blocking the install at the source.
If you manage a DSH profile with dozens of third-party plugins, or work in a team where members add and remove plugins manually and the dependency state drifts over time, this lightweight guardian catches duplicates on every install and saves you from manually diffing package.json against node_modules each time.
Use Cases
- Prevent duplicate plugin imports from different sources in a shared DSH profile
- Automatically detect and block duplicate plugin downloads before pnpm install
- Quickly locate stale plugins lingering in node_modules during profile cleanup
Best For
- Developers or small teams managing multiple DSH plugins
- Engineers using pnpm to manage DSH profile dependencies
- Ops staff seeking automated dependency consistency checks to reduce manual diffing
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.