DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Web Search Anysearch — DeepSeek Harness 插件(DSH Plugin)
← Plugins
W

dsh-web-search-anysearch

Web Search Anysearch

适用于 DeepSeek Harness 的 AnySearch 网页搜索提供程序:原生 AnySearch /v1/search、专用 Web 设置部分、DSH 凭据集成,以及 Web 和 Headless 配置文件支持。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:mcxianyujun/dsh-web-search-anysearch#6b5aa4bbe1a88696c2137909ba636eed0a6b89e3
README兼容性版本

兼容性与来源证明

Web Search Anysearch 以 dsh-web-search-anysearch 发布,当前版本为 0.1.2。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/9

版本

0.1.2stable
2026/9/9

相关插件

正在加载相关插件…

最新版
0.1.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 4
周下载
0
最近提交
2026/9/9
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 search-research 分类下经过校验的插件。

Browser Skill Dsh Plugin@wxg-prc-cpg/browser-skill-dsh-plugin向模型提供 BrowserSkill 浏览器自动化(browser_* 工具)的 DeepSeek Harness 工具插件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:13 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl 无需密钥;Parallel/Perplexity/SerpBase/DeepSeek 需要密钥),支持时间筛选、平台搜索和 web_fetch,并提供网页设置界面。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。

README

dsh-web-search-anysearch

English | 简体中文

AnySearch Web Search Provider for DeepSeek Harness.

A native WebSearchProvider plugin that connects the harness ctx.web seam to the AnySearch POST /v1/search REST API. It ships a dedicated Web settings section for configuration, stores the API key through the DSH credentials service, and supports both the Web and Headless profiles.

This is a native provider — not an MCP server, not a Skill, and not a fork or patch of DeepSeek Harness. No Harness core source is modified.

Quick start

Two install paths are available — the DSH CLI (npm) route and the Windows PowerShell installer (see Installation). The Windows installer flow is:

  1. Install (Windows):

    cd dsh-web-search-anysearch
    pnpm install        # installs dev dependencies (tsdown, react) and their peers
    pnpm build          # produces lib/index.mjs + lib/client.js
    .\scripts\install.ps1 -Web     # or -Headless, or -Both (default)
    
  2. Restart DeepSeek Harness (searchProvider is read when the web seam is constructed).

  3. Open Settings → 网页搜索(AnySearch) and enter your AnySearch API key. It is stored by the DSH credentials service, never in a settings file.

  4. Ask the agent something that requires web search — the harness web_search tool now uses AnySearch.

Features

  • Native DeepSeek Harness WebSearchProvider (id: anysearch) over ctx.web
  • AnySearch native POST /v1/search REST API (not the MCP /mcp JSON-RPC bridge)
  • Dedicated Web settings section (independent of the DeepSeek search provider)
  • Independent credentials — ANYSEARCH_API_KEY and per-field ANYSEARCH_* references, never reusing the DeepSeek provider's key
  • API key stored by the DSH credentials service, never written to settings documents
  • Source preservation — url / title / snippet are mapped intact and deduplicated by URL
  • Configurable Max Results (1–20), Zone (cn/intl), Language, Format (json/markdown), and Base URL
  • Web profile support (GUI + settings section)
  • Headless profile support (CLI / automation)
  • Structured, non-fabricated error handling (401/403, 429, network, JSON, abnormal envelopes)
  • Minimal zero-network unit tests
  • No Harness core patch required

Requirements

  • DeepSeek Harness >= 0.1.2-rc.1 with a web and/or headless profile. Tested with the DeepSeek Harness desktop install (Node 24 / pnpm via corepack).
  • An AnySearch API key (optional for low-rate anonymous use; recommended for reliable access).
  • Node.js >= 20 and pnpm for the build step (the Harness desktop bundle ships both).

Installation

Option 1 — Install from npm with the DSH CLI

Install the bundle for the Web profile:

dsh plugin --profile web add dsh-web-search-anysearch

For Headless:

dsh plugin --profile headless add dsh-web-search-anysearch

This installs and registers the AnySearch bundle, but does not automatically change the active Web search provider. To enable AnySearch, add the following override to the target profile's cordis.patch.yml:

- id: web
  config:
    searchProvider: anysearch

Then restart DeepSeek Harness.

If dsh plugin add cannot find pnpm on Windows, use the PowerShell installer below — it locates the Node/corepack environment bundled with DeepSeek Harness.

The package is published on npm as dsh-web-search-anysearch.

Option 2 — Windows PowerShell installer

The installer modifies only the target profile's package.json (adds a link: dependency) and cordis.patch.yml (registers the provider and selects it). It backs up both files first and is idempotent — re-running it does not duplicate entries.

.\scripts\install.ps1 -Web       # web profile only
.\scripts\install.ps1 -Headless  # headless profile only
.\scripts\install.ps1 -Both      # both profiles (default)
.\scripts\install.ps1 -Web -DryRun   # preview changes without writing

The installer also sets searchProvider: anysearch automatically, so no manual patch edit is needed.

Manual installation

For troubleshooting or environments where the script is not used:

  1. Add the plugin as a link dependency in <DSH_HOME>/profiles/<profile>/package.json:

    "dependencies": {
      "dsh-web-search-anysearch": "link:/absolute/path/to/dsh-web-search-anysearch"
    }
    
  2. Add to <DSH_HOME>/profiles/<profile>/cordis.patch.yml:

    - insert:
        - id: web-search-anysearch
          name: 'dsh-web-search-anysearch'
    - id: web
      config:
        searchProvider: anysearch
    
  3. Run pnpm install inside the profile directory, then restart the Harness.

The plugin's @deepseek-ai/* imports resolve from the plugin directory's own node_modules (installed by pnpm install in the plugin directory), so no junction farms or manual symlinks are required.

Configuration

Configuration precedence (lowest → highest):

  1. Hard-coded defaults (https://api.anysearch.com, maxResults 10, format json)
  2. Launching environment (ANYSEARCH_API_KEY, ANYSEARCH_BASE_URL, …)
  3. The web-search-anysearch section in <DSH_HOME>/settings.yaml
  4. Credentials-service references written by the GUI (highest)
FieldDefaultNotes
API key—Stored by the DSH credentials service under ANYSEARCH_API_KEY; leave blank to keep the current key
Base URLhttps://api.anysearch.comANYSEARCH_BASE_URL
Max results101–20; ANYSEARCH_MAX_RESULTS
Zone—cn or intl; ANYSEARCH_ZONE
Language—e.g. zh-CN, en; ANYSEARCH_LANGUAGE
Formatjsonjson or markdown; ANYSEARCH_FORMAT

The GUI stores these values through the credentials domain. Because the credentials service never returns stored values to the client (by design), the GUI shows a configured/unset badge for the API key and does not echo saved field values back — saved values still take effect on the next search.

Usage

Ask the agent something that requires current information:

  • "今天北京天气如何?" (today's weather in Beijing)
  • "What are the latest release notes for Go?"
  • "Search for recent DeepSeek Harness plugins"

The harness web_search tool returns results with preserved url / title / snippet metadata that the agent cites as markdown links.

How it works

DeepSeek Harness
      │  web_search
      ▼
dsh-web-search-anysearch  (WebSearchProvider, id: anysearch)
      │  POST /v1/search  (Authorization: Bearer <ANYSEARCH_API_KEY>)
      ▼
AnySearch /v1/search
      │  { code, message, data: { results: [{ title, url, snippet, content }] } }
      ▼
Search results + source metadata (url / title / snippet)

This is a native Harness WebSearchProvider, not an MCP server and not a Skill.

Web vs Headless

  • Web profile: the browser Harness — GUI, settings section, interactive agent conversations.
  • Headless profile: CLI / automation — dsh --profile headless "your task".

Both are tested end to end.

Uninstall

npm / DSH CLI

dsh plugin --profile web remove dsh-web-search-anysearch    # or --profile headless

This removes the npm dependency and the bundle registration. If you manually added the searchProvider: anysearch override to the profile's cordis.patch.yml, remove that override too — the DSH CLI remove command does not delete user-authored patch entries.

Windows PowerShell uninstaller

.\scripts\uninstall.ps1 -Web     # or -Headless / -Both

Uninstall removes the AnySearch provider override and restores the previously effective search provider. If no previous provider override exists, DeepSeek Harness falls back to its bundle default. Other provider configuration and unrelated profile patches are preserved. It does not remove other plugins, the profile, node_modules, or your credentials.

How this works: a pre-existing searchProvider override stays in cordis.patch.yml the whole time. Installing AnySearch appends a later searchProvider: anysearch override that temporarily shadows it, and uninstalling deletes that AnySearch override so the earlier configuration takes effect again. No separate "previous provider" state file is written.

Manual uninstall: remove the dsh-web-search-anysearch dependency from the profile package.json, and remove the AnySearch insert entry and the searchProvider: anysearch override from cordis.patch.yml (leaving any earlier searchProvider override in place), then run pnpm install in the profile directory and restart.

Troubleshooting

SymptomCause / fix
Authentication Fails / HTTP 401The API key is invalid or the wrong credential ref is configured. Re-enter the key in the settings section.
HTTP 429AnySearch rate limit. Reduce frequency or configure an API key.
web_search still uses another providersearchProvider is still not anysearch in the profile patch, or the Harness was not restarted after install.
GUI section missingThe client bundle was rebuilt after the Harness started. Restart the Harness.
ERR_MODULE_NOT_FOUND: @deepseek-ai/...The plugin's own node_modules is missing — run pnpm install inside the plugin directory.
Cannot get property "slots" without injectA client bundle built without the inject export; rebuild with pnpm build.
slot ... is not declaredA registration raced a slot declaration; use the settings.section slot as this plugin does.
pnpm not foundUse the Harness-bundled corepack (the installer does this automatically) or put pnpm on PATH.

Security

  • The API key is stored by the DSH credentials service, never in settings files or source code.
  • The plugin never logs the full API key or the full Authorization header.
  • Do not commit .env or credentials documents.
  • Debug/session logs may contain sensitive data — review them before sharing.
  • Real credentials must never appear in tests or fixtures; tests use mock values.

Development

pnpm install   # dev dependencies
pnpm build     # tsdown: lib/index.mjs (node half) + lib/client.js (browser section)
pnpm test      # zero-network unit tests (node --test)

lib/ is generated from src/ and is not committed (see .gitignore). Development was assisted by AI coding agents, with manual testing and validation on DeepSeek Harness.

License

MIT. The DeepSeek Harness core and its official packages are MIT licensed, so this plugin is compatible with redistribution alongside the Harness.

Acknowledgements

The DeepSeek Harness ctx.web seam and WebSearchProvider contract, the official dsh-web-search-* providers, and the community AnySearch providers informed this plugin's design.