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.

Approval Voice — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-approval-voice

Approval Voice

DSH Web GUI approval voice notifications: when a popup requiring approval or a response appears, play a notification sound and announce it by voice to avoid missing it.

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-approval-voice@0.2.1
READMECompatibilityVersions

Compatibility and provenance

Approval Voice is published as dsh-approval-voice and currently resolves to version 0.2.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

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

Versions

0.2.1stable
9/11/2026
0.2.0stable
9/7/2026
0.1.0stable
9/4/2026

Related plugins

Loading related plugins…

Latest
0.2.1
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
41 kB
Files
7
Surface
web
License
MIT
Source
npm
GitHub
★ 4
Weekly downloads
0
Last push
9/11/2026
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 vision-media.

Tool Describe Image@linxin666/dsh-tool-describe-imageModel-facing describe_image tool for the dsh web GUI: gives a text-only model image understanding by asking a vision-language model at an OpenAI-compatible endpoint to describe one image (local path, http(s) URL, or attachment reference). Hot-pluggable — Modlens@liustack/modlensPlug-in vision for text-only LLMs, powered by the free Antigravity CLIVision Toolkit@anionex/dsh-vision-toolkitDeepSeek Harness-native integration for agent-vision-toolkit: image Q&A, OCR, grounding, UI restoration, pixel diff, Artifacts, and Web UI.Deepseek Ivideodeepseek-ivideoiPolloWork HyperFrames Video Studio and 27 editable video templates as a native DeepSeek Harness conversation view.

README

dsh-approval-voice(审批语音提示)

DSH Web GUI 插件:当需要你审批或回答的弹窗(沙箱权限升级审批、ask_user_question 提问、计划审批等)出现时,自动播放提示音并用语音播报,避免漏看。

工作原理

插件有两条检测路径,两条路径统一使用会话作用域的事件标识 (session:<sessionId>:<kind>:<key>),因此不会重复提醒:

  1. 全局待处理交互源(首选):订阅 DSH 客户端的 ctx.uiSession.pendingInteractions(即侧边栏「等待审批」状态所用的 root hook sessionPendingInteraction),按 Map<sessionId, {kind, key}> 快照感知所有会话的 approval / question / plan-review —— 包括没有开在任何标签页里的会话。
  2. DOM 标记(兜底):仅在取不到上述源时(更老的 DSH)才使用,监听当前视图渲染出来的卡片:
标记对应界面
data-approval-key沙箱权限升级等审批(ApprovalPanel)
data-question-key提问 / 选择题(QuestionComposer)
data-plan-review-key计划审批(PlanReviewPanel)

命中时按配置播放升调提示音(Web Audio,C5-E5-G5)和/或语音播报(SpeechSynthesis,中文语音)。每个请求只提醒一次。

安装

方式一:npm(推荐,已发布到 npmjs)

dsh plugin --profile web add dsh-approval-voice

方式二:GitHub(备选)

dsh plugin --profile web add github:ZIye1208/dsh-approval-voice

安装后重启 dsh web 服务,刷新页面即可生效。

本地开发安装(改代码即时生效):

dsh plugin --profile web add link:C:\path\to\dsh-approval-voice

使用

  • 默认开启「提示音 + 语音播报」,且默认对所有会话提醒(多会话 / 单页签切换会话 / 多标签页都能听到任何会话的审批、提问、计划审批)。
  • 设置入口:设置 → 常规 → 审批语音提示,可配置:
    • 总开关;
    • 提醒方式:仅提示音 / 仅语音播报 / 提示音 + 语音播报;
    • 音量;
    • 提醒范围:所有会话(默认,覆盖所有会话,含没开在任何标签页里的会话)或 仅当前会话(只在当前标签页响应本页显示的会话);
    • 提示音文件:选择本地音频文件(mp3/wav/ogg 等,≤4MB)替换内置提示音;点「恢复默认」回到内置提示音。
  • 试听按钮:按当前设置播放一次(含自定义提示音)。
  • 控制台调试:window.__approvalVoice.get() / set({...}) / test() / pending() / global() / currentSessionId() / tabId。
  • 配置保存在浏览器 localStorage(键 dsh.approvalVoice.v1),同一浏览器所有标签页共享。

多会话提醒原理

DSH Web GUI 里每个会话可能是一个独立标签页,也可能只是同一页签侧边栏里的一条。插件按以下方式让任一会话的审批都能被听到:

  • 每个页签订阅 DSH 客户端的全局待处理交互源 ctx.uiSession.pendingInteractions,因此 任何会话(哪怕没开在任何页签里、只在侧边栏显示「等待审批」)出现审批 / 提问 / 计划审批时, 每个页签都会感知到;取不到该源时退回监听本页 DOM 里的卡片。
  • 事件标识是会话作用域的(session:<sessionId>:<kind>:<key>),配合 BroadcastChannel (并写入 localStorage 作为兜底)在全浏览器内一次提醒只响一次:优先由当前聚焦的标签页 播放(声音最可靠),若没有任何聚焦标签页,则由最先到时的后台标签页兜底播放。
  • 若抢到播放权的页签实际没能出声(浏览器拒绝自动播放且音频未解锁),它会释放 claim 并广播 bell-failed,请已解锁音频的其它页签补响一次。
  • 仅当前会话 模式不广播,只在本地为本页正在显示的那个会话出声。

注意事项

  • 语音播报依赖系统安装的中文 TTS 语音;找不到中文语音时自动退化为仅提示音(避免用英文语音念中文)。
  • 浏览器自动播放策略:首次点击/按键后音频才解锁;设置在自定义提示音且未起播时会自动回退内置提示音, 并把失败原因打到 console.warn(不再静默无声)。
  • 自定义提示音以 data URL 存入 localStorage(≤4MB),请选择短促音频;跨标签页共享。
  • 若所有 DSH 标签页都在后台且使用「仅语音播报」,浏览器可能限制后台标签页的语音合成(提示音不受影响)。
  • 卸载:dsh plugin --profile web remove dsh-approval-voice,重启服务即可。

文件结构

dsh-approval-voice/
├── package.json            # dsh.bundle + dsh.client 声明(免构建)
├── cordis.patch.yml        # 插件名册插入行
├── lib/index.js            # 宿主侧空插件(浏览器专用插件无需宿主行为)
├── lib/client.js           # 浏览器端实现(模块加载器格式,纯 JS)
├── test-global-scope.mjs   # 回归测试:直接加载真实 lib/client.js 的假浏览器测试
└── test-cross-tab.mjs      # 旧版跨标签页协调逻辑复刻测试