dsh-ntfy
DeepSeek Harness (DSH) host-plane plugin: push ntfy notifications when the agent needs approval or finishes a task.
AI 분석
核心用途是在 AI 任务需要人工确认或运行结束时,向用户的 ntfy 客户端发送即时推送。适合运行长耗时任务、需要离线接收状态提醒的用户。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
3. 编辑 $DSH_HOME/profiles/$PROFILE/cordis.patch.yml,追加下方「配置」段
配置(写入 cordis.patch.yml)
- insert:
- id: ntfy-notify
name: ./ntfy-notify.mjs # 方式 A;方式 B 用 dsh-ntfy
config:
topic: your-secret-topic # 必填:你的 ntfy 主题名
machine: my-machine # 可选:默认取主机名
server: https://ntfy.sh # 可选:自建 ntfy 时改这里
cooldownMs: 60000 # 可选:冷却毫秒
notifyApproval: true # 可选:需要确认通知
notifyDone: true # 可选:完成通知
改完重启 DSH 生效。
| 键 | 必填 | 默认 | 说明 |
|---|---|---|---|
topic | ✅ | — | ntfy 主题名(订阅 URL 最后一节)。缺失时插件记录错误并保持惰性,不影响 DSH 启动 |
server | https://ntfy.sh | ntfy 服务器地址 | |
machine | hostname() | 通知标题里的机器名 | |
cooldownMs | 60000 | 同项目同类通知最小间隔(毫秒) | |
notifyApproval | true | 是否需要「需要确认」通知 | |
notifyDone | true | 是否需要「完成」通知 |