dsh-cost-meter
Session cost and daily spend, with provider price tables.
Version 1.9.64 of dsh-cost-meter, last published 2026-11-10; the install command and the range come from its own manifest.
Install
dsh plugin add dsh-cost-meter writes one dependency line into the profile manifest; pnpm then unpacks it under $DSH_HOME/profiles/<name>/node_modules.
dsh plugin --profile web add dsh-cost-meterCompatibility
engines.dsh in dsh-cost-meter declares >=0.2.0-rc.1 <0.3.0-0; run dsh --version and compare it, because outside that range the CLI skips the plugin at boot and prints the requirement instead of booting.
If two plugins fight
Peers @deepseek-ai/dsh-credentials and @deepseek-ai/dsh-home-paths, so it reads the same key material as any balance widget. With dsh-whale-widget installed you get two spend readouts on the same screen and both hit the account API — the second one is redundant, not broken.
Who made it
Author: Han-1413141. Repository: https://github.com/Han-1413141/dsh-cost-meter. Package page: https://www.npmjs.com/package/dsh-cost-meter.
After install
It declares @deepseek-ai/dsh-home-paths as a peer and renders a spend readout in the session header; after dsh plugin add dsh-cost-meter, dsh --profile web --dump-config lists the row that mounts it.
Files it touches
dsh-cost-meter routes whatever it persists through @deepseek-ai/dsh-home-paths under $DSH_HOME, and its own dependency line sits in $DSH_HOME/profiles/<name>/package.json.
Removing it
Removing dsh-cost-meter is the mirror command, dsh plugin --profile web remove dsh-cost-meter; the surface goes with it, and whatever it stored under $DSH_HOME stays until you delete it.
Common questions
Does it collide with dsh-whale-widget?
dsh-cost-meter is the one to keep here: It breaks cost down per session and per day; the widget shows balance only.
Which dsh versions load it, and what happens outside that window?
On >=0.2.0-rc.1 <0.3.0-0 the CLI loads dsh-cost-meter; outside it, boot stops with the requirement instead of running the plugin. dsh plugin allow-version dsh-cost-meter is the per-package override if you accept the risk.