siriuswj/dsh-updater-npm
Two Settings cards: update @deepseek-ai/dsh from npm with rollback points, and sync the official DSH docs for search.
DSH Updater adds two cards to DSH Settings. The first, DSH Update (npm), checks the latest published @deepseek-ai/dsh against your installed version, shows a red dot next to the Settings entry when an update exists, and updates in one click with live progress, followed by a Restart DSH button that performs the staged swap and brings the new version up on the same command line. The upgrade safety net is the part worth noting: once a swap has actually succeeded it records a rollback point, and the card lists only rollback points whose version differs from the running one, so reverting is a deliberate choice between real alternatives rather than a guess. The second card, DSH Docs (official), incrementally syncs the deepseek-ai/deepseek-harness docs directory into $DSH_HOME/docs-sync, skipping unchanged files by GitHub blob sha with a progress bar, and registers dsh_docs_search and dsh_docs_read model tools so the agent can search and read the official documentation directly.
Install
dsh plugin --profile web add dsh-updater-npmThe README's recommended npm line. A GitHub form is also documented. Restart dsh web afterwards, after which both cards appear in Settings. The plugin's UI and every host message support English and Chinese and follow the system locale.
Compatibility
The update card runs npm install -g @deepseek-ai/dsh@latest with live progress showing a bar and the tail of the output, so it updates a globally installed CLI rather than a per-profile copy. The restart button performs a staged swap and relaunches the original command line through PowerShell on Windows and /bin/sh on macOS and Linux. Rollback points are listed only where the version differs from the running one.
Details
- Repo: siriuswj/dsh-updater-npm
- Category: Infrastructure & Deployment
- Stars: 6
- Version: 1.13.4 (npm)
Alternatives
KeLearns/dsh-update-checker · STARDUSTLC666/dsh-calendar · ilimei/dsh-desktop