鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

web-search-advanced

安装后自动将 DSH 网页搜索路由到本插件;只需配置服务商、API Key 和模型即可使用。支持 DeepSeek 原生搜索与 OpenAI 兼容自定义后端,已发布为 npm 包 @lp181818/web-search-advanced@0.1.3。

网页浏览
访问 GitHub
文档README

@lp181818/web-search-advanced

Advanced web search plugin for DeepSeek Harness (DSH), supporting both native DeepSeek search and OpenAI-compatible "Custom" search providers.

Features

  • Provider selector: deepseek (native) or custom (OpenAI-compatible, e.g. OpenRouter)
  • Settings section: provider choice, endpoint URL, model, API key, max searches
  • Two search backends: native DeepSeek web_search_20250305 or 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-After header (configurable maxRetries, default 3)
  • Test before save (v0.1.4): the settings card probes the configured endpoint (/chat/completions for Custom, /messages for 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 versionCompatibility
0.1.2-rc.1 and current 0.1.2 rcRegisters and exposes the settings namespace through the current settings/LLM services
0.1.0-rc.7 through pre-0.1.2-alphaUses the shared settings.register/installSection service API; theoretically compatible
before 0.1.0-rc.7 / 0.0.xNot 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.

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: deepseek uses this plugin's DeepSeek branch.
  • searchProvider: custom uses the configured OpenAI-compatible baseURL / 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:

▼
powershell
复制代码
npm install --legacy-peer-deps npm run build

Build output:

  • lib/index.js - DSH host/plugin half
  • lib/client.js - DSH web client bundle

After a build, sync into an installed DSH profile:

▼
powershell
复制代码
npm run sync

If no profile has the package installed yet, install it first:

▼
powershell
复制代码
dsh plugin --profile web add github:bug-huntter/web-search-advanced

Then restart DSH and apply the profile patch:

▼
powershell
复制代码
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.

网页浏览

快捷安装

复制到终端去安装插件

dshplugin--profilewebaddgithub:bug-huntter/web-search-advanced

温馨提示

装插件等于在本机跑第三方代码,权限与你相同,能读文件、用凭据、访问网络,工具审批管不到。请只装可信来源,并尽量锁定 commit。

站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
零感AI零感AI
墨得问题墨得问题
dsh 插件推荐
dsh-chrome-cdp
Chrome DevTools Protocol 插件 for DeepSeek Harness。通过 chromremote-interface 以 CDP 连接并操控 Chrome。连接带有图形界面。
dsh-webmcp
WebMCP 桥接器:让 agent 通过内置无头 Chromium,发现并调用网站按 W3C WebMCP 协议暴露的站点工具。
dsh-web-search-ollama
让 DSH 的 web_search 工具走 Ollama 联网搜索 API,复用 OLLAMA_API_KEY,无需 DeepSeek 官方 Key。
dsh-web-search-tavily
为原生 web_search 提供 Tavily 搜索后端,并在设置 → 插件中提供 API Key 管理与是否替换 DeepSeek 的开关。
dsh-search-hub
可配置的原生 web_search 后端:在 DeepSeek 官方原生搜索与智谱 GLM web_search 之间切换当前生效入口,并在设置页管理搜索入口与凭证引用。