AI Agent Hub
Back to plugins
🧰

dsh-liangwen-tide

Web Tools Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install ZiqiaoFang/dsh-liangwen-tide

Paste the following prompt into your AI chat to install this plugin:

Install it in DeepSeek Harness by running dsh plugin install ZiqiaoFang/dsh-liangwen-tide; the source repository is available at https://github.com/ZiqiaoFang/dsh-liangwen-tide.

About this plugin

DeepSeek API prices calls differently during peak and off-peak windows, but most users only discover they burned budget during the expensive tier when the monthly bill lands. dsh-liangwen-tide turns "am I in peak or valley right now?" and "how much have I spent today?" into a single persistent capsule that lives in the session header and the sidebar footer. During peak hours it glows amber-red and reads "Liang Wenfeng" (peak); during valley hours it switches to teal-green and reads "Liang Wengu" (valley), followed by a running daily spend figure. Hovering over it reveals a full breakdown: peak vs. valley token counts, cache-hit vs. miss, per-model pricing, USD equivalents, and the exact time window ahead. Peak/valley rules and the price sheet are pulled automatically from the official pricing page, so when DeepSeek adjusts rates or shifts tiers, the capsule keeps up without a single line of code change. The parser is deliberately conservative: a new schedule is only adopted once it satisfies all structural checks (1–6 non-overlapping windows, total coverage ≤ 16 h, explicit time-zone and weekend wording); otherwise the last known-good policy is retained.

Daily spend is priced call-by-call at the moment each request fires, so crossing a peak/valley boundary mid-session never skews the total; weekends are treated as all-valley. The ledger stays in process memory only—nothing is written to disk or sent anywhere—and every missing host capability degrades gracefully instead of throwing errors.

Built for developers and ops teams running API workloads through the DeepSeek Harness web profile who want a glanceable peak/valley indicator, a real-time daily spend check against their budget, and automatic pricing sync with zero third-party dependencies.

Use Cases

  • Check the current peak/valley tier before kicking off batch API jobs to avoid premium windows
  • Track real-time daily API spend against the team budget without waiting for the monthly bill
  • Follow official pricing or schedule changes automatically with zero manual rule maintenance

Best For

  • Developers calling the DeepSeek API via the DeepSeek Harness web profile
  • Ops or data teams that need to keep API spend within budget
  • Individual users who want peak/valley and usage visibility with minimal dependencies