DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Collapse History — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
C

dsh-collapse-history

Collapse History

DSH 网页客户端插件:自动和选择性折叠对话回合——隐藏所有助手回复,仅查看你的消息(或反之亦然);最近的 N 个回合保持展开。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:hengxiangdeheng-jpg/dsh-collapse-history#f1357e1129eebbfa02b3879ca7b05c8ef82f42b4
README兼容性版本
demoautoassistant hiddenuser hiddencontent foldsettings

兼容性与来源证明

Collapse History 以 dsh-collapse-history 发布,当前版本为 0.3.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/23

版本

0.3.0stable
2026/8/23
0.1.0stable
2026/8/22

相关插件

正在加载相关插件…

最新版
0.3.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/8/23
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Memsearch Dsh@zilliz/memsearch-dsh适用于 DeepSeek Harness 的 MemSearch 插件:在多个代理之间共享 Markdown 记忆,支持捕获、步骤前上下文注入、记忆召回技能和技能候选审核面板。Reme@agentscope-ai/reme面向 TypeScript 代理的 ReMe 客户端和记忆集成

README

🗂️ dsh-collapse-history

Fold entire conversation turns in DeepSeek Harness Web — automatically and selectively. Hide all assistant replies to see only your messages, or keep only the assistant's answers. Recent turns always stay expanded.

A zero-build, dependency-free client plugin for DeepSeek Harness Web (DSH). Long conversations become a tidy timeline of chips: every assistant turn (thinking + reply + tool calls) and every user message can be folded into one line — the most recent `N` turns remain fully visible.

⭐ Star this repo if you find it useful — it helps the project grow!


✨ Features

FeatureDescription
⚡ Auto fold (default ON)Older assistant replies fold automatically; the most recent `N` stay expanded (set `0` to fold every assistant reply). Your messages are never auto-folded, so browsing history stays natural.
🧑‍💻 Hide all assistant repliesEvery assistant turn (thinking, text, tool calls) collapses into a chip — you see only your own questions.
👤 Hide all your messagesThe reverse view: only the assistant's replies remain.
📄 Fold long contentAny single message longer than the threshold (default 800 chars) folds into a chip automatically — with a hover fold button for manual folding.
🖱 One-click expandClick any chip to expand that turn or block. Manually toggled turns are pinned — auto mode never undoes your choice.
🎛 Settings popoverTune `keep-recent N` for assistant replies and user messages, toggle auto mode, clear pins, reset defaults.
💾 PersistentSettings are saved to `localStorage` and survive page reloads.
🌗 Native lookStyled with the app's own design tokens (`--dsw-alias-*`), light & dark themes.
🌐 i18nUI follows the browser language (中文 / English).
🧩 Zero build, zero depsHand-written client bundle, no toolchain, no runtime dependencies.

🎬 Demo

demo

Auto fold (assistant-only) → hide all assistant replies → show all → hide all user messages → show all.

📸 Screenshots

Auto-folded historyOnly your messages (all assistant replies hidden)
autoassistant hidden
Only assistant replies (your messages hidden)Long content auto-folded
user hiddencontent fold
Settings
settings

📦 Install

Requires DSH ≥ `0.1.1-rc.1` and the `web` profile.

Option A — from this repo (recommended)

```bash dsh plugin --profile web add github:hengxiangdeheng-jpg/dsh-collapse-history ```

Option B — from npm (once published)

```bash dsh plugin --profile web add dsh-collapse-history ```

Option C — local directory

```bash dsh plugin --profile web add link:D:/path/to/dsh-collapse-history ```

Then register the loader entry — either:

  1. Add `dsh-collapse-history` to the `dsh.profile.bundles` list in `~/.dsh/profiles/web/package.json` (its own `cordis.patch.yml` registers itself), or
  2. Append to `~/.dsh/profiles/web/cordis.patch.yml`:

```yaml

  • insert:
    • id: dsh-collapse-history name: 'dsh-collapse-history' ```

Finally restart the web profile:

```bash dsh web ```

🎮 Usage

A small floating toolbar appears at the bottom-right of the conversation column:

ButtonAction
⚡Toggle auto fold on/off
🧑‍💻▾ / 🧑‍💻▴Hide / show all assistant replies (pins them)
👤▾ / 👤▴Hide / show all your messages (pins them)
⚙Open settings: keep-recent `N`, clear pins, reset

Per turn: click a chip to expand it; clicking the chip again (or using the toolbar) re-folds it. Your manual choices are pinned and survive auto passes until you clear pins.

⚙️ Configuration

Stored in `localStorage` (`dsh-collapse-history:settings:v2`), editable from the ⚙ popover:

KeyDefaultRangeMeaning
`auto``true`boolMaster switch for auto folding
`assistantKeep``1`0–10How many most recent assistant replies stay expanded (`0` = fold every assistant reply)
`maxChars``800`0–100000Fold any single message longer than this many characters (`0` = never fold by length)

🛠 How it works

  • Pure DOM-level client plugin: a `MutationObserver` watches the conversation column (`[data-pane="conversation"]`, stamped by the web-ui compat shim — the plugin stamps it itself if missing).
  • The message list is composed of flow items (`[class$="_flowItem"]`); each user message is one flow item, and each assistant turn is the consecutive run of flow items between two user messages (thinking rows, markdown, tool calls, context markers).
  • Folding hides the turn's content with CSS and shows a compact chip; the observer re-applies state after every React render.
  • Streaming turns (`data-state="running"`) are never folded.

⚠️ Limitations

  • Pin state is per-DOM-element: switching sessions or heavy re-renders may reset manual pins (auto mode re-applies immediately).
  • Works with the built-in conversation view. The details/trajectory panes are intentionally untouched.

🗺 Roadmap

  • Per-session fold-state memory
  • Collapse-all hotkeys
  • Visual settings page integration (`dsh-client-ui-settings`)

📄 License

MIT © dsh-collapse-history contributors