DeepSeek Harness 插件

firstfreeman/dsh-turn-chime

Star 数 ★ 0 下载量(近 30 天) 302 分类 通知与集成 收录于 2026-11-25 npm dsh-turn-chime

本轮结束响两声上行铃音,出现审批或提问响两声短促蜂鸣,只跟随主视图中的对话。

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-turn-chime

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:firstfreeman/dsh-turn-chime

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

A DSH plugin that plays a short chime when the conversation in the main view starts waiting for you.

  • Two-note bell — the turn ended (finished, stopped, or failed); it is your move.
  • Two quick beeps — an approval or an ask_user_question needs an answer.

Everything runs in the browser. The plugin only reads the aggregated Session status (ctx.uiSession.sessionStatus) and the Session bound to the main view; it adds no model-facing content, makes no model request, writes no Session event, and touches no DOM.

Install

From npm:

dsh plugin add dsh-turn-chime

From this repository:

dsh plugin add git+https://github.com/firstfreeman/dsh-turn-chime.git

Restart or reload so the page loads the new bundle, then check Settings > Plugins for the Turn chime row.

Use

Nothing to configure. Enable or disable it in Settings > Plugins, like any other plugin. The chimes are local to the page; muting the system output mutes them too.

Limitations

  • The browser autoplay policy keeps the audio context suspended until the page receives a user gesture. The plugin resumes it on the first click or key press and on every later interaction, so a chime can be silent only if the page has never been interacted with since it was opened.
  • Only the Session shown in the main conversation view chimes. Background subagent work and conversations in other tabs stay silent until they are opened; opening a conversation re-baselines without chiming.
  • The chime plays once per waiting state. It does not repeat while the same state persists.
  • Each open page chimes for itself, so two pages showing the same conversation would sound twice.

说明

每当主视图中的对话开始等待你时,播放一声提示音:本轮结束用两声上行的铃音,出现审批或提问用两声短促的蜂鸣。全部在浏览器内完成,不产生模型请求、不写入会话记录、不修改页面。在「设置 > 插件」中启用或停用。

仅主视图中的对话会发声;其它标签页里的对话要打开后才开始提示。提示音只在状态变化时响一次,不会重复。浏览器要求页面先有一次点击或按键,之后才会发声。

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。