killcerr/dsh-web-search-order0

dsh-web-search-order

DSH plugin: ordered web-search provider fallback (omp-style webSearchOrder) over the providers already registered in ctx.web

AI 분석

适合需要自定义搜索源优先级、防止单点搜索失效的自动化任务。

패키지
dsh-web-search-order
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 9. 12.

설치

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

配置

写在 ~/.dsh/settings.yaml,热生效,不用重启:

web-search-order:
  order: [exa, deepseek-official]
  exclude: []
  timeoutSeconds: 20
  fallbackOnEmpty: true
默认说明
order[]提供方 id,越靠前越优先。没点名到的按注册顺序接在后面;空数组就是注册顺序。没装(认不出)的 id 会被忽略,只提示一次。
exclude[]永不尝试,优先级高于 order
timeoutSeconds20单次尝试的预算,见下节。
fallbackOnEmptytrue既没有 sources 也没有回答文本时当作未命中,换下一个。设 false 则原样返回空结果。

同一组键也可以写在 patch 的行 config 里。优先级是 schema 默认值 < 行 config < settings.yaml