wzy816/dsh-plugin-deepseek-balance ↗★ 0

dsh-plugin-deepseek-balance

Shows the DeepSeek total balance, the current peak/off-peak price period, and a countdown to the next price switch.

套件
dsh-plugin-deepseek-balance
相容性
待驗證
版本
1.0.0
最近更新
2026年11月6日

同名套件的其他儲存庫

安裝

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

Configuration

- id: dsh-plugin-deepseek-balance
  name: dsh-plugin-deepseek-balance
  config:
    apiKeyRef: DEEPSEEK_API_KEY   # credential reference
    balanceTtlSeconds: 60         # balance cache and refresh cadence
    holidayTtlSeconds: 21600      # 6h holiday cache

apiBase, holidayApiBase and requestTimeoutMs are configurable too.

配置

- id: dsh-plugin-deepseek-balance
  name: dsh-plugin-deepseek-balance
  config:
    apiKeyRef: DEEPSEEK_API_KEY   # 凭据引用名
    balanceTtlSeconds: 60         # 余额缓存与刷新间隔
    holidayTtlSeconds: 21600      # 节假日缓存(6 小时)

apiBase、holidayApiBase、requestTimeoutMs 也可配置。