Jescoi/dsh-balance-bubble0

dsh-balance-bubble

DeepSeek 余额悬浮气泡 —— DSH Web 界面插件(host 提供 /dsh-balance 接口,browser 半边渲染气泡与侧边栏开关)

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,与「设置 → 模型」页面写入的同一个引用),插件本身不存储密钥。