DeepSeek Harness plugin

dsh-deepseek-balance-query

DSH 客户端插件:在侧边栏一键查询 DeepSeek(sk 开头)API Key 的账户余额。Key 仅在浏览器内直连 api.deepseek.com,不会经过本机服务。

Jump to install

Source facts

Repository
dumbnessrf/dsh-deepseek-balance-query
Latest update
Aug 20, 2026
Category
Tools & Capabilities
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/dumbnessrf/dsh-deepseek-balance-query
Plugin: dsh-deepseek-balance-query
Author: dumbnessrf

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

dsh-deepseek-balance-query

DSH(DeepSeek Harness)客户端插件:在 Web 界面侧边栏底部一键查询 DeepSeek 官方 API Key(sk 开头) 的账户余额。

功能

  • 侧边栏底部新增「余额」按钮,点击弹出查询面板
  • 输入 sk- 开头的 DeepSeek API Key,一键查询:

- 账户是否可用(is_available) - 各币种的总余额、赠送余额、充值余额

  • 可选「记住此 Key」:仅保存在浏览器 localStorage,默认不勾选
  • 显示 Key 时自动脱敏(sk-abc…wxyz
  • 支持 Esc / 点击遮罩关闭

安全性

  • Key 随浏览器直连 https://api.deepseek.com/user/balance 的请求发送
  • DeepSeek 官方 API 对任意 Origin 反射 access-control-allow-origin 并放行 authorization 预检(已验证),因此无需经本机服务中转,Key 不会上传到 DSH 宿主进程
  • 除非勾选「记住此 Key」,Key 不会写入任何本地存储

安装

# 在仓库根目录(dsh-deepseek-balance-query/ 的上级)执行:
dsh plugin --profile web add file:./dsh-deepseek-balance-query
# 或直接指向绝对路径:
dsh plugin --profile web add file:C:/path/to/dsh-deepseek-balance-query

安装完成后重启 harness(关闭 DeepSeek Harness 后重新打开),刷新页面即可在侧边栏底部看到「余额」按钮。

> 若 pnpm 不可用(dsh plugin 提示 pnpm not found),也可手动安装: > 1. 将 dsh-deepseek-balance-query 目录复制到 ~/.dsh/profiles/web/node_modules/ > 2. 在 ~/.dsh/profiles/web/package.jsondependencies 增加 "dsh-deepseek-balance-query": "file:./node_modules/dsh-deepseek-balance-query" > 3. 在 dsh.profile.bundles 数组追加 "dsh-deepseek-balance-query" > 4. 重启 harness

卸载

dsh plugin --profile web remove dsh-deepseek-balance-query

然后重启 harness。

结构

文件说明
lib/index.jsNode 端(空实现,仅使 Loader 条目可挂载)
lib/client.js浏览器端 bundle(侧边栏按钮 + 悬浮面板 + 余额查询)
cordis.patch.yml向 web profile 组合树插入 deepseek-balance 条目
package.jsondsh.bundle(patch)与 dsh.client(platform: web)声明