SpookySandwich/dsh-plugin-smooth-stream 预览 preview

SpookySandwich/dsh-plugin-smooth-stream

为DeepSeek Harness(DSH)添加更出色的文字动画效果。

Project Overview项目介绍

This is a natively developed plugin built exclusively for DeepSeek Harness (DSH). It reworks how LLM streaming responses are displayed in DSH chat, turning jarring word-by-word output into a block-based presentation that renders full paragraphs with smooth entry animations. Users can install it directly via the official DSH CLI by running the command dsh plugin --profile web add dsh-plugin-smooth-stream, and it activates automatically once you open any chat session after installation. The plugin adds its own dedicated settings panel to the existing DSH settings menu for easy configuration. All setting changes take effect immediately and are persisted between DSH restarts.

This plugin is ideal for users who find word-by-word streaming distracting or uncomfortable to read during long chat sessions. It includes eight different entry animation styles that you can choose from, including fade, rise, dissolve, wipe, focus, glow, iris, and soak. You can adjust the animation duration, the batch size of text to present before rendering, and toggle smooth scrolling on or off, with a live preview of every change. It also automatically turns off all animations and smooth scrolling if your operating system has the “prefers reduced motion” setting enabled. You can also disable the plugin entirely at any time with one click to revert back to DSH's native output rendering for easy comparison.

This plugin is officially compatible with DSH version 0.1.2-rc.1, and has been tested to work properly with DSH's native Markdown rendering, image handling, and client service APIs. It currently takes over the assistant message rendering slot in DSH's conversation view, so it is mutually exclusive with other plugins that modify the same rendering slot. If a rendering error occurs for any reason, it automatically falls back to plain text output and will not break the rest of your chat session. The plugin is released under the open source MIT license, so you can modify or redistribute it freely per the license terms.

这是一款专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是优化 DSH 中 LLM 流式回复的阅读体验,将原本逐字抖动的输出改成按段落分批淡入呈现,同时优化了流式输出时的滚动行为和模型思考块的显示效果。用户可以通过 DSH 官方 CLI 命令 dsh plugin --profile web add dsh-plugin-smooth-stream 一键安装,安装后打开任意会话即可生效,设置入口位于 DSH 的设置面板内。

适合所有觉得逐字流式输出太晃眼、阅读体验差的 DSH 用户使用。开启插件后,LLM 回复会攒满一定字数后整段呈现,自动避开未写完的代码块和表格,保证 Markdown 完整渲染,不出现半成品。同时流式输出时页面会匀速平滑滚动到底部,用户手动向上滚动后自动暂停跟随,滚回底部后恢复跟随行为。

插件兼容 DSH 0.1.2-rc.1 版本,已适配 DSH 的客户端服务、Markdown 和图片接口,有自动化测试覆盖加载与渲染流程。由于插件接管了对话视图的助理消息渲染槽位,和其他同类渲染插件互斥,同时开启多个时仅一个生效。遵循系统减少动态效果设置,项目采用 MIT 许可开源免费使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 12 stars - an early-stage project星标 12,属于早期项目
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 --profile web add dsh-plugin-smooth-stream

把 SpookySandwich/dsh-plugin-smooth-stream 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-plugin-smooth-stream

简体中文 | English

npm CI license dsh deepseek1024 stars

把逐字抖动的流式输出,换成按段落分批、淡入呈现的阅读体验。流式期间平滑跟随滚动,思考块显示实时单行摘要。

左:DSH 原生渲染 · 右:Smooth Stream —— 同一个问题,同时开始:

对比演示

安装

dsh plugin --profile web add dsh-plugin-smooth-stream

打开任意会话即可生效。设置入口:设置面板 → Smooth Stream。

它改变了什么

  • 按段落呈现 — 回复不再一个字一个字地蹦,而是攒满一段,整段淡入。断句时自动避开没写完的代码块和表格,Markdown 不会渲染到一半。
  • 平滑滚动 — 流式输出时页面匀速滑向底部,长回复也不会猛地一跳;往上滚就交还给你,滚回底部自动继续跟随。
  • 思考摘要 — 模型思考时,折叠行里实时滚动最新一句,两端渐隐过渡;回合结束时下划线缓缓收起,示意"想完了"。
  • Markdown 与公式 — 正文走 DSH 自带的渲染器:代码高亮、复制按钮、表格、KaTeX 公式都和原生一模一样。

设置

设置面板中的 Smooth Stream 分区,改动即时生效并持久保存:

设置项 默认 说明
启用 Smooth Stream 开 关闭后即时恢复 DSH 内置渲染,方便对比
入场动画 淡入 淡入 / 上升 / 浮现 / 拂过 / 聚焦 / 映亮 / 晕开 / 洇染
动画时长 520 ms 入场动画时长(120–1200 ms)
分批大小 500 字符 攒多少文字呈现一批;越小越"实时",越大越安静
平滑滚动跟随 开 流式期间的平滑滚动跟随

带实时预览,可一键恢复默认。设置界面跟随 DSH 的显示语言。

动画风格

八种入场动画,默认节奏各自按风格调校;下面全部用同一段回复录制,便于直接对比。

淡入 Fade 上升 Rise
fade rise
浮现 Dissolve 拂过 Wipe
dissolve wipe
聚焦 Focus 映亮 Glow
focus glow
晕开 Iris 洇染 Soak
iris soak

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

← 上一个 Prev walioffice-dsh-plugin 下一个 Next dsh-agent-conductor →