chenpengye/dsh-balance-local0

dsh-balance-local

Local-only DeepSeek API balance plugin for dsh: queries https://api.deepseek.com/user/balance on the Host side; the API key never leaves the server process.

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