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

@qzsy/dsh-mobile-ui

v0.1.15

Published

DSH 手机注入层:≤767px 的整屏左右翻页、抽屉、项目栏/分支、输入条三键、设置弹窗与右栏的手机版布局与交互;桌面端不变。

Downloads

1,390

Readme

@qzsy/dsh-mobile-ui

DSH 手机注入层:把 Web GUI 在 ≤767px 上换成手机版界面,桌面端(>767px)完全不受影响。

  • 整屏左右翻页:左页 | 会话屏 | 右页 是同一条三屏轨道,一起跟手平移——从一栏滑到另一栏必经会话屏,不会「右栏直接滑成左栏」;避开系统手势区,只写 transform。
  • 手机抽屉、项目栏(项目名 / 会话名 / 分支芯片)、输入条三键、设置弹窗、右栏的移动端表现。
  • 插件页 / 自动化任务在手机上收成弹窗:侧栏「插件」「自动化任务」打开的全局面板变成贴底抽屉(只圆上面两角、左右贴边),插件页表头直接当标题栏、右侧 40px 圆钮 ✕,点 ✕ 或按 Esc 回会话(桌面仍是整屏页面)。
  • 首屏会话兜底:dsh.sessions.current 失效时补一刀,避免落到空对话。
  • 移动端视口 / 软键盘 shim:Host 把它内联进 index.html 的 <head>,锁定视口并写 html[data-qzsy-kbd]。

隧道、设备绑定、远程设置面板、浏览器镜像不在本包内,仍由 @qzsy/dsh-bridge-next 提供; 图片查看 / 标注由 @qzsy/dsh-image-viewer 提供。三者可独立安装。

安装

dsh plugin --profile <name> add @qzsy/dsh-mobile-ui

安装后重启 DSH(Host 半需要重新加载)。手机打开同一 DSH 地址,≤767px 自动进入手机布局。

边界

  • 只改 ≤767px:断点固定 767px,桌面与平板保持 DSH 原生布局。
  • CSS 只认宿主稳定锚点(data-composer-dock、data-slot="conversation.composer.dock"、 data-composer-stat、data-composer-input、data-trigger-menu、侧栏 data-sidebar-*、 全局面板 data-global-panel / 插件页 data-plugin-panel / 自动化任务页 data-testid="task-manager-page"), 不依赖宿主哈希类名。
  • Host 半只提供两件事:gitState 只读 RPC(项目栏 / 分支面板)与移动端视口 shim。

开发

cd packages/dsh-mobile-ui
node client/build.mjs   # client/*.js → client/client.js(DSH ModuleLoader 约定)

改 client/*.js 后必须重建 client/client.js 并入库。