21hbguo/dsh-thinking-counter0

@dsh-external/dsh-thinking-counter

DSH「大胖鲸智商检测器」:对运行中会话的 thinking(推理)内容进行短语检测统计与聪明程度判定。

AI 分析

用于统计和分析 AI 会话中的推理(thinking)过程。支持自定义词表匹配、思考字符数统计及可视化面板,适合想要深度观察和评估模型推理行为的 DSH 用户。

套件
@dsh-external/dsh-thinking-counter
版本
0.1.0
授權
BSD-3-Clause
最近更新
2026年8月17日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:21hbguo/dsh-thinking-counter

⚙️ 配置项

插件无独立设置页,运行时通过面板或 API 控制:

配置类型默认说明
enabledbooleanfalse(面板未启动)总开关;开启时才开始统计,再次开启会清零重开
matchers(string | MatcherObject)[][](词表默认空)匹配短语;MatcherObject = { pattern, caseSensitive?, group? }
matchVisiblebooleanfalse是否把可见回复文本也纳入短语匹配
聪明阈值number60 / 30≥60% 明显、30–60% 一般、<30% 较弱;源码 src/client/panel.ts 中可改

持久化位置:

  • 浏览器快捷缓存:localStoragedsh.thinkingCounter.v1
  • host 权威存储:~/.dsh/plugins/dsh-thinking-counter/config.json(旧版 ~/.dsh/dsh-thinking-counter.json 会自动迁移)