sunyuhuirong/deepseek-account
项目介绍Project Overview
这是 DeepSeek Harness 的账户插件,在网页侧边栏设置旁添加钱包按钮,点击显示已配置账户的余额卡片,并提供 deepseek_balance 工具供智能体查询余额。适用于需要在界面或代理流程中查看 DeepSeek 账户余额时。插件仅展示余额,不存储 API 密钥,密钥仍保存在 Harness 设置的 DEEPSEEK_API_KEY 凭据中。
A DeepSeek Harness account plugin that adds a wallet button next to Settings in the web sidebar. Clicking it shows a balance card for the configured account, and a deepseek_balance tool lets the agent query balance directly. Use it when you need balance visibility in the GUI or agent workflow. It only displays balance and never stores API keys; the key remains in Harness Settings under the DEEPSEEK_API_KEY credential.
请帮我了解并安装插件:【deepseek-account】【https://github.com/sunyuhuirong/deepseek-account】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin add @deepseek-ai/dsh-deepseek-account --profile web
把 sunyuhuirong/deepseek-account 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-deepseek-account
English | 中文
A DeepSeek account plugin for DeepSeek Harness. It adds a wallet button next to Settings in the web GUI sidebar; clicking it shows a balance card for the configured account, and a deepseek_balance tool lets the agent query the balance itself.
Balance display only. API keys are never stored by this plugin — they stay in the harness Settings under the DEEPSEEK_API_KEY credential.
Features
- Sidebar wallet button + balance popover (with rail/wide sidebar states)
deepseek_balancetool available to the agent- i18n: English + 简体中文
Install
Requires DeepSeek Harness (Node ^22.19 or >=24, ~/.dsh profiles).
# from any harness profile
dsh plugin add @deepseek-ai/dsh-deepseek-account --profile web
Then configure the account in Settings (the plugin reads the existing DEEPSEEK_API_KEY credential; no extra setup).
From source
pnpm install
pnpm bundle # build src -> lib
pnpm test # unit tests
The plugin is developed inside the harness monorepo (packages/extensions/deepseek-account); the standalone repo mirrors the same source with npm-installable dependency ranges. The peer dependencies (client runtime, slots, etc.) are provided by the harness at runtime.
How it works
- Host half (
src/index.ts,src/balance.ts): registers thedeepseek_balancetool, which reads the account credential via the harness credentials service and calls the DeepSeek balance API. - Client half (
src/client/): registers into thesettings.triggerExtraslot (a wallet button next to Settings) and renders the balance card popover.
License
MIT
nexu-io/open-design
freestylefly/awesome-gpt-image-2
anywhere-labs/dsh-desktop
walkinglabs/learn-harness-engineering
awesome-dsh-plugin/awesome-dsh-plugin
MemTensor/MemOS