dshbase

插件目录 / Developer / dsh-voice-alert

dsh-voice-alert

已验证 · 实测可装 Roger-Yang-CN

✓ 持续维护 基于 2 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-17最近推送
跨平台平台

功能简介

DSH browser plugin: voice alert, popup and system notification on task completion / ask-user

✅
我们的评价
可用 — 实测通过,早期项目

DSH browser plugin: voice alert, popup and system notification on task completion / ask-user 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

语音提醒插件

DSH 浏览器端提醒插件:当任意会话完成任务(回合结束)或请示用户(ask_user_question / 审批 / 方案评审)时:

  • 播放语音提示(任务已完成.wav / 请求决策.wav)
  • 页面顶部弹出提示条(6 秒自动消失,可点击关闭)
  • 页面失焦/最小化时额外发送系统通知(点击可跳回 DSH)

语音素材说明:内置语音为「千织」(原神角色)语音。可自行替换 assets/ 下的 wav 文件(保持文件名 任务已完成.wav / 请求决策.wav 不变即可),换成任意你喜欢的提示音。

结构

  • lib/index.js — Host 半区:webServer 注册 /voice-sound/{done|ask}.wav 静态路由,直接吐原始 wav 字节
  • lib/client.js — Client 半区:shell.overlay 插槽 + useSessions 订阅会话状态,Audio 播放 + 弹窗 + 系统通知
  • assets/ — 语音素材(可替换)
  • cordis.patch.yml — 组合补丁(插入 voice-alert 插件行)

本地安装(file: 依赖)

  1. git clone https://github.com/Roger-Yang-CN/dsh-voice-alert 到本机任意目录;
  2. 在 DSH profile 的 package.json(如 ~/.dsh/profiles/web/package.json):
"dependencies": { "dsh-voice-alert": "file:<克隆到的绝对路径>" },
"dsh": { "profile": { "bundles": [ "...", "dsh-voice-alert" ] } }
  1. 在 profile 目录执行 pnpm install;
  2. 手动同步插件副本:将插件目录的 lib/、assets/ 复制到 node_modules/dsh-voice-alert/(pnpm 对 file: 依赖不会自动刷新);
  3. 重启 DSH,页面出现提示条即生效(首次触发时浏览器会请求通知权限,允许后失焦提醒可用)。

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-voice-alert」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:Roger-Yang-CN/dsh-voice-alert

Headless(CLI)profile:

dsh plugin --profile headless add github:Roger-Yang-CN/dsh-voice-alert

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →