FANXING-0710/dsh-web-search-opencode0

dsh-web-search-opencode

OpenCode-style web search (Exa / Parallel MCP) provider for the DeepSeek Harness ctx.web seam. Gives any model, including opencode-go's deepseek-v4-flash, a working web_search tool without a DeepSeek official API key.

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)