Preface¶
In DeepSeek Harness (DSH), when performing web searches, the common practice is to connect a self-hosted SearXNG instance or use the built-in DeepSeek official search. The former is controllable and isolatable but relies on Docker and network access; the latter is ready out-of-the-box but may not align with your deployment strategy. If you wish to “use SearXNG normally, but automatically switch to official search if the instance goes down,” you need to perform provider orchestration at the ctx.web layer. @clinkai/dsh-web-search-fallback is a DSH plugin designed for this scenario, published by community maintainer w384 and categorized as a web tool.
It is important to note upfront: this package has been marked as deprecated on npm and GitHub, and its core functionality has been merged into @clinkai/dsh-web-search-searxng. The following sections first explain the positioning and behavior of this plugin, followed by migration instructions; if you have not installed the old package yet, you can directly install the new merged package.
What is this¶
@clinkai/dsh-web-search-fallback (GitHub: w384/clinkai-dsh-web-search-fallback) is a web seam (ctx.web) plugin for DeepSeek Harness: it uses SearXNG as the primary search source and automatically falls back to the built-in DeepSeek search when SearXNG or Docker is unreachable.
- Maintainer: w384
- Version (package.json): 0.1.0
- License: MIT
- Runtime requirements: Node.js
>=20.3; DSH>=0.1.5-rc.2 <1.0.0 - Peer dependencies:
@deepseek-ai/dsh-web,@deepseek-ai/schemastery(both optional peers)
The plugin registers providers via a Cordis patch (cordis.patch.yml). It does not import specific provider implementations but resolves them by provider ID at call time. Therefore, it can also be retained for use as a general wrapper for “wrapping a fallback around other primary providers.”
Core Features¶
The verifiable behaviors from the README and merge notes are as follows.
-
SearXNG Priority
Web searches default to the SearXNG path (used in conjunction with the SearXNG provider within the DSH web plugin system). -
Automatic Fallback
It can switch tofallbackProvider(defaultdeepseek-official) under the following conditions:
- Connection failure
- Internal timeout
- HTTP 5xx
- Optional: Fallback on empty results (whether this is enabled depends on your configuration in the merged package; provider IDs and configuration fields remain unchanged after migration) -
Relationship with the Merged Package
@clinkai/dsh-web-search-searxngregisters two providers upon a single installation:
| provider id | Behavior |
|---|---|
searxng |
Pure SearXNG |
search-fallback |
Uses SearXNG first; uses fallbackProvider on failure/timeout/5xx (and optional empty results) |
Official statement: If you are already using the search-fallback provider ID and configuration, no configuration changes are needed; simply switch the package.
- Maintenance Status
This repository is no longer updated; for daily SearXNG + fallback scenarios, please use@clinkai/dsh-web-search-searxng.
Installation and Migration¶
The retrieved data does not provide the original dsh plugin add installation command for this plugin; please do not construct it yourself based on the repository name. If you currently have the old package installed in your profile, the migration steps provided in the README are as follows.
First, remove the old plugin from the web profile, then add the merged SearXNG package:
dsh plugin --profile web remove @clinkai/dsh-web-search-fallback
dsh plugin --profile web add github:w384/clinkai-dsh-web-search-searxng
After the above steps, the previously used search-fallback provider ID and related configurations can continue to be used, with the behavior provided by the new package.
If you have never installed this plugin and only require “SearXNG + official search fallback,” you should directly refer to the installation and configuration instructions for clinkai-dsh-web-search-searxng rather than installing the deprecated @clinkai/dsh-web-search-fallback.
Typical Usage and Configuration¶
The materials do not expand on specific YAML configuration examples for this repository independently; the actual usage is to select the provider ID search-fallback (this remains the ID after migration) in the DSH web configuration and specify fallbackProvider (default deepseek-official) as needed. Specific fields and examples should be based on the merged repository’s README.
For generic fallback wrapper scenarios: if the primary provider is not SearXNG, the logic from this repository (looking up by ID, not binding to specific implementations) can still be applied to custom primary sources + fallback chains; this usage is an advanced extension requiring you to read lib/index.js and the patch definitions yourself.
Use Cases and Notes¶
Who is it for
- Users already using SearXNG in the DSH
webprofile who wish to automatically switch to DeepSeek official search when SearXNG/Docker is abnormal, preventing the agent’s entire web link from breaking. - Users who understand the deprecated status and are willing to migrate to the long-term maintenance path of
@clinkai/dsh-web-search-searxng.
Notes
- The plugin runs under the permissions and environment of the current dsh process. Before installation, please read the source code and the MIT license to ensure that network outbound traffic and the SearXNG address comply with your security policy.
- The DSH community plugin directory (such as the SkillHub entry) is an independent ecosystem site with no official affiliation with DeepSeek / High-Flyer; versions and descriptions are subject to GitHub and npm.
- Do not fabricate configuration items that do not appear in the documentation; stars, examples, and user data are subject to the public repository page (currently, GitHub stars are 0).
Conclusion¶
@clinkai/dsh-web-search-fallback solves the orchestration problem of “SearXNG priority, fallback to official search on failure” in DSH web search; its capabilities have been merged into @clinkai/dsh-web-search-searxng. New users should directly install the merged package. Refer to the directory and source code:
- Directory Page: https://www.skillhub.cn/plugins/w384/clinkai-dsh-web-search-fallback
- GitHub: https://github.com/w384/clinkai-dsh-web-search-fallback
- Recommended Successor Package: https://github.com/w384/clinkai-dsh-web-search-searxng