xsuas/dsh-balance-display0

@xsuas/dsh-balance-display

DeepSeek Harness 余额显示插件

AI 分析

核心用途是在 Web 界面实时显示并缓存 DeepSeek API 账户余额。适合需要监控 API 消耗、防止额度耗尽的开发者。

包名
@xsuas/dsh-balance-display
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

安装

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

dsh-balance-display

DeepSeek Harness Web 余额显示插件。

功能

  • 显示 DeepSeek API 账户余额
  • 点击手动刷新
  • 10 分钟余额缓存

安装

从 GitHub 安装:

dsh plugin --profile web add github:xsuas/dsh-balance-display

重新启动:

dsh web

本地开发:

dsh plugin --profile web add .

卸载

dsh plugin --profile web remove @xsuas/dsh-balance-display

安全

API Key 仅由宿主插件读取,不会返回给浏览器。

余额接口仅接受 localhost / 127.0.0.1 请求。

测试

npm test

License

MIT