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

@kingsunb/dsh-model-plus

v0.1.38

Published

DSH Web 插件:本地按供应商编辑模型思考强度/视觉/上下文;一键同步默认从 models.dev 补全。

Readme

@kingsunb/dsh-model-plus

English

DSH Web 插件:在设置页「模型 Plus」里按供应商本地编辑每个模型的思考强度档位、视觉能力、上下文窗口与默认输出上限;一键同步默认从 models.dev 按模型 id 补全。

功能

  • 本地按供应商编辑模型配置:针对每个供应商下的每个模型,单独编辑:
    • 思考强度档位(off / minimal / low / medium / high / xhigh / max
    • 视觉能力(input: text / image
    • 上下文窗口 contextWindow(token 数)
    • 默认输出上限 maxTokens
  • 快捷预设:一键套用常见组合(关闭推理 / 通用三档 / 全开 / 视觉+全开)
  • models.dev 同步:按模型 id 补全思考强度、上下文、maxTokens、视觉(默认只补缺,可覆盖)
  • 添加供应商:支持 URL+Key 一键导入、获取模型列表、创建时默认拉取
  • 模型测试:可单测/全测,默认提示词可自定义,支持 SVG 预览
  • 多供应商切换:在同一设置页内切换并管理多个供应商的模型配置

安装

dsh plugin --profile web add @kingsunb/dsh-model-plus

安装完成后重启 dsh web,在「设置 → 模型 Plus」打开。

架构

  • host 半lib/index.js):注册同源 HTTP 端点 /api/plus/*
    • bootstrap / list-models / save-model / apply-preset
    • add-provider / discover-models(获取模型时可 models.dev 补全)
    • enrich-models(一键同步 / 同步设置页:models.dev 预览与写回)
    • test-model(模型可用性与创意输出测试)
  • client 半lib/client.js):settings.section 注册「模型 Plus」UI

许可

MIT