zjbc2000/attention-plugins ↗★ 0

attention-plugins

Lightweight DSH plugin for session completion notifications with sound and browser alerts 适合在后台运行长任务、需要即时交互提醒的DSH用户。

패키지
attention-plugins
호환성
미검증
Cordis peer 범위
^4.0.1
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 9. 21.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zjbc2000/attention-plugins

使用场景

场景 1:主线任务优先
启动 4 个任务:A(主线)、B、C、D
- A 完成 → 🔔 立即通知
- B、C、D 依次完成 → 静默
- 所有支线完成 → 🔔 "All side-line tasks completed"
场景 2:纯支线模式
启动 3 个任务:A、B、C(都不标记主线)
- A 完成 → 静默
- B 完成 → 静默
- C 完成 → 🔔 "All tasks completed"
场景 3:阻塞交互
会话运行中需要回答问题
→ 🔔 通知 + 🎵 Chime(question 事件)
→ 用户返回查看并回答

配置选项

设置面板(Settings → Attention):

配置项说明默认值
🔊 声音通知总开关✅ 开启
🎵 音效选择Chime / Success / SubtleChime
🔉 音量0-100%70%
🔔 浏览器通知系统通知❌ 关闭
👁️ 为当前会话也通知正在查看的会话也响❌ 关闭

事件独立配置:

事件默认音效说明
✅ CompletedChime任务成功完成
⚠️ FailedSubtle任务执行失败
❓ QuestionSuccess需要用户回答
🔒 PermissionSuccess需要用户授权

⭐ 主线标记:

  • 位置:会话标题栏右侧
  • 未标记:☆ 设为主线(灰色)
  • 已标记:⭐ 主线(橙色高亮)

Configuration

Settings Panel (Settings → Attention):

OptionDescriptionDefault
🔊 Sound NotificationsMaster switch✅ On
🎵 Sound EffectChime / Success / SubtleChime
🔉 Volume0-100%70%
🔔 Browser NotificationsSystem notifications❌ Off
👁️ Alert for Current SessionAlso notify when viewing❌ Off

Per-event Configuration:

EventDefault SoundDescription
✅ CompletedChimeTask finished successfully
⚠️ FailedSubtleTask execution failed
❓ QuestionSuccessUser answer required
🔒 PermissionSuccessUser authorization needed

⭐ Main-line Marker:

  • Location: Conversation header right side
  • Unmarked: ☆ Set as Main (gray)
  • Marked: ⭐ Main (orange highlight)