Introduction

DSH emphasizes “everything is a plugin,” and the usage of the desktop version of DSH can also be supplemented by independent plugins. dsh-tray addresses a specific problem: the Close button on the desktop version of DSH is easily clicked by mistake, causing the application to close. It tucks DSH into the system tray to reduce the risk of such accidental closures.

What is this

dsh-tray is maintained by cjz-wr and is licensed under MIT. It is an independent add-on; the official DeepSeek Harness does not include this tray capability.

Core Features

Verified capabilities of dsh-tray include:

  • Hiding the desktop version of DSH into the system tray.
  • Preventing the application from being accidentally closed by clicking the Close button.
  • Providing control and status for the desktop-shell tray via a loopback control service.
  • Adding a dsh.bundle patch layer containing a loader row.
  • Includes a client settings face.

Installation and Enablement

There are two ways to install.

  1. Search for the dsh-tray repository in the plugin settings interface and click install. This method requires installing the plugin marketplace first.

  2. Install from CLI:

dsh plugin --profile <name> add github:cjz-wr/dsh-tray

<name> is the target profile placeholder. For example, to install to the web profile:

dsh plugin --profile web add github:cjz-wr/dsh-tray

The newly installed bundle layer will be composed on the next process startup.

Building and Committing

The repository intentionally includes build outputs. lib/ is the committed build output, and there is no prepare script. After modifying src/, rebuild locally first, then commit the new lib/:

npm run build

Applicable Scenarios and Notes

dsh-tray is suitable for desktop DSH usage scenarios. The official DeepSeek Harness does not include this tray, so it is a standalone add-on.

The following limitations need to be noted:

  • It only takes effect for the desktop version of DSH; installing it on the Web side has no effect.
  • If the target build has already composed a row with the id tray, the following error may appear at startup:
duplicate loader entry id: tray

In this case, you should install it to a profile that does not contain this built-in tray row.
- The plugin runs with the permissions of the current dsh process. You should check the source code and license before installing. The license for this repository is MIT.

Links

GitHub Repository:

https://github.com/cjz-wr/dsh-tray

The directory page address is not provided in the material for this article and cannot be completed here; you can search for the dsh-tray repository in the plugin settings interface before installing.