dsh-auto-update
Run the following command in DeepSeek Harness:
dsh plugin install a1113622001/dsh-auto-update
Paste the following prompt into your AI chat to install this plugin:
Open the DeepSeek Harness Web dashboard (default http://127.0.0.1:3080), navigate to Settings → Plugin Market, search for dsh-auto-update and click Install to complete a hot-load; for CLI installation steps and full documentation see https://github.com/a1113622001/dsh-auto-update.
About this plugin
Upgrading DeepSeek Harness on Windows has a hard blocker: native Node addons such as sharp, koffi, and node-pty keep their DLL handles locked by the operating system, so any hot-overwrite attempt fails with an EBUSY error. In containerised deployments on Docker, Kubernetes, or Podman, a naive process.exit call simply tears down the container before the new files ever land on disk. dsh-auto-update exists to eliminate exactly these two failure modes so that upgrades can complete cleanly regardless of the host environment. The plugin is built around a three-stage pipeline: stage, detached apply, and container-aware protection. While Harness is running, incoming updates are written into an isolated staging directory and the locked binaries are never touched. Once the main process exits and the OS releases every native handle, a fully detached child process performs an atomic file replacement. A per-install apply.lock guard prevents concurrent update processes from corrupting the global state, and both the Windows shim and the POSIX bin/dsh symlink are followed correctly so the next launch picks up the new version on any platform. In container contexts the plugin detects Docker, Podman, and Kubernetes markers before taking any destructive action. Instead of calling process.exit(0) and killing the container, it surfaces a clear message in the Web UI telling the operator to pull the latest image, leaving the actual rollout to the orchestrator. On the web dashboard a small collapsible capsule in the lower-right corner lets you compare versions, trigger a manual update check, or restart with a single click, without digging through terminal logs. If you run DeepSeek Harness on a Windows desktop, a Linux or macOS server, or inside a container fleet and want upgrades to feel as frictionless as any ordinary application update, dsh-auto-update is the piece that makes it happen.
Use Cases
- Upgrading Harness on Windows fails with EBUSY because sharp or koffi native DLLs are locked by the OS
- You need a crash-free version rollout inside Docker, Podman, or Kubernetes containers without tearing down the container
- Guarding against concurrent update processes trampling the global install when multiple instances trigger upgrades
Best For
- Developers who run DeepSeek Harness on a Windows desktop every day
- Engineers operating Harness on Linux or macOS servers
- SREs or DevOps engineers deploying and maintaining Harness in container clusters
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.