huanyuLv/dsh-balance-tide1

dsh-balance-tide

DeepSeek 余额 + 峰谷计价潮汐提示插件: 在 dsh Web UI 输入框下方显示账户余额、本会话估算消耗,并在余额前提示当前峰/谷价格档位、距下一次切换的倒计时与使用建议

AI Analysis

帮助用户合理规划 API 使用时间以节省成本。适合关注 DeepSeek 官方 API 峰谷优惠政策、希望在低谷期进行重度任务的用户。

Package
dsh-balance-tide
Version
0.1.3
License
MIT
Last updated
Aug 14, 2026

Install

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

Configuration (in $DSH_HOME/profiles/web/cordis.patch.yml)

- id: dsh-balance-tide
  config:
    refreshIntervalMs: 300000   # how often the host polls the balance API
    clientPollIntervalMs: 30000 # how often the browser re-reads the cache
    currency: CNY