dsh-ccswitch-usage

Records DeepSeek Harness token usage into CC Switch, one row per model call, sharing the dedup ledger its own DSH importer uses so the two never double count. Also backfills existing session logs on first run.

Overview

Records DeepSeek Harness token usage into CC Switch, one row per model call, sharing the dedup ledger its own DSH importer uses so the two never double count. Also backfills existing session logs on first run.

Installation

Install from GitHub

dsh plugin --profile web add github:LyaQanYi/dsh-ccswitch-usage

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

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands