@ch4acko3/dsh-turn-fold: Turn Fold Plugin for DSH WebUI

dsh-turn-fold is a DSH WebUI plugin designed to optimize long conversation interfaces. It adopts a Codex-Desktop style, collapsing intermediate processes (such as thinking, commands, tool calls, etc.) in completed turns into summary bars, ensuring that the final answer remains clearly visible at all times. Core features include: dynamically locating the final answer node to distinguish processes from results; preserving native streaming display in the collapsed state; showing different labels based on turn status (completed, stopped, interrupted, etc.); automatically keeping expanded in specific safety or interaction scenarios; reusing the native renderer when expanded to retain tool details and links. The plugin supports localization in both Chinese and English, runs as an in-memory patch without modifying underlying files, and displays elapsed time, call counts, and token usage by default. Installation is performed through DSH plugin commands to add and verify patch binding status. The plugin is compatible with

Read More