JPA957/dsh-web-search-anysearch ↗★ 0

@jpa957/dsh-web-search-anysearch

AnySearch-backed search provider plugin for DeepSeek Harness (ctx.web) with round-robin API-key rotation, per-key cooldown failover, and a Settings-page card 适合需要配置多密钥轮换、高可用网络搜索服务的开发者和高级用户。

패키지
@jpa957/dsh-web-search-anysearch
호환성
미검증
Harness peer 범위
*
버전
0.3.0
라이선스
MIT
최근 업데이트
2026. 9. 3.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JPA957/dsh-web-search-anysearch

Configuration in the Settings tab

Open the web app's Settings → AnySearch tab: the page lets you set

  • API key — stored in the Host's credentials store under the key reference below; the literal is never sent back to the browser (the card only reports configured / unset).
  • Key reference — the credential/environment name the provider resolves per search; defaults to ANYSEARCH_API_KEY. A comma-separated value forms a key pool.
  • Endpoint base — defaults to https://api.anysearch.com when blank.
  • Max results — result count requested per search (1-10).

Edits are staged and written on Save; Discard reverts. The settings namespace is web-search-anysearch (the section the card edits), so the same configuration can also be managed through the settings document.

Key-pool behavior

Keys are gathered from the credentials reference (comma-split), plus any composition-layer apiKey/apiKeys literals, deduplicated. Searches rotate round-robin; a key-scoped failure — rate limiting (HTTP 429 / "retry after N seconds", honoring the API's retry-after header), quota exhaustion, or auth rejection (401/403) — puts that key on cooldown (60s default, 10min for auth/quota) and retries the next key within the same search, up to six attempts. An exhausted pool aggregates one WEB_PROVIDER_ERROR naming the pool size, masked key, and the API's request_id. An empty pool searches anonymously.