Jescoi/dsh-balance-bubble0

dsh-balance-bubble

DSH Web 界面插件:在前端渲染 DeepSeek 余额悬浮气泡,支持侧边栏开关,通过 DSH 凭据服务安全读取 API Key。

AI 分析

核心用途是以直观的悬浮气泡形式展示 DeepSeek 账户余额,并在低于阈值时提醒。适合需要随时关注 API 额度消耗,避免因欠费中断对话的用户。

包名
dsh-balance-bubble
版本
1.0.0
许可证
MIT
最近更新
2026年8月16日

安装

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

Configuration

No user-facing settings are exposed yet. The low-balance threshold is hard-coded at 5 CNY in lib/client.js — edit totalBalance < 5 to change it.

The API key is read from the DSH credentials service (DEEPSEEK_API_KEY, the same one the Models page writes); the plugin never stores the key itself.

配置

目前暂未开放用户可配置项。低余额阈值固定为 5 CNY,如需修改请编辑 lib/client.js 中的 totalBalance < 5

API Key 通过 DSH 的 credentials 服务读取(DEEPSEEK_API_KEY,与「设置 → 模型」页面写入的同一个引用),插件本身不存储密钥。