DeepSeek Harness Web, when handling long conversations, keeps the default folding behavior disabled once beyond the initial window, causing all completed interaction segments to remain permanently expanded and making the interface lengthy. The dsh-chat-fold plugin is used to restore this compact interaction mode while also addressing the issue of the history-loading window being too small.
Plugin Overview¶
This plugin is maintained by tntcannon5000 and is an unofficial plugin for DeepSeek Harness Web. It primarily addresses two issues: first, it restores the default folding behavior by collapsing settled turns behind a disclosure; second, it expands the default history window from 50 messages to 250 messages.
Core Features¶
Compact Folding Mechanism¶
The plugin adds a disclosure above settled turns. When expanded, system prompts, tool calls, and the final text remain visible; when collapsed, intermediate interaction rows are hidden, keeping the interface tidy.
Custom Disclosure UI¶
The folder reuses the stock localized Ran for … label, rendered at a slightly larger size, with a clear rotating SVG chevron. Clicking it expands or collapses the turn in place.
History Expansion¶
When selecting a conversation, the plugin automatically loads four additional stock pages. This expands the default history window from 50 messages to up to 250 messages, allowing more context to be viewed without manual paging.
Streaming Handling¶
The plugin identifies turns that are currently streaming and ensures they are not collapsed. After the streaming footer arrives, collapsing is triggered automatically. If the stock folding feature is available, the plugin backs off completely and no longer intervenes.
Installation and Enablement¶
Use the official plugin command to install:
dsh plugin add tntcannon5000/dsh-chat-fold
Typical Usage¶
- Load History: Select a long conversation from the conversation list; the system automatically loads more history (up to 250 messages).
- Collapse/Expand: Click the
Ran for …disclosure above a turn to expand or collapse it.
Use Cases and Notes¶
The plugin runs with the permissions of the current DSH process. Before use, please review the source code and license.
Known Limitations:
- Unofficial Plugin: This plugin is not officially maintained and may be removed at any time.
- In-Memory State: The expanded or collapsed state is stored in memory and resets after refreshing the page or switching conversations.
- Search Limitation: Rows hidden by the plugin do not appear in on-page search results. If a search matches content inside a collapsed row, you need to manually expand that row.
- Anchor Dependency: Turn classification relies on specific anchors in the stock DOM (
turn-tailandturn-process). If a Harness version update changes these anchors, the plugin may stop working. - Compatibility Target: The current development target is DeepSeek Harness
0.1.3-alpha.1.
Summary¶
dsh-chat-fold provides compact long-conversation management capabilities for DeepSeek Harness Web. Combined with a 5x history-window expansion, it significantly improves information density in long conversation scenarios. Its implementation uses namespaced attributes to avoid interfering with stock behavior and only intervenes when stock folding is unavailable.