rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:esketids/dsh-deepseek-peak-clock
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A DeepSeek Harness plugin that shows whether the DeepSeek API is in its peak or off-peak billing window — right in the composer HUD row, next to turns, tok/s and cache hit rate.
● Off-peak · ends in 1h 22m green dot, half price
● Peak · ends in 2h 04m amber dot, full price
The countdown ticks every second. Hovering the cell shows the window end in your local time and the current per-1M-token rates:
Peak · input / cached input / output · until 12:00
Flash $0.30 / $0.006 / $1.20 · Pro $1.32 / $0.044 / $3.96 · per 1M tokens
Peak windows are 01:00–04:00 and 06:00–10:00 UTC, everything else is off-peak at half price. Since 2026-08-22 16:00 UTC the split only applies Monday–Friday Beijing time; Saturdays, Sundays and Chinese public holidays are off-peak all day.
The rules are a port of the logic behind deepakness.com/deepseek and its price clock extension, which in turn follow the official DeepSeek pricing page.
This is a Harness bundle: a package whose cordis.patch.yml inserts one Loader row.
Clone the repo somewhere stable (the profile links to the directory, so do not delete it).
Install it into your profile with the plugin manager, pointing at the checkout directory:
plugin_manager install_bundle /absolute/path/to/dsh-deepseek-peak-clock
Or add it by hand to your profile's Cordis composition:
- insert:
- id: deepseek-peak-clock
name: dsh-deepseek-peak-clock
Refresh the Web GUI. The cell appears under the composer; it is session-scoped, so open a session to see it.
The Host half is a no-op: the schedule is pure UTC arithmetic, so the clock renders entirely in the browser and works offline.
None. The plugin adds one locale namespace, one HUD cell and nothing else.
CN_HOLIDAYS in client.js lists Chinese public holidays that DeepSeek bills off-peak all day.
The State Council publishes the next year's arrangement around November, so add those dates when
they are announced. Everything else (windows, weekend rule) only changes when DeepSeek changes its
pricing, which this plugin does not detect automatically — compare with the pricing page
occasionally.
| File | Purpose |
|---|---|
index.js |
Host half (empty apply; no services, no network) |
client.js |
Schedule port + the HUD cell component |
cordis.patch.yml |
Loader row that activates the bundle |
locale/en.json, locale/zh.json |
Plugin title and description for the Plugins page |
icon.svg |
Half-green/half-red clock icon |
MIT. The schedule logic derives from DeepakNess's price clock; see the license file.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。