dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
DSH 事件通知插件:AI 回合完成、权限申请、提问、出错、开始运行等 5 种场景发生时,向 Webhook 发送自定义 HTTP 通知,支持 GET/POST、预设字段/自定义文本、type+type_cn、发送日志
DSH event-notification plugin: send HTTP notifications to a webhook when specified events occur.
English · 中文
Can be used together with the Desktop Pet project — e.g. push a notification to your desktop pet when a turn completes.
GET / POST, body as JSON / Form{"session":"{{sessionName}}"})msg parameter, free-form contenttype + type_cn: the message kind in English and Chinese$DSH_HOME/settings.yaml, survives restartsdsh plugin --profile web add github:masknull/dsh-webhook-notifier
Restart dsh web after installing.
Templates support the following placeholders ({{ }} wrapped, distinct from JSON {}):
| Placeholder | Description |
|---|---|
{{type}} | Message type, always sent (e.g. turnComplete) |
{{type_cn}} | Message type in Chinese, always sent (e.g. 回合完成) |
{{sessionId}} | Session ID |
{{sessionName}} | Session title |
{{turn}} | Turn number |
{{time}} | Current time (UTC+8) |
{{trigger}} | Trigger scenario |
{{toolName}} | Tool name (approval requests) |
{{reason}} | Reason (approval requests) |
{{error}} | Error message (AI errored) |
{{question}} | Question text (AI asks) |
{{status}} | Status (agent running) |
{{userMessage}} | Latest user message |
{{assistantMessage}} | Latest AI reply |
{{createdAt}} | Session creation time |
POST + JSON (preset fields):
{"type":"turnComplete","type_cn":"回合完成","sessionId":"s1","sessionName":"测试会话"}
POST + JSON (custom text → msg):
{"msg":"任务【测试会话】回合完成","type":"turnComplete","type_cn":"回合完成"}
GET: https://example.com/hook?type=turnComplete&type_cn=回合完成&sessionId=s1
dsh plugin --profile web remove dsh-webhook-notifier
Restart dsh web. Config remains in settings.yaml (remove the fields manually to fully purge).