534119219/chicheng-peak
DSH峰谷提醒插件:DeepSeek官方峰谷时段感知——高峰橙/低峰蓝贴边呼吸边框、流光效果、服务端消息推送提醒(自定义标题内容)。
Project Overview项目介绍
This is a native DSH plugin that provides peak and off-peak pricing reminders for DeepSeek API usage. It automatically detects whether the current time falls into DeepSeek’s official peak or off-peak pricing window, and shows visual indicators on the DSH web interface. To install, you run the dsh plugin add command pointing to your local copy of the repository, then add "chicheng-peak" to the bundles array in your DSH web profile’s package.json, and finally restart the DSH web service to activate the plugin. If you make changes to the local source code, you need to run the included relink-plugins.ps1 script to update dependency links before restarting.
After installation, you can access the plugin’s settings from the dedicated “峰谷提醒” section in the DSH settings sidebar, which is marked with a custom mountain waveform icon. From here, you can adjust all aspects of the plugin, including custom peak time windows, border appearance, input box glow effects, push notification channels, reminder timing, and message templates. All configuration changes are previewed in real time, and saved to a separate JSON config file that loads hot, so you do not need to restart the DSH service after most changes. Template variables let you insert dynamic values like current phase, time, and date into your reminder messages for full customization.
This plugin is released under the permissive MIT open source license, and has no third-party runtime dependencies, relying only on built-in Node.js modules and existing DSH profile services. It exposes a set of POST APIs that can only be accessed from same-origin or loopback requests, allowing other DSH plugins to query current status and modify configuration. One important caveat is that the custom navigation icon for the settings panel requires a small patch to the DSH client UI, so you may need to reapply the patch after upgrading your DSH installation. The repository also includes unit and smoke tests for core functionality if you plan to modify the source code.
这是一款面向DSH的原生峰谷提醒插件,会根据DeepSeek官方公布的API峰谷定价时段,自动判定当前处于高峰期还是低峰期,在网页界面提供直观的视觉标识,同时支持通过多种推送渠道发送自定义提醒。安装时通过DSH命令行添加本地源码路径,修改web配置文件的bundles列表添加本插件条目,修改源码后需运行relink-plugins.ps1更新依赖,最后重启DSH web服务生效。
安装完成后,用户可打开DSH设置界面的「峰谷提醒」分区进行配置,可自定义高峰时段、边框外观、输入框光效、通知渠道、提醒触发时机、提醒模板等内容。所有配置修改支持即时预览,存储在独立配置文件中,修改后热生效无需重启服务,模板变量支持插入当前时段、时间、日期等信息,满足个性化需求。
本插件采用MIT许可证开源,无第三方运行时依赖,仅依赖DSH内置的Node模块和配置服务,暴露同源可访问的API接口供其他插件查询状态和修改配置。需要注意的是,设置面板左侧导航的自定义图标需要对DSH客户端UI打补丁,升级DSH后可能需要重新应用补丁。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:chicheng-peak(534119219/chicheng-peak)
仓库:https://github.com/534119219/chicheng-peak
本站详情页:https://www.yhbd.top/plugins/534119219-chicheng-peak/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-26 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:534119219/chicheng-peak
把 534119219/chicheng-peak 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
chicheng-peak
dsh 峰谷提醒插件:依据 DeepSeek 官方峰谷定价时段自动判定当前处于高峰期还是低峰期,并:
- 在网页边缘渲染贴屏呼吸边框 —— 高峰期橙色、低峰期蓝色,呼吸光晕可选择向内/向外,支持颜色、宽度、光晕、不透明度、呼吸频率与流光彗星等外观调节;
- 输入框拥有独立光效:颜色、宽度、光晕、呼吸、流光、方向均与页面边缘分开设置,滚动与输入法弹出时自动跟随输入框控件;
- 在到达高峰/低峰前(或准时到达时),通过消息推送渠道(chicheng-push:Server酱 / Bark / 钉钉 / 企业微信 / Telegram / 飞书 / Webhook…)或 messaging-core 消息平台发送自定义标题与内容的提醒 —— 调度在服务端执行,页面关闭也能送达;
- 支持浏览器本地通知(页面打开时)。
官方时段(北京时间,2026-08-17 起生效): 高峰 09:00–12:00、14:00–18:00;其余为低峰(空闲)时段,API 价格约为高峰一半。
截图
| 主页效果(高峰橙色边框) | 设置页(状态总览 / 高峰时段) | 设置页(边框外观) |
|---|---|---|
![]() |
![]() |
![]() |
| 设置页 | 设置页 | 设置页 |
|---|---|---|
![]() |
![]() |
安装
dsh plugin --profile web add D:\Harness\chicheng-peak
同时确认 C:\Users\TJ\.dsh\profiles\web\package.json 的
dsh.profile.bundles 已包含 "chicheng-peak":
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"dsh-better-sidebar",
"chicheng-gate",
"dshmarket",
"chicheng-cron",
"chicheng-stats",
"chicheng-push",
"chicheng-peak",
"messaging-core"
]
改完 手动重启 dsh web 服务 生效(client 半改动只需刷新页面)。
本地 file: 插件源码有改动时,先运行 D:\Harness\relink-plugins.ps1 保持
node_modules 指向源码。
使用
打开 设置 → 峰谷提醒(左侧导航带山峰波形图标),分六个圆角卡片分区:
| 分区 | 内容 |
|---|---|
| 当前状态 | 实时阶段徽标、下一转折倒计时、自动/强制高峰/强制低峰覆盖 |
| 高峰时段设置 | 高峰时段增删改(默认官方 09:00–12:00 / 14:00–18:00)、时区选择、恢复官方默认 |
| 边框外观 | 高峰色 / 低峰色(色板 + 取色器)、边框宽度、光晕强度、不透明度、呼吸动画(呼吸 / 常亮 / 关闭)、呼吸频率、光效方向(向内 / 向外)、流光彗星 开关与速度;所有调节即时预览 |
| 输入框光效 | 独立于页面边缘的输入框光效:启用开关、高峰色 / 低峰色、边框宽度、光晕强度、不透明度、呼吸动画与频率、光效方向、流光开关与速度、恢复默认 |
| 状态角标 | 独立于页面边框的角标:启用开关、PC 端与手机端分别选择四角位置(左上/右上/左下/右下)并调节水平/垂直偏移、恢复默认 |
| 本地通知 | 浏览器通知开关、转折/提醒触发开关、权限申请、测试通知 |
| 消息推送提醒 | 高峰期 / 低峰期各一行:启用、提前提醒(0 分钟 = 准时到达时,或 5/10/15/30/60 分钟)、标题模板、内容模板、额外固定时间(HH:MM 逗号分隔)、推送渠道(全部 / 指定渠道 / 消息平台目标)、测试发送、立即触发、最近结果 |
| 关于 | 官方时段说明与配置路径 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →





hanshanyike/dsh-yolo
Luaphes/dsh-web-attention-badge
congchuanling-dot/DSH-Telegram-Relay
V-Reason/dsh-task-notify