D
dsh-plugin-local-vision
v0.1.0 · 2 天前发布
DeepSeek Harness 本地视觉插件:通过 LM Studio 本地视觉模型描述图片/截图,全本地、无云端依赖。提供 vision_describe 工具(Node 原生后端,可选 Python 压缩后端)。
README
dsh-plugin-local-vision
DeepSeek Harness 本地视觉插件:通过 LM Studio 的 OpenAI 兼容端点调用本地视觉模型(默认 qwen3-vl-8b-instruct-abliterated-v2.0)描述图片/截图。
fetch 直连,不需要 Python/Pillow/httpxpythonPath 后自动委托 scripts/vision-describe.py(带缩放/压缩,适合超大截图)前置条件
1. LM Studio 已启动,且本地端口 1234 可访问
2. LM Studio 开发者模式已开启(Settings → Developer),拿到 sk-lm-... 的 API key
3. 已加载一个视觉模型(如 Qwen3-VL 系列),记下精确的模型 ID(API 用 ID,不是显示名)
4. (可选)先跑一次探针验证连通性:
bash
LMSTUDIO_API_KEY=sk-lm-xxxx node scripts/vision-probe.mjs "C:\path\to\image.png"
输出 HTTP 200 即通
安装
bash
npm install dsh-plugin-local-vision
在 agent preset 的 `agen
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ❓ 未知 | metadata 缺失 |
dsh@0.1.0 | ❓ 未知 | — |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-plugin-local-vision
- Repo
- —
- Engines
{"node":">=20"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{}