在审批、提问与回合结束时播放提示音提醒你
27.5/100
综合分
1
GitHub 星标
—
npm 周下载
—/5
用户评分
数据截至 2026/9/16 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add ellelkktrraaa/dsh-audio-alert该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:仅索引
是什么
dsh 原生插件 · browser
装得上吗
本站尚未做安装检查
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 81 天前
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
社区实装还没有人打卡 · 装过的第一个就是你
安全扫描自动 · 静态分析源码v2.7.0🔵 扫描:含敏感能力尚无人工评估展开查看扫描说明与证据 ↓
安全扫描自动 · 静态分析源码
v2.7.0静态扫描发现插件具备触达本地系统的能力:执行外部命令、读写/删除本地文件、读取剪贴板或密钥类环境变量(至少其一)。这是能力清单,不是危险判定——具体能力项与证据见下方,安装前请自行判断是否需要。
读写/删除本地文件
查看扫描证据(共 1 处,展示前 1 条)
- 读取本地文件src/audio-route.ts:96
buffer = await readFile(filePath)
扫描于 2026/11/3(1 天前) · 范围 全包扫描(包内未声明入口) · 来源 GitHub 仓库
静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/schemastery@deepseek-ai/dsh-api-remotes@deepseek-ai/dsh-client-connection@deepseek-ai/dsh-client-runtime@deepseek-ai/dsh-client-ui-settings@deepseek-ai/dsh-host-webserver@deepseek-ai/dsh-invariants@deepseek-ai/dsh-settings给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- 审批请求提示音
- 提问提示音
- 回合结束提示音
dsh 中断声音提示喵(音频可配置喵)在 dsh 需要你注意时用浏览器播放声音提醒:审批请求、向你提问、回合结束。
README
由 DeepSeek 最新模型翻译生成@deepseek-ai/dsh-client-audio-alert
用声音提醒会话中断、向你提问与回合完成——当会话需要你时,播放提示音提醒你回来查看,不用一直盯着界面。node 半注册 audio-alert settings 命名空间;浏览器半订阅会话列表,在三个注意力边界播放声音:审批请求(pendingInteraction 变为 approval 或 plan-review)、ask-user 提问(pendingInteraction 变为 question),以及回合结束(会话的 running 位由 true 翻转为 false)。
声音可通过 audio-alert settings 命名空间逐触发配置(设置 → 插件配置,或 settings.yaml 文档)。每个字段都可选:enabled(默认 true)、volume(默认 0.8,区间 [0, 1])、approvalSound / questionSound / doneSound,以及 debug(默认 false)。声音字段接受 data URI、http(s)/blob URL、根相对 URL(以 / 开头)或本地文件路径。空字段选择该触发内置的合成音。debug: true 会把解析后的配置与每次播放记录到浏览器控制台与服务端日志。
展开完整文档(README 剩余 1 节)
@deepseek-ai/dsh-client-audio-alert
用声音提醒会话中断、向你提问与回合完成——当会话需要你时,播放提示音提醒你回来查看,不用一直盯着界面。node 半注册 audio-alert settings 命名空间;浏览器半订阅会话列表,在三个注意力边界播放声音:审批请求(pendingInteraction 变为 approval 或 plan-review)、ask-user 提问(pendingInteraction 变为 question),以及回合结束(会话的 running 位由 true 翻转为 false)。
声音可通过 audio-alert settings 命名空间逐触发配置(设置 → 插件配置,或 settings.yaml 文档)。每个字段都可选:enabled(默认 true)、volume(默认 0.8,区间 [0, 1])、approvalSound / questionSound / doneSound,以及 debug(默认 false)。声音字段接受 data URI、http(s)/blob URL、根相对 URL(以 / 开头)或本地文件路径。空字段选择该触发内置的合成音。debug: true 会把解析后的配置与每次播放记录到浏览器控制台与服务端日志。
本地路径(例如 C:/sounds/alert.mp3、~/sounds/alert.mp3 或 ./alert.mp3)由 node 半在运行 dsh web 的机器上读取,并通过 /audio-alert/audio/ 提供给浏览器,因此浏览器自身不接触文件系统。写路径时不要带 data: 或 file: 前缀。
安装教程
前置条件 —— 一个 dsh web 部署(DeepSeek Harness;web 配置文件在首次使用时自动创建)、Node ^22.19 || >=24 和 pnpm。插件会从配置文件自己的 node_modules 解析 @deepseek-ai/* 的 peer 依赖,无需额外安装。
安装 —— dsh plugin 会把参数转发给配置文件目录里的 pnpm:
从 GitHub 安装(推荐;安装时会自动构建)
dsh plugin --profile web add https://github.com/ellelkktrraaa/dsh-audio-alert.git
或从本地目录安装
dsh plugin --profile web add C:\path\to\dsh-audio-alert
卸载(按包名)
dsh plugin --profile web remove @deepseek-ai/dsh-client-audio-alert
配置 —— 在 $DSH_HOME/settings.yaml(默认 C:\Users\\.dsh\settings.yaml)里加一段 audio-alert::
audio-alert:
enabled: true
volume: 0.8
approvalSound: "C:/sounds/approval.mp3" # 空 = 内置提示音;或填 data:/http(s) URL questionSound: "C:/sounds/question.mp3" doneSound: "C:/sounds/done.mp3" debug: true
然后重启 dsh web。
验证 —— debug: true 时,浏览器控制台(F12)会打印解析后的配置和每次提醒:
[audio-alert] browser half mounted
[audio-alert] scope changed: {"status":"ready","writable":true,"value":{"enabled":true,"volume":0.8,...}}
[audio-alert] alert kind: approval
触发一次审批、提问或回合结束,听一下声音。
自定义声音的宿主要求 —— 浏览器通过宿主 API 代理读取 audio-alert settings 命名空间,而代理只服务显式白名单里的命名空间。在当前的 DeepSeek Harness 检出中,需要把 'audio-alert' 加进 packages/host/apiproxy/src/api-proxy.ts 的 WEB_SETTINGS_NAMESPACES(不在白名单的命名空间会返回 settings-not-exposed)。没加之前,插件仍会以默认音量播放内置提示音,但自定义声音不会被浏览器读取。
故障排查
- 控制台里完全没有 [audio-alert] 输出 → 浏览器还在用缓存的 client.js;硬刷新(Ctrl+Shift+R)或开一个无痕新标签页。
- scope 卡在 "unavailable" → 宿主没有暴露 audio-alert 命名空间(见上面的宿主要求)。
- 内置提示音会响、但配置的文件不响 → 文件路径必须在运行 dsh web 的机器上存在且可读;服务端日志(debug: true)会打印 [audio-alert] serving approval from ... 或失败原因。
- 第一次声音没响 → 浏览器自动播放策略要求页面先有一次用户手势,先随便点一下页面。
兼容性证据
参照 dsh-plugin-radar 的证据阶梯,本仓库在每一层都提供了对应证据:
| 层级 | 检查 | 状态 |
| L0 发现 | topic、可见性、元数据 | 已设置 dsh-plugin topic;仓库公开;package.json 含 keywords / homepage / repository |
| L1 清单 | package.json、名称、入口字段 | @deepseek-ai/dsh-client-audio-alert;main → lib/index.js,exports["./client"] → lib/client.js |
| L2 静态兼容 | 补丁、seam、依赖范围 | seam:audio-alert settings 命名空间(installSettingsSection)、/audio-alert/audio Web 服务路由、浏览器 sessions.list / settingsScope 服务;peer 依赖锁定在 0.1.0-rc.x dsh 家族 |
| L3 编译实验 | 在 workspace 中执行类型/语法检查 | Node 22/24 下 pnpm typecheck(tsc -b)与 pnpm build(tsc -b && tsdown)均通过 |
| L4 运行实测 | 安装、加载、最小任务 | 通过 dsh plugin add 安装(见上方教程);37 个单元测试通过;debug: true 时浏览器控制台打印 [audio-alert] scope changed: {"status":"ready",...} 及每次提醒 |
已知边界 —— radar 的免责同样适用于本仓库:mainline 与插件都在快速变化,旧结论容易失效;静态通过不代表运行一定成功;编译失败可能来自环境或缺失依赖,而非真正的 API 漂移;上面的运行检查只覆盖此处描述的最小路径。
Model Experience
None, as the plugin only plays a browser sound on live session-list attention edges; nothing here reaches a model request.
KV Cache effect
None; this package neither assembles nor sends a provider request.
Known Limitations and Deferred Work
- Done fires on the running edge — a turn ending for any reason (completed, error, aborted) announces once; the sound does not distinguish the reason.
- Autoplay policy — the first sound can be suppressed until the browser has registered a user gesture on the page; playback rejection is contained, never retried.
- First observation is silent — sessions already pending or idle at load do not replay their attention, matching the session list's own reminder semantics.
- Local files are read on the server — the node half reads the file on the machine running dsh web, whole into memory, per request; a path is not portable to another machine.
- Leading-slash paths are URLs — a /-prefixed value is a root-relative URL, never a local file, so a POSIX absolute path must be written ~-relative or cwd-relative instead.预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
ellelkktrraaa/dsh-audio-alert
在审批、提问与回合结束时播放提示音提醒你
相关插件 · 浏览器
智能体插件框架deepseek-ai/deepseek-harness
DeepSeek Harnessdsh是由 DeepSeek AI 开发的开源 agent harness智能体框架。
★ 270,422已汉化DSH
71.9
多设备 Agent 看板YaoApp/yao
✨ 所有 Agent 和工作区集中管理,覆盖你的每一台设备。任务看板追踪进度,桌面端、移动端、浏览器、API…
★ 8,147已汉化DSH
71.2
可扩展侧边栏工作台omdsh-dev/DSH-better-sidebar
DSH 的双工作台:原生右侧栏 + 自绘底部面板,并把 ctx.betterSidebar 服务开放给所有插件
★ 4,761已汉化DSH
71.1
浏览器自动化桥Tencent/BrowserSkill
你的 Agent。你的浏览器。连接,就能协作。
★ 9,967已汉化DSH
71
AI 小说创作工作台EthanYoQ/AI-Novel-Writer
AI 小说作家 / AI Novel Writer
★ 1,591已汉化DSH
70.7
智能体浏览器引擎platonai/Browser4
DeepSeek Harness 集成
★ 1,175已汉化DSH
70.4
这是你的仓库?认领条目