DeepSeek Harness Plugin: Bottom Floating Display of DeepSeek Account Balance

Introduction

When using the web interface of DeepSeek Harness (DSH), checking your platform account’s top-up balance and bonus balance typically requires navigating to the “Settings → Account” page. For developers or users who frequently need to verify their balances, switching pages each time can interrupt the workflow. DSH’s philosophy is “everything is a plugin.” By mounting a lightweight plugin, you can continuously display your account balance in the bottom-right corner of the web interface, reducing repetitive navigation.

Plugin Overview

dsh-deepseek-balance is a DeepSeek Harness Web plugin maintained by liangzhanyong. It displays the balance information of the currently logged-in DeepSeek platform account as a floating card in the bottom-right corner of the Web GUI, refreshing every minute. The values shown on the card are consistent with those in “Settings → Account.” It is display-only and does not read, write, or store API keys.

Core Features

The plugin renders a 148 px wide floating card in the bottom-right corner, containing:

  • Top-up Balance: The top-up balance of the currently logged-in account, formatted consistently with the platform display (two decimal places, truncated to the cent if insufficient, with thousands separators).
  • Bonus Balance: A second line is shown only when the account has a bonus balance.
  • Timestamp: The local time of the last successful balance read.
  • Refresh Button: A manual refresh button in the top-right corner of the card; the button spins while a read is in progress.
  • Not Signed In: Displays “Not signed in” with a prompt to sign in.
  • Read Failure: Displays “Balance unavailable” with a prompt to retry. On subsequent failed refreshes, the last valid amount is retained, and the timestamp line is marked as “Refresh failed.”

Balance display follows the platform’s formatting rules: CNY and USD use ¥ and $ respectively; other currencies are spelled out after the amount.

Installation & Activation

The plugin requires DeepSeek Harness Web GUI version 0.2.2-rc.5 or later (0.2.x series) and an active login to a DeepSeek platform account (the same authentication used in “Settings → Account”). Installation steps:

  1. Clone the repository to any local location:
git clone https://github.com/liangzhanyong/dsh-deepseek-balance.git
  1. Open the DSH Web GUI, go to “Plugins → Add Plugin,” and select the cloned directory (the folder containing package.json).

The plugin will be immediately installed into the current configuration file and remain active. It persists after a Harness restart. To remove it, delete the dsh-deepseek-balance bundle from the “Plugins” page.

Installing from a local directory establishes a link: after modifying files, simply toggle the plugin’s switch on the “Plugins” page to reload it—no Harness restart required.

Typical Usage

Once installed, the plugin automatically reads the balance on page load, then auto-refreshes every 60 seconds while the page is visible. A refresh is also triggered when the page regains focus or becomes visible again. You can also manually click the refresh button in the top-right corner of the card.

The plugin depends on the deepseek-account Remote namespace being mounted in the current configuration file. Default Web configurations already include this mount, so no additional setup is needed. If you are not logged in or the Remote is unavailable, the card remains inactive and will not be displayed.

Use Cases & Notes

Suitable for developers or users who need to continuously monitor their balance in the web interface, especially when working with multiple DeepSeek platform accounts simultaneously.

Notes:

  • The plugin runs with the permissions of the current Harness process and reads the balance of the logged-in account.
  • It is recommended to review the repository source code and license before installing.
  • The plugin only reads the balance; it does not send or store any API keys, tokens, or balance values.
  • When the window width is below approximately 1280 px, the card may be close to the editor’s send controls; other notifications in the bottom-right corner may also be partially obscured.

Conclusion

This plugin provides a floating card in the bottom-right corner of the web interface, consolidating the DeepSeek platform account’s balance information and reducing the need to navigate back and forth to the “Settings → Account” page. Installation and usage are straightforward, making it ideal for scenarios where you need to continuously verify your balance during development.

  • Directory page: https://www.skillhub.cn/plugins/liangzhanyong/dsh-deepseek-balance
  • GitHub: https://github.com/liangzhanyong/dsh-deepseek-balance
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye