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

@lynn123411/dsh-model-submenu

v0.2.0

Published

给输入框的模型选择器加上供应商层级:先选供应商,再选它下面的模型。

Downloads

640

Readme

@lynn123411/dsh-model-submenu

给输入框里的模型选择器加上供应商层级:先在供应商里挑,再挑该供应商的模型。

特性

  • 一级仍是原生两行:根面板保持内置弹层的两行结构,「供应商」取代原来的「模型」,右侧显示当前供应商名;「推理等级」行原样保留。
  • 第二级按供应商:点「供应商」进入供应商列表;当前供应商那行显示它正在使用的模型名并带勾选,其余行显示该供应商的模型数量,顺序沿用 Host 给出的顺序。
  • 第三级按模型:点某个供应商,同一面板内换成它的模型列表,面板顶部是返回行;点模型立即提交并关闭。
  • 推理等级照原生:根面板的「推理等级」行进入当前模型的等级列表,选中即提交,「Default」行表示跟随供应商默认;当前模型没有推理等级时不显示该行。
  • 失败与加载态照旧:目录加载中显示刷新提示,加载失败与供应商加载失败都在供应商列表顶部给出提示与「重新加载」;提交被拒时弹出与内置同款的提示气泡。
  • 键鼠行为照旧:方向键在行间移动、Tab 等同回车、Escape 与 Shift+Tab 先退回上一层、在根层才关闭;输入框过窄时触发器只显示图标。
  • 接管内置座位:以 priority: -100 占据 conversation.input.model,外观沿用内置弹层与 --dsw-* 主题变量;/model 命令面板与设置页不受影响。

安装

dsh plugin --profile web add @lynn123411/dsh-model-submenu