Preface¶
In long sessions of the DSH Web version, completed rounds are displayed together with their final summaries, making it difficult to scan through when reviewing. dsh-tidychat is designed to organize such Web session timelines: completed rounds are automatically collapsed, retaining only the final summary; solid lines separate processes from conclusions; a Codex-style left-edge locator bar provides global navigation; and earlier history is loaded during idle page time. Below are its features, installation methods, and version notes.
What It Is¶
dsh-tidychat is a DSH plugin maintained by BananaSoldier01, licensed under MIT, with the current package version 0.2.5. It targets the DSH Web session interface, addressing issues of mixed processes and conclusions in long sessions, as well as inconvenient browsing and loading when history is extensive. The plugin runs with the current dsh process permissions; review the source code and license before installation.
Core Features¶
Auto-Collapse Completed Rounds¶
Completed rounds are automatically collapsed, retaining only the final summary. The control bar displays “Process N steps” and processing duration; expanding reveals the full process.
Separation of Process and Conclusion¶
A solid line is inserted between the thinking line and the main text to distinguish processes from conclusions.
Left-Edge Locator Bar¶
A Codex-style locator bar is provided on the left edge of the chat area, using a Canvas minimap for global mapping, supporting fisheye hover zoom, drag preview, and click navigation.
Intelligent Loading of Earlier History¶
Earlier history is progressively loaded when the page is idle, with automatic pausing when a decline in page responsiveness is detected.
One-Click Issue Reporting¶
Generates a diagnostic report and opens a pre-filled GitHub issue page.
Independent Toggles¶
The four core features above are independent of each other and can be toggled via the settings panel.
Installation and Activation¶
Prerequisites: DSH (Web version) installed, with pnpm available in PATH.
First, install the npm package. The npm package is pre-built, requiring no allowBuilds authorization:
dsh plugin --profile web add @bananasoldier01/dsh-tidychat
After installation, restart dsh web and hard-refresh (Cmd+Shift+R), then navigate to “Settings → Plugin Configuration” and expand the dsh-tidychat card. Feature toggles take effect immediately.
If installing from GitHub, it is recommended to pin a version:
dsh plugin --profile web add git+https://github.com/BananaSoldier01/dsh-tidychat.git#v0.2.5
Updates¶
After installing via npm, the plugin dependency can be updated directly:
dsh plugin --profile web update @bananasoldier01/dsh-tidychat
After updating, restart dsh web and hard-refresh (Cmd+Shift+R).
Typical Usage¶
-
After installation, restart dsh web and hard-refresh (Cmd+Shift+R).
-
Expand the dsh-tidychat card in “Settings → Plugin Configuration”.
-
Enable auto-collapse, process/conclusion separation, left-edge locator bar, and intelligent loading of earlier history as needed for the session.
-
If encountering issues, use one-click issue reporting to generate a diagnostic report and open a pre-filled GitHub issue page.
Following these steps allows you to view and switch these features in DSH Web.
Version Compatibility and Notes¶
- From 0.2.0 onwards, compatible with DSH ≥ 0.1.0-rc.7; the plugin supports DSH ≥ 0.1.0-rc.7 ~ 0.1.1-rc.x.
- For DSH ≤ 0.1.0-rc.6, use 0.1.0; run whitelist-patch.sh to add tidychat to the whitelist so that settings toggles are writable.
- For DSH ≥ 0.1.0-rc.7, running whitelist-patch.sh is not required.
- DSH alpha.1 cannot be directly upgraded; the npm package has not been released. Alpha.1’s native folding overlaps with the plugin’s fold feature; it is recommended to choose one.
- The npm package is pre-built, requiring no allowBuilds authorization; it is recommended to pin a version when installing from GitHub.
- The plugin’s peerDependencies require @deepseek-ai/dsh-settings ^0.1.0-rc.7 and react ^18.2.0.
- Expand/collapse states are in-memory per session and revert to defaults (all collapsed) upon refresh.
- The plugin runs with the current dsh process permissions; review the source code and license before installation.
Applicable Scenarios¶
Suitable for developers who use the DSH Web version for multi-turn tasks and need to review conclusions. It can also be used for quickly locating messages in long sessions, browsing earlier history, or organizing anomaly information into issues.
Conclusion¶
The value of dsh-tidychat lies in modularizing completed rounds, processes and conclusions, long-session navigation, and history loading into independently controllable components. Current version: 0.2.5, MIT license.
Community directory page: https://www.skillhub.cn/plugins/BananaSoldier01/dsh-tidychat
GitHub: https://github.com/BananaSoldier01/dsh-tidychat