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

@zc277584121/dsh-nav-tree

v0.1.1

Published

Conversation outline navigation tree for DeepSeek Harness — hover a question to expand its reply headings, click to jump

Readme

dsh-nav-tree

DeepSeek Harness (DSH) 的对话大纲导航树插件。它在聊天区左侧添加一条透明侧栏,把你的提问作为顶层节点,并把每次回答的 Markdown 标题(H1–H6)嵌套在对应问题下方。

行为

  • 默认只显示提问。 每个用户提问是一个节点,回答的标题默认收起,需要时再展开。
  • 悬停提问一次性展开整棵子树。 在某个问题块内部移动不会收起,只有完全移出该块才会收起。
  • 即时全文提示。 悬停提问立即显示完整问题文字(超过 1000 字截断),没有原生 title 的延迟和截断问题。
  • 点击跳转。 点击问题滚动到对应轮次;点击标题滚动到对应的 H1–H6。
  • 打开会话时自动加载全部历史。 长对话也能完整生成大纲。
  • 自适应宽度。 左侧留白较窄时侧栏收缩(可缩到零),绝不遮挡聊天内容。

安装

npm install @zc277584121/dsh-nav-tree

然后在 DSH composition 中添加这一行:

plugins:
  dsh-nav-tree:
    $import: '@zc277584121/dsh-nav-tree/cordis.patch.yml'

本地开发时也可以:

npm link
# ...或按绝对路径安装,然后同样 import 上面的 patch。

开发

npm test             # 纯派生逻辑单元测试(node --test)
npm run pack:check   # npm 打包 dry-run

客户端 bundle(client/client.js)是自包含的,因为 DSH 的模块加载器无法 require 相对路径文件。纯大纲派生规则位于 src/outline.mjs,并在客户端内联了等价副本;tests/outline.test.mjs 中的单元测试锁定这些规则。

License

MIT