dsh-update-vd: DSH Desktop Update Center and Settings Enhancement

Preface

When doing daily development on DSH Desktop, version upgrades often require manually downloading DMG files and dragging them into /Applications. Skills, MCP servers, and Agent presets are often scattered across profile patches and configurations of other local AI tools; modifying them usually requires a restart or manual YAML editing. The community Cordis plugin @mhxy13867806343/dsh-update-vd (npm package name same as GitHub repository mhxy13867806343/dsh-update-vd) consolidates the workflow of “Check Update → Download → Replace App → Restart” into a single sidebar link. It also adds pages for skills, MCP, agents, and importing from other AI tools in the settings. Below is an introduction to what it is, what it does, how to install it, and things to watch out for.

What is this

dsh-update-vd is a Cordis plugin designed for DSH Desktop (host side + Web client, with dsh.client.immediately set to true, mounting the UI upon loading). It is maintained by mhxy13867806343 and categorized as a client plugin in the SkillHub directory. The version referenced in current materials is 1.10.4, licensed under MIT. The plugin uses cordis.patch.yml within its bundle to disable the built-in update row (desktop-updates) of DSH Desktop. If you wish to keep the built-in update row, you must adjust the patch according to the README to avoid duplicate update UIs.

Core Features

The bottom of the sidebar (above the account row) displays the current version and update status:

  • No new version: Shows text like Version 2.0.16 and [Check for Updates].
  • New version available: Shows version transition (e.g., 2.0.16 → 2.0.17) and a highlighted [Update] button.
  • Downloading: Shows percentage and a thin progress bar in the sidebar; if the sidebar is collapsed to icons, it appears as an icon button with a small dot indicating a new version.
  • Interrupted: Allows [Resume Download], supporting HTTP Range resumable downloads.

Clicking update opens a progress modal: you can cancel (requires secondary confirmation, downloaded data is preserved) or click the blank area/press Esc to continue downloading in the background (sidebar continues to show progress). Upon completion, the flow is: Mount DMG → Verify version and signature → Replace app → Auto-restart.

Security constraints on the installation side (from README): Update requests are restricted to two fixed endpoints on dshdesktop.cn; redirects to other hosts are rejected. Before installation, the app is copied to a staging directory using ditto and verified with codesign --verify --deep --strict; if verification fails, the old app is restored. Exiting the old process uses a combination of TERM → AppleScript quit → Wait for port → KILL if necessary.

Settings → Skills (settings.section = skills)

Lists skills from the package, project, and local writable directories; read-only items are marked. Supports search, add / edit / delete (deletion requires confirmation and displays the path). Writable directories include ~/.dsh/skills and ~/.agents/skills. Importing supports fetching SKILL.md via http(s) or local paths; duplicate names trigger an error without silent overwriting. You can scan and copy skills from local Codex / Claude / .agents directories; online search by source address is supported (e.g., anthropics/skills, obra/superpowers, or custom owner/repo).

Settings → MCP (settings.section = mcp)

Manages the MCP server list (name, type, address or command, connection status). Supports streamable-http and stdio. Configuration is written to ~/.dsh/mcp-servers.json; upon saving, it is dynamically mounted according to @deepseek-ai/dsh-mcp-client rules without requiring profile patch changes or restarts. Can import from common config files of tools like Codex, Claude, and Cursor; supports online search from official MCP registries or sources like modelcontextprotocol/servers.

Settings → Agents (settings.section = agents)

Manages DSH Agent presets (declared by @deepseek-ai/dsh-agent-preset, data stored in ~/.dsh/agent-presets.json). Provides list, search, create / edit / delete, import / export (plugin JSON or DSH patch YAML), and online search for third-party preset repositories. Built-in presets are read-only; you can “Duplicate” them to modify. Saving mounts them dynamically at runtime; mounting failures are marked in red in the list with DSH diagnostics shown. Since v1.9.1, “Import from other AI” has been moved out of this page to the independent “Import” page described in the next section.

Settings → Import (settings.section = other-ai, order 160)

Navigation is placed below “Agents” with two tabs:

  1. Agent Presets: Detects Codex, Claude Code, TRAE, WorkBuddy, etc. (based on local directories / apps); converts their instructions, sub-agents, and skills into DSH agent presets (in the form of system prompts), writes to ~/.dsh/agent-presets.json, and mounts them immediately. Tools not installed still show entries with links to their official websites.
  2. Conversation History: Read-only list of local session files from Codex / Claude Code / WorkBuddy, etc. Supports search, multi-select, and pagination. Can one-click import as DSH sessions to continue chatting in the left conversation list (idempotent by session id), or export to Markdown / insert into the input box.

The Skills / MCP pages also provide an “Import from local AI tools” entry (distinct from the table above, focusing on configurations and server lists).

The sidebar provides a Notes modal: manages commands or git snippets, supporting CRUD operations, search, pagination, and multi-select insertion into the chat input box.

Under “Recharge Balance” in Settings → Account & Balance, a Token Activity heatmap is appended (one square per day; four coloring modes for daily / weekly / yearly / cumulative totals, data sourced from local session logs). If the host UI is redesigned and anchors are lost, it falls back to a standalone “Token Activity” page in settings.

Installation and Enablement

It is recommended to install from the DSH Desktop Plugin Market by searching for dsh-update-vd. It will persist after restart.

Command line installation (from README):

# From npm (if published)
dsh plugin --profile desktop add @mhxy13867806343/dsh-update-vd

# Or install directly from this repository (local dir / git)
dsh plugin --profile desktop add /path/to/dsh-update-vd

You can also add the dependency to the desktop profile’s package.json or insert a plugin entry in cordis.patch.yml (see repository README for details). Restarting DSH Desktop is required after installation.

Community Directory Page (not an official DeepSeek / Hunyuan store, community collection only): https://www.skillhub.cn/plugins/mhxy13867806343/dsh-update-vd

Typical Usage

Perform a macOS Upgrade via Sidebar

  1. Open DSH Desktop, look at the version row at the bottom of the sidebar; if there is a new version, click [Update].
  2. Wait for the download in the modal; you can click “Background Upgrade” if needed, and the sidebar will still show progress.
  3. After downloading, the plugin automatically verifies signatures, replaces the app in /Applications, and restarts; no manual DMG dragging required.

If you want to manually confirm installation after download, set the following in the environment where DSH Desktop is launched:

export DSH_UPDATER_AUTO_INSTALL=0

Other common environment variables see README: DSH_UPDATER_CHANNEL (default stable, supports beta / next), DSH_UPDATER_CACHE_DIR, DSH_UPDATER_DRY_RUN=1, DSH_UPDATER_NO_RELAUNCH=1.

Manage MCP in Settings and Effect Immediately

  1. Go to Settings → MCP, add or edit a streamable-http or stdio configuration.
  2. After saving, the list is written to ~/.dsh/mcp-servers.json, and the client attempts to mount immediately; if connection fails, the UI shows the server name and reason.
  3. You can also click “Online Search” to select from a registry or import from existing configs like Cursor / Codex.

Migrate History Conversations from Codex

  1. Open Settings → Import, switch to the Conversation History tab.
  2. Search or page through conversations in the Codex source, and perform import.
  3. After importing, open the corresponding entry in the DSH left conversation list to continue chatting (importing the same session_id repeatedly acts as an idempotent refresh).

When troubleshooting update issues, the README suggests checking ~/Library/Caches/dsh-update-vd/state.json, [dsh-update-vd] lines in host logs, and ~/Library/Caches/dsh-update-vd/install.log. Host APIs include GET /api/dsh-update-vd/status|check and POST /api/dsh-update-vd/download|install|cancel.

Scenarios and Notes

Who it is for: Users primarily using DSH Desktop on macOS who want one-click sidebar upgrades; simultaneously want to maintain skills, MCP, and Agent presets within the same UI, or migrate configurations and sessions from Codex / Claude Code / WorkBuddy, etc.

Platform Limitations: The README explicitly states that full automatic installation is currently macOS only (hdiutil + ditto + restart); update capabilities on Windows / Linux stop at “Check for Updates”. Automatic installation will quit and restart DSH Desktop, interrupting ongoing tasks (session records are retained). The installer is about 500MB, default cache directory is ~/Library/Caches/dsh-update-vd/.

Security and Permissions: The plugin runs under the permissions of the current DSH process. It reads/writes ~/.dsh/, accesses configuration and session files of other local AI tools, and replaces application files on macOS. Before installation, you should review the GitHub repository source code and MIT license to confirm that the update endpoints and environment variable behaviors comply with your policies.

Ecosystem Note: DeepSeek Harness emphasizes “Everything is a plugin”; SkillHub is a community plugin directory and has no official affiliation with DeepSeek / Hunyuan.

Conclusion

dsh-update-vd transforms DSH Desktop version upgrades into an observable sidebar link and centralizes skills, MCP, agents, and cross-tool imports into settings pages, reducing the cost of manual patch editing and repeated DMG installations. For further information and issue feedback:

  • Directory Page: https://www.skillhub.cn/plugins/mhxy13867806343/dsh-update-vd
  • Source Code & README: https://github.com/mhxy13867806343/dsh-update-vd
羽毛球分组比赛记分
小程序二维码

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

Xiaoye