dsh-plugin-verified-search
f0909172434
Verified current-source search workflow for DeepSeek Harness
PROJECT TOPICS
PROJECT README
Local LM Studio vision recognition plugin for DSH (DeepSeek Harness) Web GUI — recognize, describe, and OCR local images or clipboard screenshots with a local vision model. All inference happens on your own machine; images never leave it.
本插件为 DSH(DeepSeek Harness)Web GUI 提供本地 LM Studio 视觉识别能力:连接
LM Studio 的 OpenAI 兼容接口(默认 http://127.0.0.1:1234),
调用其视觉模型对本地图片与 Windows 剪贴板图片做识别、描述与 OCR,图片不出本机。
lmstudio_vision — recognize a local image file by absolute pathlmstudio_clipboard — recognize the current clipboard image (screenshot / copied image), no file path neededlmstudio_models — list loaded models with vision-capability labelsmodel, picks
gemma-3/4 → other vision models → other non-embedding models in that order
(prefers google/gemma-4-31b-qat for accuracy; minicpm-class models are not recommended)~/.dsh/dsh-lmstudio-vision.json (atomic writes), shared by the
panel and the agent toolsGet-Clipboard -Format Image)pnpm install
pnpm build
dsh plugin --profile web add link:<path-to-this-repo>/packages/dsh-lmstudio-vision
Then restart DSH (dsh web) and refresh the page. dsh plugin appends the package
to dsh.profile.bundles automatically (the package declares dsh.bundle).
安装后重启 DSH 并刷新页面:设置页出现「LM Studio 视觉识别」面板,三个 agent 工具随宿主 常驻,任何会话都可用。
Configurable from the settings panel or by editing ~/.dsh/dsh-lmstudio-vision.json:
{
"baseUrl": "http://127.0.0.1:1234",
"model": "",
"prompt": "请详细描述这张图片的内容。",
"temperature": 0.2,
"maxTokens": 1024
}
packages/dsh-lmstudio-vision/src/index.ts — host half: LM Studio engine, API routes,
agent tools, system-prompt announcementpackages/dsh-lmstudio-vision/src/client/ — browser half: the settings panelpackages/dsh-lmstudio-vision/cordis.patch.yml — bundle patch plugin rowshared/tsdown.client.ts — build preset (follows the dsh-web-ui clientBundle convention)CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。