Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
模型与提供方 #agentic-ai#balance-monitor#cost-tracking#deepseek#deepseek-harness#javascript

deepseek-harness-wallet

多供应商钱包标签:官方 DeepSeek 余额、本会话花费与 token、第三方合计 token、一键充值、低余额提醒。

feibi-mochi @feibi-mochi ⬇ 1 ★ 6 main

安装

dsh plugin --profile web add github:feibi-mochi/deepseek-harness-wallet
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

多供应商钱包标签:官方 DeepSeek 余额、本会话花费与 token、第三方合计 token、一键充值、低余额提醒。

该插件未提供要点说明,请参考仓库 README。

agentic-aibalance-monitorcost-trackingdeepseekdeepseek-harnessjavascript
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/feibi-mochi/deepseek-harness-wallet
许可证MIT
主要语言main
下载量1
GitHub 星标6
最近推送2026-08-14
收录日期2026-09-19
分类模型与提供方

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# deepseek-harness-wallet

### DeepSeek Harness Balance Monitor & Recharge Plugin · 余额监控和充值插件

  English ·
  简体中文

  [图片: Version 0.1.1]

  [图片: DeepSeek Harness rc.6]

  [图片: MIT License]

**The multi-provider wallet chip for the DeepSeek Harness Web GUI.**

A resident one-line chip beside the composer: official DeepSeek (balance, session cost, tokens, one-click recharge, low-balance alert) plus the third-party token total. Accounting is bucketed per provider — a GLM session never shows a DeepSeek balance, and DeepSeek costs are never computed from GLM tokens.

  If deepseek-harness-wallet helps you, please consider leaving a ⭐ Star. Thank you!

## What it shows

```
余额 5.89 · 本场 0.72 · 官 18.8M | 三方 800K · ↗充
```

- **Official DeepSeek** — live balance (60s global refresh with fast boot retries), current-session cost (official pricing timeline, including the 2026-08-17 peak/off-peak rollout), and token breakdown.
- **Third-party total** — current-session tokens (input / cache read / output). No balance guessing, no cost math, zero configuration.
- **Click the chip** to open the detail panel: per-currency balance breakdown, cost and token splits, a freely editable low-balance threshold (two decimals, persisted globally), manual refresh, and a jump to the official recharge page (first click shows the domain for confirmation — anti-phishing).
- **Floating window mode** — from the detail panel, detach the wallet into a floating window you can drag anywhere (position remembered across reloads), or minimize it to a small dot; the dot turns red below the threshold.
- **Low-balance alert** — below the threshold the chip turns red with a breathing animation and fires one desktop notification; it resets automatically once the balance recovers.
- **Theme-native UI** — built entirely on `--dsw-alias-*` theme variables, so light and dark themes both render correctly; the panel closes when you click outside and flips open-direction near screen edges.
- **Clear current session** — one button clears only the open conversation's token/cost records; every other conversation is untouched.

### Screenshots

| Floating window (draggable) | Minimized dot | Below threshold (alert on) | Above threshold (normal) |
| --- | --- | --- | --- |
| [图片: Floating wallet window]
 | [图片: Minimized floating dot]
 | [图片: Below threshold]
 | [图片: Above threshold]
 |

## Install

```sh
dsh plugin --profile web add github:feibi-mochi/deepseek-harness-wallet
```

Restart `dsh web`, then hard-refresh the page.

### Update

```sh
dsh plugin --profile web update deepseek-harness-wallet
```

### Remove

```sh
dsh plugin --profile web remove deepseek-harness-wallet
```

> The package was renamed from `dsh-wallet` to `deepseek-harness-wallet` in 0.1.1. If you installed the old name, remove it with `dsh plugin --profile web remove dsh-wallet` first.

## Data & trust

| Item | Behavior |
| --- | --- |
| Token accounting | Listens to the `llm/stream` event and buckets per provider (`deepseek-official` vs. everything else) and per session; multiple sessions never mix accounts. |
| Balance | The `DEEPSEEK_API_KEY` from the credentials seam never leaves this machine except as the `Authorization` header of the official `/user/balance` request. |
| Session log | The plugin writes no events; its data lives in `$DSH_HOME/storages/wallet.json`. |
| Model surface | No tools registered, no prompt injection, zero token cost. |
| Recharge | The URL is hardcoded to the official `https://platform.deepseek.com/top_up` and is not user-configurable (anti-phishing). |

## Pricing timeline

CNY per 1M tokens, curated from official announcements (cache writes are not billed):

- Since 2025-02-09 — deepseek-chat 2/8 (cache read 0.5), deepseek-reasoner 4/16 (cache read 1)
- Since 2026-05-22 — v4-flash 1/2 (cache read 0.02), v4-pro 3/6 (cache read 0.025)
- Since 2026-08-17 — peak/off-peak (Beijing 09:00–12:00 / 14:00–18:00 peak)

## Roadmap

- [ ] Third-party price tables (cost per token)
- [ ] Balance history chart
- [ ] Balance-API adapters for other providers (e.g. Zhipu)

## License

[MIT](LICENSE)

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。