LingyeSoul/dsh-rider0

dsh-rider

DSH plugin: free web search tool (DuckDuckGo via ddg-kit with system-proxy support, automatic Bing fallback) + front-loaded vision understanding tool (vision_understand: understand images via a vision-capable model configured in DSH when the conversation model has no image modality) + composer-level paste-image capture (paste/drop an image in the conversation input → vision model → description, bypassing DSH's image gate on text-only models) + drag-drop file stash (drag/paste/attach any file → stashed into the session workspace, attachment list injected into the next message via agent/pre-step — clean draft, replayable history). Official bundle plugin, install: dsh plugin --profile web add github:LingyeSoul/dsh-rider#main。DSH 插件:免费网络搜索(duckduckgo_search 工具)+ 前置视觉理解(vision_understand 工具)+ 对话输入框粘贴图片捕获(粘贴/拖入图片 → 视觉模型 → 描述,绕开 DSH 对纯文本模型的图片拦截)+ 对话窗口拖拽上传任意文件(拖入/粘贴/选择文件 → 暂存进会话工作区,附件清单随下一条消息经 agent/pre-step 自动注入,草稿零污染)。

AI Analysis

为 DSH 提供免费的网页搜索与图片视觉理解能力。适合需要联网搜索、处理图片输入但模型本身不支持多模态的任务。可在独立设置页中配置视觉模型。

Package
dsh-rider
Version
0.5.0
License
GPL-3.0
Last updated
Aug 16, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LingyeSoul/dsh-rider

设置界面配置(推荐)

装包后,dsh 设置导航会出现 dsh-rider 独立设置页:四个字段(视觉提供商 / 视觉模型 / 默认指令 / 单文件暂存上限(MB),保存即写入 dsh-rider settings 命名空间,live 生效无需重启) + 四张卡片(「为视觉模型补图片模态声明」 「对话粘贴捕获开关」「对话文件暂存开关」「图片理解」)。等效于 手改 settings.yaml

dsh-rider:
  visionProvider: siliconflow
  visionModel: zai-org/GLM-5.2
  visionPrompt: 请详细描述这张图片的内容
  uploadMaxBytes: 32                # 单文件暂存上限(MB,0 = 默认 32)

为什么是独立设置页而非「设置→插件→插件配置」卡片:dsh rc.6 的「插件 配置」tab 只为 settings namespace 被 apiproxy 显式暴露给 Web client 的 插件渲染卡片(WEB_SETTINGS_NAMESPACES 硬编码 allowlist,仅含官方宿主插件 如 agent-loop/bash/web-search-deepseek)。第三方插件 namespace 不在 allowlist,卡片必然不显示(框架 deferred work,尚未把 expose 决策下放到 settings.register())。本插件改走 settings.section 独立设置页 + Node half 自建 HTTP 路由(对齐 plugin-registry 的薄控制台模式),绕开暴露限制。详见 决策记录 decisions/implemented/2026-08-15-vision-settings-section-page.md

使用

安装后对话中直接让 agent「搜索一下 XXX」,agent 会优先调用 duckduckgo_search

工具:duckduckgo_search
参数:
  query      (必填) 搜索词,最长 400 字符
  count      (可选) 结果条数 1-20,默认 10
  safeSearch (可选) strict / moderate / off,默认 moderate

返回结构:{ engine: duckduckgo | bing, noResults, results: [{title, url, description, hostname}] }engine 标明实际使用哪个引擎,便于判断 DDG 是否可用)。

示例输出:

引擎:duckduckgo,共 10 条结果
1. 张雪峰(教育博主、学业职业规划讲师)— 百度百科
   https://baike.baidu.com/item/...
   1984 年 5 月 18 日出生,2007 年从郑州大学毕业后开始北漂生涯……
2. ...

启停与配置覆盖

在 profile 层(不是本包内)覆盖,例如禁用整个插件:

- disabled: true
  id: dsh-rider