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.

Sound Feedback — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
S

dsh-sound-feedback

Sound Feedback

DSH 插件:任务成功/失败时播放不同的 Windows 系统提示音,让你不用看屏幕就知道当前状态。| Plays distinct Windows system sounds when a DeepSeek Harness task succeeds or fails.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:ZincGluxx/dsh-sound-feedback#746fe5399d316ecc4a5a32eba4f79e109af44161
READMECompatibilityVersions

Compatibility and provenance

Sound Feedback is published as dsh-sound-feedback and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
8/24/2026

Versions

0.1.0stable
8/24/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
Weekly downloads
0
View source ↗
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.

Im@xmanrui/dsh-im把十一种 IM 渠道和公网 AI Office 接入本机 DeepSeek Harness。 Connect eleven IM channels and a public AI Office to a local DeepSeek Harness.Pocketdsh-pocketPut DeepSeek Harness in your pocket: one package, one settings page, and scan a QR code on your phone to access DSH on your computer in sync (LAN + public network, real-time screen mirroring).DSCODE@toddzheng024/dscode-bundleA complete DeepSeek coding agent with persistent shell, Ultra collaboration and automatic permission review.Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-base

README

dsh-sound-feedback

成功/失败提示音插件 for DeepSeek Harness (DSH) · Plays distinct Windows system sounds when a DSH task succeeds or fails.

一个 DSH 事件插件:监听 agent 回合(turn/end)和(可选)工具调用结果(tools/result),在成功和失败时播放不同的 Windows 系统提示音,让你不盯屏幕也知道当前状态。

A DSH events plugin: watches agent turns (turn/end) and (optionally) tool-call results (tools/result), and plays different Windows system sounds on success vs failure — know the state without watching the screen.

零运行时 npm 依赖:只使用宿主传入的 ctx 与 Node 内建 node:child_process(由 powershell.exe 播放声音)。所有 @deepseek-ai/* 均为 import type,编译期擦除。

Zero runtime npm dependencies: only the host-provided ctx and the Node builtin node:child_process (PowerShell plays the sound). All @deepseek-ai/* imports are import type — erased at compile time.


功能 / Features

场景 / Scenario默认提示音 / Default sound
回合成功 turn/end reason=completedasterisk(Windows 默认通知音)
回合失败 turn/end reason=errorhand(Windows 关键停止/错误音)
回合被打断/阻塞/超长 aborted blocked max-tokens interrupted静音(可配置 otherSound)
工具调用成功/失败(`mode: 'tool''both'` 时)

提示音来源:先读当前 Windows 声音方案(注册表 HKCU\AppEvents\Schemes\Apps\.Default\<event>\.current),未设置时回退到 C:\Windows\Media\*.wav;也可直接配置任意 .wav 绝对路径。

Sound source: the user's current Windows sound scheme (registry HKCU\AppEvents\Schemes\Apps\.Default\<event>\.current), falling back to C:\Windows\Media\*.wav; or any explicit .wav path.

仅 Windows。其他平台加载时打印警告并空转。Windows-only; other platforms warn and no-op.


快速开始 / Quick start

pnpm install
pnpm run build          # tsc -> dist/index.js (pure ESM)

# 在「父目录」执行(相对路径锚定调用目录):
dsh plugin --profile my-profile add ./dsh-sound-feedback
dsh --profile my-profile

或者作为 bundle 加入 profile(把 dsh-sound-feedback 加进 profile 的 bundles 即可,插件自带 cordis.patch.yml 会把自身插入配置树)。

Or add as a bundle: list dsh-sound-feedback in the profile's bundles; the plugin's own cordis.patch.yml inserts it into the config tree.


配置 / Configuration

默认配置即可用;通过 patch 层覆盖(后层按 id 整行替换):

Defaults work out of the box; override through patch layers (whole-row replace by id):

# profile 的 cordis.patch.yml (or a later bundle layer)
- insert:
    - id: dsh-sound-feedback
      name: dsh-sound-feedback
      config:
        enabled: true          # 总开关 (master switch)
        mode: turn             # turn | tool | both
        successSound: asterisk # 或任意 .wav 绝对路径
        failureSound: hand
        otherSound: ''         # 静音;可设成 exclamation/question 等
        minIntervalMs: 1200    # 两次播放最小间隔(防轰炸)
        ignoreTools: []        # tool/both 模式下忽略的工具名

支持的 successSound / failureSound / otherSound:

名字 / NameAppEvents 事件Media 回退
asteriskSystemAsteriskWindows Background.wav → notify.wav → ding.wav
handSystemHandWindows Foreground.wav → Windows Error.wav → Windows Critical Stop.wav
exclamationSystemExclamationWindows Background.wav → Windows Exclamation.wav → notify.wav
questionSystemQuestionWindows Ding.wav → notify.wav → Windows Background.wav
beep / defaultSystemDefaultWindows Default.wav → ding.wav → tada.wav
任意 .wav 路径—直接播放

项目结构 / Layout

src/index.ts            # 插件源码(apply + 纯函数 soundCommand/classifyTurnEnd)
cordis.patch.yml        # bundle 补丁层(默认配置)
test/index.test.mjs     # 单元测试(纯逻辑,无声音)
test/integration.mjs    # 集成测试(真实 Cordis fiber + 事件总线)
scripts/play-sounds.mjs # 手动试听:node scripts/play-sounds.mjs

开发 / Development

npm run build          # tsc -> dist/index.js
npm test               # 单元测试(in-process,不需要声音设备)
node test/integration.mjs   # 真实 Cordis Context 装载 + 事件触发(会真播放声音)
node scripts/play-sounds.mjs # 试听默认成功/失败/自定义声音

集成测试会真实播放提示音(成功/失败/自定义各一次),请确定喇叭开着。

The integration test actually plays sounds (success/failure/custom once each) — make sure your speakers are on.


依赖版本 / Pinned versions

  • runtime deps: none
  • @deepseek-ai/dsh-tools / @deepseek-ai/dsh-session: 0.1.0-rc.7(对齐宿主运行时,devDependencies,仅类型)
  • @deepseek-ai/cordis: ^4.0.1(peerDependency,宿主提供)
  • Node ^22.19.0 || >=24.0.0

坑 / Pitfalls

  1. @deepseek-ai/dsh-tools 的 npm latest 是过期线(0.0.1-rc.1),正确线在 next tag。本项目对齐宿主运行时锁 0.1.0-rc.7,勿用 npm i @deepseek-ai/dsh-tools 覆盖。
  2. 纯 ESM:"type": "module",module: esnext + moduleResolution: bundler。
  3. @deepseek-ai/cordis 只 import type;运行时 ctx 由宿主传入。
  4. 注册即 effect:ctx.on(...) 卸载自动清理,集成测试已验证 fiber dispose 干净。
  5. powershell.exe 是 Windows 5.1 版语法(无三元表达式),脚本面向 5.1 编写。

License

MIT