← 返回列表
D

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

v0.1.1 · 0 天前发布

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).

deepseekdeepseek-harnessdshdsh-plugincordismultimodalvisionmodel-switchgeminiclaude

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 之间热切换!

    ---

    安装

    bash
    npm install -g @shion-lab/dsh-plugin-multimodal-bridge
    查看完整 README →

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    @shion-lab/dsh-plugin-multimodal-bridge
    Repo
    git+https://github.com/avaritiachaos/dsh-plugin-multimodal-bridge.git
    Engines
    {"node":">=18"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"displayName":"Multimodal Bridge & Vision Downgrader","description":"Dynamic multimodal-to-text projection and cross-model vision bridge for DeepSeek Harness","icon":"image","service":"multimodal-bridge","category":"ai"}