dshbase

插件目录 / Developer / dsh-chime

dsh-chime

已验证 · 实测可装 xiaxingtianxia2-glitch

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
—语言
2026-08-20最近推送
跨平台平台

功能简介

DSH 插件:opencode 任务完成提示音(完成/提问/错误三音,原始 mp3 内嵌,零依赖)。官方 bundle 插件,dsh plugin --profile web add: github:xiaxingtianxia2-glitch/dsh-chime#main

✅
我们的评价
可用 — 实测通过,早期项目

DSH 插件:opencode 任务完成提示音(完成/提问/错误三音,原始 mp3 内嵌,零依赖)。官方 bundle 插件,dsh plugin --profile web add: github:xiaxingtianxia2-glitch/dsh-chime#main 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-chime

本项目由 dsh创造模式 + Deepseek-V4-Flash0731 独立完成

English | 中文

这是什么

为 DeepSeek Harness 复刻 opencode 的任务完成提示音:一轮对话完成、向你提问、
计划提交待审、或一轮出错结束时播放清脆提示音。三个音源均为 opencode 官方
仓库的原始 mp3 无损内嵌(base64 打包在 client 中),插件完全自包含、
零外部依赖。

工作原理

  1. host 半(Cordis bundle entry)监听 agent/status(一轮 running → idle
    即完成,出错轮播错误音)与 tools/execute(ask_user_question 提问工具、
    exit_plan_mode 计划提交工具开始执行即入队提问音),按需入队音效;
  2. webServer 路由:/chime/poll 提供待播队列,/chime/debug 提供状态与
    试听入口;
  3. client 半(浏览器)每 250ms 轮询 /chime/poll,用 Audio 播放内嵌
    base64 音源。

音效

音效 触发时机 音源(opencode 原始)
完成音 一轮回复结束 bip-bop-01.mp3
提问音 提问弹窗出现瞬间 / 计划提交待审 yup-01.mp3
错误音 一轮出错结束 nope-03.mp3

安装

dsh plugin --profile web add dsh-chime

或从 GitHub 源安装(等同内容):

dsh plugin --profile web add github:xiaxingtianxia2-glitch/dsh-chime

装完重启 web(client 通道启动时扫描装配)。本插件为 host 级监听——
所有 agent/会话(含子代理)完成都会响。

使用

无需操作,自动生效。试听与排查:

curl http://127.0.0.1:3080/chime/debug
{"pendingCount":0,"recent":["done","question"],"runningCount":1}

字段含义:recent 最近入队历史;pendingCount 待播放队列长度(client 每
250ms 取走);runningCount 当前 live agent 数。

试听指定音效:

curl http://127.0.0.1:3080/chime/debug?play=done      # done | question | error

常见问题

  • 没声音? 先确认系统音量与浏览器标签页未被静音;再访问
    /chime/debug?play=done 试听——若入队但没播,刷新页面重载 client 播放器。
  • 子代理完成也响? 会——host 级监听所有 agent,与 opencode 一致(所有
    session 都响)。若觉得吵可卸载插件:
    dsh plugin --profile web remove dsh-chime。
  • 提问音不响? 提问音在提问工具开始执行时触发(弹窗出现瞬间),
    计划待审音在 exit_plan_mode 工具开始执行时触发。若使用非标准提问/计划
    通道(不经过这两个工具)不会触发。
  • 重启后还有效吗? 有效——bundle 插件随 profile 自动装配,重启即生效。

许可证

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-chime」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:xiaxingtianxia2-glitch/dsh-chime

Headless(CLI)profile:

dsh plugin --profile headless add github:xiaxingtianxia2-glitch/dsh-chime

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →