dsh-sidebar-wallet: Display DeepSeek balance and today's consumption in the sidebar

dsh-sidebar-wallet is a DSH client plugin maintained by chipcats (v0.2.6, MIT). It displays the balance and today's spending in a single line at the far right of the DSH sidebar account row. Hovering over it reveals the request count, input/output tokens, cache hit rate, peak-valley countdown, and data source, while clicking refreshes the data. The balance is fetched via the official GET /user/balance endpoint, and daily spending via the official Platform usage export; if these fail, it falls back to a local session estimate marked with ≈. The plugin only accesses api.deepseek.com and platform.deepseek.com, does not save tokens to disk, and exposes only a read-only state.json. It requires DSH ≥ 0.2.1-rc.1 and can be installed using `dsh plugin --profile desktop add github:chipcats/dsh-sidebar-wallet`. It is recommended to check the source code and license before installation.

Read More