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-provider-icons

v0.2.2

Published

Shows each provider's brand mark beside the model name in the DeepSeek Harness composer model selector.

Readme

dsh-provider-icons

给 DeepSeek Harness 的模型选择器加上供应商标识:模型名左边显示该供应商的品牌 logo。

模型菜单、输入框里的当前模型、每一项可选模型都会显示,不改动任何原生交互——点击、下拉、推理等级全按官方行为走。

效果

newapi
  🎨 glm-5.3
  🎨 deepseek-v4.1-flash
newapi (responses)
  🎨 gpt-6-luna
zai-coding-cn
  Z  GLM-5.3
google-vertex
  G  Gemini 3.8 Flash
opencode-go
  ▪  DeepSeek V4.1 Flash      ← 单色品牌保持单色

安装

dsh plugin install dsh-provider-icons

或在 Plugins 页安装后刷新页面。

纯客户端插件,无需重启 Host。

覆盖的供应商

24 个品牌标全部内联为 data URI,装完即可用,不请求任何外部资源:

deepseek openai anthropic google azure zai moonshot xai groq mistral qwen minimax together openrouter cerebras nvidia github-copilot huggingface fireworks baseten cloudflare vercel opencode ant-ling,外加 new-api(取自其开源仓库的 logo)。

图标来源:lobehub/lobe-icons(MIT)。优先使用各品牌的彩色版本以保留品牌色;只有单色版本品牌(如 OpenAI、Anthropic、xAI、Moonshot、Z.ai)保持单色。

匹配顺序

① 精确匹配 provider id   → newapi / deepseek-account / zai-coding-cn …
② 别名表                → newapi-responses → newapi
③ 前缀匹配              → newapi-*、deepseek-*、zai-* …(拆协议或分环境时不用改表)
④ 都没命中              → 灰色圆点

所以你把同一个网关按协议拆成 newapi 和 newapi-responses 时,两边都会自动带上 new-api 的标。

实现方式

模型名是一个由原生插件自己声明的内联槽位(conversation.input.model.label),外部插件注入不进去。但包裹它的 <span> 上带着 data-provider-id,所以本插件改走 CSS:

[data-provider-id="newapi"]::before {
  background-image: url("data:image/png;base64,…");
  width: 13px; height: 13px;
}

不替换任何组件、不碰 React 树,因此不会和 Harness 后续版本的选择器改动冲突。

已知限制

  • 只能加"装饰",改不了标签文字;
  • 单色品牌的 logo 用中性灰(#6b7280),深色模式下同样可见;
  • 自定义网关如果不在表里,显示灰色圆点——可以在 client.js 的 LOGOS 里加一条。

相关插件

| 插件 | 说明 | | --- | --- | | dsh-predict | 预测下一条指令并显示为占位文字,Tab 采纳 | | dsh-input-history | 输入框中按 ↑ / ↓ 回填历史消息 | | dsh-subagent-bridge | 让 Codex 通过本机 MCP 把 DSH 当 subagent 用(spawn / wait / followup),反向也能把任务派给 Codex | | dsh-quota-meter | 在模型选择器旁显示供应商套餐额度余量(目前 GLM Coding Plan),点开是明细浮层 | | dsh-provider-icons(本仓库) | 在模型名旁显示供应商品牌 logo(24 个厂商,支持前缀匹配) |