21hbguo/dsh-thinking-counter 预览 preview

21hbguo/dsh-thinking-counter

| 功能 | 说明 | |---|---| | 🕐 统计窗口 | 每次点「放鱼!」= 清零重开;开启前产生的消息一律不计;「收鱼!」冻结数字保留;「清空战绩,肥鱼失忆」手动清零(仅清统计,检测词保留) | | 👥 全会话覆盖 | host 全局监听 session/event,后台并行会话与子代理都被统计,按会话查看明细 | | 🧮 两类指标 | 思考块数(结构化 reasoning 块,跨流式 assistant/chunk 与最终 assistant/message 去重)+ 检测词命中次数(词表默认空、由用户自行添加) | | 🔤 大小写模式 | 每个词独立选择「区分大小写 Aa / 不区分 aa」,chip 徽标点击切换;跨 chunk 边界不丢,命中时记录上下文片段 |

catalog descriptioncatalog 简介 / catalog description:DSH「大胖鲸智商检测器」:Thinking 短语检测统计 · 全会话 reasoning 短语命中/分组/聪明程度判定

Project Overview项目介绍

This is a native DeepSeek Harness (DSH) plugin that counts occurrences of user-specified phrases in the reasoning content of all running DSH sessions, including child agents. It supports three installation methods: the recommended one-line CLI install, manual bundle assembly without CLI, and source build for developers. It can be installed easily via the DSH CLI with one command: dsh plugin --profile web add @21hbguo/dsh-thinking-counter, and works on Windows, macOS, and Linux. After installation, you only need to restart the DSH process and refresh the web GUI to start using it.

Once installed and activated, you can open the panel via the "肥鱼智商" button added to the DSH sidebar. Click "放鱼!" to reset the counter and begin counting, then add your target phrases and assign each to one of three groups: 吃瓜词 (default), 偷吃词, or 头脑大开词. As sessions run, the plugin updates counts in real time, displays a log of recent hits, and shows a "whale pupil test" result based on the percentage of positive group hits. The panel can be dragged, resized, folded, and automatically adapts to DSH’s light or dark theme.

This plugin is released under the open source MIT license, and is completely free to use and modify for any purpose. All status illustration assets are bundled locally and do not require external network access. It stores all configuration data locally only—no telemetry, no external connections, and never sends any user data to third parties. Statistical counts are cleared on DSH restart, but all user-defined phrases and configuration settings are automatically restored from disk after a restart. The "whale pupil test" result is for entertainment only, and you can adjust the classification thresholds in the source code if you want.

这是一款专为DeepSeek Harness(DSH)Web GUI开发的原生统计插件,用于统计所有运行中会话(含子代理)推理内容里指定短语的出现次数。用户可以自定义检测词,给检测词分组,通过侧边栏按钮打开悬浮面板查看统计结果,还支持按分组计算占比给出娱乐性的参考判定。它全局监听DSH的会话事件,覆盖所有后台并行会话与子代理,保证统计结果完整准确。

安装完成重启DSH后,侧边栏会出现「肥鱼智商」按钮,点击打开面板后点击「放鱼」即可开始统计,添加想要检测的关键词并分配分组后,运行任意会话就能看到统计结果。面板支持拖拽移动、调整大小、折叠,用户配置会自动持久化保存,重启DSH后检测词配置不会丢失。适合想要统计推理过程中特定短语出现频率的DSH用户使用。

本插件基于MIT协议开源,完全免费使用,无遥测、无外联,所有数据仅保存在本地,不会向第三方发送任何信息。统计结果是运行期数据,重启DSH后统计数字会清零,但检测词配置会从磁盘恢复。判定结果仅为娱乐参考,不代表真实推理质量,可自行修改阈值调整判定标准。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add https://github.com/21hbguo/dsh-thinking-counter/releases/latest/download/dsh-external-dsh-thinking-counter-0.1.1.tgz

把 21hbguo/dsh-thinking-counter 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-thinking-counter · 蓝色大肥鱼·智商鉴定中心

为 DeepSeek Harness(DSH)Web GUI 提供的 Thinking 短语检测统计插件。从开启时刻起,对所有正在运行/新运行的会话(含子代理)的 thinking(reasoning)内容做短语出现统计——「thinking 里 let me 出现了几次?有没有 we should、出现了几次?」。侧边栏「🐳 肥鱼智商」按钮点开小面板,一键放鱼/收鱼,检测词自由增删,并按偷吃词/头脑大开词/吃瓜词分组给出「肥鱼瞳孔检测」+「梁圣/梁子」参考判定。

version license platform

✨ 功能特性

功能 说明
🕐 统计窗口 每次点「放鱼!」= 清零重开;开启前产生的消息一律不计;「收鱼!」冻结数字保留;「清空战绩,肥鱼失忆」手动清零(仅清统计,检测词保留)
👥 全会话覆盖 host 全局监听 session/event,后台并行会话与子代理都被统计,按会话查看明细
🧮 两类指标 思考块数(结构化 reasoning 块,跨流式 assistant/chunk 与最终 assistant/message 去重)+ 检测词命中次数(词表默认空、由用户自行添加)
🔤 大小写模式 每个词独立选择「区分大小写 Aa / 不区分 aa」,chip 徽标点击切换;跨 chunk 边界不丢,命中时记录上下文片段
🗂️ 检测词分组 每个词归属「吃瓜词(默认)/ 偷吃词 / 头脑大开词」三组,chip 直接拖动到别的鱼池调整;添加时可选择新词分组
🐳 肥鱼瞳孔检测 独立醒目行(标题 + 进度条 + 判定):良% = 头脑大开词命中 ÷ 全部命中;≥60% 梁圣附体 / 30–60% 肥鱼歪头 / <30% 梁子结下梁子(阈值在源码 src/client/panel.ts 中可自行调整;仅是关键词假设的参考信号,不代表真实智商)
📊 悬浮窗面板 点击页面其它区域不会消失;可按住标题栏移动、拖上/下边缘调整高度,▾ 可折叠成标题栏(位置/高度/折叠状态持久化);肥鱼瞳孔检测按智商状态切换透明鲸鱼娘插画(低智商摸鱼 / 中等赶工 / 高智商庆祝);含思考块 / 思考字符 / 总命中 / 会话数 + 三个鱼池的检测词命中 + 最近命中日志(定高滚动,词·会话·时间·片段)+ 会话鱼塘明细(含「正在思考」脉冲点);分区可折叠,深浅主题自适应,带完整 hover/空状态反馈
💾 配置持久化 浏览器 localStorage(dsh.thinkingCounter.v1)为快捷缓存;权威存储 = DSH 插件专属数据空间 ~/.dsh/plugins/dsh-thinking-counter/config.json——host 重启/热重载从磁盘恢复,localStorage 丢失时浏览器自动从 host 回填,词表不丢
👁️ 可选可见文本 面板内「含可见文本」开关——默认只统计思考段内文本,开启后可见回复文本也纳入短语匹配

🐋 状态插画

「肥鱼瞳孔检测」会按当前智商判定展示一张透明鲸鱼娘插画。图片内置在 assets/whale/,运行中由 host 通过 /thinking-counter/whale/*.webp 同源静态路由提供,不依赖外网。

状态 判定 资源引用 预览
待机 / 无数据 — assets/whale/idle.webp 待机
低智商 / 摸鱼 良% < 30 assets/whale/slack.webp 摸鱼
中等 / 赶工 30 ≤ 良% < 60 assets/whale/deadline.webp 赶工
高智商 / 庆祝 良% ≥ 60 assets/whale/celebrate.webp 庆祝

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-plugins 下一个 Next dsh-token-cost-meter →