DeepSeek Harness (DSH) is a toolchain for agent developers. During use, when DSH releases a new version, the manual update process is cumbersome and easy to miss. The @louchi1984/dsh-auto-update plugin solves this problem with automated scanning, installation, and restart mechanisms.
What Is This¶
The plugin is named @louchi1984/dsh-auto-update, maintained by developer louchi1984-coder, and licensed under MIT. It works with the standard DeepSeek Harness Web UI (host + client dual panels), does not depend on a specific native shell, and only uses the webServer and slots services provided by the Web UI.
Core Features¶
- Automatic Scanning and Mirror Fallback: The first check runs 15 seconds after startup, then every 6 hours. It compares the
latest/nextchannels for@deepseek-ai/dshon npm. The check source prefersregistry.npmjs.organd automatically falls back to the domestic mirrorregistry.npmmirror.comon failure or timeout. Installation always uses the registry configured in your npm. - Left Sidebar Status Indicator: Located at the bottom of the left sidebar, on the right side of the “Settings” row. It provides low-disruption status icons (check mark, amber breathing dot, spinning loader icon, red dot); click to view details.
- One-Click Installation and Automatic Restart: Supports one-click installation. After installation succeeds, dsh web automatically restarts in 3 seconds. macOS/Linux use SIGTERM for graceful shutdown; Windows uses PowerShell hard termination followed by a fallback restart.
- Details Card: Displays version comparison and release notes, and provides “Release Notes” and “Download and Install” buttons.
Installation and Enablement¶
Prerequisites: pnpm must be installed on the machine (dsh plugin is a pnpm forwarding layer in the profile directory).
Run the following commands to install:
dsh plugin --profile web add @louchi1984/dsh-auto-update
dsh web
Typical Usage¶
- After installing the plugin, start
dsh web. - Find the status icon at the bottom of the left sidebar and click it to view the current version, latest version, and release notes.
- Click “Download and Install”; the plugin automatically runs
npm install -g @deepseek-ai/dsh@<tag>, restarts the service in 3 seconds, and the page refreshes automatically.
Use Cases and Considerations¶
- Permission Requirements: The installation and restart endpoints execute
npm install -gwith the current user’s permissions; users must assume the associated permission risks. - Networking and Security: By default, it only binds to
127.0.0.1:3080(loopback). If you need to expose it to a local network, add access authentication (refer to dsh-web-auth-style plugins). - DSH Status: DSH is a developer preview and may have breaking compatibility changes; always review the release notes before updating.
- Transparency: The installation command is transparent and visible; it uses
npm install -gand does not rely on a specific shell or magic.
Short Conclusion¶
The plugin closes the loop on the DSH update process at the UI level, making it suitable for developers who want to reduce manual maintenance costs.