CAOGGL/dsh-ding

Project Overview项目介绍

dsh-ding is a native notification plugin built exclusively for DeepSeek Harness (DSH). It is designed to alert users when an agent conversation reaches a key checkpoint, so users do not miss replies while working in other windows. The plugin can be installed via three documented methods: the recommended one-line command dsh plugin --profile web add github:CAOGGL/dsh-ding which requires pnpm, one-click installation through the DSH plugin marketplace, or manual cloning to the DSH profiles directory. After installation, you need to restart the dsh web process for the plugin to take effect.

This plugin is ideal for DSH users who often work across multiple windows and step away from the conversation page to handle other tasks. Once installed and enabled, it automatically triggers alerts when the agent finishes a turn, asks a question waiting for user input, requests approval for a tool call, or runs a long task over three minutes. Alerts include a customizable sound effect and a native Windows toast notification. Clicking the toast notification takes you directly to the corresponding conversation page in DSH, so you can access the new output without extra navigation.

This plugin currently only supports Windows systems, as it relies on native Windows toast notifications. It is released under the open-source MIT license, with no associated costs for personal or commercial use. On first run, the plugin automatically registers an AppUserModelID in the Windows Start Menu to ensure notifications display correctly, since Windows silently drops notifications from unregistered AUMIDs. If you do not receive notifications after installation, check your Windows system notification settings to confirm the dsh-ding-notifier app is enabled. A built-in test tool lets users trigger all notification types to verify functionality.

dsh-ding 是专为 DeepSeek Harness(DSH)开发的原生通知插件,核心功能是在 Agent 对话流程的关键节点向用户发送提醒,避免用户切换窗口工作后错过回复。它支持对话完成、Agent 提问等待用户回答、工具调用需要审批、长任务运行中多种场景的提醒,支持自定义提示音播放和 Windows 原生通知两种提醒方式。用户可以通过 DSH 内置命令一键安装,也可从 DSH 插件市场搜索安装,或手动克隆部署到 DSH 配置目录。

这款插件适合需要多窗口并行工作,时常离开 DSH 对话页面处理其他任务的 DSH 用户。典型使用流程是:安装完成后重启 DSH Web 服务即可启用,当 Agent 完成一轮对话回到 idle 状态,插件会自动播放提示音并弹出通知。点击通知会直接跳转到对应对话页面,方便用户快速查看回复内容;如果你正在前台查看当前对话,插件会自动静默避免打扰。长任务运行超过 3 分钟后,还会每 5 分钟弹一次通知提醒进度。

本插件仅支持 Windows 系统,依赖 pnpm 包管理器进行一键安装,若手动部署则不需要 pnpm。它内置了默认提示音文件,自带丰富配置选项,支持调节音量、自定义通知文案、导入导出配置,还提供了通知测试功能方便调试。插件采用 MIT 开源许可证,首次使用会自动注册应用模型 ID 确保通知正常显示,若通知未弹出可检查 Windows 通知设置。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 10 stars - an early-stage project星标 10,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:CAOGGL/dsh-ding

把 CAOGGL/dsh-ding 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-ding 🔔

awesome · DSH plugin

DSH(DeepSeek Harness)宿主插件:对话完成时提醒你——每当 Agent 结束一轮对话(状态回到 idle,不再主动输出),播放提示音并弹出 Windows 通知,让你切到别的窗口等回复时也不会错过。

A DSH host plugin that notifies you when a conversation finishes: whenever the Agent completes a turn (back to idle, no more proactive output), it plays a sound and shows a Windows notification, so you never miss the reply while working in another window.

切换语言 / Language: 中文 · English


中文

主要功能

  • 🔔 提示音:对话完成后播放提示音——默认使用 ding.mp3(可配置任意音频文件:mp3/wav/mid/wma/aac),找不到时回退系统"叮咚"双音
  • 🪟 Windows 原生通知:弹出系统原生 Toast(含会话标题、DSH 蓝鲸图标)。首次使用时自动注册 AppUserModelID(开始菜单快捷方式),确保通知真正显示——未注册的 AUMID 会被 Windows 静默丢弃
  • 🎚️ 音量可调:volume 配置项(0.0 ~ 1.0)控制提示音大小,改配置即时生效
  • 🔔 Web 铃铛按钮:对话页顶栏有个铃铛——单击开关提示音、悬停拖音量滑杆(松手自动试听)、右键选择音效并可上传自己的音频文件;设置即时保存,无需改配置
  • 🖱️ 通知点击直达会话:Windows 通知(toast/气泡)点击后自动打开浏览器并直达输出完成的对话(快捷方式激活 + dsh-ding:// 协议 + ?dingOpen= 参数定位会话)
  • 🔕 当前会话免打扰:窗口在前台且完成的会话正是你正在查看的会话时静默;切走窗口、看别的会话、或没开对话页时照常提醒
  • ⏱ 长任务运行中提醒:任务运行超 3 分钟后每 5 分钟提醒一次(只弹通知、不响铃),提醒文本含已运行时长
  • ❓ 用户提问提醒:Agent 通过 ask_user_question 提问等待回答时立即提醒(文本区别于完成通知)
  • 🛡️ 工具审批提醒:工具调用等待你批准(approval/request)时立即提醒,点击通知直达该会话,在 WebUI 里完成审批
  • 🛠 高级设置弹窗:右键菜单底部「⚙ 高级设置」打开页面内设置窗口,可改全部参数(通知开关/标题/时机毫秒/音量/自定义通知模板),自定义模板支持参数引用:{title} 会话标题、{prefix} 对话前缀、{elapsed} 耗时、{question} 问题文本、{tool} 工具名(审批模板)
  • 💾 导入/导出配置:右键菜单底部可导出配置(下载 JSON 文件)或导入配置(从 JSON 恢复全部设置)
  • ▶ 铃声试听:右键菜单铃声列表每项右侧有播放按钮,可单独试听每个铃声(不切换当前铃声)
  • 🧪 通知测试按钮:高级设置页提供完成 / 运行中 / 提问 / 审批 4 个测试按钮,点击立即弹出对应类型的真实通知,点击通知打开测试结果页
  • 🏷️ 通知应用名可改:高级设置可自定义通知应用名;留空时跟随 WebUI 中英文自动切换(中文:DSH叮当通知,英文:dsh-ding-notifier)
  • 📦 内置 ding.mp3:提示音文件随插件包分发,不再依赖启动目录或主目录存在 ding.mp3
  • 🌐 双语:通知正文与标题、面板文案跟随 WebUI 界面语言(中/英)
  • 🎯 时机精准:以会话 turn 是否真正结束判断完成(排除回复中途的短暂空闲),完成通知带耗时
  • 🧹 不误报:自动跳过子代理(subagent)的完成事件(那只是主对话的中间过程)
  • ⚡ 防抖节流:默认 200ms 防抖 + 3s 全局节流,避免连发

安装方法

$DSH_HOME 默认为 ~/.dsh。

方法 A:一行命令(推荐,bundle 安装)

dsh plugin --profile web add github:CAOGGL/dsh-ding

装完重启 dsh web 生效(依赖 pnpm,npm install -g pnpm 即可)。本插件也支持 insert 行挂载(改配置即时生效),见方法 C。

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-mini-tui 下一个 Next dsh-acp-adapter →