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

@xiaotuchu/dsh-file-tree

v0.1.1

Published

Workspace file tree beside the native DeepSeek Harness preview, with filtering, refresh and persistent selection.

Readme

文件树 File Tree

为 DeepSeek Harness(DSH) 的原生预览面板添加工作区文件树,在右侧浏览目录,点击文件即可打开预览。

File Tree 文件树预览

安装

桌面版应用:打开 「添加插件」,安装源选择 npm 官方源,填写下面的包名并安装:

@xiaotuchu/dsh-file-tree

Web 版:在运行 DSH 的机器上,通过命令行从 npm 安装:

dsh plugin --profile web add "@xiaotuchu/dsh-file-tree"

安装或更新后,桌面版完全退出并重新打开 DSH;Web 版重启 DSH 服务并刷新页面。进入会话,打开右侧预览面板,即可使用文件树。标题栏的文件夹按钮可显示或隐藏文件树。

卸载

桌面版应用:在插件管理中找到 File Tree,选择卸载。

Web 版:在运行 DSH 的机器上执行:

dsh plugin --profile web remove "@xiaotuchu/dsh-file-tree"

卸载后重启 DSH;Web 版同时刷新页面。

功能

  • 浏览目录:展示当前会话的工作区,点击文件夹展开或折叠子目录。
  • 打开文件:点击文件,在旁边的原生预览面板中打开,文件树保持可见。
  • 保留浏览位置:同一会话切换预览标签时,保留目录展开状态和选中文件;切换会话时更新工作区。
  • 筛选文件:输入关键词筛选已加载的文件,不递归搜索尚未展开的目录。
  • 刷新列表:新增或删除文件后,点击刷新按钮更新目录内容。
  • 调整宽度:拖动文件树左侧分隔线,自由调整面板宽度。
  • 键盘操作:支持上下方向键移动、左右方向键展开与折叠,以及 Home / End 跳转。
  • 跟随主题:字体、配色和工具提示与 DSH 界面保持一致。

许可

MIT © 2026 dsh-file-tree contributors — 见 LICENSE。