1624318455/dsh-plugin-tavily
Tavily 支持的 DeepSeek Harness (dsh) 网络搜索提供方插件 — 将一个 tavily 搜索提供方注册到 ctx.web 中,并在 Web 界面中显示设置卡片。
Project Overview项目介绍
This is a native DSH plugin that adds Tavily as a web search provider for DeepSeek Harness. Once installed via the DSH plugin system, it automatically sets Tavily as the default provider for the built-in web_search tool, so users don't need to manually edit configuration files or environment variables. It adds a dedicated settings card under DSH's web GUI settings menu, where users can enter their API key, adjust all available search parameters, test connectivity, and check search usage credits. It also supports switching between Tavily and the official DeepSeek provider directly from the GUI, no uninstall required.
This plugin is designed for both casual users and professional power users of DSH. Casual users can get started quickly by just pasting their API key and using the default settings, with advanced parameters tucked away in a collapsed section to avoid clutter. Power users can tune every possible Tavily search parameter directly from the GUI, or pin fixed values in their configuration file that override UI settings. One-click parameter presets for common use cases like deep research, quick summary, and live news make it easy to get the right search behavior for your task.
The plugin is released under the permissive MIT license, so it is free to use, modify, and distribute for both personal and commercial projects. Prebuilt assets are committed to the repository, so no local build step is required after installation, and all DSH framework dependencies are provided by the host runtime at runtime. The CI workflow runs compatibility tests against multiple released versions of DSH to ensure the plugin works correctly across all supported versions. It also includes optional extra features like persistent search caching, rate limit retries, and optional Firecrawl integration for web page extraction.
这是一款专为DeepSeek Harness(DSH)打造的、基于Tavily搜索服务的网页搜索插件。它会将Tavily搜索提供商注册到DSH内置的网页搜索接口中,并在DSH的网页界面提供图形化设置面板,支持用户配置API密钥、调整各类搜索参数。安装完成后会自动将Tavily设为默认搜索提供商,无需手动修改环境变量或配置文件,还支持用户根据需求切换搜索引擎,可在Tavily和官方DeepSeek搜索之间切换。
该插件面向专业用户开放了Tavily全部可配置参数,支持通过配置文件固定参数值,也支持在界面上一键调用预设参数方案,如深度研究、快速摘要、实时新闻等。它还提供了API连接状态测试、剩余额度查询、连接错误分类提示等功能,普通用户不会被过多高级选项干扰,专业用户则可以根据需求自由调整搜索行为,适配不同使用场景。
该插件采用MIT许可证开源,免费供个人和商业使用,预构建产物已提交至代码仓库,安装时无需额外构建步骤即可直接使用。开发遵循DSH不同版本的插槽契约,CI流程会多版本验证兼容性,确保在所有已发布的DSH版本上都能正常运行。同时还支持持久化搜索结果缓存、限速重试、可选Firecrawl网页提取等额外功能。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-plugin-tavily(1624318455/dsh-plugin-tavily)
仓库:https://github.com/1624318455/dsh-plugin-tavily
本站详情页:https://www.yhbd.top/plugins/1624318455-dsh-plugin-tavily/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 5 · 最近提交 2026-09-12 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add "github:1624318455/dsh-plugin-tavily#main"
把 1624318455/dsh-plugin-tavily 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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. - Status indicator: a
GET /api/tavily-statusroute reads the stored key and TavilyGET /usage(no search credits) and the card shows a live ✅/⚠️/❌ badge (normal / credits low / API error, or "no key"), refreshed by the host without re-entering the key. - 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<details>block so ordinary users are not overwhelmed. - Parameter presets: one click stages a bundle of advanced values — Deep research (advanced depth, more results, raw content), Quick summary (basic depth, few results, detailed answer), Live news (news topic, day window) — then press Save; yaml-pinned fields are left alone.
- 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, now classified (invalid key / insufficient credits / rate limited / service down / timeout / network) with a targeted explanation per case. 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. - Optional Firecrawl extraction: an alternative fetch provider (
firecrawl) scrapes a page via FirecrawlPOST /scrape(markdown, main content) — selectable when Tavily extracts a page poorly. It registers under its own id and credential (default refFIRECRAWL_API_KEY); search always stays on Tavily. Inert until selected. - Persistent result cache:
cacheFilepersists the TTL/LRU search cache to a JSON file (survives restarts;~/expands, relative paths resolve against the working directory). Best-effort and debounced — a failing disk never breaks a search. Off by default. - 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 — LRU-capped (default 200 entries) and, by default, skipped entirely for recency-sensitive searches (news/finance topics or any time window) so a "right now" question never gets a stale snapshot. - Concise debug logging: an opt-in
debugswitch logs one readable line per search/extract (query excerpt, depth, credits, cache state, duration, classified error) — never the API key or raw response bodies. - Multi-key rotation & failover:
apiKeyRefslists extra credential references (refs only — keys stay in the credentials store/environment) forming a rotation ring with the literal key andapiKeyEnv. A search rotates through the ring on key-level failures (429 / invalid key / insufficient credits); a key that fails 3 times in a row enters a 60s cooldown so the healthy keys take over. - Footnote citations:
citeFormat: footnoteappends a numbered source block to the generated answer (Sources:\n[1] title — url…), so the model can cite sources by number;plain(default) keeps the answer alone. - Automatic fallback engine:
fallbackEngine: deepseekanswers a search through the official DeepSeek provider when Tavily fails with a service-side problem (timeout / network / 5xx). Key-level faults (429/401) never trigger the fallback — they are credential problems, not outages. - Credential-first key handling: per-search resolution order is literal
apiKey→ credentials service (apiKeyEnv) →process.env[apiKeyEnv].
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
anysearch-team/anysearch-dsh
DDDMUC/dsh-free-search
wxkingstar/SpecFusion
A3Boy/dsh-web-tools
UncleK/dsh-think-translate
cyijun/dsh-surfing-plugin
phoenixlucky/zerotoken-skill