dsh-composer-tokens: Real-Time Token Counting Plugin for the DeepSeek Harness Input Box

`dsh-composer-tokens` is a client-side plugin that provides real-time input token counting for DeepSeek Harness. It is mounted in the Web GUI, displays the estimated total tokens and context usage through a real-time badge, and supports tooltips for detailed data such as the baseline and draft increment. Built on `@huggingface/tokenizers`, it offers two modes: precise counting and offline estimation. The plugin supports customizing the model or tokenizer URL via localStorage. Installation is performed using the `dsh plugin` command, while development requires Node.js ≥ 22 and pnpm. When using it, note that the badge only displays input-side tokens, and in the model

Read More