Skip to main content

How to use plugin

Adds a bottom information bar showing provider/model, live balance, peak/off-peak pricing, and per-session spend.

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

Adds a bottom information bar showing provider/model, live balance, peak/off-peak pricing, and per-session spend.

— source: plugins.ai_summary

Install & verify

dsh plugin --profile web add dsh-bottom-info-bar

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

  • Live balance — Fetches real balance from DeepSeek's /user/balance API, auto-refreshes every 60 s, and keeps the last known snapshot on failure so usage is never interrupted.
  • Peak / off-peak pricing — Shows peak (amber, bold) and off-peak (green, bold) prices with a countdown to the next switch; hidden automatically for providers without tiered pricing.
  • Bold numbers — Balance, countdown, spend, and all stats are rendered with bold numerals for instant readability.
  • Full / compact toggle — Click the bar to switch between two strict modes (debounced).
  • Low-balance alert — Shows ⚠ when the balance drops below ¥20.

— source: plugin_wiki.readme_en (fallback readme_raw)

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule