MeowLynxSea/dsh-cot-summerization
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness that modifies how model reasoning chains are displayed to end users. It intercepts the full raw reasoning chain output by large language models, calls a smaller LLM to rewrite it into a concise, condensed summary chain, and then delivers the shortened version to the user’s UI. To install it, you can run dsh plugin add github:MeowLynxSea/dsh-cot-summerization directly from your DSH command line, or add it from a local directory and it will automatically apply the bundle patch.
It is designed for DeepSeek Harness users who prefer the closed-source-style hidden reasoning experience, and fits seamlessly into the existing DSH workflow. When a model generates a response, the plugin captures the full raw reasoning at the stream interception layer before it reaches the UI. The small LLM creates a segmented streaming summary, and only the condensed summary is shown in the UI’s thinking fold and the user-facing session transcript. The original full reasoning chain is retained only in the model’s visible history to preserve multi-turn reasoning performance.
The plugin is released under the permissive MIT license, it is completely free to use and audit by anyone. The only extra cost associated with using it is one additional small LLM call per model reply, and users can point to a locally hosted small model to avoid any data leaving their network. It includes strict security rules like XML escaping of all input to prevent prompt injection, and any output that does not match the required JSON schema is discarded. Short reasoning chains under 32 characters are passed through without any summarization.
本项目是专门为 DeepSeek Harness 开发的原生插件,核心功能是拦截大模型输出的完整原始思维链,调用小模型将其改写为精简后的缩略思维链,再展示给用户。它弥补了开源模型默认全显思维链、闭源模型默认隐藏思维链的体验差异,给开源用户提供了可配置、可开关的隐藏思维链体验。安装方式十分简单,可直接通过 DSH 插件命令从 GitHub 拉取安装,也可本地添加后自动完成配置。
针对偏好闭源式体验的 DeepSeek Harness 用户设计,典型工作流是:大模型输出原始思维链后,插件在流拦截层没收全文,小模型分段流式摘要后,将精简内容送入 UI 的思考折叠区。原始思维链仅保留在模型可见历史中,不影响多轮推理性能,同时用户 UI 和会话日志中都只会显示缩略后的内容。用户可以随时开关插件,自由切换全显或隐藏思维链的模式。
本插件采用 MIT 许可证开源,完全免费可审计,额外成本仅为每次回复多一次小模型调用,用户可选择本地部署小模型避免数据出网。它内置了多项安全规则,比如对输入做 XML 转义防止指令注入,不符合输出格式的内容会被丢弃。用户需要注意,短于 32 字符的思维链会直接放行,不做摘要处理。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-cot-summerization(MeowLynxSea/dsh-cot-summerization)
仓库:https://github.com/MeowLynxSea/dsh-cot-summerization
本站详情页:https://www.yhbd.top/plugins/meowlynxsea-dsh-cot-summerization/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-08-18 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 add github:MeowLynxSea/dsh-cot-summerization
把 MeowLynxSea/dsh-cot-summerization 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DeepSeek Harness 插件:把模型的原始思维链拦截在半空,改写成一条像原生思考的缩略思维链再端给你。
闭源模型花钱隐藏思维链,开源模型免费全裸。 我们识别出了开源生态最后一块体验短板,并亲手为它补上—— 方向可能和大家期待的不太一样,但确实是补上了。
🎯 项目使命
长期以来,「隐藏思维链」是闭源大厂的专属奢华配置:不可关闭、不可审计、不可验证,但很贵。开源模型则把每一步推理都摊开在你面前——坦诚,透明,像一份没整理过的草稿纸。
我们相信这不应该是一道单选题。 本插件以工业级严谨,在完全开源、完全可审计的 harness 里,复刻了闭源生态最具标志性的体验:让你看不见思维链。不同的是,我们的隐藏是开源的、可配置的、可关闭的——业界首次把「不可见」做得如此可见。
三大支柱:
| 支柱 | 立场 |
|---|---|
| 🛡️ 模型隐私权 | 思维链是模型的内心世界。你不会翻别人的日记,除非付费。 |
| 🧹 视觉卫生 | 原始 CoT 又长又乱,充满「等等,我再想想」。得体的人不看这些。 |
| 💎 神秘感平权 | 闭源模型靠神秘感溢价。现在开源用户也能免费获得——本地酿造,纯手工。 |
✨ 核心特性:宣传名与现实对照
以下每一项,源码均可查。这很讽刺,我们接受。
| 宣传名 | 现实 |
|---|---|
| Information Never Existed™ | 原始 reasoning 增量在 llm/stream 拦截层被直接吞掉——UI、流式 chunk、落地 transcript 三处均无原文。模型可见历史除外:那里有一份 model-only 的 surface 替换事件,悄悄把原文还给了模型(推理性能要紧)。 |
| 夏日渐进蒸馏 | 流式分段摘要:每凑满 chunkChars(500 字)或 chunkIntervalMs(8 秒)触发一次,切分点优先落在句边界;开启 adaptiveChunk 后,分块大小会随流速率与总结器 RTT 动态缩放。 |
| BioGram™ 重叠度量 | bigram Dice 系数,阈值 0.65。该阈值经历了 0.8 → 0.7 → 0.65 的科学调参过程。 |
| 连续核心追踪引擎 | 最长公共子串,滚动数组实现,O(n·m),零依赖。用来逮住换了前缀、核心没变的复述。 |
| Nekomimi™ 边界协议 | 把「喵~」识别为句尾;计算相似度前先剥掉 喵 / ~ / 〜 / ~。无论摘要出自哪种风格,以「喵~」结尾的子句都会被正确切分。 |
| 原子化浪费 | AbortSignal.any(caller, timeout):主调用一旦取消,摘要调用立即陪葬。我们连浪费都是原子性的。 |
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
m1khal3v/dsh-llm-key-rotation
liangmianya/dsh-synapse
alaliqing/claude-paper
acryldev/acryl