wallpap/dsh-compact-activity 预览 preview

wallpap/dsh-compact-activity

紧凑推理与工具活动分组,适用于DeepSeek Harness Web和DeepSeek Harness Desktop。

Project Overview项目介绍

dsh-compact-activity is a native UI plugin built exclusively for DeepSeek Harness (DSH) that modifies how the DSH web interface displays thinking steps and tool call outputs. It bundles consecutive thinking steps and tool calls into a single, collapsed by default fold item that users can expand if they want to see full details. It does not alter DSH’s native components, leaves model output text visible and unmodified, and automatically matches DSH’s active language setting for all status text and counts, supporting both Simplified Chinese and English.

After installation and a required restart of DSH Desktop or DSH Web, the plugin activates automatically with no additional configuration needed from the user. It groups all consecutive process messages into the unified fold item, even when there is only a single process step, and updates status text in real time as the model generates output and calls tools. It tracks the number of failed steps, correctly counts non-zero exit codes from terminal tools like Bash and PowerShell, and keeps the final error status visible even after the model outputs new text.

The plugin is released under the open source MIT license, and is compatible with DSH Web v0.1.5-rc.2 and newer, as well as DSH Desktop 2.0.4 and newer across Windows, Linux, and macOS. Installation requires pnpm, which is already included with DSH Desktop, so no extra global tools need to be installed, and each DSH profile must have the plugin installed separately. Users can install from the public npm registry, a local source clone, or a packed tarball, and can update or uninstall directly via DSH’s built-in plugin commands.

dsh-compact-activity 是一款专为 DeepSeek Harness 开发的原生 UI 插件,核心作用是优化 DSH 界面中连续思考和工具调用的展示方式。它会将连续的思考与工具调用收拢为一个默认收起的单行折叠项,减少页面滚动需求,同时通过轻量底色、细边框和状态轨迹增强界面层次。不同颜色标识不同运行状态,紫色表示运行中、绿色表示完成、红色表示错误,且不修改 DSH 官方原有组件,模型最终输出始终正常展示,还跟随 DSH 语言设置支持中英文切换。

安装生效后,插件会自动对会话内的过程消息分组,多条连续过程消息会合并为一个总折叠项,单条过程消息也会默认收拢。运行过程中会实时展示当前状态、计数和最后一项活动摘要,还会单独统计失败步骤,识别终端命令的非零退出码和终止信号。用户需要查看细节时可手动展开,展开后仍使用官方原有的 Think、Code 和工具组件。对于经常处理长会话多工具调用的 DSH 用户来说,这款插件能有效提升界面浏览效率。

本插件以 MIT 许可证开源,支持 DSH 官方 Web 版 0.1.5-rc.2 及以上版本,也兼容 DSH Desktop 2.0.4 及以上版本,可在 Linux、macOS、Windows 全平台使用。安装需要通过 DSH 的包管理器完成,Desktop 用户可直接在 DSH Terminal 执行安装命令,普通 CLI/Web 用户需要预先配置好 pnpm 和 DSH 环境。每个 DSH profile 需要单独安装,不支持跨 profile 同步生效,且不修改 DSH 的模型上下文、会话日志和工具执行逻辑。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 8 stars - very few users, little community feedback星标只有 8,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin add dsh-compact-activity@latest

把 wallpap/dsh-compact-activity 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-compact-activity

npm version license

简体中文 | English

让 DeepSeek Harness 的思考、工具调用和图片输出更容易浏览。

插件把连续的思考和工具调用收进一个默认折叠的总过程项。展开后仍使用 DSH 官方组件,模型正文保持可见。

功能概览

  • 过程折叠:连续或单条思考、工具调用都可以收进一个总过程项。
  • 实时状态:显示进行中、已完成或执行错误,以及思考、工具和失败步骤计数;运行中的工具会复用官方摘要。
  • 错误识别:统计结构化工具错误、思考中断,以及 Bash/PWSH 等终端工具的非零退出码和终止信号。
  • 正文保留:同一 step 同时包含思考和正文时,只折叠 Think,正文继续显示。
  • 图片折叠:非用户输入的图片默认收起,用户和 steering 消息中的图片保持原样。
  • 官方交互不变:不替换官方渲染器,不修改模型上下文、会话日志或工具执行。

状态、计数和图片文案跟随 DSH 的语言设置,支持 中文 和 English。切换语言后,已显示的总过程项和图片标记会同步更新。

效果展示

image
image
image
image
image
image

安装

DSH Desktop 2.0.12(Beta:2.0.12-beta.1)

从系统托盘打开 DSH Terminal,针对当前 profile 运行:

dsh plugin add dsh-compact-activity@latest
dsh --dump-config
pnpm list dsh-compact-activity --depth 0

配置输出应包含 id: ui-compact-activity 和 name: dsh-compact-activity。验证后重启 DSH Desktop。

Desktop 已内置 Node.js、pnpm 和 DSH。无需为本插件全局安装这些工具,也不要使用 npm 代替 pnpm。DSH Terminal 中的命令默认操作 Desktop 当前 profile,不要添加 --profile web。

Desktop 对刚发布的 npm 包默认应用 24 小时最短发布时间策略。安装时应优先使用 @latest,然后比较 npm 的最新版本和 profile 实际安装版本:

$latest = pnpm view dsh-compact-activity dist-tags.latest
pnpm list dsh-compact-activity --depth 0

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-highres-vision 下一个 Next dsh-plugin-market →