DSH Plugins Marketplace

DSH Plugins

Plugins

/

Terminal & Clients

/

dsh-trace-collapse

A

dsh-trace-collapse

Manifest valid

DeepSeek Harness web GUI: collapse the agent trace (tool calls, thinking, workflow steps) while always keeping the agent's final output. A setting controls whether the trace is default-collapsed after the final output completes (default on).

UI (client)hasBundlePatch

dsh-trace-collapse

一个 DeepSeek Harness Web 界面 永久插件:可以折叠 Agent 的轨迹(中间的思考步骤、工具调用、steering、workflow 运行、上下文注入等),同时始终保留 Agent 的最终输出。

English: README.en.md

演示

折叠前 / 折叠后对比

折叠前,完整的 Agent 轨迹(思考、工具调用、上下文注入)都可见;点击轨迹顶部的「Collapse trace」按钮后,只保留用户提问与 Agent 的最终输出,需要时随时可以展开。

折叠前(轨迹展开)折叠后(仅保留最终输出)
折叠前折叠后

功能

  • 逐轮次折叠 Agent 轨迹 — 折叠是以轮次为单位的:每个已完成的 Agent 输出顶部都有一个克制的 Expand trace / Collapse trace 小按钮,你可以单独控制每一次输出的轨迹折叠。该按钮位于轨迹上方、用户消息下方,且只出现在确实有轨迹可折叠的轮次。
  • 始终保留最终输出 — 即使折叠后,用户消息与收尾的助手输出也始终可见;只有中间的轨迹被隐藏。
  • 可折叠的轨迹类型 — 工具调用(tool-call)、思考步骤(非最终的 assistant-step)、steering、workflow 运行、上下文注入行(context,例如 system prompt / skill-catalog)以及 unknown 行。
  • 设置 — 在 设置 → 通用 中有一个勾选项 Collapse agent trace by default after final output(在最终输出完成后默认折叠轨迹)。该项默认勾选。取消勾选后,轨迹默认保持展开,直到你按轮次手动折叠。

设置:默认折叠 Agent 轨迹

工作原理

该插件是安装到 web profile 的永久 bundle:

  • cordis.patch.yml — 插入 loader 行。
  • lib/index.js — Host 半边(空操作;功能都在浏览器端)。
  • lib/client.js — 浏览器半边。它观察聊天流([data-chat-flow]),把流节点按轮次分组,并用 data-dsh-trace 属性标记轨迹节点。注入的 CSS 会隐藏被标记的节点。它还注册了设置行,并在每个已完成轮次的轨迹顶部注入逐轮次折叠按钮。

安装

方式一:在 DeepSeek Harness 检出目录(profile web):

dsh plugin --profile web add <本仓库路径>

然后重启 harness。

方式二:直接叫agent帮你安装:

帮我安装这个插件:https://github.com/AwesomeHou/dsh-trace-collapse

方式三:先安装插件市场:https://github.com/AwesomeHou/dsh-plugin-marketplace 然后从插件市场里面搜索安装,还可以追踪后续更新。

开发

pnpm run check   # 对两个半边分别执行 node --check

许可证

MIT

Comments

Loading…

Similar plugins

dsh-trace-insight

by Liu-Bot24

DeepSeek Harness(DSH)只读执行轨迹复盘插件,支持规则分析、独立模型解读、证据定位、任务概览与运行对比。

Development & InfrastructureManifest valid

★ 5

MIT

JavaScript

Sep 26, 2026

dsh plugin --profile web add dsh-plugin-trace-insight

by GraySilver

让 Agent 的工作方式可组合、可审查、可持续改进,最终实现 Agent Self Evoling。 DeepSeek Harness Web plugin with composable task controls and isolated, human-reviewed self-evolution.

Workflow & AutomationManifest valid

★ 200

↓ 294/wk

MIT

TypeScript

Sep 14, 2026

dsh plugin --profile web add @graysilver/dsh-evolve-modes

by lispking

A self-evolving plugin for DeepSeek Harness (dsh). It observes how the agent runs, proposes improvements to its own assets via the LLM, validates each proposal inside a sandboxed trial agent, and appl

Workflow & AutomationManifest valid

★ 3

↓ 202/wk

MIT

TypeScript

Aug 25, 2026

dsh plugin --profile web add dsh-auto-evolve

by bpc-oss

DeepSeek Harness plugin: subagent_routed — run a one-shot subagent fully mounted on ANY agent preset from ANY session, with per-call model/provider override and a model-availability pre-check.

Workflow & AutomationTools & CapabilitiesManifest valid

★ 3

MIT

JavaScript

Sep 12, 2026

dsh plugin --profile web add dsh-routed-subagent

Trace Compare for DeepSeek Harness: upload session logs or follow the live session and visualize the agent's exploration maze — main path, detours, and backtracks on one timeline

UI & ExperienceManifest valid

★ 45

MIT

HTML

Aug 25, 2026

dsh plugin --profile web add dsh-trace-compare

by YEYEYEYESHIFU

Results-only toggle for the DeepSeek Harness Web GUI: hides thinking and tool-call process, keeps one live status line while the agent works, with a per-turn trace line and a settings row. zh-CN/en.

UI & ExperienceTerminal & ClientsManifest valid

★ 3

↓ 127/wk

MIT

JavaScript

Sep 17, 2026

dsh plugin --profile web add dsh-result-only-view