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-web-auto-open

v0.1.3

Published

dsh plugin: auto-open the default browser as soon as the dsh web GUI server is listening — one-step startup for `dsh web`

Downloads

194

Readme

dsh-web-auto-open

DSH(DeepSeek Harness)Web 一键启动插件:运行 dsh web,浏览器自动打开。

GitHub · npm · dsh-plugin topic

有什么用

DeepSeek Harness 的 Web 界面默认需要两步:先在终端启动服务器,再手动打开浏览器输入 http://127.0.0.1:3080。

装了这个插件后,启动只需一步:

npx @deepseek-ai/dsh web

服务器一监听成功,插件会自动用系统默认浏览器打开 Web 界面——不用复制网址、不用额外脚本、不用记端口。

  • 支持 Windows / macOS / Linux
  • 服务器端口为 0(系统随机分配)时也能拿到真实端口并正确打开

安装(推荐 npm)

dsh plugin add dsh-web-auto-open

如果 dsh 没有全局安装,用 npx 方式执行:

npx --yes @deepseek-ai/dsh plugin --profile web add dsh-web-auto-open

如何启用

插件声明为 profile bundle,安装后下一次启动 dsh web 即自动生效,无需任何额外配置。

验证是否已生效:

dsh --profile web --dump-config
# 输出中应包含以下片段:
# - id: web-open
#   name: dsh-web-auto-open

可选配置

在 ~/.dsh/profiles/web/cordis.patch.yml 里覆盖 web-open 行即可:

- id: web-open
  config:
    autoOpen: false   # 关闭自动打开
    delayMs: 1000     # 服务器就绪后再延时 1 秒打开浏览器

原理

  • 插件声明 inject: ["webServer"],等 Loader 全部启动完成后读取 webServer.port(监听成功后才赋值)
  • 通过官方 @deepseek-ai/dsh-native-command 调用系统命令打开浏览器: Windows cmd /c start / macOS open / Linux xdg-open
  • 与官方 dsh-web-app 打印 URL 用的是同一套就绪判定习惯,安全可靠

开发者

  • 仓库:https://github.com/ChengChe106/dsh-web-auto-open (欢迎 Star / Issue)
  • 发布新版本:npm version patch && npm publish && git push --tags
  • 协议:MIT