dsh-turn-fold
Run the following command in DeepSeek Harness:
dsh plugin install CH4ACKO3/dsh-turn-fold
Paste the following prompt into your AI chat to install this plugin:
Open your terminal in DeepSeek Harness and run the installation command to enable this feature, with the complete source code available at https://github.com/CH4ACKO3/dsh-turn-fold.
About this plugin
Interacting with complex Agent workflows or extended reasoning chains in the DSH WebUI frequently leads to cluttered chat panels packed with streaming thoughts, tool executions, and intermediate context updates. Manually scrolling through these intermediary steps makes it hard to locate the final answer, obscures critical context, and complicates post-run analysis.
The dshturnfold plugin brings a polished Codex Desktop-inspired turn-folding architecture to resolve this friction. While your model generates responses, runs tools, and processes commands, the interface keeps the high-level summary bar persistently visible and intelligently groups all subsequent activity into a single collapsible container. Expanding the panel safely reuses the original rendering logic, preserving full interactivity such as inline text copying, direct file link clicks, and granular tool debugging. Smart state management ensures interrupted, failed, or still-running turns stay expanded to prevent accidental information hiding, while completed turns gracefully collapse and dynamically surface reliable metrics like wall-clock time, tool-call counts, and input/output tokens only when sufficient data exists.
Built entirely on safe, in-memory source patches that strictly validate target DOM shapes, the plugin guarantees zero filesystem modifications and robust cross-version compatibility. Designed for developers, AI practitioners, and power users who routinely handle multi-step automation, heavy tool integration, or long-horizon reasoning tasks, it delivers a distraction-free reading environment without sacrificing technical transparency. With native accessibility compliance, responsive layout handling, and session-aware state persistence, it transforms chaotic LLM streams into structured, review-ready conversations.
Screenshots
Use Cases
- Automatically collapses intermediate steps when the model performs multi-step reasoning with frequent external tool calls.
- Quickly locate the final answer while reviewing the complete execution trail including context injections and command outputs.
- Debug complex Agent workflows or troubleshoot interrupted tasks, with open turns remaining expanded to prevent critical logs from hiding.
Best For
- Developers and researchers who need to efficiently track long-context generation and deep reasoning chains.
- AI application builders who frequently utilize function calling and multi-turn context interactions.
- Power users who prefer a clean reading view but require instant access to underlying technical diagnostics at any time.
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.