HugePaint/dsh-balance-chip ↗★ 0

dsh-balance-chip

Live account balance and peak/off-peak billing window rows in the DSH sidebar footer 适合需要实时监控API账户余额及避开高峰计费时段的用户。

Package
dsh-balance-chip
Compatibility
Unverified
Cordis peer range
~4.0.4
Version
1.1.1
License
MIT
Last updated
Oct 18, 2026

Other repositories with this package name

Install

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

Configuration

Every field of an entry's config is optional; an invalid value falls back to the default instead of hiding the row.

- insert:
    - id: balance-chip
      name: "dsh-balance-chip"
      config:
        windows: ["09:00-12:00", "14:00-18:00"]   # Beijing time; [[540,720],[840,1080]] also accepted
        weekdays: [1, 2, 3, 4, 5]                 # days treated as working days (0 = Sunday)
        holidays: ["2027-01-01", "2027-02-06"]    # extra dates, union with the built-in table
        ignoreHolidays: false                     # true = ignore holidays entirely
        zoneOffsetMinutes: 480                    # time zone the rule is defined in
        pricingUrl: "https://api-docs.deepseek.com/quick_start/pricing"