AI Agent Hub
Back to plugins
🧩

dsh-autoupdate

admin-security Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install lc23313/dsh-autoupdate

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

Run dsh plugin install lc23313/dsh-autoupdate in your terminal to install this plugin. Source: https://github.com/lc23313/dsh-autoupdate

About this plugin

Keeping a dsh installation current by hand is rarely painless: you must track the right npm dist-tag, confirm the global install prefix, and pray that Windows file locks or a multi-Node PATH mix-up does not strike mid-install. dsh-autoupdate collapses that anxiety into a single Check for Updates button on the Settings page: one click queries the registry, a confirm dialog schedules the install, and a detached helper takes over only after the dsh process has fully exited.

The heart of the plugin is a guarded update transaction. A helper waits for dsh to close before touching the global install, resolves the running instances own npm prefix to sidestep PATH ambiguity, and pins an exact version resolved at check time. After installation, dual verification kicks in-the manifest is inspected and the new binary is actually launched. If anything goes wrong, the previous exact version is reinstalled automatically. A circuit breaker degrades behavior on consecutive failures (notify, then off) while a single success restores full automation.

Because the backend carries zero runtime dependencies and never calls dsh-internal APIs, the plugin survives breaking upstream changes without a code rewrite. It is built for developers who live in dsh daily and want updates that feel hands-off yet remain fully reversible, for Windows users battling file locks, and for multi-profile power users who want their profile-level plugins refreshed in the same pass.

Use Cases

  • One-click version check and apply from the dsh Settings page
  • Avoid file-lock failures when updating on Windows
  • Refresh user plugins across all profiles after a CLI update

Best For

  • Developers who rely on dsh heavily in daily work
  • Windows users who battle file-lock issues during updates
  • Ops engineers managing multiple dsh profiles