DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Web Search Bocha — DeepSeek Harness 插件(DSH Plugin)
← Plugins

@bocha-ai/dsh-web-search-bocha

Web Search Bocha

由 Bocha 支持的 WebSearchProvider,以及适用于 DeepSeek Harness 的可安装配置文件包

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @bocha-ai/dsh-web-search-bocha@0.1.0
README兼容性版本

兼容性与来源证明

Web Search Bocha 以 @bocha-ai/dsh-web-search-bocha 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.0stable
2026/8/14

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
33.5 kB
文件数
10
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
133
安全扫描
✓ v0.1.0 扫描通过
最近提交
2026/8/14
查看源码 ↗
项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 search-research 分类下经过校验的插件。

Browser Skill Dsh Plugin@wxg-prc-cpg/browser-skill-dsh-plugin向模型提供 BrowserSkill 浏览器自动化(browser_* 工具)的 DeepSeek Harness 工具插件Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:13 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl 无需密钥;Parallel/Perplexity/SerpBase/DeepSeek 需要密钥),支持时间筛选、平台搜索和 web_fetch,并提供网页设置界面。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。

README

@bocha-ai/dsh-web-search-bocha

English | 中文

A Bocha Web Search-backed WebSearchProvider and installable Profile bundle for DeepSeek Harness. The package registers provider id bocha, calls Bocha's POST /v1/web-search endpoint, and carries a dsh.bundle patch that selects the provider after installation.

The package supplies search only. DeepSeek Harness continues to own the model-facing web_search tool, result limits, citations, provider selection, and error presentation through its web capability.

Install

Install the bundle into a Profile:

dsh plugin --profile web add @bocha-ai/dsh-web-search-bocha

Optionally inspect the composed configuration; this prints it and exits:

dsh --profile web --dump-config

Start the Web app with:

dsh --profile web

Configure the API key with either option below. You do not need both.

Option 1: DSH credentials document

Store the key in $DSH_HOME/.credentials.yaml (normally ~/.dsh/.credentials.yaml):

BOCHA_API_KEY: your-api-key

On POSIX, the file must be owner-only:

chmod 600 ~/.dsh/.credentials.yaml

The plugin resolves this reference through the Harness credentials service for every search, so a stored key rotation applies to the next request without a restart.

Option 2: Environment variable

For CI, containers, or a per-run override, export the key before starting Harness:

export BOCHA_API_KEY='your-api-key'

If both options configure BOCHA_API_KEY, the inherited environment variable takes precedence over the managed credentials document.

Removing the package removes its provider row and bundle layer:

dsh plugin --profile web remove @bocha-ai/dsh-web-search-bocha

Bundle behavior

cordis.patch.yml replaces the base web row's complete config with searchProvider: bocha and inserts a web-search-bocha row that loads this package. Existing providers remain mounted, but ctx.web routes search to bocha. Profile, Harness-home, and command-line patch layers applied later can replace either row.

Config

KeyDefaultMeaning
apiKey—Optional literal Bocha API key. It is redacted from settings descriptions, but the credentials service is preferred so no plaintext key enters a Profile patch.
apiKeyEnvBOCHA_API_KEYCredential reference resolved through the Harness credentials service for every search.
baseURLhttps://api.bocha.cnAPI base; /v1/web-search is appended.
freshnessnoLimitTime filter sent on every search: noLimit, oneDay, oneWeek, oneMonth, oneYear, one date such as 2025-04-06, or a range such as 2025-01-01..2025-04-06.
summarytrueRequests Bocha's longer per-page summary.
count10Default count when the Harness request has no maxResults; integer from 1 through 50.

A later Profile patch can configure the inserted row without changing the package:

- id: web-search-bocha
  config:
    freshness: 2025-01-01..2025-04-06
    summary: true
    count: 10

Mapping and failures

The provider reads data.webPages.value[]. It maps url to WebSearchSource.url, name to title, summary to snippet with snippet as the fallback, and datePublished to publishedAt; an entry without a non-blank URL is dropped. Bocha does not return one generated answer for this endpoint, so WebSearchResult.content is omitted.

The request's maxResults overrides count and is capped at Bocha's maximum of 50 before the request is sent. The Harness web capability still enforces its own final source bound.

HTTP errors, provider-declared non-200 codes, network failures, and unprocessable response bodies surface as WebError WEB_PROVIDER_ERROR. Error messages retain Bocha's log_id when present. Abort-shaped failures surface as WEB_ABORTED, and redirects are rejected before their target is contacted.

The provider resolves the referenced credential at each search entry, so a key stored or rotated through the UI takes effect on the next request without restarting or re-registering the provider. A missing referenced credential surfaces as WEB_PROVIDER_CREDENTIAL_MISSING.

Development

Install development dependencies, run the keyless tests, build, and inspect the npm payload:

npm install
npm test
npm run build
npm pack --dry-run

Run the live smoke only when a Bocha key is available:

BOCHA_API_KEY='your-api-key' npm run test:e2e

Model Experience

Indirectly, through DeepSeek Harness dsh-tool-web, which renders this provider's bounded URLs, titles, summaries or snippets, and publication dates under the stable web_search tool contract.

KV Cache effect

No direct invalidation; the Harness tool consumer owns any request-prefix changes.

Known Limitations and Deferred Work

  • Current upstream DSH does not expose third-party search settings in its built-in Plugins UI — that card and the Host settings allowlist are internal to DSH. Configure this package through its Profile row and store BOCHA_API_KEY in the credentials document or launch environment; publishing this npm package does not require a patched DSH checkout.
  • Freshness is deployment configuration rather than a model-facing argument — every request from one mounted provider uses the same freshness value because the provider-neutral Harness request currently carries only query and maxResults.
  • Bocha-specific siteName and other media fields are omitted — the portable Harness source type has no site-name, image, or video fields.
  • One API call returns at most 50 sources — a larger Harness maxResults request is capped at Bocha's documented maximum before transport.