21hbguo/dsh-thinking-counter ↗★ 0
@dsh-external/dsh-thinking-counter
DSH「大胖鲸智商检测器」:对运行中会话的 thinking(推理)内容进行短语检测统计与聪明程度判定。
AI 分析
用于统计和分析 AI 会话中的推理(thinking)过程。支持自定义词表匹配、思考字符数统计及可视化面板,适合想要深度观察和评估模型推理行为的 DSH 用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:21hbguo/dsh-thinking-counter說明文件
閱讀完整 README ↗⚙️ 配置项
插件无独立设置页,运行时通过面板或 API 控制:
| 配置 | 类型 | 默认 | 说明 |
|---|---|---|---|
enabled | boolean | false(面板未启动) | 总开关;开启时才开始统计,再次开启会清零重开 |
matchers | (string | MatcherObject)[] | [](词表默认空) | 匹配短语;MatcherObject = { pattern, caseSensitive?, group? } |
matchVisible | boolean | false | 是否把可见回复文本也纳入短语匹配 |
| 聪明阈值 | number | 60 / 30 | ≥60% 明显、30–60% 一般、<30% 较弱;源码 src/client/panel.ts 中可改 |
持久化位置:
- 浏览器快捷缓存:
localStorage键dsh.thinkingCounter.v1 - host 权威存储:
~/.dsh/plugins/dsh-thinking-counter/config.json(旧版~/.dsh/dsh-thinking-counter.json会自动迁移)