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

@weibaohui/dsh-settings-ui

v0.2.10

Published

dsh 插件 · 设置界面自定义:调整原生设置窗口大小(全屏 / 预置大尺寸 / 自定义宽高)、背景透明度与背景(主题 / 自定义颜色),悬浮球即开即调,随 dsh profile 持久化

Readme

@weibaohui/dsh-settings-ui

DSH plugin npm version

dsh 设置界面自定义:调整 dsh 原生设置窗口的大小、透明度与背景。设置项就在设置窗口里(左侧导航「设置界面」),改动即时生效。

dsh-settings-ui:设置窗口尺寸 / 不透明度 / 纯色背景,亮暗主题实时跟随

界面预览

亮色主题(大尺寸,主题默认背景):

亮色主题

暗色主题——同一设置不刷新页面,切换主题实时跟随:

暗色主题

暗色 + 不透明度 70%(半透明毛玻璃):

暗色半透明

暗色 + 全屏:

暗色全屏

核心功能

  • 窗口大小:默认(800×800)/ 大(1080×780)/ 特大(1280×960)/ 全屏 / 自定义宽高(≥480×360,小屏自动收缩)
  • 背景不透明度:30%–100%,半透明毛玻璃效果(跟随明暗主题)
  • 背景:主题默认 / 纯色(亮、暗主题各存一色,切换主题实时跟随)
  • 改动即时生效,随 dsh profile 保存(换浏览器不丢);「恢复默认」一键还原

安装

dsh plugin --profile web add @weibaohui/dsh-settings-ui -w

装完重启 dsh web 即生效。

使用

打开 Web UI → 设置 → 左侧导航「设置界面」→ 选尺寸、拖不透明度、选背景。关掉重开设置窗口即可看到效果;全屏模式适合小屏或需要同时看对话的场景。

说明

  • 尺寸/透明度/背景只作用于原生设置窗口本身,不影响其他界面
  • 选择器改用设置面板的稳定属性 [data-shortcut-modal="settings"][role="dialog"](dsh-client-ui-settings-general),不再依赖 CSS-module 易变 hash 类名(0.2.0 desktop 构建把 VOzbGW_panel 重生成为 Dws9Sa_panel,旧选择器命中 0 元素致静默失效);属性 hash 无关,dsh 0.2.0+ 实测一致
  • 设置随 dsh profile 持久化(0.1.7 起经 settings 文档写入 profile patch)。从 dsh ≤0.1.6 升级后首次运行会自动把 settings.yaml.imported 里残留的 settings-ui 节迁移回来(仅当本 profile 从未手动设置过时执行一次)

联系我 :飞书群

link

版本兼容性

本插件与 DeepSeek Harness(@deepseek-ai/dsh)的版本对应关系:

| 插件版本 | 适配 dsh 版本 | 备注 | |---------|--------------|------| | 0.2.10 | 0.2.0-rc.2 | 选择器改用稳定属性 [data-shortcut-modal="settings"](hash 无关),修复 0.2.0 desktop app 面板 hash 由 VOzbGW 变 Dws9Sa 致 CSS 命中 0 元素、尺寸/透明度/背景全失效;engines.dsh 提升到 >=0.2.0-rc.2 | | 0.2.9 | 0.1.7-rc.2 | 当前版本;修复降级路径 Config 导出 null——宿主 settings schema() 不排除 null,会炸 settings.describe() 拖垮整份设置文档(同 dsh-continue#4) | | 0.2.6 | 0.1.7-rc.2 | 修复宿主将 volatile 字段物化为 {} 导致的设置毒化(saneConfigValues 清洗 + 移除 Config 兼容字符串字段) | | 0.2.5 | 0.1.7-rc.2 | 适配 0.1.7 settings 模型(导出 volatile Config,ctx.settings.update 持久化),自动迁移 settings.yaml.imported 残留设置 | | 0.2.3 / 0.2.4 | 0.1.7-rc.2 | settings 改动只在本次运行内生效(0.1.7 移除了 ctx.settings.register),重启还原 |

发版约定:每次发布新版本时,请在上表追加一行,记录该插件版本实际验证所用的 @deepseek-ai/dsh 版本。package.json 的 engines.dsh 声明最低支持版本;本表记录实际验证版本,二者配合使用。