DSH Market
D

Dsh Balance Meter

by Ghost011118 · Ghost011118/dsh-balance-meter

InstallableBundlenpmfreshinstall scripts

DeepSeek account balance and session cost readout for the DeepSeek Harness Web GUI

Install Dsh Balance Meter

Clean install: prebuilt on npm and declares a `dsh.bundle` layer. Heads up: it runs install-time scripts (prepare) on your machine.

The one-line version

dsh plugin --profile my-profile add dsh-balance-meter

The easy path: this bundle is published to npm, so the install pulls a prebuilt artifact — no build step runs on your machine and no build approval is needed.

From npm — installs a prebuilt artifact, no build step on your machine

# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add dsh-balance-meter

# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config

# 3. boot the profile
dsh --profile my-profile

Package: dsh-balance-meter

Prefer to install from source instead?

From GitHub — pulls source, and may ask for build approval on first run

# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:Ghost011118/dsh-balance-meter#<commit-sha>

# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config

# 3. boot the profile
dsh --profile my-profile

Before you run itinstall scripts

  • This package declares prepare — package-manager lifecycle scripts that execute on your machine at install time, outside the agent sandbox, before any tool-approval prompt exists.
  • A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.

Prerequisites

API key
Required — see the repository README for which provider.
Network access
Required at runtime.
Language
JavaScript

Install check

Every field the verdict was derived from, so you can re-derive it yourself

Field checkedResultWeightWhat the spec says about it
lifecycleScriptsfailwarnruns at install time, outside the agent sandbox: prepare
dsh.bundlepassfatalpackage.json declares a `dsh.bundle` layer
dsh.bundle.patch filepassfatalpatch file present at `cordis.patch.yml`
npm registrypassfatalpublished as `dsh-balance-meter` — prebuilt artifacts
Verdict reason
on npm with a valid bundle declaration
package.json read
package.json
Rules applied from
docs/user/develop/basic/publish.md
Checked at
2026-08-15
Install-time scripts
prepare

From the README

Excerpt as published by the author, plain text, unedited

English | [中文](README.zh.md) DeepSeek account balance and session-cost readout for the DeepSeek Harness (DSH) Web GUI. - Live account balance (queries the official Get User Balance endpoint) - Current session estimated spend (token usage x official pricing) - Per-model pricing: reads the model actually driving each session from its request header (flash vs pro), so the cost tracks the model you used instead of a fixed default - Auto-fetches the official pricing page every 6h, so price changes and the 2026-08-17 peak/off-peak pricing rollout never require a plugin update - Peak-hour band (Beijing 09:00-12:00 / 14:00-18:00) applied automatically once the peak pricing goes live The composer dock shows a chip with the account total balance and the current session's estimated cost:

Topics

GitHub topics on this repository

More in Account Balance Session Cost

Ranked by similarity inside the cluster, not alphabetically