c-ling/dsh-plugin-peak-pricing
DeepSeek peak and valley pricing period badge (DSH double-sided plug-in, pure UI, stateless, no network requests)
dsh-plugin-peak-pricing is a pure-UI, stateless badge showing the DeepSeek Harness peak/off-peak pricing window. In an expanded sidebar it renders as a single-line card pinned under the settings button (e.g. '● Off-peak · 50% off · 2h12m until peak'), with a yellow dot for peak and a green dot for off-peak; in a collapsed sidebar it becomes a centred coloured dot with a frosted hover popup. Per the README it refreshes every 30 seconds and switches automatically at each pricing-period boundary, has bilingual copy that follows the Harness interface language, and makes no network requests. Peak periods are Beijing time 09:00-12:00 and 14:00-18:00, all other times are off-peak (half price), and weekends have been off-peak all day since 2026-08-24.
Install
dsh plugin --profile web add "github:c-ling/dsh-plugin-peak-pricing#v1.2.0"The README also gives an npx form (npx @deepseek-ai/dsh plugin --profile web add ...) and a corepack fallback for when pnpm is not on PATH. dsh plugin forwards its arguments to pnpm and fetches the package from the repo (pnpm 9+, git required); the warning 'declares no dsh.bundle — installed as a plain dependency' is expected because the plugin is not a profile bundle layer, it is activated by a loader row added to ~/.dsh/profiles/web/cordis.patch.yml. Restart dsh web and hard-refresh after installing.
Compatibility
DeepSeek Harness. The README records upgrade verification against DSH 0.1.1-rc.1 (the sidebar.footer.action slot contract, footer class names and locale service API unchanged) and a forward check against npm latest 0.1.1-rc.2, and states the rc7 -> rc8 / 0.1.1 breaking changes do not touch this plugin.
Details
- Repo: c-ling/dsh-plugin-peak-pricing
- Category: Web UI Enhancements
- Stars: 3
- Version: git spec pinned to tag v1.2.0 (github:c-ling/dsh-plugin-peak-pricing#v1.2.0); MIT
- Last push: 2026-08-23
- First seen: 2026-08-14
Recent updates
The README publishes the pricing-period definition (Beijing time, no DST, weekends off-peak since 2026-08-24) and a compatibility note covering the verified slot/class/locale contracts plus the forward check against npm latest.
FAQ
- How do I install dsh-plugin-peak-pricing?
- Run dsh plugin --profile web add "github:c-ling/dsh-plugin-peak-pricing#v1.2.0", add the loader row the README shows to ~/.dsh/profiles/web/cordis.patch.yml, then restart dsh web and hard-refresh.
- What counts as peak vs off-peak?
- Per the README, peak is Beijing time 09:00-12:00 and 14:00-18:00 (full price) and every other time is off-peak (half price); since 2026-08-24 Saturdays and Sundays are off-peak all day.
- Does it send any data?
- No. The README describes it as a stateless pure-UI plugin that makes no network requests and keeps no persistent data.
Alternatives
jelly-000/dsh-balance-monitor · zhangzheng25/dsh-token-monitor · AbnerAI/dsh-monitor