dsh-tray

by qing3a

通知与集成github收录于 08-23

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

安装

dsh plugin --profile web add github:qing3a/dsh-tray

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

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

配置

键 默认 说明
enabled true 总开关
title DSH 托盘标题(决定 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

原始 README: https://github.com/qing3a/dsh-tray/blob/main/README.md ↗

同类插件

查看全部 →
通知与集成alvinunreal

dsh

将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。

查看详情
1081github+08-21
通知与集成tencent-connect

dsh-qqbot

让 QQ Bot 接入 DeepSeek Harness(dsh)的官方插件

查看详情
55github+08-17
通知与集成omdsh-dev

dsh-open-in-vscode

从 Web GUI 一键在 VS Code 中打开工作区目录。

查看详情
39github+08-13
通知与集成omdsh-dev

dsh-notification

回合完成桌面通知,按结果分控 + 关键词过滤。

查看详情
38github+08-13
通知与集成THEWOLFWALKER

dsh-notifier

DSH 统一通知推送与远程控制:一个 `notify()` API 打通 25+ 渠道(Telegram / 钉钉 / 飞书 / 企业微信 / QQ 机器人 / WxPusher / PushPlus / Server 酱 / Bark / Discord / Slack / ntfy / webhook 等),timeSensitive / active / passive 分级路由并重试;五通道反向审批(Telegram 按钮 / 飞书卡片 / QQ / WxPusher / 微信 iLink);QQ/钉钉/飞书官方扫码登录;本地 Web 管理台;多 agent 路由;系统桌面通知——以及**手机指挥中心**:在手机上发 `!status` / `!stop` / `!retry` 遥控 agent,通知带可操作按钮(查看结果 / 重试 / 日志,点击回调 agent)。密钥脱敏、工具限流、零运行时依赖。

查看详情
27github+08-16
通知与集成wzj998

chatccc

飞书(Lark)或微信(WeChat)聊天控制 DeepSeek Harness / Claude Code / Cursor / Codex / CCC Agent

查看详情
22github+08-23