dmz2922990/dsh-thinkmeter
dmz2922990★ 0JavaScript最后同步: 2026-08-21
DeepSeek Harness(DSH)客户端插件:将聊天视图中流式的 Think 思考预览替换为 实时 Token 数量显示。
README 摘要
dsh-thinkmeter (ThinkMeter) A DeepSeek Harness (DSH) client plugin that replaces the streaming Think reasoning preview in the chat view with a live token-count display . What it does While the model is thinking, the shipped UI streams the latest line of the reasoning text in the "Think" disclosure row. This plugin replaces that summary with a token counter: State Display Running Thinking ≈ 1,234 tokens (with sweep animation) Settled Think · 1,234 tokens - Settled counts use the exact usage.reasoningTokens reported by the model when available; otherwise a heuristic estimate (CJK chars × 0.6 + other chars ÷ 4). - Click the row to expand/collapse the full reasoning text. - Keyboard accessible ( Enter / Space toggles). How it works The package is a proper DSH profile bundle: - cordis.patch.yml — bundle patch inserting the thinkmeter plugin row ( dsh.bundle.patch in package.json), so dsh plugin add reconciles it into the profile's layer list automatically. - index.js — empty host half (pure UI plugin). - client.js — browser bundle in the window. ModuleLoader .load format ( exports["./client"] , declared via dsh.client.platform: web ). The Think row itself is embedded inside the shipped …
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784