rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:rifat-h/dsh-peak-hours
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A small, always-visible status pill in the bottom-right corner of the DeepSeek Harness Web UI that answers one question: is DeepSeek API peak pricing active right now?
shell.overlay slot, so it stays visible on
every page, including the welcome screen.Taken from the official pricing page (https://api-docs.deepseek.com/quick_start/pricing):
Off-peak rates are half of the peak rates. Peak hours are 01:00 - 04:00 and 06:00 - 10:00 UTC, Monday through Friday, excluding Chinese public holidays. All other hours are off-peak, including weekends and Chinese public holidays in full.
| Window (UTC) | Example: Asia/Dhaka (UTC+6) | |
|---|---|---|
| Peak (standard price) | Mon–Fri, 01:00–04:00 and 06:00–10:00 | Mon–Fri, 07:00–10:00 and 12:00–16:00 |
| Off-peak (50% of peak) | every other instant | 00:00–07:00, 10:00–12:00, 16:00–24:00, all weekend |
The discount applies to every current model (deepseek-flash and
deepseek-v4-pro at the time of writing).
From the dsh plugin market once listed, or directly from GitHub:
dsh plugin --profile web add github:rifat-h/dsh-peak-hours
Then restart the dsh profile:
dsh --profile web
From a local checkout instead of GitHub:
dsh plugin --profile web add /path/to/dsh-peak-hours
Remove it with the plugin manager or dsh plugin --profile web remove dsh-peak-hours.
Weekends and Chinese public holidays are off-peak in full, so the widget embeds
the weekday dates of the State Council holiday arrangement. The calendar is a
plain Set in client.js (CN_HOLIDAYS). It currently covers every remaining
holiday through 2027-12-31 — nothing after the October 2026 National Day run
falls in 2026 — from the 国务院办公厅关于2027年部分节假日安排的通知
(国办发明电〔2026〕10号). After that date the tooltip says the calendar is out of
date instead of silently over-reporting peak hours.
When the State Council publishes the next year's notice, add its weekday holiday
dates to CN_HOLIDAYS, move HOLIDAY_CALENDAR_THROUGH forward, and bump the
package version.
index.js — Host half; the bundle row is what publishes the Client module.client.js — the shell.overlay pill, the peak/off-peak rule, and the
localized dictionaries.cordis.patch.yml — inserts the Loader row.locale/*.json — plugin title/description shown in the market and settings
(8 locales).icon.svg — original artwork.No build step, no runtime dependencies: the Client bundle is plain JavaScript loaded through the DSH module loader.
MIT © Rifath Hossain
在 DeepSeek Harness Web 界面右下角常驻一个小状态挂件,用来回答一个问题:当前是否处于 DeepSeek API 高峰时段?
shell.overlay 槽位渲染,任何页面(包括欢迎页)都可见。规则来自官方定价页:高峰时段为周一至周五 UTC 01:00–04:00 与 06:00–10:00,不含中国法定节假日;其余时间均为低峰,价格为高峰的 50%。
安装:
dsh plugin --profile web add github:rifat-h/dsh-peak-hours
dsh --profile web
高峰判定已排除中国法定节假日(client.js 中的 CN_HOLIDAYS),当前覆盖到 2027-12-31;每年国务院办公厅公布次年放假安排后更新该列表并提升版本号即可,过期后挂件会提示日历需要更新。
MIT 许可证。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。