DeepSeek Harness Plugin dshx-usage-panel: View Account Balance and Token Usage

Introduction

When developing agents with DeepSeek, it’s essential to monitor account balance and Token consumption in real time. Without a visual dashboard, you typically need to switch to a web interface or command line to check these details, which can be cumbersome. DSH provides a plugin architecture that allows developers to extend the functionality of the settings page.

Plugin Overview

dshx-usage-panel is a settings page plugin for DeepSeek Harness (DSH) that displays your DeepSeek account balance and today’s Token usage. It is maintained by callaumyan-design and falls under the client category of plugins.

Core Features

The plugin integrates a dashboard into DSH’s settings page, displaying the following information:

  • DeepSeek account balance
  • Today’s Token usage

Installation & Activation

Option 1: Local Package Installation

Add the plugin directory to the local package path in your DSH configuration (using the file: protocol), then restart DSH.

Option 2: Install from Repository

Install from the GitHub repository, then restart DSH.

The plugin works via the following configuration:

{
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "platform": "web",
      "inject": [
        "@deepseek-ai/dsh-client-ui-settings"
      ]
    }
  }
}

Typical Usage

After installation, restart DSH. In DSH’s settings interface, the plugin will automatically inject a panel displaying your balance and Token usage. Simply open the settings page to see real-time data.

Use Cases & Notes

  • Ideal for DSH users who need to frequently check Token consumption and balance
  • The plugin runs with the permissions of the current DSH process
  • It is recommended to review the source code and license (MIT) before installation

Summary

dshx-usage-panel simplifies the monitoring process by displaying your account balance and Token usage directly in DSH’s settings page. For developers who need fine-grained control over API costs, this is a practical and useful tool.

  • Plugin Directory: https://www.skillhub.cn/plugins/callaumyan-design/dshx-usage-panel
  • GitHub Repository: https://github.com/callaumyan-design/dshx-usage-panel
羽毛球分组比赛记分
小程序二维码

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

Xiaoye