Preface¶
When using the DeepSeek Harness (DSH) Web interface, a completed Chat turn may simultaneously contain user messages, reasoning processes, context injections, and tool activities. Longer intermediate processes occupy interface space and affect viewing of subsequent content. dsh-fold-turns adds fold behavior for completed Chat turns on the Web side without replacing DSH’s native renderers.
What This Is¶
dsh-fold-turns is a DSH Web plugin, positioned as “Fold completed DeepSeek Harness chat turns without replacing native renderers.”
The verifiable repository address is:
https://github.com/leon-zym/dsh-fold-turns
It is Web-only and does not alter agent output or session data. The license is MIT.
Core Features¶
The verified capabilities are described below.
-
Automatically folds intermediate processes of completed Chat turns.
-
Running turns remain expanded and display real-time elapsed time.
-
Preserves DSH native content and partial UI state when expanding or folding.
-
Incomplete or incompatible turns remain visible.
-
Web-only.
Installation and Enablement¶
First, install the plugin into the DSH Web profile:
dsh plugin --profile web add dsh-fold-turns
After installation, restart the Web process.
To update an existing installation, use:
dsh plugin --profile web update dsh-fold-turns
To remove the plugin, use:
dsh plugin --profile web remove dsh-fold-turns
If you already have a local installation package, you can also use a local tarball:
dsh plugin --profile web add ./dsh-fold-turns-0.1.5.tgz
After the steps above, the plugin will appear in the DSH Web profile’s plugin list and will be loaded by the current DSH Web process. Before installation, it is recommended to check the source code, license, and version compatibility.
Typical Usage¶
No configuration is required.
Once a qualified turn is completed, the plugin automatically folds it and displays precise elapsed time inline.
Clicking any elapsed time line expands or folds that turn.
Applicable Scenarios and Notes¶
This plugin is suitable for scenarios where you use the DSH Web interface and want to reduce the visual length of intermediate processes in completed Chat turns. It does not replace DSH native content or alter session data.
Notes:
-
It is an experimental plugin that relies on DeepSeek Harness browser and Chat DOM conventions; these conventions are not yet stable public APIs.
-
It is compatible with DSH host
0.1.0-rc.6, which is the experimental verified baseline; other versions are not supported until re-verified. -
The plugin is designed to fail open: when encountering incomplete history, unknown Chat nodes, abnormal completions, or incompatible DOM, it should keep DSH native content visible.
-
The plugin will appear in the DSH Web profile’s plugin list and will be loaded by the current DSH Web process. Before installation, it is recommended to check the source code, license, and version compatibility; the license in current materials is MIT.
Conclusion¶
The value of dsh-fold-turns lies in preserving DSH native rendering results, only adding fold entry points for completed turns on the Web side and displaying real-time elapsed time on running turns.
The verifiable repository address is:
https://github.com/leon-zym/dsh-fold-turns