DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@itsyuyi/dsh-approval-sound

Approval Sound

DeepSeek Harness plugin: plays the system notification sound whenever a session has a pending approval or user-question prompt, with a live settings page (Settings → Plugins → Approval Sound).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @itsyuyi/dsh-approval-sound@1.0.0
READMECompatibilityVersions

Compatibility and provenance

Approval Sound is published as @itsyuyi/dsh-approval-sound and currently resolves to version 1.0.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/5/2026

Versions

1.0.0stable
10/18/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
26.4 kB
Files
9
Surface
web
License
MIT
Source
npm
Weekly downloads
17
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in integrations-communication.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseRemote Bridge@linxin666/dsh-remote-bridgeDSH remote bridge: the host half serves protocol v1 over one exact /ios/v1 WebSocket route — session roster, history baseline, prompting, live turn increments with tool activity, interrupt, and in-process agent approval — to a device paired by a one-shot Ds Botds-botDS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chatsFree Searchdsh-free-searchFree web search for DeepSeek Harness: 27 engines (Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel/You.com keyless; Zhihu global/site via MCP and Perplexity/SerpBase/DeepSeek (official + native tools/search)/Baidu/Kimi/Aliyun/Douba

README

@itsyuyi/dsh-approval-sound

当会话中出现待授权的提示(或等待用户回答的问题)时,播放系统提示音。

开关在哪里设置

图形界面:Web GUI 设置 → 插件 → 授权提示音 标签页(Settings → Plugins → Approval Sound),提供:

  • enabled —— 总开关
  • approvals —— 待授权请求是否触发提示音
  • questions —— 等待用户回答的问题是否触发
  • sound —— 'system' 或音频文件绝对路径
  • cooldownMs —— 冷却时间(毫秒)
  • 「试听」按钮 —— 立即播放一次当前提示音

所有修改即时生效(写入本目录的 config.json,宿主监听该文件),无需重启。

其他方式:

  1. 「插件」页(Plugin Manager)停用 / 启用本插件 = 总开关,立即生效。
  2. 直接编辑本目录的 config.json,保存后 1 秒内生效(文件被监听)。
  3. cordis.patch.yml 的行配置作为基础层(GUI / config.json 优先)。

说明:本地 link: 方式安装的工作区包,修改代码后需要重启 DSH 宿主才能加载新的模块代次(Node ESM 模块缓存);修改配置不需要重启。

工作原理

插件在宿主端监听两个 waterfall 事件,仅做“观察”,绝不抢答:

  • approval/request —— 权限 / 沙箱授权请求(如文件操作升级授权)
  • user-questions/request —— ask_user_question 提示(含计划审批)

监听器播放提示音后总是调用 next() 并把结果原样返回,因此授权流程本身不受任何影响;播放失败也只会被静默吞掉,不会导致授权失败(fail closed)。

配置层(后者优先)

  1. 内置默认值
  2. cordis.patch.yml 的行 config
  3. 本目录 config.json(设置页写入或手动编辑,监听热更新)
// config.json
{
  "enabled": true,      // 总开关
  "approvals": true,    // 待授权请求触发提示音
  "questions": true,    // 等待用户回答的问题也触发
  "sound": "system",    // 'system' 用系统默认提示音;或音频文件的绝对路径
  "cooldownMs": 1500    // 上次播放后多久内的新请求不重复播放
}

各平台默认提示音

平台命令
macOSafplay /System/Library/Sounds/Ping.aiff(回退 Glass、osascript beep)
Linuxcanberra-gtk-play -i dialog-warning(回退 paplay freedesktop 声音、aplay)
WindowsPowerShell [System.Media.SystemSounds]::Asterisk.Play()

自定义 sound 路径时:macOS 走 afplay;Linux 依次尝试 paplay / pw-play / aplay / ffplay;Windows 走 PowerShell SoundPlayer(仅 WAV)。