DeepSeek Harness plugin

dsh-tray

Windows 系统托盘插件:托盘图标 + 菜单(打开界面/状态/退出)+ 气泡通知,基于 trayicon(exe 宿主,无 native 编译)

Jump to install

Source facts

Repository
qing3a/dsh-tray
Latest update
Aug 13, 2026
Category
Notifications & Integrations
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/qing3a/dsh-tray
Plugin: dsh-tray
Author: qing3a

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-tray

DeepSeek Harness Windows 系统托盘插件:托盘图标 + 菜单(打开界面 / 状态 / 退出)+ 气泡通知。

> 基于 trayicon@1.2.2(exe 宿主进程 + TCP + XML 协议,无 native 编译)。win32-only。 > 状态:✅ 已在本地 DSH 源码环境验证(web 单托盘进程 + headless 降级,2026-08-14)。

功能

  • 系统托盘图标(默认 default.ico,可配置 iconPath)
  • 菜单:打开界面(读 webServer.port 动态拼接 URL)/ 状态 / 退出
  • 气泡通知(info 风格)
  • headless 兼容:无 webServer 时自动降级(不崩、不阻塞加载)

安装

# 生产安装(npm,agent 可直接执行)
pnpm dsh plugin --profile web add @qing3a/dsh-tray
pnpm dsh --profile web
# Windows 任务栏应出现 DSH 托盘图标

# 开发模式(需 Node >= 22 + pnpm)
git clone https://github.com/qing3a/dsh-tray.git
cd dsh-tray && pnpm install && pnpm build
cd <path-to-deepseek-harness>
pnpm dsh plugin --profile web add link:$(pwd)/dsh-tray

卸载

pnpm dsh plugin --profile web remove @qing3a/dsh-tray

配置

默认说明
enabledtrue总开关
titleDSH托盘标题(决定 temp 命名)
iconPath自定义图标路径(.ico/.png Buffer);留空用 default.ico

已知实现要点

  • 不用 trayicon 的 useTempDir:复制 exe 到 temp 后立即 spawn 在 Windows 会 spawn EBUSY(文件句柄未释放),直接 spawn 包内 exe 无此问题
  • 并发去重start() 幂等(pending promise 共享),避免 apply 与 inject 并发调用导致双托盘
  • 非 win32 平台自动跳过process.platform !== 'win32'
  • webServer 用 ctx.inject 动态注入(headless 无此服务不阻塞)

许可

MIT