xiaoweiqianluo/dsh-desktop-notify ↗★ 2

@local/dsh-desktop-notify

QQ-style desktop popup when a turn finishes or the Harness waits for you, while its window is not in front.

套件
@local/dsh-desktop-notify
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年11月15日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaoweiqianluo/dsh-desktop-notify

配置

在 cordis.patch.yml 里改 desktop-notify 这一行的 config:

键默认值说明
enabledtrue总开关
notifyOnTurnEndtrue任务完成时提醒
notifyOnErrortrue任务出错时提醒
notifyOnApprovaltrue需要授权时提醒
notifyOnQuestiontrue需要回答时提醒
notifyWhenFocusedfalse窗口在前台也提醒;仅用于检查卡片长什么样
silentfalse不播放提示音
animatetrue从右侧滑入;设为 false 则原地出现
cardDurationMs12000完成卡片停留时长(毫秒)
waitingDurationMs24000等待你操作的卡片停留时长(毫秒)
summaryChars90正文摘要最大字数
appProcessNameDeepSeek Harness判定「窗口在前台」用的进程名
languagezh卡片文案语言,zh 或 en
logFile空写入卡片诊断日志的路径,排错时用

Configuration

Edit the desktop-notify row in cordis.patch.yml:

KeyDefaultMeaning
enabledtrueMaster switch
notifyOnTurnEndtrueCard when a turn completes
notifyOnErrortrueCard when a turn fails
notifyOnApprovaltrueCard when an authorization is pending
notifyOnQuestiontrueCard when the agent asks a question
notifyWhenFocusedfalseAlso alert while focused; for inspecting the card
silentfalseNo system sound
animatetrueSlide in from the right
cardDurationMs12000Completion card lifetime
waitingDurationMs24000Waiting card lifetime
summaryChars90Maximum preview characters
appProcessNameDeepSeek HarnessProcess name treated as "window in front"
languagezhCard copy language, zh or en
logFileemptyOptional diagnostics log path