Preface¶
DeepSeek Harness (dsh) has a fast iteration cycle, and Releases often contain both feature descriptions and information like “package names are no longer compatible, plugin modifications required.” In daily development, you typically need only two things: whether there is a newer official version than the one on your local machine, and whether this upgrade will affect behavior or interfaces you currently depend on. The community also has update-related plugins with automatic upgrade and rollback capabilities; if you prefer a complete separation of checking and upgrading—where the interface only displays facts and copyable commands, and you execute them in the terminal yourself—the following introduces the network-connected tool plugin dsh-update-lens published by maintainer 1207627875 (GitHub: 1207627875/dsh-update-lens, Community Directory: skillhub plugin page).
What is this¶
dsh-update-lens is a read-only update checking plugin for dsh: it compares version information on npm and GitHub, prompts for new versions within the app, and provides breaking change annotations for release notes. It will not execute npm upgrades, download, or replace global packages for you; upgrade commands are provided for copying only, and whether to execute them is up to you.
The plugin is released under the MIT license, and the current version in package.json is 1.0.3. Requirements: Node >= 20, dsh >= 0.1.6-alpha.2 (README states it has been tested on 0.1.6-alpha.2 and 0.1.7-rc.2).
Core Features¶
Update Center and Reminders¶
Once enabled, the main entry point is Settings → Update Center (Navigation position 160). The page displays the current version, latest version, channel, npm dist-tags, update content (Chinese/English comparison), risk annotations, network sources, related settings items, and manual update commands.
When a new version is discovered:
- A floating layer notification appears in the bottom right corner, supporting “Copy Command / Remind Later / Ignore this version”;
- The Settings navigation item displays as “Update Center ●” when an update is available.
Breaking Change Annotations¶
Compared to similar capabilities that “only list changelogs,” this plugin tags release notes item by item, using a color bar on the left + badges. Hovering reveals the matched keywords (rules are transparent, not a black box):
| Level | Meaning | Typical Matched Words (Excerpts) |
|---|---|---|
| ▲ Breaking (Red) | Removal, incompatibility, requires manual adaptation | 不兼容 (Incompatible), 移除 (Remove), 弃用 (Deprecate), deprecated, must, developers should, etc. |
| ! Notice (Yellow) | Behavior, default values, interface changes | 调整 (Adjust), 改为 (Change to), default, changed, adjust, etc. |
Additional rules include: interface-related changes and expressions like “API / slot changes” are treated as breaking; within sections like “问题修复 / Bug Fixes” and “新增功能 / New Features”, noise reduction is applied to top-level words to reduce mislabeling ordinary fixes as breaking. Each version card summarizes “N breaking / M to watch” and provides a View only risk items filter. If the version pending upgrade contains breaking changes, a red bar reminder will be displayed above the Manual Update Command.
Release note formats vary with dsh versions (Markdown headers, emoji headers + bare tag lines, HTML multi-line headers, etc.). The parser claims in the README to cover multiple formats; rules are maintained via assertions on real Release body fixtures in tests/notes-rules.mjs.
Version Comparison and Data Sources¶
Version determination uses semver comparison (including pre-release rules). By default, it follows the current channel (e.g., if alpha is installed, it only tracks alpha); it can also be switched to “Latest version of any channel”. If situations like “latest pointing to a version lower than the installed version” occur in dist-tags, a separate warning is issued.
Network reads are all public GETs:
| Source | Purpose |
|---|---|
registry.npmjs.org |
Version number, dist-tags, publish time (Primary source) |
registry.npmmirror.com |
Backup when primary source fails |
api.github.com/.../releases |
Update body |
ungh.cc |
Fallback mirror only if GitHub body cannot be retrieved |
ungh.cc is not requested when GitHub is functioning normally; the GitHub API address (mirror) can be customized in settings. The plugin connects directly by default and does not read system WinINET proxies; it only recognizes proxies in the settings page or environment variables HTTPS_PROXY / HTTP_PROXY.
What it deliberately does not do¶
The README clearly distinguishes:
- No automatic updates; for one-click updates and backup rollback, please refer to Airmetro/dsh-update-checker.
- Only checks the dsh core, does not scan for new versions of third-party plugins; for plugin ecosystem updates, tools like stuarthu/dsh-update-notifier can be used, which do not conflict with this plugin.
- Breaking change annotations are based on keyword rules and may be missed or mislabeled; when Chinese and English are asymmetric, they are counted according to the more severe side.
Installation and Activation¶
First install, then enable in settings, and finally restart the profile to load Host-side code (client changes only require a page refresh).
# 1) Install into profile (replace 'web' with your profile name)
dsh plugin --profile web add github:1207627875/dsh-update-lens
# 2) Enable in "Settings → Plugins"; or manually add dsh-update-lens to the dsh.profile.bundles array in that profile's package.json
# 3) Restart profile
After installation, an HTTP self-check can be performed (README example):
GET http://127.0.0.1:3080/dsh-update-lens/status
Confirm that it returns JSON and that current.version matches the current dsh version.
Settings and Typical Usage¶
Settings and cache paths: $DSH_HOME/dsh-update-lens/{config,state}.json ($DSH_HOME defaults to ~/.dsh).
Common settings items include:
- Enable background automatic checks (Default on, first check about 8 seconds after startup, does not block startup)
- Check interval (15–10080 minutes, default 360)
- Check scope: Follow current channel / Latest version of any channel
- Pop up reminder when a new version is found
- HTTP(S) Proxy (Leave empty for direct connection; can write addresses like
127.0.0.1:7890omitting the protocol) - GitHub API Address (Can fill in mirrors)
Typical workflow:
- Keep default automatic checks, or configure proxy / GitHub mirror according to your network environment;
- When there is an update, read the Release with risk annotations in the “Update Center”, and use “View only risk items” if necessary;
- Copy the manual update command on the page and upgrade dsh yourself in the terminal;
- A single version card can be “Ignored” to collapse the card (recoverable); “Do not remind” in the notification only silences that specific notification, which differs from card ignoring (explained in README).
Write interfaces (such as /check, /config, /dismiss) only write to the plugin’s own configuration and require same-origin.
Scenarios and Notes¶
Suitable for: Developers who frequently follow new dsh versions, want to see version differences and Release risks at a glance within the UI, and insist on manually controlling the timing of upgrades.
Notes:
- The plugin runs under the permissions of the current dsh process and will initiate external network requests; before installation, you should read the source code and MIT license to confirm it meets your security policy.
- This plugin does not require keys to work, only read-only access to public registries and GitHub Releases.
- The DeepSeek Harness community plugin directory (such as skillhub.cn) is an independent ecosystem site, with no official affiliation with DeepSeek / High-Flyer; the facts in this article are subject to the repository README and
package.json.
Conclusion¶
dsh-update-lens consolidates “Is there a new version” and “Which items in the Release might break compatibility” into the Update Center in settings, while upgrade actions always remain in your terminal. To learn more, visit the Community Directory Page and the GitHub Repository.