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-chat-toc

v0.1.5

Published

DSH web GUI chat table-of-contents: a hoverable outline on the right edge of the conversation that jumps to any message.

Readme

dsh-chat-toc

English · Español

DSH Web GUI 的对话目录插件:聊天区右缘的书本目录窄条,悬停展开目录列表,点击任意条目跳转到对应消息。

功能

  • 目录窄条:贴合聊天区右缘(Git 面板折叠箭头的左侧),每条消息一个横线标记——线长 ≈ 消息内容量,用户消息蓝色、助手消息绿色
  • 当前阅读位置高亮:滚动对话时,当前消息的标记自动高亮(窄条与弹出列表同步)
  • 悬停展开目录:鼠标移到窄条即弹出完整目录(角色色条 + 序号 + 消息摘要),离开自动收起
  • 目录搜索:展开的目录顶部有搜索框,按消息摘要/标识实时过滤(大小写不敏感),快速定位历史消息并点击跳转
  • 消息收藏:悬停任意目录项点亮星标(⭐)收藏关键消息(如方案结论、接口契约),目录头部可一键切换「仅看收藏」;收藏存在浏览器本地,刷新不丢失
  • 点击跳转:点击任意条目平滑滚动到对应消息
  • 多语言:自动跟随 DSH Web 界面语言(中文 / 英文),西班牙语浏览器自动切换西班牙语,默认简体中文
  • 明暗主题跟随 DSH Web GUI;与 dsh-git-panel 共存,位置自动联动

界面预览

目录窄条(多轮对话后聊天区右缘的横线标记,当前阅读位置高亮):

目录窄条

悬停展开的目录列表(角色色条 + 序号 + 摘要,点击跳转):

目录列表

安装

dsh plugin --profile web add dsh-chat-toc

重启 dsh web,多轮对话后聊天区右缘即出现目录窄条。

本地开发时可用 dsh plugin --profile web add link:/path/to/dsh-chat-toc 以链接方式安装,修改源码后 npm run build 并刷新页面即可生效。

反馈

使用中遇到问题或有功能建议?欢迎到 GitHub Issues 反馈,帮助我们把插件做得更好。

License

MIT