dsh-usage-stats

Device-wide token usage on the Settings Usage page: Chat and Code cards with input, output and cache rows, a daily token chart that groups by scene or by model, and a per-model table that merges providers, all folded read-only from the local session logs.

Overview

Device-wide token usage on the Settings Usage page: Chat and Code cards with input, output and cache rows, a daily token chart that groups by scene or by model, and a per-model table that merges providers, all folded read-only from the local session logs.

Installation

Install from GitHub

dsh plugin --profile web add github:ruaibeite/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

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