yangzhe1991/dsh-task-notify

DSH插件:任务完成时播放提示音并更新标签标题提醒

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that alerts users when agent tasks complete. It ships with two core notification features: an audio completion chime, and a tab title alert that activates when the DSH web page is not in your active browser tab. To install the plugin, you run a single command via the DSH CLI: dsh plugin --profile web add @yangzhe1991/dsh-task-notify. After running the command, you just restart the DSH web GUI and refresh your browser tab to activate the plugin. It is compatible with all DSH versions from 0.1.0-rc.x upwards, and has been verified working on DSH 0.1.3-alpha.2.

It's designed for DSH users who multitask and often switch between browser tabs while waiting for agent tasks to finish. It helps you avoid missing the end of a task while you are working on something else, which improves your overall multitasking productivity. It triggers a notification whenever the agent finishes a turn in your current session, or when any background job such as a background script, subagent or workflow settles in any session. A successful completion plays an ascending two-tone chime, while a failed or killed task plays a descending chime, and it never re-alerts you for old completed tasks.

The plugin is released under the open source MIT license, and it comes with prebuilt artifacts so you do not need to compile anything on your local machine after installation. When you run the plugin for the first time, you need to interact with the DSH page once by clicking or pressing a key anywhere on the page, because most browsers block autoplay of audio until a user interaction occurs. You can customize the plugin’s behavior by editing the constants at the top of the source code: you can turn off sound or title alerts, and change the alert prefix, then rebuild the plugin to apply your changes.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,功能是在代理任务完成时向用户发送通知。核心功能包含两种通知方式:任务完成时播放音频提示音,当 DSH 网页不在当前活跃标签页时修改标签页标题提醒用户。用户可以通过 DSH CLI 一键安装,执行命令 dsh plugin --profile web add @yangzhe1991/dsh-task-notify 后重启网页端刷新即可使用。该插件兼容 DSH 0.1.0-rc.x 及以上版本,已在 0.1.3-alpha.2 验证可用性。

该插件面向需要同时处理多任务、经常切换浏览器标签页的 DSH 用户,避免用户等待代理完成任务却错过结果,提升多任务处理效率。当代理在当前会话完成一轮问答、或是任何会话中的后台任务(比如后台脚本、子代理、工作流)结束时,都会触发通知。成功完成任务播放上行双音,失败或终止则播放下行双音,不会对历史任务重复触发提醒。

插件采用 MIT 许可证开源,安装后无需额外编译,因为官方包已经预先构建好了产物。首次使用时需要注意,浏览器出于自动播放政策限制,会在用户和页面交互一次后才允许播放音频,因此用户需要点击页面任意位置解锁提示音。用户可以修改源代码中的常量自定义是否开启声音、标题提醒以及提醒前缀,修改后重新构建即可生效。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 @yangzhe1991/dsh-web-enhance

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

READMEREADME

dsh-task-notify

⚠️ This plugin is retired — it now lives inside dsh-web-enhance

The completion alert (chime + tab-title alert) is a built-in feature of @yangzhe1991/dsh-web-enhance since 0.2.0 — same decision rules, plus an on/off switch in Settings → General, and it comes bundled with four other web-UI enhancements.

dsh plugin --profile web remove @yangzhe1991/dsh-task-notify
dsh plugin --profile web add @yangzhe1991/dsh-web-enhance

then restart the Web GUI and refresh the tab. This repository stays online as a historical record; it receives no further updates, and the npm package is deprecated.

English | 中文

npm version npm downloads license dsh-plugin

A DSH (DeepSeek Harness) browser plugin that tells you when your agent is really done — a chime when a session goes quiet, a chime the moment a dialog asks you to choose, and a tab-title alert while you are on another tab.


Compatibility (historical, up to 0.2.0)

  • dsh ≥ 0.1.7-rc.2 — supported since 0.2.0; verified against dsh 0.1.7-rc.2 since 0.2.0. The watcher reads three current Client contracts: the session-list snapshot (useSessions: ids / byId.origin), the per-session UI status (useSessionStatus: agent running + pendingInteraction), and on-demand job rosters from the ctx.jobs client service (watchRows → state.rows).
  • dsh ≤ 0.1.6 / 0.1.0-rc.x — not supported. Those versions carried job rosters inside the session-list snapshot (jobsBySession) and dialogs behind useSessionPendingInteraction, both removed in 0.1.7; this plugin injects jobs as a Client service, so it needs the job controller 0.1.7 introduced.

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-llm-workbuddy 下一个 Next dsh-autonomy →