Passer au contenu principal
X

dsh-peak-status

xiaoyi-xx/dsh-peak-status

Peak-hour indicator for the DSH web GUI: a native header chip showing whether the current Beijing time is inside DeepSeek's API peak window (daily 09:00–12:00 / 14:00–18:00), with a live clock, countdown, and ×2/off-peak pricing hints. · DSH Web GUI 高峰指示灯

Installer

dsh plugin --profile web add github:xiaoyi-xx/dsh-peak-status

README

dsh-peak-status

English | 中文

peak indicator preview

A peak-hour indicator for the DeepSeek Harness web GUI. A small native chip in the session header shows whether the current Beijing time is inside DeepSeek's API peak window, with a live clock, a countdown to the next transition, and a pricing hint.

Peak windows

DeepSeek's official peak/valley API pricing (effective 2026-08-17):

StateBeijing time (daily)Price
🔴 Peak09:00–12:00 and 14:00–18:00peak price (= off-peak ×2)
🟢 Off-peakeverything elsehalf of peak

What you get

  • A colored status dot — red = peak, green = off-peak — plus the live Beijing clock (HH:MM:SS, timezone Asia/Shanghai, independent of your machine's timezone)
  • A countdown: 剩 3h 54m · 价格 ×2 during peak / 距高峰 3h 54m · 半价 off-peak
  • Click the chip to expand a detail card: peak windows, the next transition with a HH:MM:SS countdown, and a progress bar of the current phase
  • Fully themed with the web UI's native --dsw-alias-* variables — it blends into the interface instead of floating over it
  • Mounted persistently: it survives dsh web restarts

Install

dsh plugin --profile web add dsh-peak-status

Prefer installing straight from GitHub:

dsh plugin --profile web add github:xiaoyi-xx/dsh-peak-status

Then restart dsh web (or refresh the page). The chip appears at the top-right of the conversation header.

Usage

The chip updates every second. Click it to expand/collapse the detail card; hover for a quick tooltip. Peak/off-peak state follows the official schedule above, computed in Beijing time.

If DeepSeek ever changes the peak schedule, a new release will ship with the updated windows — open an issue on this repository if you notice a mismatch.

License

MIT

Plugins associés