AI Agent Hub
Back to plugins
dsh-fold-context preview

dsh-fold-context

Client Updated 2026.08.29

Run the following command in DeepSeek Harness:

dsh plugin install cayan0x/dsh-fold-context

Paste the following prompt into your AI chat to install this plugin:

Install the plugin in DeepSeek Harness by running dsh plugin install cayan0x/dsh-fold-context; the full source is available at https://github.com/cayan0x/dsh-fold-context .

About this plugin

By the time a DSH conversation has been going for a dozen rounds or more, think blocks, tool calls, tool results, and context-injection messages pile up layer after layer, burying the actual dialogue under a wall of process content. dsh-fold-context is a client-side plugin built for exactly this moment: it automatically detects all foldable blocks, merges adjacent think, tool-call, and tool-result sequences into a single grouped bar with sub-bars, and lets you click to expand or collapse each one so long conversations finally feel clean again.

The folding is almost invisible to the user. Styling is minimal and neutral, introducing no visual noise. A debounced DOM scan ensures that even mid-stream, newly arriving blocks are picked up and folded in real time without flicker or omission. Adjacent blocks share a parent group bar while remaining individually expandable, keeping the hierarchy clear.

If you rely on DSH for heavy tool-use workflows, deep-reasoning sessions, or simply multi-round chats that stretch into the dozens of turns, this plugin keeps your interface tidy and your attention where it belongs.

Screenshots

Use Cases

  • Tool calls and think blocks pile up across many conversation rounds
  • Streaming responses introduce new blocks that need real-time grouping
  • Browsing past tool results without scrolling through surrounding context

Best For

  • DSH users who rely heavily on tool calling
  • Power users running long multi-round reasoning sessions
  • Any DSH user who wants a clean, uncluttered conversation view