dsh-web-search-tavily

DSH PLUGIN记忆与知识

仓库 fan56/dsh-web-search-tavily · npm @aiwayds/dsh-web-search-tavily

记忆与知识 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

DSH plugin 通过 Tavily API 提供快速网络搜索,替代默认 DeepSeek 搜索,节省模型调用与 token。

验证等级 L5 L5 · 运行验证通过
GitHub 星标 2 复刻 0 · 未关闭 issue 0
最近更新 2026-09-29 创建于 2026-08-25
README 6.2 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add @aiwayds/[email protected]
兼容 DSH 版本0.2.0-rc.2 等 7 个版本版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖@deepseek-ai/cordis@^4.0.2、@deepseek-ai/dsh-credentials@>=0.2.0-rc.2 等 5 个需要同时安装的同级依赖
npm 包名@aiwayds/dsh-web-search-tavily可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-web-search-tavily:DeepSeek Harness 的 Tavily 网页搜索提供方

  • Tavily 网络搜索
  • 替代默认搜索
  • 节省模型 token
  • 可配置搜索深度
  • 支持新闻主题

适用场景

联网搜索

上游标签

dshdsh-plugin

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-10-08): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

仓库档案

记忆与知识
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方fan56仓库 dsh-web-search-tavily · 默认分支 main
分类记忆与知识knowledge
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue2 / 0 / 0收录时的数值,非实时
创建 / 更新2026-08-25 · 2026-09-29最后推送 2026-09-29
本站收录2026-08-29首次进入本站目录的时间

README 全文

6.2 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-web-search-tavily

A DeepSeek Harness (dsh) plugin that
provides web search through the Tavily Search API.

Requires dsh >= 0.2.0-rc.2 — this plugin targets the dsh RC/stable line only (CI and releases resolve the newest of the latest/next dist-tags at runtime). The alpha line is no longer supported.

It replaces the default DeepSeek web search — which spends a full auxiliary model call
per search
(Anthropic-compatible Messages API + web_search_20250305 server tool) —
with a plain Tavily REST call: ~1s, 1 credit at basic depth, no model tokens.

The plugin registers a WebSearchProvider (id: "tavily") with the official
ctx.web capability seam,
so everything around the tool stays exactly as shipped: the model still calls the same
web_search tool, with the same citation formatting, searchMaxResults bound, and
timeout budget. A provider swap changes how the harness reaches the web, nothing else.

Requirements

  • dsh >= 0.2.0-rc.2 (peer deps resolve to the profile's shared @deepseek-ai closure)
  • A Tavily API key (tvly-…, free tier available)

Install

One command:

dsh plugin --profile  add @aiwayds/dsh-web-search-tavily

dsh plugin installs the package into the profile (via pnpm) and registers it in
dsh.profile.bundles automatically. Restart dsh — the provider is registered and ready.
Local development: dsh plugin --profile add link:/path/to/dsh-web-search-tavily
(relative path specs anchor to your invoking directory). The manual route — adding the
dependency and the bundle entry to ~/.dsh/profiles//package.json yourself and
running pnpm install there — works identically.

Unlike the anysearch sibling plugin, this one does not claim the web_search
default on install — Tavily needs an API key, and a selected-but-unconfigured provider
would fail every search. After storing the key, select it with one patch entry (below).

> @deepseek-ai/* packages are peer dependencies by design: they must resolve to
> the profile's single shared dsh closure (link-dsh-closure). Putting them in
> dependencies installs a second cordis instance and crashes the loader.

Uninstall

dsh plugin --profile  remove @aiwayds/dsh-web-search-tavily

The host auto-cleans the whole install: the bundles entry is spliced out of the
profile's package.json, the dependency is removed, and the plugin's patch
layer drops with the package. Restart dsh and the tavily provider is gone —
web_search falls back to whichever provider your patch layers still select
(the shipped deepseek-official by default).

The plugin keeps no on-disk state. Your Tavily API key lives in host-owned
storage — the TAVILY_API_KEY ref in ~/.dsh/.credentials.yaml or the
launching environment — and uninstall never touches it. If you no longer want
the key (or the searchProvider: tavily patch entry selecting the provider),
remove those by hand.

Configure

1. API key. Store the key in dsh's managed credentials document
(~/.dsh/.credentials.yaml) — resolved per search, never written to config files:

version: 1
refs:
TAVILY_API_KEY: tvly-xxxxxxxx

Fallbacks, in resolution order: TAVILY_API_KEY in the launching environment, then a
literal apiKey in the plugin config (discouraged).

2. Select the provider. The base bundle pins web.searchProvider to
deepseek-official, and a configured id always wins — so add the override to the
profile's cordis.patch.yml (or the home-level ~/.dsh/cordis.patch.yml for every
profile):

- id: web
config:
searchProvider: tavily

Optionally retire the DeepSeek search plugin entirely:

- id: web-search-deepseek
disabled: true

Restart dsh. Verify the composed tree:

dsh --profile  --dump-config | grep -A3 'id: web$'   # searchProvider: tavily

Rollback: delete the patch entries and restart — web_search returns to the
shipped DeepSeek provider.

Plugin config (all optional; via a patch layer, read at startup):

Field Default Notes
apiKeyEnv TAVILY_API_KEY Credential reference resolved per search
apiKey — Literal key; wins over the reference
baseURL https://api.tavily.com Env override: TAVILY_BASE_URL
searchDepth basic basic / advanced (2 credits) / fast / ultra-fast
topic general general / news / finance
maxResults 8 Default when the tool sends no bound; API caps at 20
includeAnswer true Tavily's generated answer becomes the result's content

Example patch entry with config:

- insert:
- id: web-search-tavily
name: '@aiwayds/dsh-web-search-tavily'
config:
searchDepth: advanced
topic: news

Behavior

  • results[].content → the portable snippet; Tavily's answer → the result's
    content; the API returns no publication dates, so publishedAt is never set.
  • Follows the ctx.web seam contract: cancellation as WEB_ABORTED, a missing key as
    WEB_PROVIDER_CREDENTIAL_MISSING (naming TAVILY_API_KEY), provider failures as
    WEB_PROVIDER_ERROR with Tavily's own error detail surfaced; a rejected key reads
    Tavily rejected the API key (HTTP 401).
  • available() is a local check only (credential source present, base URL parseable) —
    it never makes network calls.
  • Result-count requests are clamped to Tavily's max_results cap (20); the seam
    additionally enforces the tool's searchMaxResults bound (default 8).

Develop

npm install
npm run check   # tsc --noEmit
npm test        # build + node --test (14 tests)

After editing src/, run npm run build and restart dsh — the plugin loads from
lib/. Unit tests cover response mapping, availability, the request shape, and the
HTTP/abort/credential error branches with mocked fetch.

License

MIT

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
dsh-web-search-tavily 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add @aiwayds/[email protected]` 即可。对应的 npm 包名是 `@aiwayds/dsh-web-search-tavily`。

dsh-web-search-tavily 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-web-search-tavily 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-web-search-tavily 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.2.0-rc.2、0.2.0-rc.1、0.1.7-rc.2、0.1.7-rc.1、0.1.6-alpha.2、0.1.6-alpha.1、0.1.5-rc.2。

dsh-web-search-tavily 需要什么运行环境?

需要同时安装 @deepseek-ai/cordis@^4.0.2、@deepseek-ai/dsh-credentials@>=0.2.0-rc.2、@deepseek-ai/dsh-launch-environment@>=0.2.0-rc.2、@deepseek-ai/dsh-web@>=0.2.0-rc.2、@deepseek-ai/schemastery@^3.18.2。环境不满足时安装会失败,建议先确认本机版本。

dsh-web-search-tavily 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-web-search-tavily 有哪些功能?

Tavily 网络搜索、替代默认搜索、节省模型 token、可配置搜索深度、支持新闻主题。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

8 条
不同作者的仓库分开列,请确认你要装的是哪一个
记忆与知识
按星标排序,可作替代方案

ruflo

ruflo

L3 · 安装规范通过 7.4 万 星

OpenViking

OpenViking

面向 DeepSeek Harness 的 OpenViking 记忆与上下文插件:pre-step 自动召回与画像注入、会话捕获、`vik

L3 · 安装规范通过 3.9 万 星

WeKnora

WeKnora

把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己

L4 · 沙盒安装通过 3.3 万 星

distilly

distilly

Distilly — Distill how they think into reusable Skills for any Agent o

L4 · 沙盒安装通过 2.5 万 星

EverOS

EverOS

L4 · 沙盒安装通过 1.3 万 星

MemOS

MemOS

L4 · 沙盒安装通过 1.2 万 星

fan56 的其它插件

6 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-10-08。