dsh-usage-stats

DSH plugin: precise API usage statistics (tokens, cost, cache hit rate, per-model breakdown) with multi-provider balance & quota monitoring (OpenCode, DeepSeek).

Models & CostsBSD-3-Clause☆ 2

Overview

DSH plugin: precise API usage statistics (tokens, cost, cache hit rate, per-model breakdown) with multi-provider balance & quota monitoring (OpenCode, DeepSeek).

Installation

Install from npm

dsh plugin --profile web add @abcdefu_cja/dsh-usage-stats

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:jianweideng0515-create/dsh-usage-stats

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Independent install test

Install result
Incompatible in the tested version
Tested Harness version
0.2.0-rc.2
Tested plugin version
Not reported
Test date

Fallback version

Fallback test result
No fallback version found
View dependency version ranges
@deepseek-ai/dsh-client-connection
^0.1.0-rc.6
@deepseek-ai/dsh-client-runtime
^0.1.0-rc.6
@deepseek-ai/dsh-client-ui-settings
^0.1.0-rc.6
@deepseek-ai/dsh-client-ui-slots
^0.1.0-rc.6
@deepseek-ai/dsh-invariants
^0.1.0-rc.6
@deepseek-ai/dsh-llm
^0.1.0-rc.6
@deepseek-ai/dsh-session
^0.1.0-rc.6
@deepseek-ai/dsh-session-projection
^0.1.0-rc.6
@deepseek-ai/dsh-settings
^0.1.0-rc.6