chenpengye/dsh-balance-local0

dsh-balance-local

适用于 dsh 的仅本地 DeepSeek API 余额查询插件:在 Host 端查询余额,API 密钥绝不离开服务器进程。

AI 分析

核心用途是安全地在本地查询 DeepSeek 账户余额。适合注重 API 密钥隐私安全,希望在 DSH 后台直接获取官方账户余额信息的敏感用户。

套件
dsh-balance-local
版本
0.1.0
授權
MIT
最近更新
2026年8月21日

安裝

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

Usage / 使用

  • The API key comes from the dsh credential store (DEEPSEEK_API_KEY), the same one saved in Settings → Models. No extra configuration needed.
  • API key 复用 dsh 凭据库中的 DEEPSEEK_API_KEY(设置 → 模型 里保存的那个),无需额外配置。

Configuration / 配置项

Host-side config (defaults shown), overridable in the profile config:

KeyDefaultDescription
apiKeyRefDEEPSEEK_API_KEYcredential reference resolved on the Host
baseUrlhttps://api.deepseek.comupstream; HTTPS only (loopback HTTP allowed for tests)
timeoutMs10000upstream request timeout
cacheMs30000Host-side response cache
allowRemotefalsewhen false, non-loopback requests are rejected with 403