DeepSeek Harness 插件

delef/dsh-free-web-search

Star 数 ★ 2 分类 浏览器与网页 收录于 2026-08-22

免费网页搜索,支持 10 个引擎(Bing/DuckDuckGo/SearXNG/AnySearch 免费,Exa/Tavily/Keenable/Perplexity/DeepSeek 付费)、自动回退、按时间筛选的高级搜索、平台搜索(GitHub/Reddit)、网页内容抓取、LRU 缓存和设置界面。基本使用无需 API 密钥。

安装

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:delef/dsh-free-web-search

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWEDERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yamlallowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Free web search plugin for DeepSeek Harness. No API keys required — works out of the box with Bing, DuckDuckGo, and SearXNG. Optional paid engines (Exa, Tavily, Keenable, Perplexity, DeepSeek Official) activate when you add a key.

Features

  • 10 search engines with automatic fallback — if one fails, the next one picks up
  • Time-filtered search via advanced_search tool (last day/week/month/year, or custom ranges like 3d, 2mo, 2026-07-01)
  • Platform search — GitHub repos and Reddit threads via platform_search tool
  • Engine diagnosticsfree_search_test tool to check which engines work
  • Web Settings UI — engine selection, API key management, cache TTL config
  • Result caching — LRU cache (50 entries, configurable TTL up to 5 min) to reduce rate limiting

Install

dsh plugin --profile web add github:delef/dsh-free-web-search

If pnpm blocks the build script, add the key it prints to allowBuilds in your profile's pnpm-workspace.yaml and retry.

Engines

Engine Cost Key required
Bing Free No
DuckDuckGo (HTML / Lite) Free No
SearXNG Free No
AnySearch AI Free No
Exa Free tier / paid Optional
Tavily Free tier / paid Optional
Keenable Free tier / paid Optional
Perplexity Paid Yes
DeepSeek Official Paid Yes

Default engine: Bing (most stable). Change it in Settings > Plugins > Free Web Search, or type /free-search-engine in chat.

Tools

web_search (built-in, powered by this plugin)

Standard harness web search. Uses the configured engine with automatic fallback.

advanced_search

query: "rust async runtime"
timeRange: "week"        # day | week | month | year | 3d | 2mo | 1y | 2026-07-01
engine: "exa"            # optional, override preferred engine
maxResults: 5

platform_search

platform: "github"       # github | reddit
query: "deepseek harness plugins"
maxResults: 5

web_fetch

url: "https://docs.example.com/guide"
maxLength: 50000                       # optional, default 50000 chars

Fetches a single page, strips HTML, returns plain text. For reading articles, docs, or any URL.

free_search_test

Tests engine availability. No arguments tests all engines.

Configuration

Settings are managed through the web UI (Settings > Plugins > Free Web Search) or settings.yaml:

free-search:
  provider: bing
  bingMarket: en-US
  cache: true
  cacheTtl: 5
  platforms:
    - github
    - reddit
  searxngInstances:          # optional, overrides default public instances
    - https://your-instance.example.com
  # Optional API keys
  exaApiKey: ""
  tavilyApiKey: ""
  keenableApiKey: ""
  perplexityApiKey: ""
  deepseekApiKey: ""

License

Apache-2.0

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。