mctang985211-coder/dsh-turn-collapse

mctang985211-coder★ 0JavaScript最后同步: 2026-08-18

在 GitHub 打开

README 摘要

dsh-turn-collapse Codex-style turn-level folding for the DeepSeek Harness Web UI: collapse everything between two visible outputs — the reasoning chain and the tool calls — into a single disclosure unit with a triangle toggle. English 中文 What it does In the default DSH chat flow, each assistant turn renders its reasoning ( Think row) and its tool calls as separate collapsible rows. dsh-turn-collapse groups them the Codex way: - One fold bar per gap between visible outputs (input → first output, output → output, …). - Bars are collapsed by default ; click to expand the whole group (native Think rows and ToolRow s remain individually usable inside). - State is persisted per session in localStorage . - Visual style reuses the DSH design tokens ( --dsw-alias- ) and matches the native header rows. Install How it works A pure client-side plugin. It watches the conversation scroll container ( [data-conversation-scroll] ) with a MutationObserver and reconciles fold groups from the flow items: - Flow node kinds come from data-chat-flow-kind ( assistant-step , tool-call , …). - Reasoning rows are located by data-variant="think" inside each assistant-step. - A node counts as a visible output …

在 GitHub 查看完整 README →
皮肤/UIdeepseek-harnessdshdsh-pluginweb-uiweb ui

分类