mcxianyujun/dsh-web-search-anysearch
原生AnySearch /v1/search WebSearchProvider,用于DeepSeek Harness,支持Web UI、凭据集成以及Web/无头模式。
catalog 简介:Native AnySearch /v1/search WebSearchProvider for DeepSeek Harness with Web UI, credentials integration, and Web/Headless support.
安装
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](https://github.com/deepseek-ai/deepseek-harness) with a `web` and/or
`headless` profile. **Tested with the DeepSeek Harness desktop install (Node 24 / pnpm via
corepack).**
- An [AnySearch](https://anysearch.com) 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:
把 mcxianyujun/dsh-web-search-anysearch 加入你的 DSH 配置(web profile)即可启用。
README
展开完整 README 收起
README 内容为空。
tt-a1i/archify
zhu1090093659/dsh-web-ui
strukto-ai/mirage
liustack/modlens
omdsh-dev/DSH-better-sidebar
ccch1mneyyy/dsh-TUI
agentrq/agentrq
GanyuanRan/Aegis