DeepSeek Harness Plugin

hifengzy/dsh-plugin-deepseek-peak-hours

Category Usage & Billing Added 2026-11-18

A composer badge that shows whether DeepSeek API usage bills at the peak or off-peak rate right now, and on click the price table for that window: input cache hit, input cache miss and output, in CNY per million tokens, for FLASH and PRO. It sits in the statistics row under the composer right of the context meter, and in the New Session options row. The schedule follows the official pricing page — Beijing time, Monday to Friday except Chinese statutory holidays, 09:00-12:00 and 14:00-18:00 peak, weekends and holidays off-peak all day — with statutory holiday data for 2026 and 2027. One timer fires at the next boundary instead of polling. Client-only, no network requests, no dependencies.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:hifengzy/dsh-plugin-deepseek-peak-hours

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.