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

@shion-lab/dsh-plugin-multimodal-bridge

v0.1.2

Published

Dynamic multimodal-to-text projection and cross-model vision bridge for DeepSeek Harness (dsh), allowing seamless hot-switching between vision models (Gemini/Claude) and text-only models (DeepSeek).

Downloads

477

Readme

@shion-lab/dsh-plugin-multimodal-bridge

1:1 CodeShion (紫苑) 动态多模态降级与跨模型自由热切换引擎
专为 DeepSeek Harness (dsh) 打造的无死锁跨模型视觉桥接插件。


解决的核心痛点

在 DSH 原生环境下:

  • 当你在会话中发送了一张图片(例如借助 Gemini / Claude 进行视觉分析);
  • 之后如果想切换回纯文本模型(例如 DeepSeek-V4 / DeepSeek-V3 / DeepSeek-Coder);
  • DSH 官方服务会直接抛出死锁错误并拒绝切模型:

    Model "deepseek-v4" does not accept image input, but this session already contains images; select an image-capable model.

dsh-plugin-multimodal-bridge 完美复刻了 CodeShion(紫苑) 的底层动态视口投影设计:

  1. 多模态模型(Gemini / Claude / GPT-4o):透传真实二进制与多模态块,享受完整视觉能力;
  2. 纯文本模型(DeepSeek / Llama 等):在调用模型前的一瞬间,自动将历史多模态图片块平滑降级为 [图片内容:历史多模态图像...] 或 OCR 描述文本;
  3. 解除死锁:完全放行模型切换,历史上下文永不丢失,自由在视觉模型与 DeepSeek 之间热切换!

安装

npm install -g @shion-lab/dsh-plugin-multimodal-bridge

配置项 (Cordis Schema)

| 配置项 | 类型 | 默认值 | 描述 | |---|---|---|---| | placeholderTemplate | string | [图片内容:历史多模态图像...] | 降级为纯文本时的占位说明文本 | | preserveCaptions | boolean | true | 若图片带有已提取的 Caption/OCR 描述,优先保留真实文字内容 | | bypassAdmissionLock | boolean | true | 自动解除 DSH 官方对于纯文本模型选取的死锁报错 | | customVisionModels | string[] | [] | 自定义额外的 Vision 模型关键字匹配列表 |


开源协议

MIT License (c) 2026 Shion Lab