DeepSeek Harness 插件

uigdwunm/dsh-process-fold

Star 数 ★ 0 分类 UI 增强 收录于 2026-08-18

把每轮 DSH Web 会话中的思考、工具调用和上下文合并为可展开的过程框,默认显示最新两项,同时把用户对话、交互式提问和最终回答留在框外。

安装

# Release 预构建包

dsh plugin --profile web add "https://github.com/uigdwunm/dsh-process-fold/releases/latest/download/dsh-process-fold-0.1.1.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:uigdwunm/dsh-process-fold

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本。请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

English | 中文

English

dsh-process-fold is a client-side UI plugin for DeepSeek Harness Web. It groups each turn's execution steps into a bordered process box, keeps the latest two items visible by default, and provides an expand/collapse control below the box.

User messages, steering messages, interactive ask_user_question prompts, and the final assistant answer remain outside the box and fully visible.

Install

dsh plugin --profile web add github:uigdwunm/dsh-process-fold

Restart dsh web, then refresh the page.

Behavior

  • Groups consecutive think, tool-call, and context items into one process box.
  • Shows the latest two process items while collapsed.
  • Expands and collapses without moving content below the toggle in the viewport.
  • Keeps final assistant answers outside process boxes.
  • Treats user, steering, and ask_user_question interactions as boundaries.
  • Removes all injected styles, attributes, labels, and controls when the plugin stops.

中文

dsh-process-fold 是一个 DeepSeek Harness Web 客户端 UI 插件。它把每轮的思考、工具调用和上下文注入等执行过程合并进带边框的过程框,默认只显示最新两项,并在框下提供“展开过程 / 折叠显示”按钮。

用户消息、用户重定向消息、交互式 ask_user_question 提问以及最终助手回答始终留在框外并完整显示。

安装

dsh plugin --profile web add github:uigdwunm/dsh-process-fold

重启 dsh web,然后刷新页面。

行为

  • 把连续的思考、工具调用和上下文项合并为一个过程框。
  • 折叠时保留最新两项。
  • 展开/折叠时保持按钮以下内容在视口中的位置。
  • 最终助手回答不进入过程框。
  • usersteeringask_user_question 交互作为过程边界。
  • 插件停止时清理所有注入的样式、属性、标签和按钮。

Development

npm install
npm run typecheck
npm run build

The browser source is in src/client.ts; the prebuilt DSH client bundle is committed at lib/client.js.

License

MIT

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →