Bundle
@deepseek-ai/dsh-deepseek-account
DeepSeek account plugin for DeepSeek Harness: shows the configured account's API balance in the web GUI sidebar (wallet button + balance card) and exposes a deepseek_balance tool. Balance display only — API keys stay in Settings (DEEPSEEK_API_KEY credential).
- Source
- sunyuhuirong
- stars
- 2 stars
- License
- MIT
- Updated
- Updated 11 days ago
Readme
# dsh-deepseek-account English | [中文](README.zh.md) A **DeepSeek account plugin** for [DeepSeek Harness](https://github.com/sunyuhuirong/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_balance` tool available to the agent - i18n: English + 简体中文 ## Install Requires DeepSeek Harness (Node `^22.19` or `>=24`, `~/.dsh` profiles). ```sh # 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 ```sh 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 the `deepseek_balance` tool, which reads the account credential via the harness credentials service and calls the DeepSeek balance API. - **Client half** (`src/client/`): registers into the `settings.triggerExtra` slot (a wallet button next to Settings) and renders the balance card popover. ## License MIT
Install
dsh plugin --profile web add github:sunyuhuirong/deepseek-account
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install deepseek-ai-dsh-deepseek-account from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.