mcxianyujun/dsh-web-search-anysearch ↗★ 0
@dsh-external/dsh-web-search-anysearch
适用于 DeepSeek Harness 的 AnySearch 网页搜索服务商插件
AI 分析
核心用途是将 DSH 的 `web_search` 工具后端接入 AnySearch。适合需要利用 AnySearch 接口进行联网搜索和信息检索任务的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mcxianyujun/dsh-web-search-anysearch说明文档
阅读完整 README ↗Configuration
Configuration precedence (lowest → highest):
- Hard-coded defaults (
https://api.anysearch.com,maxResults10,formatjson) - Launching environment (
ANYSEARCH_API_KEY,ANYSEARCH_BASE_URL, …) - The
web-search-anysearchsection in/settings.yaml - Credentials-service references written by the GUI (highest)
| Field | Default | Notes |
|---|---|---|
| API key | — | Stored by the DSH credentials service under ANYSEARCH_API_KEY; leave blank to keep the current key |
| Base URL | https://api.anysearch.com | ANYSEARCH_BASE_URL |
| Max results | 10 | 1–20; ANYSEARCH_MAX_RESULTS |
| Zone | — | cn or intl; ANYSEARCH_ZONE |
| Language | — | e.g. zh-CN, en; ANYSEARCH_LANGUAGE |
| Format | json | json 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.