dsh-smooth-stream

DeepSeek Harness(dsh)社区插件 —— 丝滑流式渲染:打字机跟随模型速率、Markdown 边流边渲染、换行滑入、不闪烁。
A community plugin for the DeepSeek Harness (dsh) Web UI — silky streaming: arrival-tracking typewriter reveal, live Markdown rendering, glide-in wraps, zero flicker.

社区项目,非 DeepSeek 官方发行的一部分。Community project, not part of the official DeepSeek distribution. MIT License.

效果 Preview

左右对比:左侧为默认 DeepSeek Harness Web UI 的流式输出,右侧为安装 dsh-smooth-stream 后的丝滑流式渲染(打字机跟随、无闪烁)。Side-by-side: default Web UI vs dsh-smooth-stream.
左:默认 Web UI · Left: default   |   右:dsh-smooth-stream · Right: with the plugin

它做什么 Features

安装 Install

pnpm dsh plugin --profile web add github:Laplace-bit/dsh-smooth-stream

首次 add 失败是正常的:pnpm ≥10 会拦截 prepare 脚本,按提示把 dsh-smooth-stream 加入 ~/.dsh/profiles/web/pnpm-workspace.yamlonlyBuiltDependencies,再执行一次同一条命令。然后 pnpm dsh web 启动,Host 日志出现 [dsh-smooth-stream] plugin loaded! 即成功。

配置 Configuration

preset手感 / Feel
realtime更贴模型到达 / Keeps closer to the model
balanced默认 / Default
silky缓冲更大,追上更慢 / More buffer, slower catch-up

maxScrollSpeedPxPerSec(默认 1000)限制滚动速度上限,避免首次大滞后时瞬移。

常见问题 FAQ

什么是 dsh-smooth-stream?

DeepSeek Harness(dsh)的社区插件,为 Web 对话提供丝滑流式渲染:打字机跟随模型速率、Markdown 边流边渲染、换行滑入、不闪烁。

怎么安装 dsh 插件?

在 DeepSeek Harness 源码目录运行 pnpm dsh plugin --profile web add github:Laplace-bit/dsh-smooth-stream,按上面的 pnpm 授权说明重跑一次即可。

Is it an official DeepSeek plugin?

No — it is a community plugin for the DeepSeek Harness (dsh) Web UI, MIT-licensed on GitHub, and not part of the official DeepSeek distribution.

支持 prefers-reduced-motion 吗?

支持。系统开启减少动态效果时直接显示完整文本,不接管跟随;帧率低于 30 fps 且回复在屏外时揭示自动暂停。

Can it be installed from npm?

Currently the plugin installs from GitHub via dsh plugin add github:Laplace-bit/dsh-smooth-stream. Watch the repository for npm availability.