21hbguo/dsh-thinking-counter ↗★ 3
@dsh-external/dsh-thinking-counter
DSH「蓝色大肥鱼·智商鉴定中心」:从放鱼时刻起对全部运行中会话的 thinking(reasoning)内容做短语检测统计,含思考块数、思考字符数、偷吃/头脑大开词/吃瓜词命中与梁圣/梁子判定;侧边栏按钮 + 可拖拽悬浮窗,检测词可自由增删 适合关注 reasoning 内容质量与异常词态势的用户;需运行时开启统计并配置检测词与可见文本范围
インストール
$
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会自动迁移)