1624318455/dsh-plugin-tavily
dsh-plugin-tavily
Tavily-backed web search provider plugin for DeepSeek Harness (dsh) — registers a tavily search provider into ctx.web with a settings card in the web GUI
Install
npx @deepseek-ai/dsh plugin --profile web add "github:1624318455/dsh-plugin-tavily#main"Restart `dsh web` after install. Bundle APIs can change during the developer preview.
README badge
[](https://dshhub.dev/plugins/dsh-plugin-tavily)Paste this into your README. The star count updates with every catalog sync.
From the README
Excerpt from 1624318455/dsh-plugin-tavily, cleaned of badges and images.
dsh-plugin-tavily
English | 中文
A Tavily-backed web search provider plugin for DeepSeek Harness (dsh). It is the professional/pro-user edition: it exposes the full Tavily request parameter set through the web GUI, while still letting developers pin values from the profile configuration file.
It registers a tavily search provider into the harness's ctx.web seam, so the built-in web_search tool searches the web through Tavily — and ships a settings card in the web GUI (设置 → 插件 → 网页搜索) where you paste your API key, tune advanced parameters, and test connectivity. One install, both halves.
Features
- Install-and-use (no manual config): installing this plugin auto-selects Tavily as the
web_searchprovider via itscordis.patch.yml. Paste a key in the card and search — no yaml orDSH_WEB_SEARCH_PROVIDERedits required. - Tavily/DeepSeek engine switch: a GUI switch answers
web_searchwith Tavily (default; keyless if no key) or falls back to the official DeepSeek provider — no uninstall needed. This is a real provider-switch UI, not a config file edit. - Server-side connectivity probe:
POST /api/tavily-probelets the card test a stored key (browsers cannot read stored secrets), using keyless mode when none is set. - Full professional parameter set in the GUI: API key, API Base URL,
maxResults,searchDepth(basic/advanced/fast/ultra-fast),topic,includeAnswer,includeRawContent,timeout,days,chunksPerSource,timeRange,startDate/endDate,includeImages,includeDomains/excludeDomains, andcountryare editable from the card; advanced fields are tucked into a collapsed `` block so ordinary users are not overwhelmed. - Configuration-first priority:
cordis.patch.yml> WebUI > code defaults. Any field explicitly set in the yaml is shown disabled on the card with a "covered by config file" badge, so a stale UI value can never shadow a developer's pinned config. - API connectivity test: a lightweight
Test API connectionbutton checks the currently entered key/base URL directly from the browser and reports success or the API error. Stored keys cannot be read back by the browser by design, so testing an already-configured key requires re-entering it once (it is not saved again). - Usage & cost panel: the card shows a live per-search credit/token estimate for the current settings, plus a
Check usagebutton that reads TavilyGET /usage(remaining credits, search usage, plan) with the currently entered key. A host-sideusage()method on the provider exposes the same data where the stored key is available. - Page extraction: a Tavily Extract-backed fetch provider (
tavily-extract) reads a full page from a URL and returns it as clean text/html — select it once and URL retrieval is answered by Tavily. - Rate-limit retry & cache: extra attempts after a 429 response honor Tavily's
retry-afterwith a bounded backoff, and an optional TTL cache serves identical searches to save credits. - Credential-first key handling: per-search resolution order is literal
apiKey→ credentials service (apiKeyEnv) →process.env[apiKeyEnv].
Install
dsh plugin --profile web add "github:1624318455/dsh-plugin-tavily#main"
During development, install from a local path instead:
…

