XiaHouSheng/dsh-token-tracker

XiaHouSheng★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

A DeepSeek-Harness web plugin that tracks provider token usage, prices it with a peak/off-peak table, and shows the totals in the dsh GUI — plus a standalone overview page and JSON API.

README excerpt

dsh-token-tracker 简体中文 · Read this page in English A dsh (DeepSeek-Harness) web plugin that folds provider token usage from the durable session log, prices it with a peak/off-peak table, and surfaces totals in the dsh web GUI — a header badge + period tag, a Tracker button, a composer dock line, a closed-turn tail, an injected conversation.view Token tab — plus a standalone overview page and a JSON API. This repository is itself a directly installable dsh plugin package : lib/ is prebuilt and committed, and the repo root ships the dsh.bundle + dsh.client manifests together with cordis.patch.yml . You can install it via dsh plugin add , dsh plugin add , or (as a fallback) dsh plugin add ./dsh-token-tracker- .tgz . No manual pack step or separate tarball download required. This is not the in-repo @deepseek-ai/dsh-token-tracker package (which lives inside the harness monorepo and is built by the workspace). It is the same src/ , wrapped for independent distribution. Screenshots Token badge & period tag in the GUI header Conversation Token tab / dock line Standalone overview page What it does The package has a Host half and a Browser half. Host half ( TokenTrackerService , mounted as a…

View full README on GitHub →
Tools / Devdeepseek-harnessdsh-plugin

Category