Skip to content

Releases

dsh-win-notify v1.0.1

Choose a tag to compare

@Jxxxxx729 Jxxxxx729 released this 22 Oct 13:37

DeepSeek Harness 的 Windows 通知(1.0.1)

对话完成、等待你选择、等待你授权、需要登录时,在 Windows 通知栏弹一条通知;点击这条通知会直接跳回发出它的那个对话。

安装

预构建包已附在本页(dsh-win-notify.tgz),不需要构建步骤。

桌面端(推荐):设置 / 插件 → 安装,把下面这个地址粘进去:

https://github.com/Jxxxxx729/dsh-win-notify/releases/latest/download/dsh-win-notify.tgz

命令行:

dsh plugin --profile desktop add https://github.com/Jxxxxx729/dsh-win-notify/releases/latest/download/dsh-win-notify.tgz

也可以直接从源码安装:dsh plugin --profile desktop add github:Jxxxxx729/dsh-win-notify。

装好后在 插件 里确认 dsh-win-notify 处于开启状态。改动 client.js 之后需要刷新一次页面。

1.0.1 修复

  • 「别的对话需要授权/选择却没有通知」:发通知原先用 detached: true + stdio: 'ignore' 的 powershell 子进程,桌面端重启后这种子进程会静默退出、脚本根本没执行 —— 日志里只有 toast queued、没有 shown,也没有报错。现在改成非 detached 子进程,接住 stderr 并记录退出码。
  • 重启后点击跳转失效:插件可能比 webServer 服务先加载,ctx.get('webServer') 拿到 undefined 后就再也不重试,客户端轮询与点击跳转一起失效。现在用 ctx.inject(['webServer'], ...) 在服务就绪时挂载路由。
  • 新增 selftest.flag 自检通知,用来单独验证「插件 → powershell → 通知栏」链路。

特性

  • 通知以 DeepSeek Harness 应用身份显示(AppUserModelID com.deepseek.dsh),带应用图标,并进入操作中心。
  • 点击通知跳回对应对话:toast 使用自定义协议 dsh-win-notify:,点击后记录目标会话,GUI 侧的浏览器半轮询 /dsh-win-notify/next 并调用 uiWorkspace.openSession();已归档的会话会先解归档再打开。
  • 覆盖 turn/end(完成 / 出错 / 阻塞)、user-questions/request、approval/request、deepseek-account/*。
  • 只提醒用户会话,子代理会话与 aborted/forked 不打扰。
  • 通知正文清洗 Markdown,会话标题作为第一行。
  • Windows 专注助手 / 勿扰模式仍会压掉通知,这是系统行为。

要求

  • Windows 10 / 11,DeepSeek Harness 桌面端或 dsh web(Web profile)。
  • 只写 HKCU,注册协议不需要管理员权限。

MIT License.