xxxxxxxyu/dsh-notify-sound
xxxxxxxyu★ 4TypeScript最后同步: 2026-08-14
DSH (DeepSeek Harness) web plugin: plays a sound when the agent finishes replying (turn/end). Sound, volume and on/off configurable in Settings.
README 摘要
dsh-notify-sound DSH (DeepSeek Harness) web 插件: AI 回复完毕后自动播放提示音 。 支持在 DSH 设置页中随时更换音效(内置 44 个音效)、调整音量、开关。 功能 - 回合结束(agent 回复完毕)自动播放提示音,通过 WebSocket 实时推送,零轮询 - 默认音效 staplebops-01.aac - 设置页(设置 → 提示音):开/关、音效选择、音量调节、试听 - 设置即时保存,重启后保留(存储在 DSH 设置服务,全局生效) - 音效文件内置在插件中,无需联网 安装 要求:DSH web profile(dsh web),Node.js = 20。 安装后确认包已加入 dsh.profile.bundles,然后 重启 dsh 服务 生效。 设置 打开 DSH 设置页,左侧导航出现"提示音": 设置项 说明 回复完成提示音 开关(默认开启) 提示音 下拉选择音效(44 个),选中即生效 试听 播放当前选中的音效 音量 0 100% 滑块 架构 - 后端(src/index.ts):监听会话事件中的 turn/end(回合结束)→ WebSocket 广播; 提供音效静态路由(/notify-sound/sounds/ .aac)与偏好 API (/notify-sound/api/sounds.list prefs.get prefs.update);偏好存储在 DSH 设置服务(namespace dsh-notify-sound)。 - 前端(src/client/index.tsx):连接通知 WebSocket,收到 turn/end 播放所选音效; 注册 DSH 设置页 settings.section 插槽。 - 所有路由经过与 /api 网关相同的浏览器信任围栏(loopback / 同源校验)。 开发构建 音效来源 内置音效(sounds/ .aac,alert / bip-bop / nope / staplebops / yup 系列)来自 Stephanvs/opencode-sfx,MIT 许可, 版权归其作者所有,详见 sounds/LICENSE。 许可 MIT License —— 插件代码见 LICENSE;音效版权归 opencode-sfx 作者。
在 GitHub 查看完整 README →分类
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode / Hermes & 20+ CLIs via BYOK.
★ 86,705
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 22,317
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,834