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-worktree-panel

v0.1.6

Published

Worktree + git branch management panel for the DSH Web GUI: orca-style project -> worktree -> sessions tree in the sidebar, with branch/worktree create, open and cleanup backed by real git worktrees and the DSH workspace registry.

Readme

dsh-worktree-panel

为 DeepSeek Harness Web 界面增加 Git worktree 维度的分支管理面板:在官方工作区/会话侧边栏上展示 项目 → 主工作树 / 分支 worktree → 会话,同时保留官方列表的原有交互。


使用

安装

dsh plugin --profile web add dsh-worktree-panel

安装完成后重启 dsh web,工作区侧边栏中将出现 worktree 层级。

安装指定版本:

dsh plugin --profile web add [email protected]

升级

dsh plugin --profile web add dsh-worktree-panel@<版本>
# 然后重启 dsh web。

本地开发

dsh plugin --profile web add link:/到/dsh-worktree-panel/的绝对路径

功能

  • 主工作树 + 分支 worktree — 在项目组中展示主工作树、当前分支、干净/有改动状态和各分支 worktree。
  • 会话管理 — 在 worktree 中开启会话、删除 worktree,以及切换主工作树分支。
  • 一键创建 — 为已有分支创建 worktree,或新建分支并同时创建 worktree。
  • 非 Git 目录会话优先 — 项目行「+」默认直接开启对话;「初始化 Git 并启用 Worktree」位于项目的更多操作菜单中。
  • 落盘位置可配置 — 默认存放在 <项目>/.dsh/workspaces/,也可以改为自定义全局目录。
  • 安全迁移 — 更改存放位置时检测并迁移已有 worktree,自动跳过存在未提交改动或活跃会话的目录。
  • 渐进增强 — 非 Git 工作区保留默认会话流程,只额外提供可选的 Git/worktree 初始化入口。

兼容性

  • 已适配并测试 DSH Desktop 2.0.3 / DeepSeek Harness 0.1.1-rc.2。
  • DSH peerDependencies 范围:>=0.1.1-rc.2 <0.2.0。
  • 通过 settings.section 注册独立的 Worktree 设置页。
  • 兼容当前 Host 描述数据源和用户主目录路径缩写。

生成客户端 bundle

lib/client.js 由 lib/build.mjs 从官方 @deepseek-ai/dsh-client-ui-workspace 浏览器 bundle 生成。构建过程会验证官方包版本,并在生成文件头部记录来源版本。

构建还会根据客户端实际引用的模块,同步 package.json 中的 dsh.client.external,确保 DSH 在启动插件前加载依赖代码。inject 是服务注入声明,不能替代这份模块加载声明。

需要时可以显式指定官方 bundle:

DSH_WORKSPACE_BUNDLE=/到/client.js/的绝对路径 npm run build

许可证

MIT。lib/client.js 衍生自 @deepseek-ai/dsh-client-ui-workspace,详见 NOTICE 和 LICENSE。