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-mobile-ui-fix

v0.2.0

Published

Mobile viewport improvement for DSH Web GUI: hide sidebar on narrow screens, toggle via hamburger menu button.

Readme

dsh-mobile-ui-fix

一个轻量级的 DSH 插件,用于改善 DeepSeek Harness Web GUI 的移动端渲染效果。

问题

在窄视口(≤1024px)下,DSH 的默认布局会将侧边栏折叠为 56px 的窄条。这个窄条仍然占用屏幕空间,导致对话区域——主要的内容区域——变得更小。而且没有汉堡菜单可以完全隐藏/显示侧边栏。

解决方案

本插件实现以下功能:

  1. 在窄视口下完全隐藏侧边栏 — 不再有浪费的 56px 窄条
  2. 在左上角添加汉堡菜单按钮(三横线图标 → X 形)
  3. 以覆盖层形式滑入侧边栏,点击背景遮罩即可关闭
  4. 保留桌面端布局 — 在大屏上一切如常

安装

dsh plugin --profile web add dsh-mobile-ui-fix

安装后重启 DSH Web GUI 即可生效。

工作原理

  • 使用 CSS @media (max-width: 1023px) 针对窄视口
  • 将侧边栏列为固定定位的覆盖层(默认在屏幕外)
  • 点击汉堡菜单按钮时滑入屏幕
  • 半透明背景遮罩层,点击即可关闭侧边栏
  • 按 Escape 键也可关闭侧边栏
  • 视口变化监听器在窗口重新变宽时重置侧边栏状态

兼容性

适用于 DSH 0.1.x 版本。无需服务器端代码——纯客户端 CSS/JS 插件。

许可证

MIT