deepseek-harness-wallet: A Balance Monitor and Recharge Plugin for DeepSeek Harness

feibi-mochi/deepseek-harness-wallet

Models & ReasoningVerified
Listed on 2026-08-20
Page last updated 2026-08-20

A wallet chip for DeepSeek Harness: live balance, per-session spend & token tracking, low-balance alerts, and one-click recharge.

View official balance, session costs, and token usage in real time within the DeepSeek Harness Web GUI, with one-click access to the recharge page.

install
dsh plugin --profile web add github:feibi-mochi/deepseek-harness-wallet
Category
Models & Reasoning
Platform
DSH-Plugin
Author
feibi-mochi
Distribution
Plugin

deepseek-harness-wallet Key Features

Live balance monitoringPer-session cost & token trackingLow-balance alertsOne-click recharge shortcutFloating window mode

deepseek-harness-wallet Repository

feibi-mochi
Publisher
feibi-mochi
Repository
feibi-mochi/deepseek-harness-wallet
55
Stars
3
Forks
0
Watchers
1
Open issues
LanguageJavaScript
LicenseMIT License
Website
Repo last push2026-08-20 15:30:09
Repo created2026-08-14 18:43:58
Topics
account-monitoringagentic-aibalance-monitorcost-trackingdeepseekdeepseek-harnessdsh-pluginjavascriptllmnotificationspluginrechargesession-managementtoken-trackingwallet
Default branchmain

deepseek-harness-wallet Repo Summary

deepseek-harness-wallet is a balance monitoring and recharge plugin (DSH plugin) for DeepSeek Harness, maintained by feibi-mochi under the MIT license, last updated in 2026-08. It solves the lack of intuitive visibility into DeepSeek official account balance, per-session costs, and token consumption by adding a resident one-line wallet chip beside the composer in the Web GUI. The chip shows live official balance, current-session cost, official and third-party token totals, and provides a one-click jump to the official recharge page. Core features include: 60-second global balance refresh, per-provider and per-session token bucketing, an editable low-balance threshold in CNY (two decimals, persisted globally), a floating window mode (draggable, position remembered, minimizable to a dot), low-balance red breathing animation with desktop notifications, and a one-click clear of current-session token/cost records. The entire UI is built on --dsw-alias-* theme variables, automatically adapting to light and dark themes.

What core features does the deepseek-harness-wallet DSH plugin support?

The plugin listens to the llm/stream event and buckets tokens per provider (deepseek-official vs. everything else) and per session, locking the contemporaneous official price for each usage event to avoid mixing across sessions and pricing windows (e.g., the 2026-08-17 peak/off-peak rollout). Balance data comes from the DEEPSEEK_API_KEY in the credentials seam and never leaves the machine. Clicking the chip opens a detail panel showing per-currency balances, cost and token splits, manual refresh, an editable low-balance threshold, and a jump to the official recharge page (first click shows the domain for confirmation—anti-phishing). The floating window can be detached from the panel, dragged anywhere, and its position is remembered across reloads; when minimized to a dot, it turns red below the threshold.

How do I install deepseek-harness-wallet?

Install via the DSH command line, either from npm or directly from GitHub. After installation, restart dsh web and hard-refresh the page.

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

Update and removal also use plugin commands:

bash
dsh plugin --profile web update deepseek-harness-wallet
dsh plugin --profile web remove deepseek-harness-wallet

Note: Since version 0.1.1, the package was renamed from dsh-wallet to deepseek-harness-wallet; if you installed the old name, remove it first.

Which DeepSeek Harness versions and platforms does deepseek-harness-wallet support?

The plugin targets the DeepSeek Harness Web GUI (rc.6), current version 0.1.3, written in JavaScript, and follows the MIT license. It registers through the DSH plugin mechanism, works in the web interface, and is platform-independent.

See more DSH plugins at dsh-plugin.org

DSH-Plugin FAQ