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-x-sidebar-browser

v0.1.1

Published

First-party DSH-X agent tools for the official right-Sidebar Browser (native Electron webview): snapshot, click, type, press, scroll, evaluate, screenshot.

Readme

dsh-x-sidebar-browser

DSH-X 的首方 agent 工具:操作官方右侧栏 Browser tab(Electron <webview>,不是截帧、不是另起的浏览器)。

工具

sidebar_browser,一个工具、一组 action:

| action | 作用 | |---|---| | status | 平台、当前 Session、Browser frame、URL/标题 | | open / navigate | 打开/导航(http/https;裸域名补 https) | | back / forward / reload | 历史与刷新 | | snapshot | 页面文本 + 带编号的交互元素 ref | | click / type / press / select / scroll / wait | 用 ref 或 CSS selector 操作 | | eval | 在页面里执行 JS 表达式(带该 tab 的登录态) | | screenshot | 截当前可见页面,作为 PNG 附件返回 | | close | 关闭当前 Browser tab |

会话规则

Browser tab 是按 Session 的。命令只投递给当前屏幕上的那个 Session;agent 在 A 会话、用户切到 B 会话时,命令会超时并给出提示,不会操作 B 的页面。

安装

本地 link 到某个 profile:

"dependencies": {
  "dsh-x-sidebar-browser": "link:C:/Users/18078/Desktop/dsh-x/dsh-dist/plugins/dsh-x-sidebar-browser"
}

并把 dsh-x-sidebar-browser 加进 dsh.profile.bundles。重启 dsh 生效。

安全

eval、click、type 都在侧栏那个 <webview> 里执行,带着该 tab 的 cookie/登录态。把 sidebar_browser 当成「允许对方操作你正在看的这个页面」;不要在已登录敏感站点的工作区里随意让它跑 eval。

来源

Host/Client 的结构参考了 dsh-sidebar-browser(MIT,Copyright (c) 2026 The dsh-sidebar-browser authors)与 dsh-sidebar-browser-control(MIT)。本实现按 Session 隔离命令队列,ref 属性使用 data-dsh-x-sb-ref,与第三方插件互不干扰。