插件目录 / UI & Skins / dsh-web-search-tavily
dsh-web-search-tavily
已验证 · 实测可装 crayonlu
功能简介
dsh-web-search-tavily — DSH 插件(界面)
可用 — 实测通过,早期项目
dsh-web-search-tavily — DSH 插件(界面) 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
@crayonlu/dsh-web-search-tavily
Tavily-backed WebSearchProvider for the DeepSeek Harness web capability seam (ctx.web). Lets dsh's web_search tool run entirely on Tavily — no DeepSeek API key required.
Install
dsh plugin --profile web add github:crayonlu/dsh-web-search-tavily
Then add the provider to the profile patch layer at $DSH_HOME/profiles/web/cordis.patch.yml (hot-reloaded — no restart needed):
- insert:
- id: web-search-tavily
name: '@crayonlu/dsh-web-search-tavily'
- id: web
config:
searchProvider: tavily
# Optional: drop the DeepSeek-backed search (and chat route) entirely.
- id: web-search-deepseek
disabled: true
- id: llm-deepseek
disabled: true
Configuration
Every field is optional:
| Field | Default | Meaning |
|---|---|---|
apiKey |
— | Literal Tavily key (write it here instead of apiKeyEnv only if you must; it lands in a config file). |
apiKeyEnv |
TAVILY_API_KEY |
Credential reference resolved per search through ctx.credentials (inherited env > $DSH_HOME/.credentials.yaml > project/user .env). |
baseURL |
https://api.tavily.com |
Endpoint base; /search is appended. |
maxResults |
5 |
Default result count when a request carries no maxResults. |
includeAnswer |
true |
Carry Tavily's generated answer as the search result content. |
searchDepth |
basic |
basic or advanced (Tavily's search_depth). |
The key resolves once per search, so an empty TAVILY_API_KEY fails the request with WEB_MISSING_CREDENTIAL rather than falling through to an unrelated credential.
Tests
npm install
npm test
Unit tests mock the HTTP layer; the smoke test runs a real Tavily search when TAVILY_API_KEY is set.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-web-search-tavily」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
Web profile:
dsh plugin --profile web add dsh-web-search-tavily Headless(CLI)profile:
dsh plugin --profile headless add dsh-web-search-tavily 包信息
npm:dsh-web-search-tavily · 版本 — · 实测环境 dsh 0.1.0-rc.6
实测报告
端到端验证通过:dsh 0.1.0-rc.6 上 L1 安装 + L2 加载 + L3 运行问答。
使用场景
改变 dsh 的外观或交互方式——一套主题、皮肤或新面板,重塑工作区。
适合谁
在 web UI 里一待几小时、想让它按自己的习惯好看又好用的人。
二次开发建议
皮肤、面板和主题 token 是扩展点——写新皮肤、加面板,或与上游配色同步 token。