DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

@dsharness/dsh-sound-notify

@

@dsharness/dsh-sound-notify

Manifest valid

DSH web plugin: play a notification chime when the agent asks the user a question (ask_user_question / plan review) or requests approval (sandbox escalation, tool approval).

UI (client)hasBundlePatch

dsh-sound-notify

DSH web 插件:个性化面板——当 agent 向你提问、发起审批申请或完成一轮任务时播放提示音(每个触发条件可单独设置音效、音量、重复次数与间隔),并可自定义主背景(背景色、背景图片、全局遮罩、侧边栏遮罩)。

安装

方式一:一条命令(推荐,需要 pnpm)

# 在下载了 dsharness-dsh-sound-notify-0.1.0.tgz 的目录里执行
dsh plugin --profile web add .\dsharness-dsh-sound-notify-0.1.0.tgz

方式二:手动安装(没有 pnpm 时)

  1. 把 @dsharness/dsh-sound-notify 整个目录复制到 $DSH_HOME/profiles/node_modules/@dsharness/dsh-sound-notify
  2. 在 $DSH_HOME/profiles/web/cordis.patch.yml 里追加:
- insert:
    - id: sound-notify
      name: '@dsharness/dsh-sound-notify'

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

界面

打开 设置 → 个性化:

  • 背景:背景色(色板)、背景图片(URL 或选择本地文件上传)、全局遮罩(聊天/内容区底色遮盖,越低图片越清晰、越高文字越易读)、侧边栏遮罩(降低让左侧栏显示背景图片)、恢复默认。背景色与主题(设置 → 外观)互补
  • 提示音:启用总开关 + 三个触发条件(提问 / 审批 / 任务完成)各一组:音效(上扬 / 下行 / 叮咚 / 单声 / 自定义音频 / 静音)、音量、次数(1–10)、间隔(0–5000 ms),带试听按钮。选"自定义音频"后可选择本地音频文件上传

改动自动保存到 $DSH_HOME/settings.yaml,实时生效,无需刷新。本地文件经 /plugins/sound-notify/upload 上传,存于 $DSH_HOME/sound-notify/,设置中只保存返回的 URL。

实现

  • host 半(lib/index.js):注册 sound-notify 设置 namespace(声明 inject: ["settings", "webServer"],等设置服务就绪;webServer 用于上传与文件路由)——/plugins/sound-notify/upload(POST 存文件)+ /plugins/sound-notify/files/*(静态服务)
  • 浏览器半(lib/client.js):
    • 提示音:订阅客户端会话运行时——question/requested、approval/requested 帧变成会话的 pending 交互,任务完成表现为 running 位翻转;内置音效用 Web Audio 在音频时钟上一次性调度整个序列(免疫后台标签页定时器节流)+ 500ms 起播余量防卡音;自定义音频用 <audio> 播放
    • 背景:背景色/遮罩通过 ctx.theme.overrideTokens 覆盖主题令牌(--dsw-alias-bg-base、--dsw-specific-sidebar-fill,转 rgba 实现全局/侧边栏遮罩);背景图片注入固定 body::before 层(cover 铺满),框架背景转透明后图片透出
    • 本地文件:<input type="file"> 选择后 fetch POST 到上传路由,返回 URL 写入设置

Comments

Loading…

From the same category

dsh-purge

by kingcharleslzy-ai

Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 9.3k

MIT

JavaScript

Nov 16, 2026

dsh plugin --profile web add dsh-purge-community

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsManifest valid

★ 7.8k

↓ 19.2k/wk

MIT

TypeScript

Nov 17, 2026

dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui

by mmparko

DeepSeek Harness 破甲 (mirror of YuJunZhiXue/dsh-purge) — 上游即将删库,此为本仓库全量镜像:含全部分支/73 个 tag/完整提交历史。原作者署名与二开要求见 README 署名章节。

Terminal & ClientsManifest valid

★ 5.2k

↓ 19.5k/wk

MIT

JavaScript

Oct 13, 2026

dsh plugin --profile web add dsh-purge

by bowenliang123

The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

★ 5.2k

↓ 127.5k/wk

Apache-2.0

TypeScript

Nov 16, 2026

dsh plugin --profile web add dsh-context

by strukto-ai

The World's First Virtual Terminal for AI Agents

Terminal & ClientsManifest valid

★ 3.8k

↓ 519/wk

Apache-2.0

TypeScript

Nov 17, 2026

dsh plugin --profile agent add @struktoai/mirage-dsh

by c1overzz

DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你

Tools & CapabilitiesNotifications & IntegrationsTerminal & ClientsManifest valid

★ 1.4k

↓ 10.5k/wk

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add dsh-bili-scroll