qwert702/dsh-token-viewer

qwert702★ 0TypeScriptLast synced: 2026-08-14

Open on GitHub

DSH web GUI plugin: live token consumption surfaces (composer dock strip + sidebar card) over token-meter projections

README excerpt

dsh-token-viewer A DeepSeek Harness web GUI client plugin that shows how many tokens have been consumed, read from the host-computed token-meter session projections ( tokenUsage / contextPressure / contextBreakdown ) — projection-mode, no store, no wire. Two surfaces: - TokenDock — a slim live strip above the message composer showing the current session's billed input (uncached + cache read + cache write), output, cache hit rate, and approximate context occupancy with a mini progress bar. Hover for the full billing breakdown. Renders nothing until a provider reports usage. - SidebarTokenPanel — a compact card above the workspaces region in the left sidebar aggregating tokenUsage across every session (billed input, output, cache hit rate, reporting-session count). Hides in the collapsed rail. English 中文 Repository layout This repository is the standalone home of the plugin package ( @deepseek-ai/dsh-client-ui-token-viewer ), laid out exactly like a packages/client/ workspace package of deepseek-harness so it can be dropped into that repo unchanged: Dependencies - The sidebar card mounts into sidebar.workspaces.header , a hole the stock sidebar shell does not declare yet. Apply patch…

View full README on GitHub →
Skins / UIdeepseekdeepseek-harnessdshdsh-plugintoken-meterweb-pluginsidebar

Category