精选
为什么选中它
待人工精选——以下事实来自源码仓库。
它能做什么
notify sound for DeepSeek harness
适合谁
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
风险提示
- 未发现明显风险信号;安装前仍建议查看源码。
notify sound for DeepSeek harness
待人工精选——以下事实来自源码仓库。
notify sound for DeepSeek harness
想用 DSH 获得这项能力的用户;装前建议先看源码和文档。
dsh plugin --profile web add github:ldchaowin/dsh-plugin-notify-sound 作者没有声明支持的平台。
running: true → false) or a background job completes. - The sound is resolved per workspace: a workspace-specific override wins, otherwise the default. - Three sound sources: - Built-in synthesized sounds — 6 options (Ding / Chime / Bell / Complete / Success / Mute), generated live with Web Audio, no audio files required. - Voice announcement (TTS) — the browser speaks a custom phrase (e.g. “我做完啦!”, “All done!”) using a system Chinese voice; voice and rate are configurable. - Custom audio — upload any MP3/WAV/etc. file. ### Attention sounds (when a human is needed) The following events always ring (they are not affected by the “quiet current session” option): | Event | Detection | Default sound | |---|---|---| | Approval request | session pendingInteraction: approval | generic attention sound | | User question | pendingInteraction: question | generic attention sound | | Plan review | pendingInteraction: plan-review | generic attention sound | | Goal blocked | goal projection enters blocked | generic attention sound | | Background task failure | job status failed | Bell (dedicated failure sound) | Each kind can override the generic attention sound, or use a shared TTS phrase (e.g. “需要你的确认” / “Your confirmation is needed”). ### Settings panel (Settings → 通知铃声 / Notification Sounds) Master switch, “quiet when viewing the current session”, default completion sound, per-workspace completion sounds, generic + per-kind attention sounds, voice settings (voice / rate / preview / refresh), per-row preview and custom-audio upload. ## Install Requires a DSH version with bundle-plugin support (dsh.profile.bundles + dsh.bundle.patch) and pnpm on PATH (corepack enable or npm i -g pnpm). sh # One command: pnpm installs the package and adds it to the profile's bundle layer dsh plugin --profile web add dsh-plugin-notify-sound # Restart the server (or refresh the page), then open Settings → 通知铃声 Other profiles work the same way: dsh plugin --profile <name> add dsh-plugin-notify-sound. ### Manual install (without pnpm) 1. Copy this package and its runtime deps (@deepseek-ai/schemastery, @deepseek-ai/cosmokit, @standard-schema/spec) into $DSH_HOME/profiles/web/node_modules/. 2. Append "dsh-plugin-notify-sound" to dsh.profile.bundles in $DSH_HOME/profiles/web/package.json. 3. Restart dsh web. ## Configuration storage - The browser half persists its configuration in localStorage (key dsh-notify-sound:config), sanitizing every read and filling defaults. - The host half also registers the dsh-plugin-notify-sound settings namespace: on rc.6 the settings API allowlist (WEB_SETTINGS_NAMESPACES in dsh-host-apiproxy) does not expose third-party namespaces to browsers, so the client does not depend on settingsScope today; the registration keeps the migration path open for future releases. ## Development sh npm test # 50+ assertions across host and client halves (Node only, no browser needed) npm run check # syntax check Layout: - lib/index.js — host half: registers the settings namespace (schema + defaults) - lib/client.js — browser bundle: completion/attention event detection, sound engine (Web Audio / TTS / Audio), settings panel - lib/types/index.d.ts — host-side type declarations - cordis.patch.yml — bundle patch layer (inserts the notify-sound row) - tools/ — tests and verification scripts (not shipped in the npm package) ## Publish sh npm login # npm account (2FA recommended) npm publish --access public ## License MIT不看 Star,人工一条条挑的。
把 DSH 的 settings.yaml 做成可视化看板:所有已注册的 settings namespace——包括官方界面从未覆盖的第三方插件配置——都渲染成可编辑表单。项目还早,但方向很对:告别手改 YAML。
给 DSH 的 DIY 轨迹可视化:把 agent 的计划与执行画成图,不用翻原始日志也能看清它在干嘛。项目还早,但补上了「一眼看懂 agent 在做什么」这个真实缺口。
从 Claude Code / Codex 把活派给 DSH:在宿主内拉起带分级预设的 DSH agent 会话,看原生子代理进度,还能借它的多模态桥给纯文本的 DSH 补上视觉和生图。编排型插件,把 DSH 变成其他编码 agent 的后端。