MIT ライセンスのローカル専用 DeepSeek Harness(`dsh web`)プラグイン。常駐残高・利用量ドックとアクティビティヒートマップを表示し、DSH と Claude Code チャネルを比較します。メッセージ本文はマシン外に出ません。
DSH 統合
ネイティブ実行
作者による申告
安全性監査
未監査
最終検証日
2026-08-30
ライセンス
MIT
01どんなタスクに使えるのか?
Keep DeepSeek Harness balance, credit and token usage permanently visible inside the dsh web GUI
A persistent floating dock plus a customizable balance / token-usage panel (today, month, cache hit) that glows green when healthy and folds into a balance pill on collapse
DeepSeek Harness (dsh web) users who want their balance and token stats glanceable at all times instead of buried in logs
Compare DSH vs Claude Code channel usage and inspect cache hit rates locally
A channel-share ratio bar, a 14-day usage log with per-model drilldown, and a 28-day activity heatmap
Users who run both DeepSeek Harness and Claude Code and want a local-only dashboard of cross-channel token usage
02DeepSeek Harness への導入方法
前提条件
- DeepSeek Harness `web` profile with `@deepseek-ai/dsh >= 0.1.0-rc.6`
インストール手順
- 01
$ dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"
- 02
Restart `dsh web`, then hard-refresh the browser.
$ dsh web
導入成功の確認
- After restarting `dsh web` and hard-refreshing the browser, the dock appears at the bottom-left.
ロールバック
- dsh plugin --profile web remove dsh-usage
03DSH 統合と能力の範囲
Installed as a `dsh web` plugin via `dsh plugin --profile web add`; runs a persistent floating dock and balance/usage panel inside the DeepSeek Harness web GUI (`dsh web`).
Persistent floating dock
DeepSeek Harness web GUI (`dsh web`)→Always-visible balance pill/dock at bottom-left that mirrors your pins and folds into a tiny pill when the sidebar collapses
Persists widget layout, accent, background and panel opacity in localStorageBalance & usage panel (seven widgets)
Credential references from `~/.dsh/.credentials.yaml`→Balance breakdown, today/month token totals, cache hit rates, channel share and usage log with per-model drilldown
Local-only usage API
Loopback-only GET requests→JSON provider list, unified balance snapshot and per-day/per-model token aggregates via `/api/usage/*`
Serves three loopback-only GET endpoints; non-loopback callers get `403`Credentials resolved server-side through Harness's credentials seam; secrets are never cached or echoedActivity heatmap & dual-channel comparison
DSH token usage and Claude Code `~/.claude/projects` JSONL→28-day × 6-band activity heatmap and a DSH-vs-Claude Code channel ratio bar
Parses and discards Claude Code logs line-by-line; only aggregated numbers reach the cache
04誰に向いているのか?使うべきでない場面は?
向いている用途
- DeepSeek Harness (dsh web) users who want their balance and token stats glanceable at all times instead of buried in logs
- Users who run both DeepSeek Harness and Claude Code and want a local-only dashboard of cross-channel token usage
不向きな用途
- Do not expose these loopback endpoints through a reverse proxy to LAN or the public internet.
- Requires the DeepSeek Harness `web` profile with `@deepseek-ai/dsh >= 0.1.0-rc.6`.
05互換性・メンテナンス・セキュリティ上の注意
- Do not expose these loopback endpoints through a reverse proxy to LAN or the public internet.
- Requires the DeepSeek Harness `web` profile with `@deepseek-ai/dsh >= 0.1.0-rc.6`.
- Providers without a public balance API show an explicit "no public balance interface" state — the plugin never guesses a balance.
MIT — actively maintained (latest release v0.2.0, 2026-08-16)
06よくある質問
DeepSeek Harness に dsh-usage をインストールするには?
`dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"` を実行し、その後 `dsh web` を再起動してブラウザをハードリフレッシュします。ドックが左下に表示されます。DeepSeek Harness の `web` プロファイル(`@deepseek-ai/dsh >= 0.1.0-rc.6`)が必要です。
dsh-usage の前提条件は何ですか?
DeepSeek Harness の `web` プロファイルと `@deepseek-ai/dsh >= 0.1.0-rc.6` が必要です。各プロバイダーの認証情報(例: `DEEPSEEK_API_KEY`)は `~/.dsh/.credentials.yaml` にあり、プラグインは認証情報の参照のみを読み取り、シークレットには直接触れません。
dsh-usage は DeepSeek Harness とどう接続しますか?
これは `dsh web` GUI プラグインです。loopback 専用の GET エンドポイントを 3 つ提供し、Harness の認証情報シームを通じてサーバー側で認証情報を解決します。上流呼び出しは HTTPS 専用で DNS ピニングを適用。エージェント内ではなく `dsh web` の画面にドックを描画します。
dsh-usage は一般的な利用量トラッカーと何が違いますか?
DeepSeek Harness 専用に作られています。ピンをミラーリングし、DSH チャネルと Claude Code チャネルを比較(`~/.claude/projects` の JSONL を解析)、すべてローカル専用——メッセージ本文はマシン外に出ません——というプライバシー優先・loopback 専用の設計です。
dsh-usage を更新または削除するには?
更新は `dsh plugin --profile web update dsh-usage`、削除は `dsh plugin --profile web remove dsh-usage` です。削除後、次回の `dsh web` 再起動時にドックが消えます。
07関連する DSH ワークフロー
dsh-tui
by ccch1mneyyy
Claude Code 風の全画面 TUI プラグイン。鯨トップバー、リアルタイム状態行、思考ストリーミング、Esc 二連打の巻き戻し、コンテキスト進捗バーと TPS メーター搭載。npm で一発インストール
dsh-better-sidebar
by omdsh-dev
ファイル表示・編集、ターミナル、Git、サブエージェントのページを内蔵し、サードパーティによる新規サイドバーページの登録にも対応する拡張可能なサイドバー基盤
dsh-tianshu-tui
by huiliyi37
DeepSeek Harness 向けインタラクティブ TUI:セッションワークスペース、画像 E2E(クリップボード/ビジョン橋)、スラッシュ補完、承認カード、推論可視化の純粋な表示層
dsh-damage-pulse
by wssfk12138
ゲーム風ダメージパルスアニメーション付き DeepSeek Harness トークン残高モニター
08データと出典
for the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web GUI (`dsh web`).
Requires a DeepSeek Harness `web` profile (`@deepseek-ai/dsh >= 0.1.0-rc.6`).
dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"
このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-30。誤りを見つけた場合は、修正を送信してください。
dsh プラグイン おすすめ
最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。
