ディレクトリに戻る

dsh-usage

キュレーション掲載メンテナンス: 活発

aisland-sjl/dsh-usage

残高・使用量パネルを常時ドック表示する DeepSeek Harness プラグイン。アクティビティヒートマップと2チャネル比較、ローカルのみで動作

GitHub で見る
$ dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"

112

スター

16

フォーク

JavaScript

言語

MIT

ライセンス

2026-08-16

作成日

2026-10-02

最終プッシュ

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`

インストール手順

  1. 01

    $ dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"

  2. 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 統合と能力の範囲

DSH 統合ネイティブ実行

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 localStorage
  • Balance & 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 echoed
  • Activity 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.
2026-08-162026-08-18v0.2.0

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` 再起動時にドックが消えます。

08データと出典

  • 作者による申告github.com6b67e6d400dc…

    for the [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web GUI (`dsh web`).

  • 作者による申告github.com6b67e6d400dc…

    Requires a DeepSeek Harness `web` profile (`@deepseek-ai/dsh >= 0.1.0-rc.6`).

  • 作者による申告github.com6b67e6d400dc…

    dsh plugin --profile web add "github:Aisland-SJL/dsh-usage"

このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-30。誤りを見つけた場合は、修正を送信してください。

🏆

dsh プラグイン おすすめ

最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。

広告

DSH Plugins は DeepSeek Harness プラグインの独立したコミュニティ ディレクトリです。DeepSeek との提携・公認はありません。サードパーティ製プラグインはセキュリティ監査を受けていません。インストール前にソースコードをご確認ください。

DeepSeek Harnessの新着プラグインを毎週お届け。スパムはありません。