When developing or interacting over the Web using DeepSeek Harness (DSH), the remaining quota of a subscription service directly affects the continuity of conversations and coding tasks. Existing interfaces often make it difficult to view the usage of models (such as openai-codex and opencode-go) at a glance. DSH adopts a plugin-based architecture that allows developers to extend UI components on their own. The following section introduces a Web plugin that can display the remaining subscription quota directly to the left of the model selector.

This is a DSH Web plugin maintained by sd1g1. Its core function is to display in real time the remaining usage of the openai-codex and opencode-go subscription services to the left of the model selector.

Core Features

  1. Displays the remaining subscription quota to the left of the model selector.

Installation and Enablement

Run the following command in a DSH terminal or CLI to install it:

npx @deepseek-ai/dsh plugin --profile web add github:sd1g1/dsh-subscription-usage

Typical Usage

Before the plugin can run, the corresponding API Keys must be configured in DSH’s credential configuration. According to the README, the following environment variables need to be configured:

  • Provider: OpenAI Codex -> Credential Ref: OPENAI_CODEX_ACCESS_TOKEN
  • Provider: OpenCode Zen Go -> Credential Ref: OPENCODE_API_KEY

Applicable Scenarios and Notes

  • Applicable Scenarios: Primarily aimed at developers using the DeepSeek Harness Web platform who need to monitor the subscription quotas for openai-codex or opencode-go.
  • Notes:
    1. Supports only the Web platform.
    2. It has many dependencies, including @deepseek-ai/cordis, @deepseek-ai/dsh-client-runtime, @deepseek-ai/dsh-client-ui-conversation, @deepseek-ai/dsh-client-ui-model-selection, and react.
    3. It is recommended to review the source code and license (MIT) before installation.

With this plugin, you can view subscription quotas directly in the Web interface and avoid task interruptions caused by insufficient balance. For complete information, refer to the GitHub repository.