dshbase

插件目录 / UI & Skins / dsh-tavily

dsh-tavily

已验证 · 实测可装 moguiyu

✓ 持续维护 2 位贡献者

查看 GitHub ↗ ← 返回插件目录

6Stars
3Forks
0未关闭 issue
—语言
2026-08-21最近推送
跨平台平台

功能简介

Tavily-powered optional search tool for DeepSeek Harness (rc.7 plugin management): multi-key rotation/failover, usage gauge, settings card in Plugins → configuration; the built-in web_search is never replaced. | DSH Tavily 可选高级搜索工具(rc.7 插件管理):多 Key 轮换/故障转移、用量仪表盘、插件配置页设置卡片;内置 web_search 永不替换。

✅
我们的评价
可用 — 实测通过,早期项目

Tavily-powered optional search tool for DeepSeek Harness (rc.7 plugin management): multi-key rotation/failover, usage gauge, settings card in Plugins → configuration; the built-in web_search is never replaced. | DSH Tavily 可选高级搜索工具(rc.7 插件管理):多 Key 轮换/故障转移、用量仪表盘、插件配置页设置卡片;内置 web_search 永不替换。 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-tavily

English | 简体中文

awesome · DSH plugin 推荐 dshfind

Tavily web search for DeepSeek Harness (DSH) as an opt-in extra search tool — with multiple API keys, rotation/failover, live usage gauge, direct extract / map / crawl tools, and a settings card in the Plugins configuration tab.

The built-in web_search tool is never replaced: Tavily is an option on top of the native search, not a swap-in for it. This plugin registers no web-search provider and never rewrites web.searchProvider.

Tavily Search settings card: masked key list with the green primary dot, per-key usage circles, the key-usage strategy selector, and the advanced-tool switch — as served under Settings → Plugins → plugin configuration

Highlights

  • 🔑 Multiple Tavily API keys — manage a flat key list from the DSH settings UI.
  • 🔁 Key rotation & failover — round-robin across keys; automatically retries on HTTP 401/429.
  • 📊 Live usage gauge — per-key Tavily usage and totals, fetched server-side without exposing keys.
  • ⚡ Direct Tavily tools — tavily_extract reads a known URL's content, tavily_map discovers a site's links, and tavily_crawl pulls an entire site, all under the same key rotation.

Install

Either of these installs the dsh-tavily row (both resolve to the same plugin, but install with --profile <name>):

# from the repository — always the latest source
dsh plugin --profile web add github:moguiyu/dsh-tavily

# from the npm release — the stable, marketplace-counted version
dsh plugin --profile web add @moguiyu/dsh-tavily

After refreshing the browser, the Tavily Search card appears under Settings → Plugins → plugin configuration. It only appears when the Host half is actually composed — the configuration tab dispatches the card keyed by the namespace the Host serves.

Requirements — DSH is a development preview (0.1.x-rc/alpha); the keyed plugin-config card needs 0.1.0-rc.7 or newer (including 0.1.2-alpha.x). The npm name is the scoped @moguiyu/dsh-tavily, not the similarly-named community dsh-tavily provider-swap plugin.

Compatibility — one version covers every current host line: on DSH 0.1.0-rc.7 – 0.1.1-rc.x the plugin uses the rc.7/rc.8 settings seam; on DSH 0.1.2-alpha.2+ it uses the installSection seam — detected at runtime, no extra install step.

Packages

Package Role
@moguiyu/dsh-tavily Recommended plugin: tavily_search + tavily_extract / tavily_map / tavily_crawl tools + settings card + local backend + tavily-search namespace
@moguiyu/dsh-tavily-backend Standalone settings backend (key manager, usage, tool switch)
@moguiyu/dsh-tool-tavily-search Standalone advanced Tavily tools — tavily_search, tavily_extract, tavily_map, tavily_crawl (no UI)

Credentials

  • TAVILY_API_KEYS — comma-separated key list; tavily_search rotates through it, retrying on HTTP 401/429.
  • TAVILY_API_KEY — primary key auto-synced to the first key.

Both are managed automatically by the settings card. Keys never leave the server unmasked, and no state file holds key material.

Key usage strategy

  • Rotate each key — round-robin; on 401/429 the next key is tried.
  • Lowest usage first / Highest usage first — re-order keys by live Tavily usage on save.

Advanced Tavily tools

The advanced model-facing tools are opt-in and off by default. They exist for direct Tavily operations and are independent of web_search:

  • tavily_search — full search surface (search_depth, topic, days, domain filters, include_answer, include_raw_content);

  • tavily_extract — pull the complete content of known HTTP(S) URLs;

  • tavily_map — discover a site's links without fetching page content;

  • tavily_crawl — crawl a site and return the extracted content of its pages.

  • enabling them never changes the default web_search (the built-in DeepSeek provider stays, along with its native schema);

  • disabling them only unregisters the extra Tavily tools.

The switch lives in the tavily-search settings namespace (settings.yaml) and is mirrored to ~/.dsh/tavily-tool.json so every restart reads the same value.

State files

  • ~/.dsh/tavily-manager.json — saved key dates + strategy
  • ~/.dsh/tavily-tool.json — advanced tool { "enabled": boolean } (mirror of the settings namespace)
  • ~/.dsh/tavily-toggle.json — legacy pre-0.2 tool state; read for migration only

Mode 600, no secrets stored.

Development

pnpm install
pnpm test
pnpm build

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-tavily」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:moguiyu/dsh-tavily

Headless(CLI)profile:

dsh plugin --profile headless add github:moguiyu/dsh-tavily

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

UI & Skins 里更多

浏览全部 7819 个插件 →