DSH Plugins Marketplace

DSH Plugins

Plugins

/

UI & Experience

/

dsh-plugin-collapsible-steps

m

dsh-plugin-collapsible-steps

Manifest valid

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

UI (client)hasBundlePatch

dsh-plugin-collapsible-steps

dsh-plugin-collapsible-steps banner — fold consecutive tool & thinking steps into one bracket

English | 中文

A DeepSeek Harness (DSH) Web plugin that folds every run of consecutive collapsible-card steps between messages into a single + N steps row. Click the row to collapse the run (hiding all but the most recent step) or expand it back. The shipped conversation cards and markdown answers are left untouched — the rows are annotated, never replaced.

What it does

  • Adds a Collapse steps / Expand steps control to the session header, and a - N steps row before every run of consecutive step nodes.
  • Collapsing a row hides that run's rows (display: none, so no empty gaps are left behind) except the most recent one, which stays below the + N steps text; clicking + expands the run back.
  • A "step" is any collapsible-card row — tool-call, workflow-run, command, command-input, compaction, context (context injection), manual-compaction, model-retry, and an assistant message's Think (reasoning) disclosure. The final text answer, user/steering messages, and turn notices act as group boundaries.
  • The regular tool cards, reasoning sections, and markdown answer rendering all remain the shipped DSH ones.
  • A Collapsible steps card under Settings → Plugins controls whether runs are collapsed by default.

Settings

The plugin registers a collapsible-steps settings namespace with one option:

  • collapseByDefault (boolean, default true) — collapse runs of steps by default. Turn it off to keep runs expanded until you collapse them manually.

How it works

The slot system gives a plugin no way to wrap the shipped conversation cards, so instead of replacing the step renderers this plugin annotates the shipped DOM: it reads the conversation node order through the session hook, computes the runs of consecutive steps, and inserts the bracket headers directly into the existing flow (the node rows themselves are never moved, so the shipped view keeps reconciling normally).

Files

FilePurpose
lib/client.jsBrowser half — the header control, bracket insertion, collapse state, and the settings card.
lib/index.jsHost half — registers the collapsible-steps settings namespace.
lib/invariant.jsInvariant registration.
cordis.patch.ymlComposition patch that inserts the plugin row and its default config.
package.jsonPackage metadata (dsh.bundle + dsh.client manifest).

Install

dsh plugin --profile web add github:mervyn-teo/dsh-plugin-collapsible-steps

Then restart dsh web — host bundles load at boot.

Requirements

  • DSH with the base conversation UI (@deepseek-ai/dsh-client-ui-conversation) mounted — the plugin inserts brackets into its chat flow.

License

MIT

Compatibility

DSH 0.1.7-alpha.2: failedDSH 0.1.7-rc.1: failedDSH 0.1.7-alpha.1: failed

Versions

Latest versionPublishedSize
0.1.1——

Comments

Loading…

Similar plugins

dsh-fold-context

by cayan0x

Auto-fold context/system messages in DSH conversation — collapse think blocks, tool calls, and tool results into grouped expandable bars.

UI & ExperienceTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 29, 2026

dsh plugin --profile web add dsh-fold-context

by Han-1413141

DSH Web client plugin: collapse every expanded section (Think / tool cards) in the conversation in one click, with a customizable hotkey.

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 2

MIT

JavaScript

Oct 2, 2026

dsh plugin --profile web add dsh-sticky-disclosure

Collapses each settled turn's process rows into one expandable disclosure in the DeepSeek Harness Web conversation while keeping the final answer visible.

UI & ExperienceManifest valid

★ 0

dsh plugin --profile web add dsh-conversation-process-collapse

by renat3u

折叠对话当中众多的“无用消息”,例如Think、Bash等

UI & ExperienceManifest valid

★ 8

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-web-archive

by uigdwunm

Groups each DSH Web turn's thinking, tool calls and context into an expandable process box that shows the latest two items by default, while keeping user dialogue, interactive questions and final answ

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

TypeScript

Sep 14, 2026

dsh plugin --profile web add dsh-process-fold

by Cinnamobot

Auto-expand / collapse the DSH conversation UI disclosure rows (Think reasoning, tool calls, todo, queue) from Settings. 思考・ツールコールなどの折りたたみを設定から選べるようにするプラグイン。

UI & ExperienceTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 25, 2026

dsh plugin --profile web add dsh-disclosure-tweaks