dsh-turn-collapse
Run the following command in DeepSeek Harness:
dsh plugin install mctang985211-coder/dsh-turn-collapse
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install mctang985211-coder/dsh-turn-collapse in the DeepSeek Harness terminal to install this plugin; the source repository is at https://github.com/mctang985211-coder/dsh-turn-collapse
About this plugin
In a multi-turn DSH web chat, every assistant turn renders its reasoning chain and each tool call as separate collapsible rows. When a single turn involves several tool invocations, the interface quickly becomes a wall of tiny panels. dsh-turn-collapse borrows the Codex approach: it groups everything that sits between two visible outputs—the thinking rows and the tool-call nodes—into a single disclosure bar with a triangle toggle. The bar is collapsed by default; one click expands the whole group, while the individual Think rows and ToolRows inside remain independently usable.
The plugin is entirely client-side. It watches the conversation scroll container with a MutationObserver, detects where a node counts as a visible output (text that survives stripping think rows and tool chains), and rebuilds fold groups on every DOM change. Open and close state is persisted per session in localStorage, so it survives re-renders and page reloads. There is no host-side code, no server, and no API surface; the visual style reuses DSH design tokens and matches the native header rows.
It is well suited for anyone running long conversations in DSH and frequently scrolling through dozens of reasoning and tool-call rows. If you prefer the chat stream to show only key outputs and reveal the rest on demand, it cuts visual noise considerably.
Use Cases
- Skim long conversations to key outputs without clutter from reasoning and tool-call rows
- Batch-expand or collapse an entire turn of reasoning and tool-call details during multi-turn review
- Keep fold state after a page reload so panels do not need to be re-toggled
Best For
- Users running long DSH conversations with heavy reasoning and tool-call rows
- DSH users who prefer the Codex-style fold-per-gap interaction
- Developers who want to reduce visual noise and expand details on demand
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.