f1yan9/dsh-balance-pie1

dsh-balance-pie

DSH 插件:可拖拽悬浮余额饼图,展示每日初始余额、各项目真实消耗(按余额实际下跌统计)与剩余余额;支持充值自动识别、官方峰谷计价分摊、按月历史热力图与中英文切换。

包名
dsh-balance-pie
版本
0.1.0
许可证
MIT
最近更新
2026年8月30日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:f1yan9/dsh-balance-pie

📖 Usage

  • Floating pie: drag to reposition; hover a slice for details; use (minimize), (settings), (refresh) and the recharge icon buttons.
  • Sidebar: minimized state becomes a bar chart (horizontal when expanded, vertical + balance on the narrow rail); click it to expand the pie back.
  • Settings(Balance): the parameters sub-page holds all options (polling, currency, prices, history, language…); the history sub-page shows the heatmap and table.

⚙️ Configuration

Edit in the settings drawer(Balance section), or via cordis.patch.yml in your DSH profile. Common options:

OptionDescriptionDefault
pollIntervalMsBalance poll interval10000 ms
pricesJsonPer-model off-peak prices (per 1M tokens)presets for deepseek-v4-flash
peakMultiplierPeak-hour price multiplier2
languageUI language (auto follows DSH)auto
displayCurrencyDisplay currency (converted)auto (account currency)
fxRatesJsonCNY→target-currency rates JSON{"USD":0.14,"EUR":0.13,"GBP":0.11,"JPY":20,"KRW":190}
topUpUrlRecharge page URLofficial top-up page