feibi-mochi/deepseek-harness-wallet ↗★ 1
dsh-wallet
Balance monitoring, per-session spend tracking, token statistics, low-balance alerts, and an official recharge shortcut for DeepSeek Harness.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:feibi-mochi/deepseek-harness-wallet说明文档
阅读完整 README ↗dsh-wallet
The multi-provider wallet chip for the DeepSeek Harness Web GUI.
A resident one-line chip beside the composer: official DeepSeek money (balance, session cost, tokens, one-click recharge, low-balance alert) plus the third-party token total. Accounting is bucketed per provider — a GLM session never shows a DeepSeek balance, and DeepSeek costs are never computed from GLM tokens.
If dsh-wallet helps you, please consider leaving a ⭐ Star. Thank you!
What it shows
余额 5.89 · 本场 0.72 · 官 18.8M | 三方 800K · ↗充
- Official DeepSeek — live balance (60s global refresh with fast boot retries), current-session cost (official pricing timeline, including the 2026-08-17 peak/off-peak rollout), and token breakdown.
- Third-party total — current-session tokens (input / cache read / output). No balance guessing, no cost math, zero configuration.
- Click the chip to open the detail panel: per-currency balance breakdown, cost and token splits, a freely editable low-balance threshold (two decimals, persisted globally), manual refresh, and a jump to the official recharge page (first click shows the domain for confirmation — anti-phishing).
- Floating window mode — from the detail panel, detach the wallet into a floating window you can drag anywhere (position remembered across reloads), or minimize it to a small dot; the dot turns red below the threshold.
- Low-balance alert — below the threshold the chip turns red with a breathing animation and fires one desktop notification; it resets automatically once the balance recovers.
- Theme-native UI — built entirely on
--dsw-alias-*theme variables, so light and dark themes both render correctly; the panel closes when you click outside and flips open-direction near screen edges. - Clear current session — one button clears only the open conversation's token/cost records; every other conversation is untouched.



