falling-ts/dsh-web-ding 预览 preview

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 条,支持单条删除和批量清空,全程不经过宿主端读写。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • 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 →

← 上一个 Prev dsh-deep-research 下一个 Next dsh-composer-ux →