dsh-tray-notify
DSH → 托盘通知:agent 停顿 / 提问 / 计划审批 / 授权时调用 notify-sender.py 弹窗(--source dsh,托盘按蓝色主题区分于 Claude Code)。纯 node 侧插件。
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 26, 2026
- Updated
- Aug 26, 2026
Introduction
dsh-tray-notify
DSH → 托盘通知:agent 停顿 / 提问 / 计划审批 / 授权时调用 notify-sender.py 弹窗(--source dsh,托盘按蓝色主题区分于 Claude Code)。纯 node 侧插件。
安装(Install)
需要 DSH(DeepSeek Harness)与 web profile(dsh web):
# 1. 安装插件(pnpm git 依赖)
dsh plugin --profile web add github:lzxcs/dsh-tray-notify
# 2. 在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加注入块:
- insert:
- id: dsh-tray-notify
name: 'dsh-tray-notify'
# 3. 重启 DSH Web(托盘菜单 → DSH Web 重启),浏览器 Ctrl+F5 刷新页面
卸载:dsh plugin --profile web remove dsh-tray-notify,并删掉 cordis.patch.yml 中的注入块。
配置
默认值已可移植(不依赖作者机器):
| 键 | 默认值 | 覆盖方式 |
|---|---|---|
pythonw | pythonw(从 PATH 解析) | 环境变量 DSH_TRAY_NOTIFY_PYTHONW,或 cordis.patch.yml 传入 config |
sender | ~/.claude/notify-sender.py(用 homedir() 拼接) | 环境变量 DSH_TRAY_NOTIFY_SENDER,或 cordis.patch.yml 传入 config |
title | DSH | cordis.patch.yml 传入 config |
pythonw 需在 PATH 上(Windows Python 安装默认满足);若你的 Python 不在 PATH,
用环境变量或 config 指定绝对路径即可。通知即发即弃,失败只记 warn,不影响 agent loop。