安装后自动将 DSH 网页搜索路由到本插件;只需配置服务商、API Key 和模型即可使用。支持 DeepSeek 原生搜索与 OpenAI 兼容自定义后端,已发布为 npm 包 @lp181818/web-search-advanced@0.1.3。
安装
# npm 包(预构建)
dsh plugin --profile web add @lp181818/web-search-advanced
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:bug-huntter/web-search-advanced
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Advanced web search plugin for DeepSeek Harness (DSH), supporting both native DeepSeek search and OpenAI-compatible "Custom" search providers.
Features
- Provider selector:
deepseek(native) orcustom(OpenAI-compatible, e.g. OpenRouter) - Settings section: provider choice, endpoint URL, model, API key, max searches
- Two search backends: native DeepSeek
web_search_20250305or an OpenAI-compatible web plugin - Automatic retry (v0.1.4): transient failures (HTTP 429 / 5xx / network
errors) are retried with exponential backoff, honoring the server
Retry-Afterheader (configurablemaxRetries, default 3) - Test before save (v0.1.4): the settings card probes the configured
endpoint (
/chat/completionsfor Custom,/messagesfor DeepSeek) with the current draft values before saving; real config errors (bad endpoint/model/key) block the save, transient 429/5xx only warn
DSH compatibility
| DSH version | Compatibility |
|---|---|
0.1.7-rc.2 |
Verified on this machine: host half exports a Config schema with .volatile() fields; browser half binds the settings form through the configForms service |
0.1.2-rc.1 and current 0.1.2 rc |
Still uses the legacy settings.register/settingsScope API; theoretically compatible, verify before claiming |
0.1.0-rc.7 through pre-0.1.2-alpha |
Uses the shared settings.register/installSection service API; theoretically compatible |
before 0.1.0-rc.7 / 0.0.x |
Not supported; those DSH versions lack the settings/section mechanism |
The current source no longer imports the removed settingsNamespace,
installSettingsSection, or @deepseek-ai/dsh-client-runtime APIs.
Since v0.2.0 it also no longer uses the settings.register /
settingsScope APIs removed in DSH 0.1.7-rc.2; the settings namespace is
the plugin's exported Config schema (entry id web-search-advanced), and
saving hot-reloads the plugin fiber with the fresh config.
Enabling this provider in DSH
Installing this package automatically routes the DSH web service to
web-search-advanced; no manual cordis.patch.yml edit is required. After
installation, restart dsh web and configure the package in the Web Search
settings section.
Only the provider, API key, and model are required. The endpoint is optional:
DeepSeek uses https://api.deepseek.com/anthropic/v1, while Custom uses
https://openrouter.ai/api/v1 when the endpoint is left blank. Inside the
web-search-advanced settings namespace:
searchProvider: deepseekuses this plugin's DeepSeek branch.searchProvider: customuses the configured OpenAI-compatiblebaseURL/model, for example OpenRouter.maxRetries: 3(optional) — exponential-backoff retries for transient failures (429 / 5xx / network), default 3.
Settings persist in ~/.dsh/settings.yaml under the web-search-advanced
namespace and survive DSH restarts until deleted.
The package patch also selects the built-in http fetch provider so search
results can be opened without an additional profile change.
Build
This repository includes the prebuilt lib/ artifacts required by DSH skill
hub validation. Direct GitHub installs also have a prepare script that can
rebuild them.
DSH resolves @deepseek-ai/* packages as runtime peers, so local installs
should not make npm resolve them:
npm install --legacy-peer-deps
npm run build
Build output:
lib/index.js- DSH host/plugin halflib/client.js- DSH web client bundle
After a build, sync into an installed DSH profile:
npm run sync
If no profile has the package installed yet, install it first:
dsh plugin --profile web add github:bug-huntter/web-search-advanced
Then restart DSH and apply the profile patch:
dsh web
The plugin registers its provider through ctx.web, registers the
web-search-advanced settings namespace, and exposes that namespace to the
web client through the configurable-provider registry.
链接
同类插件
Tencent/BrowserSkill#dsh-plugin-browserskill★ 9229
BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edge Agent Window,支持可访问性与 VOM 页面观察、截图、隔离的多会话控制和 Web UI 实时观察浮层。
omdsh-dev/dsh-browser#packages/browser/bridge-browser★ 857
Chrome 侧边栏扩展,让 DSH 直接操控你的浏览器,无需视觉能力。
liustack/modsearch★ 769
纯文本 agent 的联网搜索桥:搜索网页与 X,返回结构化 JSON 证据(search/fetch/引用)。
DDDMUC/dsh-free-search★ 505
DSH 免费搜索插件:7 个引擎(DuckDuckGo/Bing/SearXNG 免费 + Exa/Perplexity/DeepSeek 付费)、自动回退、设置页 UI(API key 输入 + 官网链接)、web_fetch、引擎测试工具。
wqty123/dsh-browser★ 126
共享真实浏览器:用户可观看并随时接管的原生 Electron 窗口,agent 通过 CDP 驱动,内置 20 个 browser_* 工具(打开/快照/执行/填表/截图/下载/登录态);任务级会话隔离、登录态持久化、人机验证识别,纯 `dsh web` 无需桌面外壳即可自托管。
Tabbit-Browser/dsh-tabbit★ 112
让 DeepSeek Harness 能够控制 Tabbit 浏览器:安装即自动加载 tabbit-browser skill,检测国际版 Tabbit 与国内版 Tabbit Browser 正式版(>= 1.9.0),检查 tabbit-cli 常驻运行时,按平台诊断调用 CLI 所需的 DSH sandbox 模式,并在没有合格版本时通过后台任务下载与系统地区匹配的正式版安装包。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。