AI Agent Hub
Back to plugins
🖥️

dsh-plugin-safety

Client Updated 2026.08.15

Run the following command in DeepSeek Harness:

dsh plugin install Seryta/dsh-plugin-safety

Paste the following prompt into your AI chat to install this plugin:

Install this plugin in DeepSeek Harness by running dsh plugin install Seryta/dsh-plugin-safety; source code is available at https://github.com/Seryta/dsh-plugin-safety

About this plugin

Anyone running DSH with more than a handful of plugins in their profile has likely hit this: a dependency drift or a corrupted bundle silently drops a plugin entry at startup, leaving no trace to say which import failed. dsh-plugin-safety closes exactly that blind spot.

It does two things. First, a pre-flight script runs before dsh-web starts, attempts to import every non-disabled plugin entry, and any that fail are automatically marked disabled: true with a persisted alert. Second, the browser renders a persistent red alert card that survives refresh and reopen until you explicitly dismiss it, while the host guarantees that a headless fix session has been spawned for every alert action before the response is returned. A file lock prevents duplicate spawns under concurrent requests, and a failed Popen is reported honestly rather than assumed successful.

If you run DSH in production or shared environments with a growing roster of third-party plugins, and you want broken entries isolated automatically, alerts surfaced durably, and repair triggered without manual triage, this plugin is a zero-cost safety net. It has zero third-party dependencies; host and scripts use only the Node and Python standard libraries, and the client is vanilla DOM. Install, restart, done.

Use Cases

  • Production DSH runs many third-party plugins and needs a safety net
  • A shared team profile where one broken plugin blocks everyone
  • Pre-flight validation that auto-disables bad plugins and spawns fixes

Best For

  • Operators running production DSH instances
  • Teams sharing a DSH profile with multiple plugin dependencies
  • Self-hosters who want zero-maintenance plugin health guards