sjlgg/dsh-free-web-search0

dsh-web-search-free

Keyless web search and fetch providers for the DeepSeek Harness web capability seam (ctx.web)

包名
dsh-web-search-free
版本
0.1.0
许可证
Apache-2.0
最近更新
2026年8月23日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:sjlgg/dsh-free-web-search

配置

挂在 web-search-free 行的 config 下:

字段默认说明
backends['bing','so360']后端顺序;空数组等同默认
regionwt-wtDuckDuckGo 式地区码,映射 Bing 的 mkt/setLangcn-zhzh-CN
timeoutMs8000每个后端的超时
resultsPerBackend10调用未给 maxResults 时向后端请求的条数
searxngBaseURL启用 searxng 时必填,非法则加载期报错
userAgent桌面 Chrome UA两个 provider 共用
fetchProvidertrue是否注册 free-http
fetchTimeoutMs30000抓取整体超时
maxResponseBytes5242880保留的响应字节上限,超出截断并置 truncated
maxRedirects5跳转跳数上限
maxUrlLength2048URL 长度上限
allowPrivateHostsfalse是否允许抓取回环 / 内网 / 链路本地地址

示例(中文结果优先,并加上自托管 SearXNG 兜底):

- id: web-search-free
  config:
    backends: [bing, so360, searxng]
    region: cn-zh
    searxngBaseURL: https://searx.example.internal