dsh-composer-tokens:DeepSeek Harness 輸入框實時 Token 計數插件

`dsh-composer-tokens` 是一個爲 DeepSeek Harness 提供輸入 token 實時計數的客戶端插件。該插件掛載於 Web GUI,通過實時徽標展示預計總 tokens 及上下文佔用率,並支持 Tooltip 查看基線、草稿增量等詳細數據。 基於 `@huggingface/tokenizers`,它提供精確計數與離線估算兩種模式。插件支持通過 localStorage 自定義模型或 tokenizer URL。安裝方式爲使用 `dsh plugin` 命令,開發需 Node.js ≥ 22 並配合 pnpm。使用時需注意,徽標僅顯示輸入側 tokens,且在模型

閱讀全文