sunyuhuirong
deepseek-account
No description
- Stars
- 1
- Language
- TypeScript
- Created
- Aug 14, 2026
- Updated
- Aug 14, 2026
Introduction
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