kanghelyu/dsh-search-endpoint-guard
dsh-search-endpoint-guard keeps web_search on the endpoint that actually accepts your API key: DeepSeek Harness's web_search tool is implemented by the web-search-deepseek plugin, which hard-codes the official Anthropic-compatible endpoint (https://api.deepseek.com/anthropic/v1) and uses DEEPSEEK_API_KEY — but when your chat LLM runs on a non-official provider (a proxy, gateway, or aggregator such as opencode.ai, one-api, new-api), the search endpoint and the chat provider disagree. The plugin diagnoses the mismatch, warns about it, and can optionally fix the web_search target endpoint, with EN/zh UI.
Install
dsh plugin --profile web add -w dsh-search-endpoint-guardnpm dsh-search-endpoint-guard 0.1.1 verified 2026-09-02 (maintainer kanghelyu; README bilingual EN-first, repo kanghelyu/dsh-search-endpoint-guard). README install: dsh plugin --profile web add -w dsh-search-endpoint-guard after npm install -g pnpm (dsh plugin depends on pnpm), then restart dsh web. Diagnoses/warns/optionally fixes when web_search still targets the official DeepSeek Anthropic-compatible endpoint while the chat LLM runs on a non-official provider.
Compatibility
DSH web profile; pnpm on PATH; web-search-deepseek provider fixed endpoint (api.deepseek.com/anthropic/v1).
Details
- Repo: kanghelyu/dsh-search-endpoint-guard
- Category: Other
- Stars: 2
- Version: npm dsh-search-endpoint-guard 0.1.1
- Last push: 2026-08-14
- First seen: 2026-08-13
Recent updates
Diagnoses web_search endpoint vs chat-provider mismatch; warn + optional fix; EN/zh UI; targets official-endpoint hard-coding.
FAQ
- What problem does it solve?
- When web_search still targets the official DeepSeek API endpoint while your chat LLM runs on a non-official provider (proxy/gateway/aggregator), keys mismatch — this plugin diagnoses, warns, and can fix it.
- Which endpoint does web_search hard-code?
- The web-search-deepseek plugin calls https://api.deepseek.com/anthropic/v1 with DEEPSEEK_API_KEY.
- How do I install it?
- dsh plugin --profile web add -w dsh-search-endpoint-guard (npm 0.1.1; pnpm required), then restart dsh web.
Alternatives
LTctfer/dsh-web-search-brave · nitrazepam01/dsh-web-search-tavily · anysearch-team/anysearch-dsh