CAOGGL/dsh-ding ↗★ 7

dsh-ding

DSH 插件:对话完成时播放提示音 + Windows 通知,WebUI 铃铛按钮可调开关/音量/音效 适合希望在后台运行任务、并在对话结束或长任务运行时获得即时提醒的用户。

パッケージ
dsh-ding
互換性
未検証
バージョン
1.0.2
ライセンス
MIT
最終更新
2026/08/21

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CAOGGL/dsh-ding

ドキュメント

README 全文を読む ↗

配置

配置项默认值说明
soundtrue播放提示音
soundFile空提示音文件路径(mp3/wav/mid/wma/aac)。留空时自动在 服务器工作目录 / 插件目录(自带 ding.mp3)/ 用户主目录 找 ding.mp3,找不到则回退系统"叮咚"双音
volume1.0提示音音量(0.0 ~ 1.0,1.0 为原始音量,如 0.5 即一半音量)
balloontrue显示 Windows 通知
titleDSH 完成通知标题
debounceMs200状态防抖毫秒数
minIntervalMs3000两次通知的最小间隔
notifySubagentsfalse是否也通知子代理完成
quietOnViewingtrue当前会话免打扰:窗口在前台(可见且有焦点)且完成的会话正是正在查看的会话时静默;切走窗口 / 看别的会话 / 没开对话页时照常提醒
runningNotifytrue长任务运行中提醒:只弹 Windows 通知、不响铃
runningFirstAfterMs180000运行中提醒首次延迟毫秒数(默认 3 分钟)
runningIntervalMs300000运行中提醒后续间隔毫秒数(默认 5 分钟)
runningTitleDSH 运行中运行中提醒的通知标题(v1.0.0 更新新增)
questionNotifytrue用户提问提醒:Agent 通过 ask_user_question 提问等待回答时立即提醒(文本区别于完成通知)
questionTitleDSH 提问提问提醒的通知标题
doneTemplate空自定义完成通知文本(支持 {title}/{prefix}/{elapsed},留空用默认)
runningTemplate空自定义运行中提醒文本(支持 {title}/{prefix}/{elapsed},留空用默认)
questionTemplate空自定义提问通知文本(支持 {title}/{prefix}/{question},留空用默认)
approvalNotifytrue工具审批提醒:工具调用等待你批准时立即提醒
approvalTitleDSH 审批审批提醒的通知标题
approvalTemplate空自定义审批通知文本(支持 {title}/{prefix}/{tool},留空用默认)
notifierName空通知应用显示名(Windows 通知设置里显示的名称)。留空时跟随 WebUI 语言自动切换:中文「DSH叮当通知」,英文「dsh-ding-notifier」;填写后固定使用该名称

完整示例:

- insert:
    - id: dsh-ding
      name: 'dsh-ding'
      config:
        sound: true
        soundFile: 'C:\codewhale\ding.mp3'
        volume: 0.8
        balloon: true
        title: 'DSH 完成'
        debounceMs: 200
        minIntervalMs: 3000
        quietOnViewing: true
        runningNotify: true
        runningFirstAfterMs: 180000
        runningIntervalMs: 300000

Configuration

OptionDefaultDescription
soundtruePlay the alert sound
soundFileemptyPath to the sound file (mp3/wav/mid/wma/aac). When empty, the script looks for ding.mp3 in the server working directory / plugin directory (bundled ding.mp3) / user home; falls back to the system beep if not found
volume1.0Alert sound volume (0.0 ~ 1.0; 1.0 = original volume, e.g. 0.5 = half volume)
balloontrueShow the Windows notification
titleDSH DoneNotification title
debounceMs200Status debounce in ms
minIntervalMs3000Minimum interval between two notifications
notifySubagentsfalseAlso notify when subagents finish
quietOnViewingtrueQuiet on current: silent while the window is focused AND the finishing session is the one you are viewing; still reminds when you switch away, view another session, or no conversation page is open
runningNotifytrueLong-task progress reminder: Windows toast only, no sound
runningFirstAfterMs180000First progress reminder delay in ms (default 3 min)
runningIntervalMs300000Progress reminder interval in ms (default 5 min)
runningTitleDSH RunningNotification title for progress reminders (new in v1.0.0 update)
questionNotifytrueQuestion reminder: alerts immediately when the agent asks you something via ask_user_question and waits (text differs from completion)
questionTitleDSH QuestionNotification title for question reminders
doneTemplateemptyCustom completion text ({title}/{prefix}/{elapsed}; empty = default)
runningTemplateemptyCustom progress-reminder text ({title}/{prefix}/{elapsed}; empty = default)
questionTemplateemptyCustom question text ({title}/{prefix}/{question}; empty = default)
approvalNotifytrueTool approval reminder: alert when a tool call waits for your approval
approvalTitleDSH ApprovalNotification title for approval reminders
approvalTemplateemptyCustom approval text ({title}/{prefix}/{tool}; empty = default)
notifierNameemptyNotification app display name (shown in Windows notification settings). Leave empty to follow the WebUI language: Chinese "DSH叮当通知", English "dsh-ding-notifier"; enter a name to pin it

Full example:

- insert:
    - id: dsh-ding
      name: 'dsh-ding'
      config:
        sound: true
        soundFile: 'C:\codewhale\ding.mp3'
        volume: 0.8
        balloon: true
        title: 'DSH 完成'
        debounceMs: 200
        minIntervalMs: 3000
        quietOnViewing: true
        runningNotify: true
        runningFirstAfterMs: 180000
        runningIntervalMs: 300000