npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dsh-smooth-stream

v0.3.4

Published

Fluid streaming rendering and silky scrolling for DeepSeek Harness replies, including Markdown, code blocks, tables, and tool results.

Readme

dsh-smooth-stream

English | 中文

dsh-smooth-streamDeepSeek Harnessdsh)Web UI 带来流畅的流式渲染和丝滑滚动。文字、Markdown、代码块、表格以及工具结果会随着输出自然呈现;内容逐步增长时,页面平稳跟随,整轮回复保持连贯的视觉节奏。

项目主页:https://laplace-bit.github.io/dsh-smooth-stream/

效果

左:默认 Web UI。右:dsh-smooth-stream。

左:未使用插件。右:使用 dsh-smooth-stream。

核心体验

  • 流畅渲染。 文字边到边呈现,Markdown 结构持续更新,标题、列表、代码块和表格在流式过程中保持自然的阅读状态。
  • 丝滑滚动。 内容逐步变高时,页面沿连续的滚动轨迹平稳跟随,视线始终贴着正在生成的内容。
  • 统一过渡。 换行、代码块、表格和工具结果使用一致的过渡方式,正文、思考过程与工具输出衔接自然。
  • 自适应节奏。 渲染速度会根据输出速度和待显示内容调整,让慢速输出从容呈现,快速输出及时跟上。

安装

在 DeepSeek Harness 源码仓库里:

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

如果 PATH 上已经有 dsh

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

npm 包带预构建的 lib/,无需 pnpm ≥10 的构建脚本授权,直接可装。

启动界面:

pnpm dsh web

Host 日志里应出现 [dsh-smooth-stream] plugin loaded!

卸载:pnpm dsh plugin --profile web remove dsh-smooth-stream(或 dsh plugin --profile web remove dsh-smooth-stream)。

配置

组合包默认 preset: balanced。要换节拍,在 profile 的 cordis.patch.yml 里改:

| preset | 手感 | | --- | --- | | realtime | 更贴模型到达 | | balanced | 默认 | | silky | 缓冲更大,追上更慢 |

旧版的 moderevealCharsPerSecscrollSpeedPxPerSecmaxScrollSpeedPxPerSec 字段仍可被加载,以兼容已有 profile;当前自适应引擎仅使用 preset 调整节拍。

用户设置

在 Web 界面打开 设置 → 插件 → 插件配置,会看到一张 丝滑流式(Smooth stream) 卡片,可切换**「自动展开思考」**:

  • (默认):思考块在流式时自动展开,思考结束收起——与插件默认行为一致。
  • :思考块保持折叠;仍可手动点开,且不会被流式状态抢回控制。

该设置是用户级的持久化偏好,改完即生效,无需重启;会写进 DeepSeek Harness 的用户设置文档,而不是插件的组合配置。

关于与更新

  • 版本 / 主页 / 许可证:见本页顶部与 package.jsonversionhomepagerepositorylicense 字段;安装的插件列表可在 设置 → 插件 → 全部 里查看。
  • 更新:卡片会显示 Host 当前加载的版本。只有当前 profile 明确把 dsh-smooth-stream 声明为 npm 依赖时,更新按钮才会对该 profile 执行固定的包更新,并提示重启 Harness。link:file: 本地开发安装会显示为开发版本,更新按钮会保持禁用,避免覆盖你的源码目录。

也可以通过命令行更新 npm 安装的 profile:

dsh plugin --profile web update dsh-smooth-stream

(也可用 dsh plugin --profile web outdated 查看是否有新版本。)

常见问题

这是 DeepSeek 官方插件吗? 不是。它是面向 DeepSeek Harness(dsh)Web UI 的独立维护项目,采用 MIT 许可证,和 DeepSeek 没有从属关系。

dsh 插件怎么安装? 用内置插件命令:在 dsh 源码目录运行 dsh plugin --profile web add dsh-smooth-stream(见安装)。

能用 npm 安装吗? 能。dsh-smooth-stream 已发布到 npmdsh plugin --profile web add dsh-smooth-stream 安装的就是预构建的 npm 包。

支持 prefers-reduced-motion 吗? 支持。系统开启减少动态效果时直接显示完整文本、不接管跟随;帧率低于 30 fps 且回复在屏外时,揭示自动暂停、恢复后再补上。

featured on dsh-suite

许可证

MIT