{"_rev":"4-e969a06101b1913778af4cecd0c1f15e","time":{"created":"2026-08-17T07:10:16.108Z","modified":"2026-08-17T07:10:17.035Z","0.1.0":"2026-08-17T06:56:21.121Z","0.1.1":"2026-08-17T07:10:16.400Z"},"_id":"@baidu-cloud-ai-search/dsh-web-search-baidu","name":"@baidu-cloud-ai-search/dsh-web-search-baidu","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@baidu-cloud-ai-search/dsh-web-search-baidu","description":"Baidu-backed search provider for the DeepSeek Harness web capability seam (ctx.web)","version":"0.1.1","type":"module","main":"lib/index.js","types":"lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"./package.json":"./package.json"},"license":"MIT","publishConfig":{"access":"public"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"}},"scripts":{"build":"tsc","prepublishOnly":"npm run build","prepare":"npm run build"},"peerDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-web":">=0.1.0-rc.6","@deepseek-ai/dsh-launch-environment":">=0.1.0-rc.6"},"dependencies":{"@deepseek-ai/schemastery":"^3.18.1"},"devDependencies":{"@deepseek-ai/cordis":"4.0.1","@deepseek-ai/dsh-web":"0.1.0-rc.6","@deepseek-ai/dsh-llm":"0.1.0-rc.6","@deepseek-ai/dsh-launch-environment":"0.1.0-rc.6","typescript":"^5.6.0"},"gitHead":"4bb8be93a520e788010805b9a5c46ee9174caaf1","_id":"@baidu-cloud-ai-search/dsh-web-search-baidu@0.1.1","_nodeVersion":"26.0.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-ZK7Wg1yD+2jufAWB0mnVJhb1ea1g1T5jFTR6tl8LYcrY7a+gghCRzh1Slr+/skcE7rgbwLMgMRROe7fxA+9hlA==","shasum":"4d4b9a969fa086b64420dc009eadb08fe28abcb5","tarball":"https://registry.npmjs.org/@baidu-cloud-ai-search/dsh-web-search-baidu/-/dsh-web-search-baidu-0.1.1.tgz","fileCount":14,"unpackedSize":35941,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBLy9VMcljA1w2bL3Vogbh2RMKCsL/t+n4SC9tQhjOmDAiBEthOTExksiAAVhGLqSRYN4ztu549Ufstn+o1gIQDPTw=="}]},"_npmUser":{"name":"baidu-cloud-ai-search","email":"ideoutreafrontend@gmail.com"},"directories":{},"maintainers":[{"name":"baidu-cloud-ai-search","email":"ideoutreafrontend@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-web-search-baidu_0.1.1_1786950616243_0.5569671933348064"},"_hasShrinkwrap":false}},"maintainers":[{"name":"baidu-cloud-ai-search","email":"ideoutreafrontend@gmail.com"}],"description":"Baidu-backed search provider for the DeepSeek Harness web capability seam (ctx.web)","license":"MIT","readme":"# @baidu-cloud-ai-search/dsh-web-search-baidu\n\n[English](README.md) | 中文\n\n百度搜索接入 DeepSeek Harness 的 [web 能力接缝](https://github.com/deepseek-ai/deepseek-harness/blob/main/packages/web/web/README.md)（`ctx.web`）的搜索 provider。以 [bundle](https://github.com/deepseek-ai/deepseek-harness/blob/main/docs/architecture.md#profiles-and-bundles) 形式分发：安装后自动注册并生效，无需手写 `cordis.patch.yml`。\n\n## 安装\n\n```sh\ndsh plugin --profile web add @baidu-cloud-ai-search/dsh-web-search-baidu\n```\n\n会自动把该 provider 注册进 `ctx.web`，并把 `searchProvider` 切换成 `baidu`。\n\n## 获取 API Key\n\n到[百度千帆平台](https://console.bce.baidu.com/iam/#/iam/apikey/list)开通\"百度搜索\"（AI Search）服务，获取 API Key，然后设置环境变量：\n\n```sh\nexport BAIDU_API_KEY='BAIDU_API_KEY'\n```\n\n启动 `dsh` 时会自动读取这个环境变量；也可以在安装时通过 `config.apiKey` 手动指定,但推荐用环境变量,避免密钥写进配置文件。\n\n## 检查是否安装成功\n\n```sh\ndsh --profile web --dump-config\n\n# == @baidu-cloud-ai-search/dsh-web-search-baidu\n- id: web-search-baidu\n  name: '@baidu-cloud-ai-search/dsh-web-search-baidu'\n```\n\n## 启动命令\n\n```sh\ndsh --profile web\n```\n\n## 卸载\n\n```sh\ndsh plugin --profile web remove @baidu-cloud-ai-search/dsh-web-search-baidu\n```\n\n会自动移除该 provider,并把 `searchProvider` 恢复为默认的 `deepseek-official`。\n","readmeFilename":"README.zh.md"}