huguangyu666/dsh-plugin-ai-super-search ↗★ 6

dsh-plugin-ai-super-search

DSH 超级搜索 toolkit:集成 TinyFish 免费结构化检索、AnySearch (咸鱼君/mcxianyujun) REST 检索、Bing 免 Key 爬取、Jina 与 DuckDuckGo,彻底接管 DSH 原生 web_search,零 Token 消耗。

包名
dsh-plugin-ai-super-search
兼容性
待验证
Harness 依赖范围
>=0.1.0-rc.6
版本
0.2.5
许可证
MIT
最近更新
2026年11月5日

安装

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

配置环境变量

  • TINYFISH_API_KEY:可选,TinyFish 免费搜索 API Key(不配则跳过 TinyFish)。
  • TINYFISH_SEARCH_BASE_URL:可选,覆盖 TinyFish 端点(默认 https://api.search.tinyfish.ai,便于走代理或自建网关)。
  • TINYFISH_SEARCH_LOCATION / TINYFISH_SEARCH_LANGUAGE / TINYFISH_SEARCH_DOMAIN_TYPE:可选,TinyFish 地理、语言与域名类型定位。
  • ANYSEARCH_API_KEY:可选,AnySearch API Key(不配也能用,走匿名免费额度)。
  • ANYSEARCH_BASE_URL:可选,覆盖 AnySearch 端点(默认 https://api.anysearch.com)。
  • ANYSEARCH_ZONE:可选,cn(国内优先)/ intl(国际优先)。
  • ANYSEARCH_LANGUAGE:可选,检索语言。
  • DSH_SEARCH_ENGINE:首选搜索引擎,tinyfish / anysearch / bing / jina / ddg。
  • DSH_SEARCH_ROOTS:允许搜索的本地根目录(; 或 : 分隔)。
  • DSH_JINA_API_KEY:可选,Jina Search 的 API Key。
  • DSH_SEARCH_MAX_FILES / DSH_SEARCH_MAX_BYTES / DSH_SEARCH_MAX_RESULTS:本地搜索限额。
  • DSH_SEARCH_BLOCK_BENCHMARK=1:严格模式,拦截 fake-ip 基准网段。

上面这些 Key 也可以在 GUI 设置面板 →「🌐 AI 超级搜索与免费通道」 里填,走 credentials 服务保存,不必手动改环境变量。


坑 2:cordis.yml 不是配置源,改它没用

profile 目录下的 cordis.yml 只是「空根补丁文件」,loader 每次启动都会把它覆写成 []。源码注释原文:

# dsh profile root — an empty entry list. The tree is composed as patches: # each bundle in package.json's dsh.profile.bundles, then cordis.patch.yml, then any --patch overlays. # Edit cordis.patch.yml, not this file.

有效的配置来源只有四层,按序叠加:各 bundle 自带的 patch → profile 的 cordis.patch.yml → $DSH_HOME/cordis.patch.yml → --patch overlay。往 cordis.yml 里写 searchProvider: tinyfish 或者手写一条 ai-super-search 条目,等于写在会被撕掉的草稿纸上。