插件目录 / Developer / DSH-peak-valley
DSH-peak-valley
已验证 · 实测可装 CreateCN
✓ 持续维护
0Stars
0Forks
0未关闭 issue
—语言
2026-08-16最近推送
跨平台平台
功能简介
适用于DSH(DeepSeekHarness)的峰谷提醒插件,用于26-8-27后Deepseek价格调整后最佳调用时段的提醒
我们的评价
可用 — 实测通过,早期项目
可用 — 实测通过,早期项目
适用于DSH(DeepSeekHarness)的峰谷提醒插件,用于26-8-27后Deepseek价格调整后最佳调用时段的提醒 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
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 # 卸载
安装
🧩 让 Agent 自动装(推荐)
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 DSH-peak-valley」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
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 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。