DeepSeek Harness plugin

dsh-fold-turns

Fold completed DeepSeek Harness chat turns without replacing native renderers.

Jump to install

Source facts

Repository
leon-zym/dsh-fold-turns
Latest update
Aug 18, 2026
Category
Tools & Capabilities
GitHub stars
4
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/leon-zym/dsh-fold-turns
Plugin: dsh-fold-turns
Author: leon-zym

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-fold-turns

English | 简体中文

dsh-fold-turns is a Web plugin for DeepSeek Harness that adds automatic fold/collapse behavior to completed Chat turns. It keeps the user message and final answer visible, while reasoning, context injection, and tool activity are reduced to a compact Worked for … row. Click the row to expand the original process whenever you need it.

  • Completed turns collapse automatically.
  • Running turns stay expanded and show live elapsed time.
  • The plugin leaves DSH's native content and local UI state intact when you expand or collapse a turn.
  • Incomplete or incompatible turns stay visible.

This is a Web-only plugin. It does not change the agent's output or conversation data.

Demo

Folded

The intermediate process is replaced by a compact duration row while the final answer remains visible.

!A completed DeepSeek Harness turn folded into a compact duration row

Expanded

Click either duration row to restore the original context, reasoning, and tool activity.

Upper processLower process and final answer
![The upper part of an expanded DeepSeek Harness turn](https://raw.githubusercontent.com/leon-zym/dsh-fold-turns/main/docs/assets/demo-expand-1.png)![The lower part of an expanded DeepSeek Harness turn](https://raw.githubusercontent.com/leon-zym/dsh-fold-turns/main/docs/assets/demo-expand-2.png)

Install

Most users only need these commands. Install the published npm package into the DSH Web profile:

dsh plugin --profile web add dsh-fold-turns

Update an existing installation:

dsh plugin --profile web update dsh-fold-turns

Remove the plugin:

dsh plugin --profile web remove dsh-fold-turns

Restart the Web process after installing, updating, or removing the plugin. DSH composes its client module list at startup.

For local development or a downloaded release tarball instead:

dsh plugin --profile web add ./dsh-fold-turns-0.1.5.tgz

Using the plugin

No configuration is required. Running turns stay expanded. Once an eligible turn completes, its intermediate process folds automatically and the row shows the exact duration.

Click either duration row to expand or collapse the turn. A turn without foldable process content gets no control.

The plugin is designed to fail open. Incomplete history, unknown Chat node kinds, abnormal completion, or an incompatible DOM should leave DSH's native content visible.

Compatibility

> Experimental: the plugin relies on DeepSeek Harness browser and Chat DOM contracts that are not yet stable public APIs. Keep a rollback path and recheck real conversations after every DSH upgrade.

DSH hostStatus
0.1.0-rc.6Experimental, verified baseline
Other releasesUnsupported until revalidated

Development

Build from source

Node 22.19+ (or 24+) and pnpm are required:

corepack enable
pnpm install --frozen-lockfile
pnpm test
pnpm run test:browser
pnpm pack

The resulting dsh-fold-turns-<version>.tgz is directly installable with the tarball command above. pnpm pack runs the build through prepack, so a clean clone does not need checked-in lib/ output.