crayonlu/dsh-web-search-tavily1

@crayonlu/dsh-web-search-tavily

Tavily-backed web search provider for the DeepSeek Harness web capability seam (ctx.web)

AI 分析

核心用途是为 DSH 提供基于 Tavily 的高质量联网搜索与答案生成。适合需要精准网页检索的用户。必要条件是需配置 Tavily API 密钥。

パッケージ
@crayonlu/dsh-web-search-tavily
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/13

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

Configuration

Every field is optional:

FieldDefaultMeaning
apiKeyLiteral Tavily key (write it here instead of apiKeyEnv only if you must; it lands in a config file).
apiKeyEnvTAVILY_API_KEYCredential reference resolved per search through ctx.credentials (inherited env > $DSH_HOME/.credentials.yaml > project/user .env).
baseURLhttps://api.tavily.comEndpoint base; /search is appended.
maxResults5Default result count when a request carries no maxResults.
includeAnswertrueCarry Tavily's generated answer as the search result content.
searchDepthbasicbasic 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.