zhou-yihang/dsh-usage-blance

zhou-yihang★ 1JavaScript最后同步: 2026-08-19

在 GitHub 打开

DSH 插件:在对话框下方监控 DeepSeek API 用量与余额(本月/日均/昨日/今日消费 + 账户余额),点击账单行配置 userToken

README 摘要

dsh-usage-blance A plugin for the DeepSeek Harness (DSH) web GUI that monitors your DeepSeek API usage and balance in a billing strip pinned directly below the chat dialog (the conversation.input.dock slot, above the input box). 中文说明见下文。 Features - Shows five figures in order: 本月消费 · 本月日均 · 昨日消费 · 今日消费 · 账户余额 . - Click any billing row to open the control panel : a userToken input with save / clear, the current token status, and step-by-step instructions for finding the token. - Glass control panel : the billing strip is frosted glass (translucent + backdrop blur) by default; the control panel lets you toggle it and tune 透明度 (opacity) / 模糊 (blur) / 饱和度 (saturation) live — preferences persist in localStorage . - Strip position : place the strip above (default, conversation.input.dock ) or below the input box ( conversation.composer.dock , inside the composer card) — one radio click, persisted in localStorage . - Two-column control panel : userToken on the left, 主题 (position + glass) on the right; stacks vertically on narrow screens. - Balance alert : set a warning threshold in the control panel; when the balance drops to ≤ the threshold, the 账户余额 value gets a red ! and a 充值 button ap…

在 GitHub 查看完整 README →
工具/开发deepseekharnessdeepseekharness-plugindshdsh-pluginplugin

分类