DeepSeek Harness plugin

dsh-provider-usage-somewhere

DeepSeek balance and Kimi Code quota dashboard dock for DeepSeek Harness.

Jump to install

Source facts

Repository
somewhere1994/dsh-provider-usage
Latest update
Aug 17, 2026
Category
Usage & Billing
GitHub stars
1
Format
bundle
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/somewhere1994/dsh-provider-usage
Plugin: dsh-provider-usage-somewhere
Author: somewhere1994

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer2 files
README.mdSource · read only

DSH Provider Usage

A DeepSeek Harness web plugin that shows a live quota dashboard in the conversation composer area:

  • DeepSeek: account balance from https://api.deepseek.com/user/balance

(availability, currency total, granted vs topped-up balance).

  • Kimi Code: https://api.kimi.com/coding/v1/usages with both

- the 7-day allowance (usage, or an explicit 10080-minute rolling window when present) - the 5-hour rolling allowance (300-minute window from limits)

The card starts collapsed to a compact status row. When a conversation opens, the active provider follows the session's currently selected model (DeepSeek or Kimi Code) automatically. Expanding the card reveals clickable DeepSeek/Kimi tabs for manual switching, the 5h/7d quota details, a manual refresh button, the last refresh time, and the next auto-refresh countdown. Once you switch tabs manually, the card keeps your choice. It refreshes automatically every 60 seconds. On the new-conversation hero page the card floats directly below the composer card; in an active conversation it docks below the stats line at the bottom of the composer.

Credentials are resolved by Harness on the host (DEEPSEEK_API_KEY and KIMI_CODING_API_KEY). API keys never cross the browser boundary: the client RPC channel is loopback-only and the UI receives only normalized values and safe error codes.

Install from GitHub

dsh plugin --profile web add git+https://github.com/somewhere1994/dsh-provider-usage.git

Restart dsh web, then refresh the browser page.

The repository includes the built lib/ artifacts, so the git dependency installs without a build step.

Credentials

Configure both credentials in Harness (Web UI or ~/.dsh/.credentials.yaml):

DEEPSEEK_API_KEY: sk-xxx
KIMI_CODING_API_KEY: sk-xxx

Local development

pnpm install
pnpm test
pnpm build

Install a local checkout into the Harness web profile:

dsh plugin --profile web add link:/absolute/path/to/dsh-provider-usage

Then restart dsh web so the host half loads the updated package. Client bundle changes are picked up by the Harness client HMR poller; a browser refresh shows them.

Distribution

Build a publishable tarball:

pnpm pack

This produces dsh-provider-usage-0.2.0.tgz, which can be installed with:

dsh plugin --profile web add /absolute/path/to/dsh-provider-usage-0.2.0.tgz