web-search-tinyfish
DiscoveredA TinyFish web searching plugin for Deepseek Harness
@rm-vstar/dsh-web-search-tinyfish
English | 中文
A TinyFish-backed WebSearchProvider for the harness web capability seam (ctx.web). It calls TinyFish's dedicated search REST endpoint (GET {baseURL}?query=...), authenticates with the X-API-Key header — not a Bearer token — and maps the structured results[] TinyFish returns into the seam's normalized WebSearchResult.
This is an implementation package: it registers a provider into ctx.web, resolves its credential for each search through the optional ctx.credentials seam (defaulting to the TINYFISH_API_KEY reference), and does not register a model-facing tool. Like the other web-search-* packages it is a function/namespace plugin (inject: ['web']). Each search costs one cheap retrieval call, not a model turn.
Auth: X-API-Key, not Bearer
TinyFish's REST API expects the key in the X-API-Key request header. The provider sends exactly that header and never Authorization: Bearer (unlike the Exa provider, which sends the latter).
Config
| Key | Default | Meaning |
|---|---|---|
apiKey | omitted | Literal TinyFish API key. Prefer apiKeyEnv so no secret enters configuration; a non-empty literal wins. |
apiKeyEnv | TINYFISH_API_KEY | Credential reference resolved for each search through ctx.credentials, or from the launching environment when that seam is absent. A missing value fails the call as WEB_PROVIDER_CREDENTIAL_MISSING. |
baseURL | https://api.search.tinyfish.ai | TinyFish search endpoint; ?query=, &location= and &domain_type= are appended. An unparseable value makes the provider unavailable. |
location | US | location query parameter (region bias). |
domainType | web | domain_type query parameter (search scope). |
maxResults | omitted | Default result count when a request carries no maxResults; the provider truncates locally. |
- id: web-search-tinyfish
name: '@rm-vstar/dsh-web-search-tinyfish'
config:
apiKeyEnv: TINYFISH_API_KEY
baseURL: https://gateway.internal/search
The entry above is the base layer of the web-search-tinyfish Settings section: a user layer over it reaches the NEXT search, because the provider projects the section per call rather than capturing it at registration. The seam's provider selection therefore never flickers when an endpoint changes. apiKey carries role('secret'), so it never rides a describe() response in any layer.
Mapping
TinyFish returns no generated answer, so content is omitted. sources[] comes from results[]: url ← url, title ← title, and snippet ← snippet; when TinyFish supplies a blank excerpt, the hosting site_name is used as the fallback snippet — the provider never invents prose. maxResults is enforced locally exactly as the seam enforces it on the way back: over-returned sources are cut and truncated is set.
Provider failures become WEB_PROVIDER_ERROR; caller cancellation becomes WEB_ABORTED. HTTP redirects are rejected before the Location target is contacted and surface as WEB_PROVIDER_ERROR.
Comments
Loading…
Similar plugins
by maxwell-feng
TinyFish-backed web search provider for DeepSeek Harness (ctx.web) — 将内置 web_search 接入 TinyFish Search API 的 DeepSeek Harness 插件
★ 25
↓ 959/wk
MIT
TypeScript
Sep 29, 2026
dsh plugin --profile agent add dsh-tinyfish-searchby fan56
Tavily web search provider plugin for DeepSeek Harness (dsh)
★ 1
↓ 627/wk
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add @aiwayds/dsh-web-search-tavilyby wryyyds7
Community plugins for DeepSeek Harness (dsh)
★ 0
MIT
TypeScript
Aug 18, 2026
dsh plugin --profile web add @wryyyds7/dsh-plugins-rootby RailgunHamster
A DeepSeek Harness plugin for selecting and routing web search providers.
★ 0
JavaScript
Sep 29, 2026
dsh plugin --profile web add dsh-web-searchby dgagf111
TinyFish + AnySearch web search and fetch provider for DeepSeek Harness: one failover-chain provider with an operator-controlled backend priority and a settings card.
★ 0
MIT
JavaScript
Sep 24, 2026
dsh plugin --profile web add dsh-hydrasearchby Qingzhou-Joshua
DeepSeek Harness plugin—a simple toolkit for developers.
★ 0
MIT
TypeScript
Aug 14, 2026
dsh plugin --profile web add dsh-dev-toolbox