中文
dsh-event-sounds 1.1.0 —— DSH 语音控制插件(安洁莉娜「hirari do~」)
在 DeepSeek Harness(桌面版 / web 版)对话中,按事件自动播放语音音效的客户端插件。
功能总览
- 四个触发条件,独立配置:会话结束 / 弹出选项 / 请求许可 / 停止,每个可单独【启用 + 选择音效】
- 三种音效选择:内置提示音(Web Audio 琶音,零依赖)/ 不播放 / 音效库具体音效
- 注意类事件始终响铃:弹出选项 / 请求许可出现即播,不受会话运行/查看状态限制
- 可拖动悬浮球:拖到屏幕边缘自动缩成小半球;配置弹窗可拖动、置顶
- 三种外观:鲸鱼娘(默认)/ 纯白 / 纯黑,语音名字可自定义
- 音量滑杆(0–100%)+ 测试音效:可试听具体音效与内置提示音
- 音效库管理:插件 sounds/ 目录本地音频,支持上传(拖拽/选择)、删除、恢复被隐藏的附带音效
- 配置双持久化:localStorage + 宿主 config.json,重启不丢;加载时逐字段清洗,脏数据回退默认
- 启动即预加载:首次播放秒出;无音效时内置提示音兜底
本次更新(1.1.0)
- 触发条件音效下拉重构为「内置提示音 / 不播放 / 具体音效」;测试音效区可试听内置提示音
- 注意类事件(弹出选项 / 请求许可)始终响铃,不受会话运行/查看状态限制
- 配置加载升级逐字段 sanitize(类型 / 范围 / 枚举过滤),脏数据回退默认值
- 默认配置:音量 75%;会话结束→「hirari do~」、弹出选项/请求许可→「呢?」、停止→内置提示音
- 响度对齐:音效库播放 ×0.6,内置提示音增益放大
- 安装器改造:统一部署
$DSH_HOME/plugins并登记所有 profile(web / desktop 共用一份);缺 dsh CLI 时自动补齐(桌面 runtime → 系统 npx → 下载 Node.js) - 自动重启 dsh:桌面版模拟双击打开(无终端)、web 版后台启动并自动打开浏览器
- 工程化:index.d.ts 类型声明、npm test 冒烟测试、npm run setup / setup:fix / setup:deploy
安装(桌面版 / web 版皆可用,任选其一)
- 方式一(推荐,零依赖):如果 dsh 尚未运行,先启动一次(桌面应用或
npx @deepseek-ai/dsh web)完成初始化;然后双击dsh-event-sounds-Setup-1.1.0-x64.exe,安装器会自动重启 dsh 即可生效 - 方式二(需 Node.js):如果 dsh 尚未运行,先启动一次(
npx @deepseek-ai/dsh web)完成初始化;然后二选一,根据你的实际运行方式执行其中一条,最后重启 dsh:- 桌面版:
npx @deepseek-ai/dsh plugin --profile desktop add dsh-client-ui-event-sounds --config.minimumReleaseAge=0 - web 版:
npx @deepseek-ai/dsh plugin --profile web add dsh-client-ui-event-sounds --config.minimumReleaseAge=0
- 桌面版:
- 未安装 dsh 时:先下载 DeepSeek Harness 桌面版,或安装 Node.js(https://nodejs.org)后运行
npx @deepseek-ai/dsh web完成首次初始化;如需安装后自动重启,推荐使用方式一 Setup 安装器。 - 卸载:双击
dsh-event-sounds-UnSetup-1.1.0-x64.exe,完成后会自动重启 dsh
粉丝向非官方个人项目,音效素材版权归《明日方舟》官方及声优所有,仅供个人学习娱乐,不用于商业用途。
English
dsh-event-sounds 1.1.0 — DSH Voice Control Plugin (Angelina「hirari do~」)
A DSH client plugin that plays voice-line sounds on conversation events, for both DeepSeek Harness Desktop and dsh web.
Features
- 4 independently configured triggers: session end / options popup / permission request / stop — each with its own 【enable + sound】
- 3 sound choices per trigger: built-in chime (Web Audio arpeggio, zero dependencies) / no sound / a specific sound from the library
- Attention events always ring: options popup & permission request play as soon as they appear, regardless of the running/viewing state
- Draggable floating ball that collapses into a half-ball at screen edges; draggable always-on-top settings dialog
- 3 appearances: Whale Girl (default) / Pure White / Pure Black, plus a customizable voice name
- Volume slider (0–100%) + test sound with preview for both specific sounds and the built-in chime
- Sound library management: local audio in the plugin
sounds/folder — custom upload (pick/drag-drop), delete, restore hidden bundled sounds - Dual-persisted config: localStorage + host
config.json; every field is sanitized on load, bad values fall back to defaults - Preload on startup for instant first play; built-in chime as fallback
What's new in 1.1.0
- Trigger dropdown rebuilt as "built-in chime / no sound / a specific sound"; the test-sound area can preview the built-in chime
- Attention events (options popup / permission request) always ring, independent of session running/viewing state
- Per-field config sanitization (type / range / enum) with defaults fallback
- New defaults: volume 75%; session end →「hirari do~」, options popup / permission request →「呢?」, stop → built-in chime
- Loudness alignment: library sounds at ×0.6, built-in chime gain boosted
- Installer rework: deploys to
$DSH_HOME/pluginsand registers every initialized profile (web / desktop share one copy); auto-detects a dsh CLI when missing - Auto-restarts dsh on finish: Desktop opens like a normal double-click (no terminal); web starts in the background and opens your browser automatically
- Engineering:
index.d.tstypes,npm testsmoke tests,npm run setup / setup:fix / setup:deploy
Install (works for both Desktop & web users — pick either)
- Option A (recommended, zero deps): if dsh isn't running, start it once (Desktop app or
npx @deepseek-ai/dsh web) to initialize profiles; then double-clickdsh-event-sounds-Setup-1.1.0-x64.exe— it restarts dsh automatically - Option B (needs Node.js) — if dsh isn't running, start it once (
npx @deepseek-ai/dsh web) to initialize profiles; then pick one based on how you run dsh and restart dsh:- Desktop:
npx @deepseek-ai/dsh plugin --profile desktop add dsh-client-ui-event-sounds --config.minimumReleaseAge=0 - web:
npx @deepseek-ai/dsh plugin --profile web add dsh-client-ui-event-sounds --config.minimumReleaseAge=0
- Desktop:
- No dsh installed yet? Download the DeepSeek Harness Desktop app, or install Node.js (https://nodejs.org) and run
npx @deepseek-ai/dsh webto initialize once; if you want dsh restarted automatically after install, prefer Option A (the Setup installer). - Uninstall: double-click
dsh-event-sounds-UnSetup-1.1.0-x64.exe, then dsh restarts automatically
Fan-made unofficial project; sound assets belong to Arknights and its voice actors. For personal learning & entertainment only — not for commercial use.