y2zyyr/dsh-token-usage-sidebar

y2zyyr★ 1JavaScriptLast synced: 2026-08-16

Open on GitHub

Persistent Today / Yesterday / Total token usage sidebar for DeepSeek Harness.

README excerpt

dsh-token-usage-sidebar English 简体中文 A community DeepSeek Harness (DSH) web-profile plugin that keeps provider-reported token usage locally. It provides both a persistent sidebar summary and a native Token Usage settings page. This is a community plugin, not an official DeepSeek plugin. Features - Sidebar summary: Today, Yesterday, and lifetime Total. - Native Settings → Token Usage page, placed after Agent Presets and before Plugin Market. - Four overview cards: All time, Today, Yesterday, and Last 7 days. - Detail range selector: Today, Yesterday, 7D, and All time. - Per-range totals for Input, Output, Cache Read, Cache Write, Reasoning, and call count. - Provider/model table, sorted by Total, plus a seven-local-day table that retains zero-value days. - Persistent local accounting that survives DSH restarts. - Historical recovery from available authoritative session usage records. - Replay-safe, deduplicated accounting: an invocation is counted once. - Native placement in the DSH web sidebar. Installation Ask your agent (recommended) Copy this message into an agent that can access your DSH installation: Review third-party source before authorizing an agent to install it. Pin a co…

View full README on GitHub →
Skins / UIdeepseek-harnessdshdsh-plugintoken-usagesidebaragent

Category