DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-client-ui-monitor

A

dsh-client-ui-monitor

Manifest valid★ 3

Used to monitor the current session's quota consumption, estimated costs, and current API balance.

UI (client)

image
image

@auranlu/dsh-client-ui-monitor

A DeepSeek Harness Web plugin that pins a usage dashboard to the bottom-left of the sidebar.

简体中文

It shows, live for the current session:

  • Token usage — input (with cache read/write), output.
  • Estimated cost — computed from DeepSeek's published pricing, displayed in CNY or USD.
  • API balance — your DeepSeek account balance, queried via GET https://api.deepseek.com/user/balance.

Features: Chinese/English toggle, currency selector (CNY/USD), manual balance refresh, auto-refresh every 30s.

Prerequisites

  • DeepSeek Harness web profile.
  • A DeepSeek API key configured in Settings → Models (stored as the DEEPSEEK_API_KEY credential).

Install

Method 1 — GitHub

dsh plugin --profile web add github:Auran-Lu/dsh-client-ui-monitor

After installing, register the plugin and restart:

Edit ~/.dsh/profiles/web/cordis.patch.yml and add this entry to its top-level array:

- insert:
    - id: ui-monitor
      name: '@auranlu/dsh-client-ui-monitor'

Then restart the server (dsh web) and expand the left sidebar.

Method 2 — one-sentence install (paste to an LLM agent)

Copy the whole block below to a coding agent that has shell access to the machine:

Install the DeepSeek Harness client plugin from github.com/Auran-Lu/dsh-client-ui-monitor: run dsh plugin --profile web add github:Auran-Lu/dsh-client-ui-monitor, then append this entry to the top-level array of ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: ui-monitor
      name: '@auranlu/dsh-client-ui-monitor'

Finally restart the dsh web server and confirm the dashboard appears at the bottom of the left sidebar.

Configuration

Edit lib/client.js before installing / publishing:

ConstantDefaultMeaning
PRICING.inputPerM0.27USD per 1M prompt tokens (cache miss)
PRICING.cacheReadPerM0.07USD per 1M prompt tokens (cache hit)
PRICING.cacheWritePerM0.07USD per 1M prompt tokens (cache write)
PRICING.outputPerM1.10USD per 1M completion tokens
USD_TO_CNY7.2USD → CNY exchange rate

How it works

  • Client half (lib/client.js) registers a component into the sidebar.footer.action slot and reads the current session's tokenUsage projection.
  • Host half (lib/index.js) registers GET /api/deepseek-balance, proxying DeepSeek's balance API with the stored key.

License

MIT

Comments

Loading…

Similar plugins

dsh-balance

by LemCAE

一个适用于deepseek-harness的插件,功能是显示当前账户余额以及当前会话预估的费用消耗 | A plugin for deepseek-harness that displays the current account balance and the estimated cost consumption of the current session.

Tools & CapabilitiesDevelopment & InfrastructureModels & ProvidersManifest valid

★ 5

↓ 191/wk

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add @lemcae/dsh-balance

by ai-shushu

Per-session quota meter for DSH: real-token billing, live progress bar, budget blocking, configurable multi-model pricing. 会话额度监控:真实记账、进度条、额度拦截、价目可配。

Tools & CapabilitiesManifest valid

★ 15

JavaScript

Aug 29, 2026

dsh plugin --profile web add quota-meter-shushu

by oliblue-evan

DSH 用量与余额:会话用量、按每笔实际发生时刻与模型计价的费用(峰谷/档位)、账户余额;账号登录无需 API Key。

Tools & CapabilitiesTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-usage-pill

by Mirfakk

DSH 额度面板:输入框下方实时显示本会话消费金额(官方峰谷分时计价)、token 用量与 DeepSeek 账户余额。

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 21, 2026

dsh plugin --profile web add dsh-peak-usage

by 1998moye

DSH(DeepSeek Harness)Web 用量与费用看板插件:余额、今日/本周/本月/累计消费、API 请求次数、token 明细与趋势图,按 DeepSeek 官方峰谷价估算,数据从本地会话日志全量重建

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 15, 2026

dsh plugin --profile web add dsh-plugin-usage

by jcleener

DSH 插件:常驻 API 用量监控 —— DeepSeek/SiliconFlow/OpenCode Go/火山引擎 余额与配额、会话树 token 与花费(侧边栏入口 + 浮动窗)

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Oct 10, 2026

dsh plugin --profile web add api-monitor