xiaoweiqianluo/dsh-desktop-notify ↗★ 2
@local/dsh-desktop-notify
QQ-style desktop popup when a turn finishes or the Harness waits for you, while its window is not in front.
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaoweiqianluo/dsh-desktop-notify说明文档
阅读完整 README ↗配置
在 cordis.patch.yml 里改 desktop-notify 这一行的 config:
| 键 | 默认值 | 说明 |
|---|---|---|
enabled | true | 总开关 |
notifyOnTurnEnd | true | 任务完成时提醒 |
notifyOnError | true | 任务出错时提醒 |
notifyOnApproval | true | 需要授权时提醒 |
notifyOnQuestion | true | 需要回答时提醒 |
notifyWhenFocused | false | 窗口在前台也提醒;仅用于检查卡片长什么样 |
silent | false | 不播放提示音 |
animate | true | 从右侧滑入;设为 false 则原地出现 |
cardDurationMs | 12000 | 完成卡片停留时长(毫秒) |
waitingDurationMs | 24000 | 等待你操作的卡片停留时长(毫秒) |
summaryChars | 90 | 正文摘要最大字数 |
appProcessName | DeepSeek Harness | 判定「窗口在前台」用的进程名 |
language | zh | 卡片文案语言,zh 或 en |
logFile | 空 | 写入卡片诊断日志的路径,排错时用 |
Configuration
Edit the desktop-notify row in cordis.patch.yml:
| Key | Default | Meaning |
|---|---|---|
enabled | true | Master switch |
notifyOnTurnEnd | true | Card when a turn completes |
notifyOnError | true | Card when a turn fails |
notifyOnApproval | true | Card when an authorization is pending |
notifyOnQuestion | true | Card when the agent asks a question |
notifyWhenFocused | false | Also alert while focused; for inspecting the card |
silent | false | No system sound |
animate | true | Slide in from the right |
cardDurationMs | 12000 | Completion card lifetime |
waitingDurationMs | 24000 | Waiting card lifetime |
summaryChars | 90 | Maximum preview characters |
appProcessName | DeepSeek Harness | Process name treated as "window in front" |
language | zh | Card copy language, zh or en |
logFile | empty | Optional diagnostics log path |