dsh-tray
系统托盘桥接插件:通过环回控制服务,在桌面外壳中实现托盘控制和状态显示,防止应用被误关。
AI 分析
核心用途是将 DSH 桌面端最小化到系统托盘。适合使用 DSH 桌面客户端、希望挂机运行且防止点击关闭按钮导致程序退出的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cjz-wr/dsh-tray說明文件
閱讀完整 README ↗dsh-tray
English | 中文
A small plugin that hides the desktop DSH into the system tray, avoiding the risk of the app being accidentally closed by clicking "Close".
Note: This plugin only works with the desktop DSH. Installing it on the Web side will have no effect.
Install
Search this repository in the plugin settings interface and click install (requires the plugin marketplace to be installed), or from the CLI:
dsh plugin --profile add github:cjz-wr/dsh-tray
`` is a placeholder — replace it with the profile you want to install
into, e.g. dsh plugin --profile web add github:cjz-wr/dsh-tray. The official
DeepSeek Harness does not ship this tray, so installing into the standard
web profile works fine. The only conflict is with builds that already
compose a tray row in-box (such as the repo this package was extracted
from) — see the note below.
A newly installed bundle layer composes on the next process boot.
Build output is committed on purpose. Git installs pull the repository as it is — nothing runs your
buildscript.lib/is therefore committed so git/npm/tarball installs all work with zero build authorization; there is nopreparescript. Rebuild locally withnpm run buildand commit the newlib/wheneversrc/changes.
⚠️ Conflict only with builds that already ship the tray. The official DeepSeek Harness does not include this tray — it is a standalone add-on, so it installs cleanly into any profile,
webincluded. The one exception: a build that already composes a row with the idtray(e.g. the modified repo this package was extracted from, whosepackages/bundle/web-app/cordis.patch.ymladds it) fails at boot withduplicate loader entry id: traywhen this bundle mounts on top. In that case, install into a profile that does not include the built-in row.
Contents
src/— TypeScript sources (Host gateway + client settings face).cordis.patch.yml— thedsh.bundlepatch layer (one loader row).lib/— build output, committed (see note above).node_modules/— local SDK junction links, git-ignored (not needed by users).
Build
npm run build
Requires the harness toolchain (typescript + tsdown) resolvable at build time; the extracted folder links the SDK packages it peers on.