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

@eric.wen/dsh-sight

v0.1.11

Published

DeepSeek Harness plugin: direct multimodal image transfer declarations + per-session image clearing (surface replace), with a settings page and composer controls.

Readme

@eric.wen/dsh-sight

DeepSeek Harness(DSH)插件:多模态图片直传 + 会话图片清除

功能

🖼 多模态图片直传

在输入框直接粘贴/拖入图片,以原生图片内容块发送给多模态模型——不做「图片转文本」的降级流程。

插件内置主流多模态模型字典(Qwen-VL/Omni、GPT-4o/4.1/5、Gemini、Claude 3/3.5/4、Kimi/Moonshot、GLM、Doubao、DeepSeek-VL、LLaVA 等),也可以逐模型手动声明。声明后,qwen3.7-plus / kimi-k3 / glm-5.2 / gpt-5.6-* 等模型即可直接接收输入框粘贴的图片。

🗑 清除会话图片

会话里发过图片后,DSH 会阻止切换到纯文本模型(报 session already contains images)。点一下「清除图片」,把图片从模型可见历史移除,就能正常切回 deepseek-v4-flash 等纯文本模型继续对话。

  • 界面转录保留原图,历史可回看,非破坏性;
  • 结果持久化,重启后依然有效。

🧠 自动补推理等级

新增第三方渠道后,模型默认没有任何推理档位(模型选择器里看不到 Low/High/Max 等选项)。设置页点一下「自动补推理等级」,插件会按内置的模型家族字典,给未声明推理档位的模型写入其官方支持的档位:

| 模型家族 | 写入档位(reasoningEfforts) | | --- | --- | | GPT-5.x | off / high / xhigh / max | | o3 / o4 | off / low / medium / high | | Grok 4.x | off / low / medium / high / xhigh | | DeepSeek V4 | off / high / max | | GLM-5.x | off / high / xhigh / max | | Kimi K3 | off / low / high / max | | Qwen 3 | off / low / medium / high | | MiniMax | off / high |

  • 只补未声明的模型,已有档位或目录自带推理能力的模型一律不动;
  • 档位值跟随各家族官方 API 文档(DeepSeek off/high/max、Grok 4.x low/medium/high/xhigh、GLM-5.2 high/xhigh/max、Kimi K3 low/high/max);
  • 写入 llm-pi-ai 配置的 reasoningEfforts,下次请求即生效。

安装

方式一:npm(推荐)

dsh plugin --profile desktop add @eric.wen/dsh-sight

桌面版 DSH Desktop 用 desktop profile;本地 CLI 用 web(按你的实际 profile 替换)。

npm 分发预构建产物,无需任何授权。

方式二:GitHub

dsh plugin --profile desktop add github:ericfetch/dsh-sight#<commit-sha>

一条命令即可:仓库已提交预构建 lib/ 且无 prepare 构建脚本,安装时无需任何构建授权。

验证

dsh --profile desktop --dump-config   # 应出现 "# == @eric.wen/dsh-sight" 补丁层

然后重启 DSH Desktop,插件自动加载。

升级

发布新版本后,不需要卸载重装——pnpm 按已声明的版本范围自动拉取最新:

dsh plugin --profile desktop update @eric.wen/dsh-sight
  • 安装时声明的是 ^0.1.x(允许小版本升级),update 会拉到范围内最新版;
  • 想锁死大版本范围或装指定版本:dsh plugin --profile desktop add @eric.wen/[email protected]
  • 更新后重启 DSH Desktop 生效。

卸载:dsh plugin --profile desktop remove @eric.wen/dsh-sight

使用

  1. 声明模型:打开 设置 → 多模态图片直传,逐模型开启「图片直传」,或点「一键应用字典匹配」批量声明;
  2. 补推理等级(可选):新增第三方渠道后,点「自动补推理等级」为未声明档位的模型写入其支持的推理档位;
  3. 粘贴发送:输入框粘贴/拖入图片 → 缩略图草稿 → 发送 → 图片以原生内容直传模型;
  4. 徽标提示:当前模型支持图片时,输入框左侧显示「🖼 图片直传」;
  5. 切回文本模型:会话有历史图片时,输入框出现「🗑 清除图片 (n)」→ 点两次确认 → 切换到纯文本模型不再被拦截。

说明

  • 「支持图片」是用户对端点的声明,插件不做端点探测;端点实际不支持图片时由 provider 侧拒绝。
  • 清除图片只影响模型可见历史(surface),原始消息仍保留在会话日志与界面转录中。
  • 依赖的 @deepseek-ai/* 运行时由 DSH 模块表提供(peer 声明)。

开发

pnpm install
pnpm build        # tsdown:lib/index.js + lib/client.js
pnpm typecheck    # tsc --noEmit

发布:npm version <新版本>npm publish --access publicgit push origin main --tags

License

MIT