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-desktop-config

v0.1.1

Published

DeepSeek Harness desktop-config host+client plugin: owns the desktop app's configuration (port, auto-open, window) as a settings namespace, so the Electron shell and the web UI share one source of truth. Works with the offline desktop build.

Readme

dsh-desktop-config

管理 DeepSeek Harness 桌面端(Electron 封装版)的启动配置:端口、绑定地址、自动打开浏览器。配置以 settings 命名空间(desktop-launcher)形式保存于 $DSH_HOME/settings.yamlElectron 桌面端启动时直接读取同一文件,与 Web 设置页共享一份配置来源。

Owns the desktop app's launch configuration (port, bind host, auto-open) as a settings namespace saved in $DSH_HOME/settings.yaml. The Electron shell reads the same document at startup, sharing one source of truth with the web settings page.

功能 / Features

  • 注册 desktop-launcher settings 命名空间(live applies:设置页修改即时生效)。

  • 桌面端(Electron)启动时从 settings.yamldesktop-launcher 节读取端口,无需任何额外通信。

  • 桌面端未启动时,本插件依然是无害的配置持有者——不引入服务行为,保持最小维护面。

  • Registers the desktop-launcher settings namespace with live applies.

  • The Electron shell reads the desktop-launcher section from settings.yaml at startup — no extra wiring.

  • When the desktop app is not running, the plugin stays a harmless configuration owner — no server behavior, minimal maintenance surface.

安装 / Install

dsh plugin --profile web add dsh-desktop-config
# 重启 dsh 生效 / restart dsh to apply

配置 / Configuration

desktop-launcher:
  host: 127.0.0.1   # 绑定地址(仅回环)
  port: 3080        # 监听端口
  autoOpen: false   # 从命令行启动时是否自动打开浏览器

已知限制 / Known Limitations

  • 桌面端读取的是 settings.yamlYAML 节(正则提取),不是通过本插件运行时查询——因此桌面端可在 dsh 首次启动前工作。

  • 端口冲突时桌面端会回退到默认 3080(或显示错误)。

  • The desktop shell parses the settings.yaml section directly (not a runtime query), so it works even before dsh first boots.

  • On port conflict the shell falls back to the default 3080 or surfaces the error.

License

MIT