Plugin directory / Developer / DSH-peak-valley
DSH-peak-valley
Verified · install-tested on dsh CreateCN
What it does
适用于DSH(DeepSeekHarness)的峰谷提醒插件,用于26-8-27后Deepseek价格调整后最佳调用时段的提醒
Works — verified, early-stage project
适用于DSH(DeepSeekHarness)的峰谷提醒插件,用于26-8-27后Deepseek价格调整后最佳调用时段的提醒 It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
dsh-peak-valley
DeepSeek Harness (DSH) 静态插件:峰谷时间提醒悬浮窗。
- 左下角悬浮胶囊显示当前时段:谷时(绿点)/ 峰时(橙点)/ 未配置(灰点);
- 带「Xh Ym 后转峰/谷」倒计时,每 30 秒自动刷新;
- 峰时/谷时区间可配置,并持久化到 DSH
settings.yaml。
安装
dsh plugin --profile web add github:CreateCN/dsh-peak-valley
或一键脚本:
curl -fsSL https://raw.githubusercontent.com/CreateCN/dsh-peak-valley/main/install.sh | bash
安装后重启 DeepSeek Harness 生效。
配置
在胶囊「设置」面板里改,或直接编辑 ~/.dsh/settings.yaml(命名空间 dsbal-peakvalley):
dsbal-peakvalley:
timezone: Asia/Shanghai # 可选,留空 = 本机时间
peakRanges:
- 00:30-16:30 # 峰时区间(每行一个 HH:MM-HH:MM,可跨午夜)
valleyRanges:
- 16:30-00:30 # 谷时区间
区间格式 HH:MM-HH:MM,结束时间早于开始时间表示跨午夜(如 16:30-00:30)。
卸载
dsh plugin --profile web rm dsh-peak-valley
# 重启 DSH
目录结构
package.json # dsh.bundle.patch → cordis.patch.yml;dsh.client → client 半端
cordis.patch.yml # 插入插件行的 bundle patch
lib/index.js # Host 半端(配置读写 / RPC 路由)
lib/client.js # Client 半端(悬浮窗 UI)
install.sh # 一键安装
uninstall.sh # 卸载
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install DSH-peak-valley for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:CreateCN/DSH-peak-valley Headless (CLI) profile:
dsh plugin --profile headless add github:CreateCN/DSH-peak-valley Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.