SUJIElearning/dsh-search-nokey0

@sujielearning/dsh-search-nokey

Free Bing-backed search provider (scrapes public Bing search HTML, no API key needed) for the DeepSeek Harness web capability seam (ctx.web)

包名
@sujielearning/dsh-search-nokey
版本
0.1.0-rc.8
许可证
MIT
最近更新
2026年8月21日

安装

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

@sujielearning/dsh-search-nokey

DeepSeek Harness (DSH) 无需任何 API key 的联网搜索插件。 不花一分钱、不申请 key、不注册——装上就能搜。

License: MIT DSH Plugin


这是什么

DSH 官方搜索需要 API key(DEEPSEEK_API_KEY)。key 缺失/是占位符时 web_search 就废了(报 api key invalid)。

这个插件用公开 Bing 搜索页代替官方 API:抓网页、解析结果块,输出规范的搜索结果。完全不需要 key——这是它存在的全部意义。

  • 🆓 无 key:不依赖任何 API 凭据
  • 🇨🇳 支持中文cn.bing.com + setlang=zh-hans
  • 📦 Bundle 自包含:装完自动注册 + 自动指定搜索 provider,零手改配置

安装

在 DSH 对话里复制粘贴:

dsh plugin --profile web add 'github:SUJIElearning/dsh-search-nokey'

装完重启 DSH(刷新 http://127.0.0.1:3080),搜索就能用。

原理:包的 package.json 声明 dsh.bundle.patch;安装后 DSH 自动加入 dsh.profile.bundles,启动时自动应用包内 cordis.patch.yml (注册插件 + 设 searchProvider: bing)。

验证装好了

问 DSH 几个不同问题,结果应随之变化(如"北京天气"→ 天气网站,"DeepSeek 最新动态"→ 科技新闻)。每次不同 = ✅ 正常。

常见问题

现象解决
provider bing is not registeredbundle 没装配;确认 dsh.profile.bundles 含本包
结果永远一样重启 DSH,换不同问题
装新插件后搜索失效新插件安装可能重写 bundles 列表,把本包挤掉了;dsh plugin --profile web add 'github:SUJIElearning/dsh-search-nokey' 重新加回

结构

dsh-search-nokey/
├── package.json      # 声明 dsh.bundle.patch
├── cordis.patch.yml  # 自注册 + searchProvider: bing
└── lib/              # 插件源码(index.js / invariant.js / types)

License

MIT

Made with ❤️ for the DSH community