falling-ts/dsh-web-ding
A DSH Cordis plugin that plays a "ding" in the browser the moment an agent finishes (runs to idle). The sound is synthesized entirely by front-end JavaScript (Web Audio API) — the Node/Host side never plays audio and no Windows/system notification is used.
catalog descriptioncatalog 简介 / catalog description:Browser-only 'ding' on agent end; works on servers.浏览器专属"叮":回合结束时响起,服务器部署也生效
Project Overview项目介绍
This is a native Cordis plugin built exclusively for DeepSeek Harness (DSH). It plays a synthesized "ding" notification sound in your browser when an agent run finishes and enters the idle state, so you get an audible alert that the agent has completed its work. All audio is generated entirely in the browser via JavaScript’s Web Audio API, so it never triggers Node host side or operating system audio calls or native system notifications. It follows a split architecture with a pure listener host half and a browser client half, connected via DSH’s official settings/document-updated mirror channel. To install the plugin, you can run the DSH CLI command directly in your terminal to add it from this GitHub repository.
The plugin supports audible alerts for two separate DSH events. The first event is when DSH pops up a user question selection popup; the plugin detects this client-side via DOM anchor elements, so it does not require any host-side processing for this alert. The second is when all agent turns, including any sub-agent turns, are completed and the agent enters an idle state before the next human input; the host layer listens for the idle transition to trigger this alert. You can configure each alert separately, toggling them on or off, adjusting volume, fundamental frequency, and decay length, and you can preview each tone directly from the DSH settings panel. This plugin is ideal for DSH web users who prefer an audible alert without relying on OS-level notifications.
This plugin is released under the permissive MIT open source license, so you can modify or redistribute it freely per the license terms. Browsers block automatic audio playback by default per their autoplay policy, so the plugin warms up the AudioContext on the first user pointer or keyboard interaction, or when you click the preview button. This means you need to interact with the page once before hearing any alerts, and background tabs may suspend the audio context so you need to keep the DSH tab visible to hear tones. All turn-end notification logs are stored locally in your browser’s localStorage, capped at 100 entries, and you can delete individual entries or clear all entries directly from the notification drawer.
这是一个专门为 DeepSeek Harness (DSH) 开发的原生 Cordis 插件,核心功能是当代理运行结束进入空闲状态时,在浏览器端播放提示音“叮”。所有音频都通过前端 JavaScript 的 Web Audio API 合成,不会调用宿主 Node 端或操作系统的音频播放接口,也不会触发系统通知。插件采用宿主监听层加浏览器客户端层的架构,通过 DSH 官方的设置镜像通道双向通信。
插件支持两种场景的提示音:一种是 DSH 弹出用户选择问题框时的提示音,完全由浏览器端检测 DOM 触发;另一种是代理所有回合(包括子代理)执行完毕进入空闲前的结束提示音,由宿主层监听状态变化触发。用户可以在 DSH 设置面板的提示音配置区块,分别调整两种提示音的开关、音量、基频和衰减时长,还支持即时试听。适合需要视觉加听觉双重提示,不依赖系统通知的 DSH 网页端用户。
插件遵循 MIT 许可,可通过 DSH CLI 命令 dsh plugin --profile web add github:falling-ts/dsh-web-ding 直接安装。受浏览器自动播放政策限制,首次使用需要用户和页面交互一次或点击试听按钮,激活音频上下文才能听到提示音。通知记录会保存在浏览器 localStorage 中,最多保留 100 条,支持单条删除和批量清空,全程不经过宿主端读写。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-web-ding(falling-ts/dsh-web-ding)
仓库:https://github.com/falling-ts/dsh-web-ding
本站详情页:https://www.yhbd.top/plugins/falling-ts-dsh-web-ding/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-10-01 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
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:falling-ts/dsh-web-ding
把 falling-ts/dsh-web-ding 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-web-ding
A DSH Cordis plugin that plays a "ding" in the browser the moment an agent finishes (runs to idle). The sound is synthesized entirely by front-end JavaScript (Web Audio API) — the Node/Host side never plays audio and no Windows/system notification is used.
Built by following the architecture of
dsh-force-compact:
a pure-listener Host half + a browser client half connected by the official
settings/document-updated mirror channel.
What it does
| Layer | What happens |
|---|---|
Host (index.js + src/) |
Listens for the agent/status idle transition (all turns done, including sub-agents, before the next human turn; a fresh idle session that never ran, and repeated idle ticks, stay silent). Publishes { phase:'done', at, sessionId, title } into the falling-ts-web-ding settings namespace — title is read here from the official sessionProjections title unit, so the browser never has to fetch it. Never emits audio, never calls the OS. |
Browser (web/client.js) |
Mirrors the namespace live via configForms. On a strictly-newer done signal it synthesizes a short ding (three sine oscillators + exponential decay envelopes) with the Web Audio API and plays it through the tab — and, at the same moment, pops a Win11-style toast in the bottom-right corner. Clicking the toast slides in a notification drawer listing every turn-end message (kept in browser localStorage, capped at 100, deduped by signal at), with per-message delete and a clear-all button. Everything stays front-end: no backend audio, no OS notification. |
Install
dsh plugin --profile web add github:falling-ts/dsh-web-ding
Requires the web app to ship the client bundle (the dsh.client declaration in
package.json does that automatically).
Configuration (falling-ts-web-ding namespace, stored in the profile's cordis.patch.yml)
Two independent blocks, each with its own switch and its own tone:
Block 1 — 弹出用户选择 (question popup ding) — plays when the harness pops a
user-question chooser in the browser. Detection is client-side on the DOM
([data-question-key] anchor of the QuestionComposer): the Host half sees no
question frame, so this block is entirely browser-side.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Tencent/BrowserSkill
anbeime/skill
csyangwen/dsh-memory-evolve
Nagi-ovo/dsh-find-plugins
justlovemaki/PrismFlowAgent
YunTaiHua/illusion-agent