Leo-Cjw/dsh-pharos ↗★ 0

dsh-pharos

DSH 桌面守望提醒插件:模型需要你操作(审批/方案确认/提问)或回复在后台完成时,系统通知 + 提示音 + 标题标记提醒你;完成通知带耗时小结,未处理的待办 10 分钟后二次提醒,通知不可用时标题闪烁兜底。Pharos lighthouse for DeepSeek Harness — alerts you when the agent needs your input (approval / plan review / question) or a reply finishes in the background: toasts, chimes, a tab-title marker, duration summary, one-shot re-alert for unanswered requests, and a blink fallback when notifications are unavailable. 适合后台运行任务的用户,在模型需要操作或完成时提供多重提醒。

패키지
dsh-pharos
호환성
미검증
버전
0.3.0
라이선스
MIT
최근 업데이트
2026. 9. 30.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Leo-Cjw/dsh-pharos

配置

配置存 localStorage(键 dshPharos.config),控制台实时生效:

window.__dshPharos.config()           // 查看当前配置
window.__dshPharos.setConfig({
  enabled: true,               // 主开关
  toast: true,                 // 系统通知
  sound: true,                 // 提示音
  volume: 0.5,                 // 音量 0~1
  autoFocus: true,             // 点通知聚焦 DSH
  attentionHiddenOnly: false,  // 「需要你」仅页面隐藏时提醒
  doneHiddenOnly: true,        // 「回复完成」仅页面隐藏时提醒
  currentQuiet: true,          // 当前会话+前台:「需要你」静默只留标记
  minIntervalMs: 6000,         // 「完成」同会话节流
  reAlertMs: 600000,           // 未处理的「需要你」10 分钟后补发一次
  blinkFallback: true,         // 通知不可用时的 ⏳ 标题闪烁兜底
  language: "auto"             // 'auto' | 'zh' | 'en'
})
window.__dshPharos.resetConfig()      // 恢复默认
window.__dshPharos.test("attention")  // 测试「需要你」
window.__dshPharos.test("done")       // 测试「回复完成」
window.__dshPharos.debug()            // 绑定/权限/待办/定时器诊断