Plong-RF/dsh-turn-notify ↗★ 0

@local/dsh-turn-notify

Harness 完成一轮对话、或卡住等你确认时,在 Windows 右下角弹出一张跟随当前主题的提示卡片,并播放系统通知音。

패키지
@local/dsh-turn-notify
호환성
미검증
버전
1.0.5
최근 업데이트
2026. 10. 29.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Plong-RF/dsh-turn-notify

配置

改 profile 的 cordis.patch.yml 里这一行(或直接改插件自带的 cordis.patch.yml 再重装):

- id: turn-notify
  name: '@local/dsh-turn-notify'
  config:
    enabled: true
    minTurnSeconds: 30     # 短于这个秒数不提醒(0 = 每轮都提醒)
    seconds: 8             # 完成卡停留秒数
    waitingSeconds: 20     # 等待卡停留秒数
    sound: true            # 系统通知音
    soundFile: Windows Notify System Generic.wav
    skipWhenFocused: true  # 你正看着这条会话时不打扰
    maxStack: 3            # 最多同时叠几张
    width: 340             # 卡片宽度(高度按内容自适应)

宿主侧的改动(index.js、配置)需要重启 Harness 生效;notify.ps1 的改动下次弹窗就生效(每次都是新进程)。