keshing/balance-display

keshing★ 0JavaScript最后同步: 2026-08-17

在 GitHub 打开

An balance plugin for the deepseek API

README 摘要

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…

在 GitHub 查看完整 README →
工具/开发balancedshdsh-plugindsh-pluginssidebar

分类