FANXING-0710/dsh-web-search-opencode0

dsh-web-search-opencode

为 DeepSeek Harness 框架提供 OpenCode 风格的网页搜索支持。无需官方 API 密钥,即可让包括 deepseek-v4-flash 在内的任何模型获得可用的网页搜索工具。

AI 分析

该插件适合需要为 DeepSeek Harness 接入免官方密钥网页搜索的用户。它支持 Exa 和 Parallel 检索,可灵活配置检索模式与结果上限,是实现模型联网搜索任务的实用工具。

包名
dsh-web-search-opencode
版本
0.1.0
最近更新
2026年8月15日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:FANXING-0710/dsh-web-search-opencode

配置

默认无需任何配置。可选配置项(在 profile 的 cordis.patch.yml 覆盖 web-search-opencode 行的 config,或设置环境变量):

配置项环境变量默认值说明
providerOPENCODE_WEBSEARCH_PROVIDERautoauto(按查询确定性 50/50)| exa | parallel
exaApiKeyEXA_API_KEY附加为 ?exaApiKey= 查询参数(同 opencode)
parallelApiKeyPARALLEL_API_KEY附加为 Authorization: Bearer
numResults8结果数(同 opencode 默认)
searchTypeautoExa 检索模式 auto/fast/deep
livecrawlfallbackExa 实时爬取策略 fallback/preferred
contextMaxCharacters10000Exa 每结果上下文上限
timeoutMs25000单请求超时(同 opencode)