DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
W

dsh-web-search-opencli

Web Search Opencli

OpenCLI Google AI Mode 用于 DeepSeek Harness web_search 的搜索提供程序

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

npx -y @deepseek-ai/dsh plugin --profile web add github:sincerity711/dsh-web-search-opencli#db26801f4ba11df4283950d2a3a547a04d577206
README兼容性版本

兼容性与来源证明

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

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

版本

0.1.0stable
2026/9/3

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/3
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Free Searchdsh-free-searchDeepSeek Harness 的免费网页搜索:27 个引擎(Bing/DuckDuckGo/AnySearch/SearXNG/Exa/Tavily/Keenable/Firecrawl/Parallel/You.com 无需密钥;通过 MCP 支持 Zhihu 全局/站内搜索,以及 Perplexity/SerpBase/DeepSeek(官方 + 原生工具/搜索)/Baidu/Kimi/Aliyun/Douba)Ab Wechat Scrapedsh-ab-wechat-scrape--- description: "树外 wechat_scrape 工具:获取微信公众号文章,过滤推广区块,并将每篇文章保存为 Markdown 文件,供此机器的 dsh 配置文件维护者使用。" kind: "package-reference" ---Ab Market Researchdsh-ab-market-research一个树外 DeepSeek Harness 插件:将 trade_search 工具(多轮扩展方面的查询规划、出版商级别排序、来源多样性、JSON 快照)及其浏览器卡片集成在一个包中。Arisdsh-arisARIS research-workflow 技能作为 DeepSeek Harness 捆绑包:包含 82 项技能,以及通过 Codex 进行的跨模型对抗性审查。

README

dsh-web-search-opencli

Use Google AI Mode as a DeepSeek Harness web_search provider through OpenCLI.

dsh-web-search-opencli registers a DSH ctx.web search provider. When an agent calls web_search, the plugin drives your existing Chrome or Edge browser through OpenCLI, opens Google Search AI Mode (udm=50), waits for the AI answer, extracts the answer and cited source URLs, and returns DSH's standard WebSearchResult.

Features

  • Google AI Mode answers exposed through DSH web_search.
  • OpenCLI browser automation instead of a scraped HTTP endpoint.
  • Source URL extraction from AI Mode citations and links.
  • Markdown conversion for the AI answer body.
  • Reuses the configured OpenCLI browser session tab by default.
  • Configurable provider id, OpenCLI command/session/window mode, timeout, and best-effort tab cleanup.

Requirements

  • Node.js ^22.19.0 || >=24.0.0.
  • A DeepSeek Harness install that provides @deepseek-ai/dsh-web.
  • OpenCLI installed and connected to its browser extension.
  • Chrome or Edge signed in to a Google account that can use AI Mode.
  • Google AI Mode available for the browser account, region, and locale.

The provider uses the current browser profile. It does not read or store Google cookies.

Verify OpenCLI first:

opencli doctor

Install

Preferred npm install:

dsh plugin --profile web add dsh-web-search-opencli

From a DeepSeek Harness source checkout, use the checkout wrapper:

pnpm dsh plugin --profile web add dsh-web-search-opencli

Before npm publication, install from GitHub:

dsh plugin --profile web add github:sincerity711/dsh-web-search-opencli

For local development:

git clone https://github.com/sincerity711/dsh-web-search-opencli.git
cd dsh-web-search-opencli
npm install
npm run build

dsh plugin --profile web add /path/to/dsh-web-search-opencli

The package includes built lib/ artifacts in npm releases. GitHub installs run the package prepare script to build them.

Bundle patch

The package includes cordis.patch.yml, so the normal plugin install can apply this default web-profile patch:

- id: web
  config:
    searchProvider: google-ai-mode

- insert:
    - id: web-search-opencli
      name: dsh-web-search-opencli
      config:
        providerId: google-ai-mode
        opencliSession: dsh-google-ai-mode
        opencliWindow: background
        timeoutMs: 45000
        closeTabAfterSearch: false

If you manually edit a profile patch, preserve any existing web config fields you still need. A patch replaces the targeted row's whole config.

Verify

Dump the resolved web profile:

dsh --profile web --dump-config

The output should include:

- id: web
  name: '@deepseek-ai/dsh-web'
  config:
    searchProvider: google-ai-mode

and:

- id: web-search-opencli
  name: dsh-web-search-opencli
  config:
    providerId: google-ai-mode

Restart DSH Web after changing the profile:

dsh web

Architecture reference

See docs/architecture.md for the runtime flow, provider registration, OpenCLI command sequence, extraction pipeline, and error mapping.

Config

FieldDefaultMeaning
providerIdgoogle-ai-modeProvider id registered into ctx.web.
opencliCommandopencliExecutable name or path.
opencliSessiondsh-google-ai-modeOpenCLI browser session used for Google tabs.
opencliWindowbackgroundValue passed as both OPENCLI_WINDOW and OpenCLI --window for browser commands.
timeoutMs45000Per-search timeout budget in milliseconds.
closeTabAfterSearchfalseOptional best-effort tab close after each search. Disabled by default because Chrome can replace the final tab in OpenCLI's automation window with about:blank.

Behavior

  • content contains the Google AI Mode answer converted to markdown.
  • sources[] contains URLs cited or linked by the AI Mode answer.
  • Duplicate source URLs are collapsed in first-use order.
  • Ordinary Google search results outside the AI Mode answer are not used as a fallback.
  • DSH ctx.web enforces maxResults after the provider returns.
  • The default background OpenCLI window mode avoids stealing focus.
  • The provider reuses its OpenCLI automation tab by default. Set closeTabAfterSearch: true only if you prefer best-effort tab cleanup.

Errors

The provider throws DSH WebError values:

  • WEB_SEARCH_OPENCLI_CAPTCHA: Google showed a CAPTCHA or unusual-traffic page.
  • WEB_SEARCH_OPENCLI_AI_MODE_UNAVAILABLE: AI Mode is unavailable for the current account, region, or language.
  • WEB_SEARCH_OPENCLI_TIMEOUT: the OpenCLI operation exceeded timeoutMs.
  • WEB_PROVIDER_ERROR: OpenCLI failed or extraction returned an unexpected result.
  • WEB_ABORTED: the DSH call was cancelled.

Troubleshooting

Searches fail with OpenCLI errors

Run opencli doctor, then make sure Chrome or Edge is open and the OpenCLI browser extension is connected.

Google asks for CAPTCHA

Open Google manually in the browser, solve the CAPTCHA, and retry the DSH search.

AI Mode is unavailable

Google AI Mode availability depends on the account, region, and locale. Sign in with an account that can access AI Mode, or switch back to another DSH web search provider.

Concurrent searches fail with detached browser errors

OpenCLI browser sessions are stateful. Avoid running concurrent searches against the same opencliSession. Use separate session names or serialize searches if you need parallelism.

Community plugin discovery

This repository is prepared for the current DeepSeek Harness community plugin discovery flow. Add these GitHub topics to the public repository:

dsh-plugin
deepseek-harness
dsh
web-search
opencli

The npm package carries matching keywords and declares the DSH bundle patch.

Development

npm install
npm run check