Introduction¶
DeepSeek Harness (DSH) adopts a “everything is a plugin” philosophy, with plugins sourced from registries, local paths, or Git commits. When opening DSH NEXT, manually checking and updating each plugin and the main application one by one is inefficient. A unified entry point is needed to update all registry-installed plugins to the latest compatible versions at startup, and to sync-update DSH NEXT itself.
Plugin Overview¶
dsh-next-auto-update is a sidebar “Auto Update” page plugin published by maintainer lijianbin2. Its core value: automatically completing the plugin and main application update check and installation flow at DSH NEXT startup, eliminating the need for manual per-plugin maintenance.
Core Features¶
- Plugin Updates
- For each registry-installed plugin, query the registry for new versions
- Filter for the latest version that satisfies the “bundle patch” requirement and is compatible with the current DSH version
- Install them one by one via the
pluginManagerRemote, displaying the Host’schecking/removing/installingstatus inline -
If an installation fails and is rolled back by the Host, the rolled-back version is recorded
-
DSH NEXT Self-Update
- Invokes
window.desktopNext.commandwithin the desktop window, executingcheck-updates,download-update, andinstall-updatesequentially - Automatically restarts the application after installation completes
-
For Portable and Linux editions (which lack an in-app installer), a release page link is provided inline instead
-
Update Rules & Limitations
- Versions already running will not be reinstalled
- Releases whose installation did not take effect will not be auto-retried; the panel shows an “Install again” option
- Runs at most once every six hours at startup; an interrupted cycle resumes after 90 seconds
- Official plugins bundled with the installer (e.g.,
dshmarket) are excluded from updates - Plugins installed from local paths or Git commits are listed as skipped
- Does not download packages directly from the internet; only executes the official installer packages downloaded by the desktop client’s built-in updater
Installation & Enablement¶
Install via DSH’s plugin page or CLI:
dsh plugin add lijianbin2/dsh-next-auto-update
You can also select a local repository directory under “Plugins → Add plugin → local directory”.
After installation, an “Auto Update” page appears in the sidebar. Check the relevant preferences to enable the automatic update flow at startup.
Preference Options¶
- Update installed plugins on launch: Whether to update installed plugins at startup
- Update DSH NEXT on launch: Whether to update DSH NEXT itself at startup
- Install app updates and restart automatically: When enabled, automatically downloads and installs; when disabled, only checks and provides a “Download and install” button
- Include pre-release plugin versions: Whether to include pre-release plugin versions
Typical Usage¶
- Open the “Auto Update” page in the sidebar
- Confirm that the relevant preferences are checked
- Open DSH NEXT; the plugin will automatically complete the plugin and main application updates
- To check manually, simply click the “Check now” button
Use Cases & Notes¶
- Suited for users who need to uniformly maintain plugin and main application versions at startup
- The plugin runs with the current DSH process’s permissions; review the source code and license before installation
- Does not affect official plugins bundled with the installer, and does not handle plugins installed from local paths or Git commits
In Summary¶
dsh-next-auto-update provides a unified auto-update entry point in the sidebar, helping DSH users complete plugin and main application checks and installations at startup, reducing manual maintenance overhead. Directory page: https://www.skillhub.cn/plugins/lijianbin2/dsh-next-auto-update; GitHub: https://github.com/lijianbin2/dsh-next-auto-update.