PerryLink DSH Plugin Family

Budget

Cost governance for DeepSeek Harness: aggregated token/cost metering per model, session and day, budget caps with threshold alerts and over-limit policies, carbon footprint estimation, per-model latency benchmarks, and the /budget command.

npm package
dsh-budget
Category
Tools
Version
0.4.16 from package.json
Licence
Apache-2.0 from package.json
Runtime
Node ^22.19.0 || >=24.0.0, DeepSeek Harness >=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0
Repository
PerryLink/dsh-budget

What it is

Budget is a DeepSeek Harness plugin in the tools group, published to npm as `dsh-budget`. Cost governance for DeepSeek Harness: aggregated token/cost metering per model, session and day, budget caps with threshold alerts and over-limit policies, carbon footprint estimation, per-model latency benchmarks, and the /budget command.

Version 0.4.16, licensed Apache-2.0, Node ^22.19.0 || >=24.0.0, DSH >=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0 || >=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0.

The repository is available as a local checkout, so the version and licence above are read from the package manifest that is actually published rather than from a registry copy.

Other plugins in the same group: Click, Data Quality, DoubleCheck, Draw, Fast, LSP Actions.

Install

The plugin is installed with dsh plugin add. Same command on both platforms — only the verification line differs.

bash / sh

dsh plugin --profile default add dsh-budget
dsh --profile default --dump-config | grep 'dsh-budget'

PowerShell

dsh plugin --profile default add dsh-budget
dsh --profile default --dump-config | Select-String 'dsh-budget'

Replace default with the profile you actually use. Restart the session afterwards so the plugin’s tools are registered.

Full documentation

This page covers what the plugin is, how to install it, and where it comes from. Configuration keys, tool schemas and the full manual live in the repository.

Full documentation → GitHub · 中文说明

More