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

@bacootang/dsh-provider-options

v0.1.1

Published

DSH web plugin: per-model thinking effort (reasoningEfforts) and image support (input modalities) for llm-pi-ai custom providers, plus a plus-version custom provider creator.

Readme

@bacootang/dsh-provider-options

DSH 浏览器端增强插件:给 llm-pi-ai(pi-ai / 自定义 OpenAI-compatible 提供方)加一个 **「模型精调」**设置选项卡。

功能

  • 进 Tab 只显示已添加的提供方列表,每行有「编辑 / 删除」按钮,带 ≡ 拖动手柄可拖动排序(改动即时保存):
    • 提供方信息:显示名称 / Base URL / API 协议 / 更新 API Key(可选;引用名自动用 <ROUTE>_API_KEY)
    • 模型:ID / 名称 / contextWindow / maxTokens / 图片支持 / 思考档位(wire 值可改)
    • 模型可添加 / 删除 / 拖动排序(拖动排序随「保存修改」一起写入),每个模型可折叠 / 展开(点标题行切换)
    • 路由级默认思考档位(写入 provider reasoning)
  • 列表页也可以直接添加自定义提供方(Plus 版):
    • Provider ID / 显示名称 / Base URL / API 协议 / API Key(可选,走 <ROUTE>_API_KEY 引用)
    • 逐模型配置 ID / 名称 / contextWindow / maxTokens / 图片支持 / 思考档位
  • 写入规则:按 path 定向写入 llm-pi-ai.providers.<id>,未编辑字段原样保留。

安装

# 从 npm 安装(推荐)
dsh plugin --profile web add @bacootang/dsh-provider-options
# 或直接走 GitHub 仓库
# dsh plugin --profile web add https://github.com/BacooTang/dsh-provider-options.git

dsh plugin --profile web add 会自动:

  • 用 pnpm add 安装依赖;
  • 把包追加到 dsh.profile.bundles;
  • 应用它携带的 cordis.patch.yml 挂载行。

重启 dsh web 后,打开 设置 → 模型精调。

说明 / 限制

  • 只作用于 llm-pi-ai 命名空间下的自定义提供方;llm-deepseek 路由不在本插件范围。
  • 修改直接写入 ~/.dsh/settings.yaml 的 llm-pi-ai.providers.<id>.models 与 reasoning。
  • 模型/路由已有、本插件未编辑的字段会原样保留(按 path 定向写入,不重建整段)。
  • 思考档位 wire 值默认取档位名;如果网关需要不同 wire,可以在档位勾选后的小输入框里修改。
  • 修改自定义提供方时仍建议先在官方「模型」页确认基础字段,本插件专注模型高级选项。
  • 不要重复挂载:如果你之前用本地路径或手工 symlink + cordis.patch.yml 装过本插件,请先移除手工 - insert: 块(并删除手动 symlink),再用上面的 GitHub 命令安装,否则会出现两条同名 entry 导致启动报重复。