softspark/dsh-web-search-searxng0

@softspark/dsh-web-search-searxng

DeepSeek Harness web-search provider backed by a SearXNG instance: metasearch with no vendor API key and no account tying the queries together.

AI Analysis

核心用途是提供隐私安全的联网搜索。适合注重隐私保护、不希望搜索记录被账号绑定的用户。需要配置可用的 SearXNG 实例地址。

Package
@softspark/dsh-web-search-searxng
Version
1.0.0
License
Apache-2.0
Last updated
Sep 8, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:softspark/dsh-web-search-searxng

Configuration

KeyDefaultMeaning
baseURLrequiredAbsolute URL of the instance, without /search. No default: a guess would send queries somewhere you did not choose.
timeoutMs15000Upper bound on one search. Between 1000 and 120000.
languageunsetUI language passed through, e.g. pl or en-US.
safeSearch0SearXNG safe-search level: 0 off, 1 moderate, 2 strict.
categoriesunsetComma-separated categories, e.g. general,it.
enginesunsetComma-separated engine names, narrowing what the instance queries.

Unset optional keys are omitted from the request rather than sent empty, so the instance's own defaults apply.

The instance must be allowed to answer in JSON

SearXNG does not enable the JSON output format by default. Without it, the instance answers the same URL with a rendered results page and HTTP 200 — which would read as "no results" if this provider did not check. Add it to the instance's settings.yml:

search:
  formats:
    - html
    - json

The provider names this fix in the error when it sees HTML, so the failure is one you can act on rather than one you have to guess at.