dsh-notifier
DeepSeek Harness (dsh) 系统通知插件:任务完成或需要人工确认/输入时,发送操作系统原生通知。
AI 분석
核心用途是提供后台任务状态提醒。适合经常让 AI 执行耗时任务、需要即时接收人工确认或完成通知的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:YZz-S/dsh-notifierUsage
Method 1: dynamic Cordis plugin (temporary)
Define and run in a dsh Web GUI session with the Cordis tools:
- Call
cordis_define: paste the content ofhost.jsascode.host(plugin.kind: 'new',idPrefixof 3–6 lowercase letters) - Call
cordis_runto activate (pure Host plugin — no page refresh required) - The next time a task finishes or confirmation is needed, a system notification pops up
Note: a dynamic plugin lives as long as the current dsh process. After restarting dsh you must define and run it again.
Method 2: install as a regular plugin (recommended)
See "Installation (dsh.bundle)" above: dsh plugin --profile web add github:YZz-S/dsh-notifier.
使用方法
方式一:动态 Cordis 插件(临时运行)
在 dsh Web GUI 的会话中,用 Cordis 工具定义并运行:
- 调用
cordis_define:code.host粘贴host.js的内容(plugin.kind: 'new',idPrefix取 3–6 个小写字母) - 调用
cordis_run激活(纯 Host 插件,无需刷新页面) - 下一次任务完成或需要确认时即会弹出系统通知
注意:动态插件的生命周期与当前 dsh 进程相同。重启 dsh 后需重新定义运行。
方式二:安装为正式插件(推荐)
见上文「安装(dsh.bundle)」:dsh plugin --profile web add github:YZz-S/dsh-notifier。