AI Agent Hub
Back to plugins
🖥️

dsh-fold-it-up

Client Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install gurio-wine/dsh-fold-it-up

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

Run dsh plugin install gurio-wine/dsh-fold-it-up in the DeepSeek Harness terminal; the source repository is at https://github.com/gurio-wine/dsh-fold-it-up, and a page reload activates the plugin.

About this plugin

DSH's built-in turn-process folding in the Web UI fails intermittently in long conversations: once historyIncomplete turns true, no turn collapses at all; store snapshots can drift from the actual DOM, causing rows to leak through; context-injection rows that carry no turn number never enter the folding pass; in-flight turns get collapsed prematurely and pop back open; and error-terminated turns refuse to collapse entirely. Together these produce the everyday frustration of folding that works sometimes and does not other times.

dsh-fold-it-up takes over the turn-process rendering slot in DSH and replaces the conditional store-based logic with a DOM-seat-driven pass. It reads seat markers (data-chat-turn, data-turn-process-member, data-chat-anchor-key) directly from the rendered elements rather than from the store. Closed turns see their process rows collapse into a single line while the answer stays visible. Context-injection rows are assigned to the turn whose answer follows them in the DOM and fold together with that turn. In-flight turns are guarded by a turn-tail closure gate and remain fully expanded. Error or max-tokens turns use their notification row as the boundary: process rows above it collapse, the notice stays visible. When a turn closes, the view auto-scrolls so the question line aligns with the top of the scroll port, eliminating the need to scroll back up manually. The collapse row reuses DSH's own component, keeping wording, icons, spacing, and theme fully native.

Built for anyone working through multi-turn, long conversations in DSH's Web interface. After installing, every finished turn including history sessions and pages retrieved via Load earlier is already folded, and expansion state intentionally does not persist across refreshes. Zero dependencies, no build step; a page reload is all it takes.

Use Cases

  • Turn-process rows fail to collapse consistently in long sessions
  • Having to scroll back up manually to locate the question after a long answer
  • Older turns retrieved via Load earlier not auto-folded on display

Best For

  • Users working through multi-turn long conversations in DSH Web UI
  • Users experiencing intermittent folding behavior in long sessions
  • Users who want the view to auto-scroll back to the question when an answer closes