keshing/balance-display

keshing★ 0JavaScriptLast synced: 2026-08-17

Open on GitHub

An balance plugin for the deepseek API

README excerpt

balance-display A persistent DeepSeek Harness (DSH) plugin that shows your DeepSeek account balance in the sidebar footer, with a configurable balance popover, a dedicated settings page, and low-balance alert notifications. Features - ¥ icon button in the sidebar footer, styled to match the native Settings button: - Wide sidebar → pill with label ("¥ Balance") - Collapsed rail → circular icon, like Settings - Click → a popover appears to the right showing your remaining balance - Total / granted / topped-up balance rows - Availability status and a manual refresh button - Rendered on the frame-wide overlay, never covered by the conversation column - Settings page (Settings → "余额显示" / "Balance display"): - Choose which balance rows appear (inline switches) - Reorder rows with ↑ / ↓ buttons - Configurable auto-refresh interval (hours / minutes / seconds, min 10 s, integers only) - Low-balance alert thresholds (multiple values supported) - Draft model with Apply / Cancel / Reset actions - Configuration is persisted in /.dsh/settings.yaml - Alert notifications : when the balance drops below a configured threshold, a toast appears in the bottom-right corner (persists until closed). Multi…

View full README on GitHub →
Tools / Devbalancedshdsh-plugindsh-pluginssidebar

Category