nijika-boyfriend/dsh-macos-notify ↗★ 0
dsh-macos-notify
macOS system notification plugin for DeepSeek Harness on task completion 适合在 macOS 上运行长耗时任务、需要即时接收状态提醒的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:nijika-boyfriend/dsh-macos-notifyドキュメント
README 全文を読む ↗配置项
| 配置字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
sound | string | Glass | 提示音名称,可选 Glass, Hero, Ping, Pop, default,设为 none 则静音 |
notifyOnComplete | boolean | true | 任务正常完成时是否发送通知 |
notifyOnError | boolean | true | 任务发生异常时是否发送通知 |
notifyOnApproval | boolean | true | 等待敏感操作授权审批时是否发送通知 |
minDurationSeconds | number | 1 | 任务执行最短秒数,低于该时间的快速响应不触发通知 |
安装与配置
1. 安装插件
克隆本仓库到本地插件目录,例如 ~/.dsh/plugins/dsh-macos-notify,然后在目标配置目录,如 ~/.dsh/profiles/desktop,添加依赖:
cd ~/.dsh/profiles/desktop
pnpm add file:../../plugins/dsh-macos-notify
2. 注册补丁
在配置目录的 cordis.patch.yml 中添加插件配置项:
- insert:
- id: macos-notify
name: dsh-macos-notify
config:
sound: Glass
notifyOnComplete: true
notifyOnError: true
notifyOnApproval: true
minDurationSeconds: 1
在配置目录的 package.json 中将插件加入 bundles 列表:
{
"dsh": {
"profile": {
"bundles": [
"dsh-macos-notify"
]
}
}
}
启动或重载 DeepSeek Harness 后,插件将自动加载并监听任务事件。