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

@waitinraining/dsh-body-fix

v0.1.1

Published

Self-healing patch: render reasoning-only settled assistant messages as body text (DSH web body-drop bug)

Readme

@waitinraining/dsh-body-fix

自愈补丁:修复 DeepSeek Harness Web 偶发的「正文丢失」问题——当一条已结束的助手消息只剩 reasoning 块(没有 text / 工具调用 / 图片)时,把 reasoning 内容当作正文渲染,避免回答空白。

功能

  • 启动时自动检查并修补 DSH 客户端 bundle 中的渲染逻辑
  • 幂等:已打过补丁则跳过,不会重复写入
  • 目标模式不匹配(DSH 升级后 bundle 变更)时安全跳过并打印日志,不破坏文件
  • 每次启动都会自检,dsh 升级或 npm install 后重启即自愈

环境要求

  • DeepSeek Harness 0.1.0-rc.6 兼容版本
  • Node.js >= 22.19.0
  • 对 DSH 安装目录有写权限(默认补丁目标在 /opt/homebrew/lib/node_modules/@deepseek-ai/dsh/...
  • pnpm 已加入 PATH

安装

dsh plugin --profile web add @waitinraining/dsh-body-fix

安装后重启 Harness:

dsh web

使用

安装后无需任何配置。启动时会自动应用补丁并在日志中打印 [dsh-body-fix] 补丁已应用。若目标 bundle 已变更导致模式不匹配,会打印 [dsh-body-fix] 目标模式未匹配…跳过补丁

说明:这是一个针对特定 DSH 客户端 bundle 版本的 in-place 补丁。DSH 升级后若官方已修复该问题,可卸载本插件。

卸载本插件

dsh plugin --profile web remove @waitinraining/dsh-body-fix

License

MIT