zjhaaa042-cloud/dsh-mobile-notify ↗★ 0
dsh-mobile-notify
DSH 插件:任务完成后把通知推送到手机 —— ntfy / Bark / 钉钉 / 企业微信 / 飞书 / Server酱 / PushPlus / Telegram / Qmsg酱 / 通用 webhook 适合需要在手机上实时接收任务结束或异常通知的移动端用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zjhaaa042-cloud/dsh-mobile-notify配置
配置写在插件目录的 cordis.patch.yml 的 config: 段里,26 项全部有默认值 —— 只填你要改的即可。常用项:
| 配置 | 默认 | 说明 |
|---|---|---|
enabled | true | 总开关 |
channel | ntfy | 推送渠道 |
trigger | idle | idle:彻底停下才通知;turn-end:每个回合都通知 |
notifyOn | all | all / completed(只推正常完成)/ error(只推异常) |
includeSubagents | false | 子代理会话是否也通知 |
minTurnDurationMs | 0 | 只通知耗时 ≥ 该毫秒数的回合(例如 10000 跳过短任务) |
includePreview | true | 是否附带助手最后一段回复 |
previewMaxChars | 200 | 摘要长度上限 |
timeoutMs | 10000 | 单次请求超时 |
dryRun | false | 演练模式:只构建请求不发送 |
logPayload | true | 把发送结果写进 DSH 日志 |
完整字段表(含各渠道密钥、类型、取值范围、示例)见 docs/configuration.md。