mervyn-teo/dsh-plugin-collapsible-steps

Collapses consecutive tool-use and thinking steps between messages into a single bracketed, expandable item.

dsh-plugin-collapsible-steps declutters long DeepSeek Harness conversations by folding every run of consecutive collapsible-card steps between messages into a single '+ N steps' row. Clicking the row collapses the run (hiding all but the most recent step) or expands it back; a Collapse steps / Expand steps control in the session header does the same globally. A 'step' is any collapsible-card row — tool-call, workflow-run, command, command-input, compaction, context injection, manual-compaction, model-retry, or an assistant message's Think (reasoning) disclosure — while final text answers, user/steering messages and turn notices act as group boundaries. The shipped conversation cards, reasoning sections and markdown rendering remain untouched: rows are annotated (display: none), never replaced. collapseByDefault controls whether runs start collapsed.

UI Enhancements ★ 0 updated 2026-08-20
View on GitHub ↗

Install

dsh plugin --profile web add dsh-plugin-collapsible-steps

npm dsh-plugin-collapsible-steps 0.1.1 verified 2026-09-04 (repository field → github.com/mervyn-teo/dsh-plugin-collapsible-steps; README EN primary with 中文). Install: dsh plugin --profile web add dsh-plugin-collapsible-steps. One setting under Settings → Plugins → Collapsible steps: collapseByDefault (boolean, default true).

Compatibility

DeepSeek Harness Web UI; folds consecutive collapsible-card steps (tool-call, workflow-run, command, command-input, compaction, context, manual-compaction, model-retry, Think disclosures) between messages; shipped conversation cards are left untouched.

Details

Recent updates

0.1.1 is the current npm latest (verified 2026-09-04).

FAQ

What counts as a 'step'?
Any collapsible-card row: tool-call, workflow-run, command, command-input, compaction, context injection, manual-compaction, model-retry, and Think (reasoning) disclosures; final answers, user messages and turn notices are the boundaries between runs.
Does it change the shipped conversation cards?
No — rows are annotated and hidden (display: none), never replaced; the regular tool cards, reasoning sections and markdown answers stay the shipped DSH ones.
Can I disable auto-collapse?
Yes — the Collapsible steps settings card has collapseByDefault (default true); turn it off to keep runs expanded until you collapse them manually.

Alternatives

mixin-ai/dsh-file-changes · pengyue-polaron/deepseek-harness-genui

More plugins in UI Enhancements

Browse more in UI Enhancements

Guides for UI Enhancements plugins