dsh-fold-context
Manifest validAuto-fold context/system messages in DSH conversation — collapse think blocks, tool calls, and tool results into grouped expandable bars.
dsh-fold-context
Auto-fold context/system messages in DSH conversation — collapse think blocks, tool calls, and tool results into grouped expandable bars.
自动折叠 DSH 对话中的系统 / 上下文消息——把思考块(think)、工具调用和工具结果合并成可展开的分组折叠条,让长对话回归清爽。
Features / 功能特性
- Auto-detect & fold / 自动识别并折叠:Think blocks, tool calls, tool results, and context injection messages are automatically collapsed. / 自动折叠思考块、工具调用、工具结果和上下文注入消息。
- Multi-level grouping / 多级分组:Adjacent foldable blocks (think + tool-call + tool-result) merge into a single group bar with sub-bars. / 相邻的可折叠块(思考 + 工具调用 + 工具结果)合并为一条分组条,内含子折叠条。
- Streaming-safe / 流式输出安全:Debounced DOM scanning catches elements as they arrive during streaming. / 带防抖的 DOM 扫描,能在流式输出过程中捕捉新出现的元素。
- Transparent styling / 无侵入样式:Minimal, neutral UI that blends with the conversation. / 极简中性的界面,融入对话不突兀。
- Click to expand / 点击展开:Each fold bar is clickable to reveal the hidden content. / 每条折叠条都可点击展开,查看被隐藏的内容。
Screenshots / 效果截图
折叠状态 / Folded:

展开状态 / Expanded:

Install / 安装
# 安装最新版本 / Install latest
dsh plugin add github:cayan0x/dsh-fold-context
# 安装指定版本 / Install specific version
dsh plugin add github:cayan0x/dsh-fold-context#v0.1.3
Or manually: copy the plugin into your DSH profile's packages/ directory. / 或手动:将插件复制到 DSH 配置的 packages/ 目录。
Versions / 版本管理
All releases are tagged on GitHub. To install a specific version, use #v<version> after the repo URL. See GitHub Releases for the full version history. / 所有版本在 GitHub 上以 tag 标记。安装特定版本时在仓库地址后加 #v<version>。完整版本历史见 GitHub Releases。
License / 许可
MIT
Comments
Loading…
Similar plugins
by mervyn-teo
Collapses consecutive tool-use and thinking steps between messages into a single bracketed, expandable item.
★ 0
↓ 289/wk
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-plugin-collapsible-stepsby uigdwunm
Groups each DSH Web turn's thinking, tool calls and context into an expandable process box that shows the latest two items by default, while keeping user dialogue, interactive questions and final answ
★ 1
MIT
TypeScript
Sep 14, 2026
dsh plugin --profile web add dsh-process-foldby Cinnamobot
Auto-expand / collapse the DSH conversation UI disclosure rows (Think reasoning, tool calls, todo, queue) from Settings. 思考・ツールコールなどの折りたたみを設定から選べるようにするプラグイン。
★ 0
MIT
JavaScript
Aug 25, 2026
dsh plugin --profile web add dsh-disclosure-tweaksby Han-1413141
DSH Web client plugin: collapse every expanded section (Think / tool cards) in the conversation in one click, with a customizable hotkey.
★ 2
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-sticky-disclosureby jkcltc
DeepSeek Harness web UI plugin that folds settled tool calls, context and reasoning into compact horizontal chips. Pure CSS, zero build.
★ 0
MIT
JavaScript
Aug 14, 2026
dsh plugin --profile web add dsh-chat-flow-re-layoutby Astepluver
DSH 话匣子:往系统提示里注入一段常驻互动协议——边做边说、卡住了就开口、把提问讲清楚、验证有预算、说人话,让话少或爱自己扛的模型回到「边说边做」的节奏。默认对所有模型生效,可按需收窄。
★ 0
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-chatterbox