
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
dsh-ui-beautify
Advanced tools
Display polish for the DeepSeek Harness conversation: fold overlong messages and work-step blocks, resize the composer and the right sidebar, and search folded content. Pure client-side and display-only.
显示名 UI 美化;npm 包名
dsh-ui-beautify(2026-10 从dsh-bubble-fold改名,见文末「关于改名」)。
给 DSH 会话加一层"阅读优先"的显示优化:消息与工作步骤自动折叠、输入框可调、右栏占比可设、一键查找——想看清楚的点一下就回来。
dsh plugin --profile desktop add dsh-ui-beautify
English — A display-only plugin for DeepSeek Harness: the newest turn always stays open, while older messages and every run of work-step rows fold into one click; plus composer sizing, right-sidebar width, and find.

工作步骤的三档展开(GIF,取自真实构建在无头 Chrome 里的截图):

| 帧 | 你看到的 |
|---|---|
| 1 | 状态 0:每轮只留一个控件,步骤折成一条缝 |
| 2 | 点一下:缝隙上展开三个控件——「本步骤」「展开全部」「所有步骤」(三个图标各不相同) |
| 3 | 点「所有步骤」:这一轮的每一步都打开,条数不变、内容回来 |

▾ 展开我的输入 · 还有 12 行 / ▾ 展开全文 · 还有 30 行,展开后变成 ▴ 收起。只影响这一条——就这一个按钮,复制交给宿主自带的那一个(折起来的部分照样复制得到,限高只是 CSS)。三个按钮,三种职责,三种图标(每轮最终正文上方最多只看到一个):
| 图标 | 按钮 | 管什么 |
|---|---|---|
| 单箭头 | 展开本步骤 / 收起本步骤 | 这一段(两条正文之间的步骤);只在摊开状态下出现 |
| 双箭头 | 展开全部 / 收起全部 | 这一轮的缝(版面):展开全部 = 摊开各条缝、内容仍收起;收起全部 = 内容全收、只留这一个按钮 |
| 箭头加横线 | 展开所有步骤 / 收起所有步骤 | 所有段的内容;只在摊开状态下出现 |
Ctrl + Shift + ↑ / ↓ 每次微调 40px。| 快捷键 | 效果 |
|---|---|
Ctrl + Shift + B | 停用 / 启用插件 |
Ctrl + Shift + , | 打开设置面板(点外部或 Esc 关闭) |
Ctrl + Shift + ↑ / ↓ | 输入框高度 ±40px |
Ctrl + F(桌面版) | 打开右侧栏「查找」tab(浏览器里交给原生查找) |
Ctrl + Shift + , 打开对话页浮层面板,改动即时生效;设置 → 插件 → "UI 美化" tab 是同一套设置的宿主原生入口,两边一一对应、完全同步。
| 项 | 默认 |
|---|---|
| 启用插件 | 开 |
| 最新一轮保持展开 | 开 |
| 折叠我的输入 / 我的输入保留行数 | 开 / 6 |
| 折叠助手回复 / 助手回复保留行数 | 开 / 10 |
| 全部消息都折叠 / 折叠后保留行数 | 关 / 3 |
| 折叠后与控件的间距 (px) | 8 |
| 步骤区与回复之间加折叠按钮 | 开 |
| 步骤默认收起 | 开 |
| 默认只留一个按钮 | 开 |
| 按钮显示文字 | 关 |
| 输入框可拖动调高 / 输入框高度 | 开 / 336 |
| 右侧栏占比 | 45%(30–70%) |
Ctrl + P)前,消息与步骤的折叠全部展开,折叠控件本身也不会印到纸上——纸面上不留折叠的痕迹。/export 那一类导出读的是会话记录、不是页面,所以本来就包含全部内容,折叠从来不会让它丢东西。设置 → 插件 → UI 美化 或 Ctrl + Shift + , 面板里的「右侧栏占比 (%)」,范围 30–70%,默认 45%(宿主自己的默认值)。Ctrl + F 直接打开它;也可以从右栏的 tab 列表里自己加。它搜的是渲染出来的整段对话——折叠起来的内容从不离开 DOM,所以折叠的正文、被收起的步骤都搜得到;点一条结果会先把藏着它的折叠展开,再滚过去并短暂圈出位置。Ctrl + F——折叠内容通过 hidden="until-found" 机制对原生查找可见,命中时整段自动展开。Ctrl + F 只在「查找」tab 真正注册成功后才动作;宿主没暴露右栏服务时它什么都不做(控制台会写明原因),而不是打开一个空右栏。纯显示层:只改界面显示,不写会话日志、不改模型输入、不碰上下文注入与系统提示词卡,也不影响宿主原生的步骤折叠与右缘导航。关掉开关或卸载,界面立刻回到原生状态。
从 npm 安装(推荐):
dsh plugin --profile desktop add dsh-ui-beautify
把 desktop 换成你的 profile 名(网页版是 web),也可以在 设置 → 插件 里手动填包名安装。
不想走 npm 时,也可以直接从 GitHub 安装:
dsh plugin --profile desktop add 'github:FiVE0016/dsh-ui-beautify#v0.9.1'
装完重启宿主(dsh web 或桌面版):host 半与客户端 bundle 都只在启动时加载。
MIT License
本插件原包名 dsh-bubble-fold,2026-10 改名为 dsh-ui-beautify(显示名「UI 美化」),因为功能早已不止折叠:还管输入框高度、右侧栏占比、折叠内容查找。
| 改了 | 说明 |
|---|---|
| npm 包名 / GitHub 仓库名 | dsh-bubble-fold → dsh-ui-beautify(GitHub 旧地址会自动跳转) |
| 安装命令 | dsh plugin --profile desktop add dsh-ui-beautify |
| 插件在宿主里的注册名 | cordis.patch.yml 的 name 与 index.js 的导出名 |
没有改(改了会丢你的设置或纯属无谓改动):设置存储键 dsh.bubble-fold.settings、根作用域属性 data-dsh-bubble-fold(CSS 契约)、样式标签 id、右栏 tab 的内部 id,以及调试句柄 __DSH_BUBBLE_FOLD__(新别名 __DSH_UI_BEAUTIFY__ 指向同一个对象)。所以升级不会重置任何设置。
旧包 dsh-bubble-fold 已标记为 deprecated,仍可安装但会提示改用新名。
FAQs
Display polish for the DeepSeek Harness conversation: fold overlong messages and work-step blocks, resize the composer and the right sidebar, and search folded content. Pure client-side and display-only.
We found that dsh-ui-beautify demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.