
lninghaha/dsh-hub-oauth-gateway
dsh-hub-oauth-gateway
DSH Web plugin: Usage Center with Hub snapshots and cost analytics, coding-plan OAuth, and optional loopback OpenAI-compatible gateway
Install
npx @deepseek-ai/dsh plugin --profile web add dsh-hub-oauth-gateway`Restart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-hub-oauth-gateway)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from lninghaha/dsh-hub-oauth-gateway, cleaned of badges and images.
dsh-hub-oauth-gateway
v1.9.1 · formerly dsh-usage-stats
Local-first usage center for DeepSeek Harness Web. Tokens, estimated cost, account balances, subscription quotas, trends, forecasts, alerts, and exports — plus coding-subscription OAuth (Grok Build, Codex, Kimi Code, Claude Code), an optional loopback API gateway, and opt-in local auth/usage monitoring. No tokens in chat.
English · 中文版 · 日本語 · 한국어 · Português (BR) · Español · Français · Deutsch · Русский
Upgrade / 升级: Follow the versioned steps in
docs/01-install.md.1.9.1fixes a1.9.0startup failure on strict Cordis injection guards; keep profile/config/credential files and restart one existing DSH Web process only after Hub1.9.1and Subscription0.6.1are both updated.[email protected]remains their shared npm dependency, not a separate DSH plugin.
Name change
First published as dsh-usage-stats. The package and repository are now dsh-hub-oauth-gateway (effective with 1.1.0). Remove any old entry before reinstalling. Local data files and the internal Cordis plugin id stay the same, so historical usage is preserved.
| Use this | Still works / unchanged | |
|---|---|---|
| npm (recommended) | dsh plugin --profile web add dsh-hub-oauth-gateway | Old npm name is no longer updated |
| GitHub / development | dsh-hub-oauth-gateway | — |
| Cordis plugin id | usage-stats | unchanged |
| SQLite database | ${DSH_HOME}/storages/usage-stats-v1.sqlite | unchanged |
| CLI | dsh-coding-oauth | dsh-grok-build (alias) |
Release history lives in CHANGELOG.md.
Features
…

