DosterBool/dsh-balance-guard0

dsh-balance-guard

DeepSeek Harness API 余额守卫:底部状态栏实时显示 API 余额(¥),低于自定义阈值时暂停模型输出并引导跳转充值页。

包名
dsh-balance-guard
版本
1.1.0
最近更新
2026年8月16日

安装

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

配置(默认值)

默认说明
threshold10余额阈值(¥),低于即暂停输出
rechargeUrlhttps://platform.deepseek.com/top_up充值页
baseUrlhttps://api.deepseek.com余额 API base(GET {base}/user/balance
enabledtrue暂停闸门开关
pollSeconds60宿主侧余额轮询周期

运行时修改通过状态条里的 ⚙ 弹窗完成;patch 配置(cordis.patch.yml)在重启装配时生效,JSON 文件优先级更高。