← 返回列表
D

@qing3a/dsh-tray

v0.1.0 · 4 天前发布

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

dshdeepseek-harnessdsh-pluginplugintraytrayiconwindowssystem-tray

README

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 时自动降级(不崩、不阻塞加载)
  • 安装

    bash

    开发模式(需 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 --profile web

    Windows 任务栏应出现 DSH 托盘图标


    卸载

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

    配置

    | 键 | 默认 | 说明 |
    |---|---|---|
    | enabled | true | 总开关 |
    | title | DSH | 托盘

    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @qing3a/dsh-tray
    Repo
    git+https://github.com/qing3a/dsh-tray.git
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}