f1yan9/dsh-balance-pie1

dsh-balance-pie

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

AI 分析

核心用途是可视化监控 API 余额和每日消耗。适合需要直观掌握账户余额变化、分析各项目花费占比的用户。必要条件是 DSH 需配置 DeepSeek API 密钥。

パッケージ
dsh-balance-pie
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/30

インストール

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

ドキュメント

README 全文を読む ↗

📖 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