dsh-process-fold
开发工具 活跃维护

dsh-process-fold

uigdwunm/dsh-process-fold

可将Web执行步骤折叠为紧凑的可展开流程块,默认收起避免页面冗余,点击即可展开查看完整执行链路与细节信息,兼顾页面整洁性与流程可追溯性,无需额外配置即可直接使用。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
16 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:uigdwunm/dsh-process-fold
git clone https://github.com/uigdwunm/dsh-process-fold.git
git clone git@github.com:uigdwunm/dsh-process-fold.git
README.md main

dsh-process-fold

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,然后刷新页面。

行为

  • 把连续的思考、工具调用和上下文项合并为一个过程框。
  • 折叠时保留最新两项。
  • 展开/折叠时保持按钮以下内容在视口中的位置。
  • 最终助手回答不进入过程框。
  • user、steering 和 ask_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