cyijun/surfing-plugin9

dsh-surfing-plugin

为 DeepSeek Harness 提供 SearXNG 搜索和 Crawl4AI 网页抓取服务商支持。

AI 分析

核心用途是为 DSH 代理提供联网搜索与网页深度抓取能力。适合需要 Agent 进行实时信息检索、网页内容提取,且拥有 SearXNG 或 Crawl4AI 服务端的用户。

套件
dsh-surfing-plugin
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cyijun/surfing-plugin

Configuration

Explicit configuration wins over environment values. Override this plugin's row in $DSH_HOME/profiles/web/cordis.patch.yml:

- id: surfing-plugin
  config:
    searxng:
      url: https://search.example.com
      apiKeyEnv: MY_SEARXNG_KEY
      authHeader: X-API-Key
      authScheme: ''
      language: en
      categories: general,news
      safeSearch: 1
      timeRange: month
    crawl4ai:
      url: https://crawl.example.com
      apiKeyEnv: CRAWL4AI_API_TOKEN
      authHeader: Authorization
      authScheme: Bearer
      markdownMode: raw
      maxContentChars: 100000
FieldEnvironment or defaultMeaning
searxng.urlSEARXNG_URLService root or /search endpoint
searxng.apiKeynoneOptional literal key
searxng.apiKeyEnvSEARXNG_API_KEYEnvironment variable containing the optional key
searxng.authHeaderAuthorizationAuthentication header
searxng.authSchemeBearerAuthentication prefix; empty sends the key directly
searxng.languageserver defaultSearXNG language parameter
searxng.categoriesserver defaultComma-separated categories parameter
searxng.safeSearchserver default0, 1, or 2
searxng.timeRangenoneday, month, or year
crawl4ai.urlCRAWL4AI_URLService root or /crawl endpoint
crawl4ai.apiKeynoneOptional literal key
crawl4ai.apiKeyEnvCRAWL4AI_API_TOKENEnvironment variable containing the optional key
crawl4ai.authHeaderAuthorizationAuthentication header
crawl4ai.authSchemeBearerAuthentication prefix; empty sends the key directly
crawl4ai.markdownModerawPrefer raw, fit, or citations markdown
crawl4ai.maxContentChars100000Provider content cap before returning to DSH

A literal apiKey takes precedence over the environment variable named by apiKeyEnv. No authentication header is sent when no key is available.