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)

AI Analysis

核心用途是为 DSH 提供免费的联网搜索能力。适合没有配置官方搜索 Key 或希望节省 API 费用的用户,装上即可让 AI 代理直接检索互联网实时信息。

Package
@sujielearning/dsh-search-nokey
Version
0.1.0-rc.8
License
MIT
Last updated
Aug 21, 2026

Install

$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