dsh-thinkmeter
Manifest validDSH client plugin: Think token meter + fold cards grouping thinks & tool calls between text dividers.
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.reasoningTokensreported 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/Spacetoggles).
How it works
The package is a proper DSH profile bundle:
cordis.patch.yml— bundle patch inserting thethinkmeterplugin row (dsh.bundle.patchin package.json), sodsh plugin addreconciles it into the profile's layer list automatically.index.js— empty host half (pure UI plugin).client.js— browser bundle in thewindow.__ModuleLoader__.loadformat (exports["./client"], declared viadsh.client.platform: web).
The Think row itself is embedded inside the shipped assistant-step chat-node renderer, with no dedicated extension slot. The browser half registers the same keyed entry (conversation.chat.node, key assistant-step) in the Cordis slot system, shadowing the shipped renderer with a lightweight one. When the plugin is removed, the shipped renderer is restored automatically.
Known trade-off: while this plugin is active, plain assistant text blocks render as pre-wrapped plain text instead of full Markdown, because the dynamic/lightweight renderer cannot reuse the shipped Markdown components.
Install
Command (recommended)
Install directly from GitHub into your profile:
dsh plugin --profile web add https://github.com/dmz2922990/dsh-thinkmeter.git
Replace web with the profile you use (e.g. tui, headless). The command forwards to pnpm add inside the profile directory, so any pnpm-supported specifier works (git URL, tag, local path).
Upgrade / remove:
dsh plugin --profile web up dsh-thinkmeter
dsh plugin --profile web rm dsh-thinkmeter
If your machine has no GitHub credentials configured for git-over-HTTPS, use the SSH form:
git+ssh://git@github.com/dmz2922990/dsh-thinkmeter.git.
Static composition
Clone the repo next to your DSH config, then add a row to your cordis.yml composition:
plugins:
- name: dsh-thinkmeter
path: ../dsh-thinkmeter
Or once the package is published to a registry:
plugins:
- name: dsh-thinkmeter
Development
Plain JavaScript, no build step:
src/index.js # the Cordis client plugin (default export)
The same logic can also be pasted as a dynamic Cordis plugin (cordis_define client code) inside a running DSH session.
License
MIT
Comments
Loading…
From the same category
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.3k
↓ 203/wk
Apache-2.0
TypeScript
Oct 2, 2026
dsh plugin --profile web add dsh-webby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.9k
↓ 15.9k/wk
MIT
TypeScript
Oct 2, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby YuJunZhiXue
DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐
★ 3k
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-purgeby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 1.8k
↓ 37.3k/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-contextby agentrq
AgentRQ: Human-in-loop realtime conversational task manager for AI Agents. Self-hosted! Control your own agents from wherever you want Mobile, Web, Desktop. Designed to work well with your own Claude
★ 1.1k
↓ 46/wk
Apache-2.0
JavaScript
Oct 2, 2026
dsh plugin --profile web add @agentrq/dsh-plugin-agentrqby vshulcz
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, in
★ 1.1k
↓ 1.2k/wk
MIT
Go
Oct 2, 2026
dsh plugin --profile web add dsh-deja