DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

liuyun847 /

liuyun847/dsh-client-ui-turn-chime

Topic repository only

DSH Web 客户端插件:AI 回复完成时播放双音提示音 (DeepSeek Harness)

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@3e1fd80a

dsh-client-ui-turn-chime

License: MIT Version DSH Plugin

DSH(DeepSeek Harness)Web 客户端插件:每次 AI 回复完成时在浏览器播放一声双音"叮咚"提示音,无需盯着屏幕等待回复结束。

特性

  • 双音提示音(C6→G6)由 Web Audio 实时合成,不依赖任何音频文件
  • 监听会话快照 running 由 true 变 false 的瞬间,仅在回复完成时响一次
  • 不渲染任何可见 UI,无侵入
  • 页面卸载时自动释放音频上下文

使用

安装并注册后,AI 回复完成即自动播放提示音,无其他配置。

安装

在 DSH profile 目录(例如 ~/.dsh/profiles/web/)下:

  1. 添加依赖:

    // package.json
    {
      "dependencies": {
        "dsh-client-ui-turn-chime": "github:liuyun847/dsh-client-ui-turn-chime"
      }
    }
    

    然后 pnpm install(或 npm install)。

  2. 在 cordis.patch.yml 中注册插件行:

    - insert:
        - id: turn-chime
          name: 'dsh-client-ui-turn-chime'
    
  3. 重启 dsh web,刷新页面后生效。

工作原理

  • 通过 dsh.client 声明(见 package.json)注册为浏览器端插件。
  • 在 conversation.composer.dock 座位注册一个不渲染 UI 的监听组件,利用该座位 props 中实时更新的 session.running 字段检测回复完成。
  • 双音由 AudioContext 实时合成(C6 1046.5Hz → G6 1568Hz),失败时静默降级,不影响使用。

License

MIT

—/ 5

No ratings yet

Manifest verification required

Commit 3e1fd80ae0ba

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout