dsh-balance-tide: DSH Web Balance and Peak-Valley Pricing Reminder Plugin

`dsh-balance-tide` is a DSH Web plugin (v0.4.0, MIT license) developed by maintainer `huanyuLv`, designed to integrate DeepSeek account balance, peak/valley pricing status, and current session cost estimation. The plugin displays real-time badges for `standard`, `peak`, or `off-peak` price tiers and provides a countdown to the next peak/valley switch. It reads balance data from official endpoints, differentiates between gifted and topped-up portions, and estimates session costs by reusing `sessionProjections` based on the current pricing cycle to avoid redundant calculations. The plugin supports both Chinese and English interfaces and requires zero configuration, reusing the API Key from DSH credentials without storing keys in the repository. According to the rules, Beijing time 09:00–12:00 and 14:00–18:00 are designated as peak hours.

Read More