dsh-desktop-update-entry: DSH Desktop Sidebar Resident "Check for Updates" Entry

Preface

DeepSeek Harness (DSH) desktop comes with a built-in update indicator, but it only renders in the UI when the shell is in a phase of “update activity”. When already at the latest version and idle, you often won’t see any entry in the sidebar that lets you manually trigger a check; the “Current Version” under Settings → General is just a line of text, and the tray menu usually only has “Open App / Quit”. If you like to confirm the version at a glance in the sidebar or actively click to check once, you need an extra entry point. The following introduces the community plugin dsh-desktop-update-entry (maintainer maxwell234smith, category: client), which provides a persistent slot at the bottom of the sidebar, working in conjunction with the official update flow, without replacing the shell’s own check and installation logic.

What Is This

dsh-desktop-update-entry is a client plugin for DSH Desktop: it adds a “Check for Updates”-related UI at the sidebar.footer.action slot (order: 1000, right next to “Settings / More”) at the bottom of the sidebar, visible whether or not there is an update. The official DesktopUpdateIndicator returns null directly when phase === 'idle'; this plugin fills in the entry when idle. During phases such as a new version being available, downloading, or an error, when the sidebar is expanded it will complement and yield to the official indicator, avoiding two identical buttons side by side. When the sidebar is collapsed, since the official indicator does not render in the narrow state (wide: false), this entry still retains feedback such as a status dot or a spinner.

The plugin does not download or modify files itself: checking, downloading, verifying, and installing are still performed by the desktop shell.

Core Functions

Relationship with the Official Indicator

Shell Phase Expanded Sidebar Collapsed Sidebar After Click
Idle (already up to date) “Check for Updates” Status dot Opens the official update dialog (the shell performs a check)
checking Yields to the official indicator Spinner —
available Yields (official shows “New version x.y.z”) Status dot —
downloading Yields Spinner —
verifying / installing Yields Spinner —
ready Yields (official shows “Install & Restart”) Status dot —
error Yields (official shows “Retry Update”) Status dot —

Two rules come from the README: when the sidebar is expanded, it complements the official UI; when collapsed, this entry provides fallback display.

How It Works (Briefly)

The desktop shell injects globalThis.dshDesktop.updates (protocol version 1) into the page. The plugin subscribes to this bridge, renders the status as a button, and on click calls bridge.open() to open the official update dialog:

bridge.status()            // Promise<presentation>  → { phase, percent?, version? }
bridge.subscribe(listener) // The shell calls back every time it pushes a new phase
bridge.open()              // Promise<void>          → Opens the official update dialog

In a normal browser (without the above global), the plugin is completely silent and registers no UI.

Installation and Activation

The plugin is installed with the DSH desktop profile; the version in the bundle is v0.1.0 (see the repository’s package.json). After installation, you need to refresh the page once. Zero runtime dependencies, zero build steps.

Install from GitHub (recommended to pin to a tag or a specific commit, see the repository’s Releases):

dsh plugin --profile desktop add github:maxwell234smith/dsh-desktop-update-entry#v0.1.0

For local development, you can link the source directory directly (modify the path for your machine):

dsh plugin --profile desktop add link:D:\path\to\dsh-desktop-update-entry

You can also fill in the DSH web version under Sidebar → Plugins → Install bundle:

github:maxwell234smith/dsh-desktop-update-entry

Typical Usage

  1. In DSH Desktop, install using the command above and refresh the page.
  2. Expand the sidebar: if already up to date and there is no official indicator, “Check for Updates” should appear at the bottom of the sidebar; clicking it opens the official update dialog, and the shell performs the check.
  3. Collapse the sidebar: a status dot or spinner is still visible at the bottom (depending on the phase), making it easy to perceive the update status in a narrow sidebar.
  4. When the shell enters phases such as available, ready, error, etc. and the sidebar is expanded, defer to the official indicator; this plugin yields in that area to avoid duplicate entries.

The maintainer uses Node’s built-in tests to verify the client logic in the repository; during development you can run them yourself:

node --test

Use Cases and Notes

Who it’s for: users who have been using DSH Desktop for a long time and want to be able to manually open the update dialog from the sidebar even when “already up to date”; users who need to see update-related status even when the sidebar is collapsed.

Permissions and security: the plugin runs with the current DSH process permissions; before installing, you should read the source code and MIT license of the GitHub repository. This plugin does not touch local files and does not initiate independent network requests; update behavior is still performed by the official shell.

Ecosystem note: the DSH community plugin directory (such as the entry on SkillHub) is an independent site, with no official affiliation with DeepSeek / High-Flyer; when installing bundles, use the README and Releases as the source of truth.

Conclusion

dsh-desktop-update-entry solves the small gap in the desktop version of “nowhere to click check for updates when idle, no official indicator in a narrow sidebar”: a persistent entry + complementing the official UI, with the logic centered on subscribing to dshDesktop.updates and forwarding open(). If needed, you can get installation instructions and version tags from the directory page or GitHub.

  • Directory page: https://www.skillhub.cn/plugins/maxwell234smith/dsh-desktop-update-entry
  • GitHub: https://github.com/maxwell234smith/dsh-desktop-update-entry
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye