Back to home@Huauauaa

dsh-notify

DeepSeek Harness HTTP 通知插件

Stars
0
Language
JavaScript
Created
Aug 19, 2026
Updated
Aug 19, 2026
GitHub repo

Introduction

dsh-notify

简体中文 | English

Awesome DSH Plugin

DeepSeek Harness HTTP 通知插件:根 agent 做完一轮需要你交互(提问 / 审批)时,按配置的接口 POST:

{ "content": "任务完成:…", "receiver": "", "auth": "" }

content 由插件填写;url / method / headers / receiver / auth设置 → 通知 里配。每个会话的 通知 开关在侧栏三点菜单(Rename / Fork / Archive 下方),优先于全局默认。

aokamoaki/dsh-notify(Windows toast)不是同一个插件:本仓库发的是你自己的 HTTP webhook。

安装

dsh plugin --profile web add link:/ABS/PATH/dsh-notify

发布到 GitHub 并加上 dsh-plugin topic 之后:

dsh plugin --profile web add github:OWNER/dsh-notify

然后重启 dsh web

使用

  1. 打开 设置,在侧栏 Agent presets 下方进入 通知,填 url / method / headers / receiver / auth,可选打开「全局默认开启」,保存。点 测试 可立刻打一发 通知测试:连通性检查,确认接口是否畅通。
  2. 每个会话的三点菜单底部有 通知 开关:开了只通知这个会话;关了这个会话不通知。没拨过开关则用全局默认。

配置文件:$DSH_HOME/dsh-notify.json(默认 ~/.dsh/dsh-notify.json)。

触发

时机content
根 agent runningidle任务完成:…
agent/error任务出错:…
ask_user_question需要回答:…
approval/asked等待审批:…

子 agent 与 5 秒内同会话重复事件不通知。请求失败只打日志,不影响 agent。

完成检测跟当前 DSH 一致:没有全局 turn/end,用 agents.list() 的 phase 轮询(与社区通知插件相同)。

开发

npm test
npm run check

收录到 awesome-dsh-plugin 时分类用 notify(Notifications & Integrations)。仓库需声明 dsh.bundle、带 dsh-plugin topic,且满 1 天 / 10 次提交。条目草稿见 data/awesome-dsh-plugin.yml

许可

MIT