插件目录 / Knowledge / tokens_DshWebSearch_code
tokens_DshWebSearch_code
已验证 · 实测可装 sobermh
功能简介
Zero-config web search plugin for DeepSeek Harness with automatic provider fallback.
可用 — 实测通过,早期项目
Zero-config web search plugin for DeepSeek Harness with automatic provider fallback. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
tokens_DshWebSearch_code
本项目是本地维护的 DeepSeek Harness 联网搜索插件,npm 包名为 tokens-dsh-web-search。
功能
- 为原生
web_search提供 Bing、DuckDuckGo、AnySearch 和 SearXNG 等搜索来源。 - 支持 Exa、Tavily、Keenable、Perplexity 和 DeepSeek API 搜索。
- 支持时间范围过滤、平台搜索、网页抓取、结果缓存和设置页切换。
- 不包含远程版本检查或一键升级逻辑,代码更新完全由本仓库维护。
本地安装
在项目目录外执行:
dsh plugin --profile desktop add file:C:\path\to\tokens_DshWebSearch_code
插件变更后需要重启 DSH Desktop。默认情况下,补丁会把 web.searchProvider 设置为 ddg,实际搜索引擎可在插件设置中选择。
开发
pnpm install
node --check lib/index.js
node --check lib/client.js
核心文件:
lib/index.js:搜索 provider、搜索工具、设置桥接和引擎实现。lib/client.js:DSH 设置页面。cordis.patch.yml:DSH bundle 注入配置。
许可
本项目沿用 MIT License。依据许可证要求,原始版权声明与许可文本保留在 LICENSE 中。
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 tokens_DshWebSearch_code」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:sobermh/tokens_DshWebSearch_code Headless(CLI)profile:
dsh plugin --profile headless add github:sobermh/tokens_DshWebSearch_code 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。