dsh-cot-summary
Discovered★ 3WIP:啊哈哈哈哈,最后一天了,我要总结cot!
DSH Summary-CoT
该工作区实现了一个不阻塞主模型的 Summary-CoT 插件:主模型输出 reasoning 时,后台按段调用指定的总结模型,并强制使用 reasoningEffort: 'off'。最终摘要写入 session,重新打开会话仍能恢复。
默认兼容方案(无需修改 DSH)
使用 packages/cot-summary/cordis.patch.yml。它保持 streamDeltas: false,因此不会把流式 delta 写入 session;总结模型完成一个段落后,才写入可持久化的 cot-summary/settled。浏览器通过 @shenjack/dsh-client-cot-summary 把摘要显示为独立 Chat 行。
这条路径是无 DSH 修改时的 workaround:没有逐 token 展示摘要,但最终内容会保存,且不会向 session-persistence-rdb 写入临时 delta。
可选实时增强
实时 delta 与 Think 行内覆盖显示需要 DSH 的两个很小的扩展:允许 Session.append() 标记 ignorable: true,以及提供 conversation.chat.reasoning slot。完整改动已保存为 dsh-summary-cot-live.patch。
在 test-shenjackyuanjie(DSH 源码根目录)执行:
git apply --check ..\dsh-cot-summary\patches\dsh-summary-cot-live.patch
git apply ..\dsh-cot-summary\patches\dsh-summary-cot-live.patch
然后使用 cordis.overlay.patch.yml,它会启用 streamDeltas: true 和 @shenjack/dsh-client-cot-summary-overlay。
此时 cot-summary/delta 带有 ignorable: true:它通过 host 到浏览器的实时 event/projection 流更新 UI,但 session-persistence-rdb 会过滤这类记录;只有完整的 cot-summary/settled 与 retry 用的 cot-summary/reset 会保存。
两个浏览器展示包不可同时启用。请将示例中的 provider 和 model 改成你的总结模型路由。
npm 配置
.npmrc 已包含:
@deepseek-ai:registry=https://registry.npmjs.org/
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
Comments
Loading…
Similar plugins
by Howardzhangdqs
DSH recap plugin: distills every model request (turn:step) into one sentence, rendered inline in the conversation flow
★ 4
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add dsh-recapby drscrewdriver
Compresses DSH time-context from ~280 chars to 46 chars by injecting a compact date line into the runtime-context snapshot; zero runtime dependencies.
★ 2
↓ 28/wk
MIT
JavaScript
Sep 19, 2026
dsh plugin --profile web add dsh-date-wrapperby the-qian
一个 DSH 插件:为 Web GUI 增加 /commit 与 /review 两个斜杠命令
★ 3
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-commit-reviewby g-yixuan
Codex-style side chat + selection annotations for DSH web.
★ 5
↓ 734/wk
MIT
TypeScript
Sep 13, 2026
dsh plugin --profile web add dsh-sidenoteby kexin8
⌨️ Keyboard shortcuts for the DSH chat composer — ↑↓ cycle history, Ctrl+C clear input. DSH web plugin.
★ 4
↓ 33/wk
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-composer-keysby kui123456789
DSH plugin that coordinates Codex planning and independent review while DSH executes.
★ 4
↓ 159/wk
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add dsh-codex-workflow